Skip to content

Releases: MetisProtocol/metis-replica-node

DeSeq Hardfork Phase 2

08 Apr 05:45
Compare
Choose a tag to compare

This repository is deprecated

please use metis-ansible and metis-charts instead.

Action required

This is a hardfork release, it enables txpool, a block can contain multiple transactions.

The hardfork will be activated on block 16500000(about 7 days later)

images

metisdao/l2geth:v0.1.2
metisdao/dtl:v0.1.2

ENV updates

DTL

DATA_TRANSPORT_LAYER__SYNC_L1_BATCH=false
DATA_TRANSPORT_LAYER__DESEQBLOCK=16500000

L2Geth

DESEQBLOCK=16500000
BOOTNODES=enode://61b617d2549296b0b950efcf8c1d87227d454d44362e642dde37d83092a445f2b6a6fd651d611b2893249d1e9d15c8f1d4b067142cff53280a08c9c7565c29e2@3.22.33.68:30303,enode://524e335aaa2a4555fe2d54f07fc34da83d80b0407d86c606b76ce918f96a348cf91947f7c60b0eabd29f68d2669cc0ced1360636daa53d0ccc948e154d0ce21e@3.129.121.37:30303,enode://c4cc213e3c5cb57b1ea6e1aa0b8a28240b03a5fa4b65ff08c53faf448182ae161d68c78fe48040da1e5d9087c6f19b60644605c4c2d78845627f09b90207e56c@3.17.198.212:30303,enode://690969c716d2e4f55936a2801ab1d513598f8f2afa85be1c9f9c41e8ce1f07ee352dac2925f86fd54449d7bdd9bddc7342d33c0c46c604db19de63e21362f2cd@54.237.23.7:30303,enode://9bbe2b0d7e2cd7c3de7f9674fb95059026667e9b9ce717f927b4f53132dde131fab34995a984ed47328f867e5efea4e5a27dc6a90b6b1f4106f07be215e0ece5@54.174.30.211:30303,enode://2577f7c6ffafcdf311e2f79bcc56671825f00a265e5cd1f0224d8bd4b484ba1870930584f37593abfb910a76b51fa82a8b48c53d2511848680beb00c357cf3e0@52.20.251.43:30303,enode://5a41bbc2a57c90b443244bc2d9c4470ee84b7af21aa27256178e53a1772950c3bf9a2b6c1a761688064aaa8456f6b4e918918cda867ce59d007ff825bbefe61d@3.126.202.64:30303,enode://c0c2826d5bc7baeb2b8fe3aa8726d2572508142aa2476e2d2a667c7452a3dc78b47c1176522a9b4c3203902c3ae487ae4b656c7089334536d9c1468056799939@52.57.227.34:30303,enode://86fffa408fca0afc8c9f5cf3f5831d1bc39c2a49d3690ae5219001ff7bec08cac6932dc7e94c65186f7d46daa738449f2eb361d50cde15212a8e8c84eec62605@18.193.199.155:30303

Use metisdao docker namespace

22 Mar 03:50
Compare
Choose a tag to compare

This is a medium priority release and you should upgrade in a timely manner.

  1. the docker images have moved to metisdao docker namespace
  2. fix http/2 GOAWAY bug for jsonrpc

Optimized DTL

Add inbox address

15 Mar 06:35
Compare
Choose a tag to compare

This is a medium priority release and you should upgrade in a timely manner.

Action Required: Upgrade for DeSeq

14 Mar 15:48
Compare
Choose a tag to compare
  1. Prepare an ETH L1 node without history prune

Not an archive node, but transaction and event logs should be retained

Why?

Since we use p2p to setup a node, you can't trust your peers.

Many transactions, for example, deposits from L1, you can't verify them from p2p.

so it's a security consideration.

If you use your self maintained go-ethereum client

please don't set very high value for following key, 100 is recommended value.

if you use rpc from a third party, the value can set very high like 100k due to they have optimized for the queries.

DATA_TRANSPORT_LAYER__LOGS_PER_POLLING_INTERVAL=100
DATA_TRANSPORT_LAYER__TRANSACTIONS_PER_POLLING_INTERVAL=100
  1. Delete configurations for legacy replica node
$ rm -rf ./chaindata/l2geth/keystore
  1. Update compose file and env

Quick start from snapshots

We provided public aws ebs snapshot for you if you need them.

l1dtl

snap-048e442e36aac56d2

archived l2geth

snap-040e6cd4c9a877911

You can use the snapshots on aws us-east-1 region, and copy them to another region.

You need to delete the nodekey to enable p2p connections

$ rm -rf ./chaindata/l2geth/geth/nodeky

July 13, 2023

13 Jul 15:09
Compare
Choose a tag to compare

This is a medium priority release and you should upgrade in a timely manner.

Features:

  1. you can submit unprotected, aka non-eip155, transactions on Goerli testnet

Bugs Fix:

  1. debug tracer panics if a transaction doesn't pay L1 gas fee
  2. transaction hash is not correct sometime foreth_getBlockByHash and eth_getBlockByNumber

Security updates:

  1. default gas limit for eth_call and eth_estimateGas
  2. default batch limit for jsonrpc call

Others:

  1. bump golang to 1.19
  2. bump nodejs to 16 LTS

Note: backup your data before upgrading. If there are any issues after upgrading, please give a feedback on GitHub issues

Berlin Hardfork

16 Aug 03:57
eb0fb84
Compare
Choose a tag to compare

NOTE: This is a HIGH priority release and you should upgrade as soon as possible.

Metis Andromeda will have Berlin hardfork at block 3380000, you can get more details on the eip page.

L2Geth image tag

metisdao/mvm-andromeda:l2geth-replica@sha256:7d3bcf6d3a522add2605fe71eb7cfb4719f3f5965cafcc29616bad5644aeb764

The geth.sh file was updated. If you do not use docker compose, you should update it at the same time.

If you upgrade successfully, you will get the following log

INFO [08-16|03:45:07.048] Initialised chain configuration          config="{ChainID: 1088 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: 0, Berlin: 3380000, Engine: clique}"

August 8, 2022- Hot fix

08 Aug 02:27
72442e3
Compare
Choose a tag to compare

NOTE: This is a low priority release and you may upgrade at your convenience.

This version fixes an issue where calls to eth_sendRawTrasaction were failing. If you do not use this feature, then you do not need to upgrade.

l2geth replica image tag

metisdao/mvm-andromeda:l2geth-replica@sha256:358d6cc2d72ca1bf7ce046a16f9b39474caff0fbcee37ef93a464cf4bd9dc677

August 7, 2022

07 Aug 00:53
Compare
Choose a tag to compare

NOTE: This is a HIGH priority release and you should upgrade as soon as possible.and this release requires the database to be dropped.

DTL image tag

metisdao/mvm-andromeda:dtl@sha256:d0b7419f7443510a58d073403fc4add4657ba5b58d41e4c89e41bfbff86c571f

l2geth replica image tag

metisdao/mvm-andromeda:l2geth-replica@sha256:90fa9912aca5b695f33636cd62a4b53d1665a2517d95af416e2dacee18884e4c