Skip to content

Releases: scroll-tech/go-ethereum

scroll-v4.3.51

24 Aug 17:31
scroll-v4.3.51
b0657a7
Compare
Choose a tag to compare

Overview

⚠️ This is a required update for nodes running on Scroll Sepolia.

scroll-v4.3.51 fixes a block validation corner case and addresses some performance issues.

What's Changed

  • refactor(trace): wrap the core routine in CreateTraceEnv by @noel2004 in #460
  • fix: free raw result returned from CCC by @Thegaram in #477
  • fix: use correct CGo syntax for Free by @Thegaram in #478
  • fix the bug when calculating l2TxCount. by @mask-pp in #479
  • fix: exclude L1 message from block payload size validation by @Thegaram in #476
  • fix: update row estimation with scroll-prover v0.7.2 by @silathdiir in #475
  • refactor: simplify ccc revert to snapshot by @iczc in #480
  • feat: use --gcmode=archive and --cache.noprefetch=true by default by @Thegaram in #482
  • feat(sdk): support compressed response by @mask-pp in #469
  • fix: disable pruning and prefetch if not flags are provided by @Thegaram in #483

Full Changelog: scroll-v4.3.43...scroll-v4.3.51

Archimedes (scroll-v3.3.1)

26 May 11:05
scroll-v3.3.1
060815e
Compare
Choose a tag to compare

Overview

⚠️ This version enables the Archimedes hard fork on the Scroll Alpha network at block 2646311. The upgrade is estimated to take effect on 2nd June at around 9:00am UTC. Nodes that do not upgrade before block 2646311 will be unable to follow the network and process new blocks.

The Archimedes hard fork disables the following 3 precompiled contracts:

  • SHA2-256 (address 0x2)
  • RIPEMD-160 (address 0x3)
  • blake2f (address 0x9)

Any call to these 3 contracts will revert. It is expected that these 3 precompiles will be re-enabled in a future hard fork.

In addition, this upgrade also includes a number of performance and usability improvements.

Upgrade Steps

If you're running version scroll-v3.1.5 with the --scroll-alpha flag, you simply need to upgrade to scroll-v3.3.1 and restart your node. The --scroll-alpha flag will configure the fork block automatically.

If you're running an earlier version with a custom genesis configuration, you'll need to add "archimedesBlock": 2646311 or switch to using the --scroll-alpha flag. For more information about this flag, please refer to the scroll-v3.1.5 release notes.

Scroll Alpha testnet genesis.json file
{
  "config": {
    "chainId": 534353,
    "homesteadBlock": 0,
    "eip150Block": 0,
    "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "eip155Block": 0,
    "eip158Block": 0,
    "byzantiumBlock": 0,
    "constantinopleBlock": 0,
    "petersburgBlock": 0,
    "istanbulBlock": 0,
    "berlinBlock": 0,
    "londonBlock": 0,
    "archimedesBlock": 2646311,
    "clique": {
      "period": 3,
      "epoch": 30000
    },
    "scroll": {
      "useZktrie": true,
      "maxTxPerBlock": 44,
      "maxTxPayloadBytesPerBlock": 122880,
      "feeVaultAddress": "0x5300000000000000000000000000000000000005",
      "enableEIP2718": false,
      "enableEIP1559": false
    }
  },
  "nonce": "0x0",
  "timestamp": "0x63f67207",
  "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000b7C0c58702D0781C0e2eB3aaE301E4c340073448Ec9c139eFCBBe6323DA406fffBF4Db02a60A9720589c71deC4302fE718bE62350c174922782Cc6600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "gasLimit": "8000000",
  "difficulty": "0x1",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "coinbase": "0x0000000000000000000000000000000000000000",
  "alloc": {
    "0x4075A6bcAd6c3c5B941C2482fda716A56608106B": {
      "balance": "10000000000000000000"
    },
    "0xb75d7e84517e1504C151B270255B087Fd746D34C": {
      "balance": "21888242871839275222246405745257275088548364400416034343688204186575808495616"
    },
    "0x5300000000000000000000000000000000000000": {
      "balance": "0x0",
      "code": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806383cc76601161006657806383cc76601461010f5780638da5cb5b146101225780639e7adc7914610135578063d4b9f4fa14610148578063f2fde38b1461015157600080fd5b806326aad7b7146100a35780633cb747bf146100bf578063600a2e77146100ea578063715018a6146100fd5780638129fc1c14610107575b600080fd5b6100ac60015481565b6040519081526020015b60405180910390f35b6053546100d2906001600160a01b031681565b6040516001600160a01b0390911681526020016100b6565b6100ac6100f8366004610516565b610164565b610105610209565b005b61010561023f565b6100ac61011d366004610516565b610247565b6052546100d2906001600160a01b031681565b61010561014336600461052f565b61025e565b6100ac60005481565b61010561015f36600461052f565b6102fa565b6053546000906001600160a01b031633146101b75760405162461bcd60e51b815260206004820152600e60248201526d37b7363c9036b2b9b9b2b733b2b960911b60448201526064015b60405180910390fd5b6000806101c384610386565b60408051838152602081018890529294509092507ffaa617c2d8ce12c62637dbce76efcc18dae60574aa95709bdcedce7e76071693910160405180910390a19392505050565b6052546001600160a01b031633146102335760405162461bcd60e51b81526004016101ae9061055f565b61023d6000610452565b565b61023d6104a4565b602a816028811061025757600080fd5b0154905081565b6052546001600160a01b031633146102885760405162461bcd60e51b81526004016101ae9061055f565b600154156102d85760405162461bcd60e51b815260206004820152601760248201527f63616e6e6f7420757064617465206d657373656e67657200000000000000000060448201526064016101ae565b605380546001600160a01b0319166001600160a01b0392909216919091179055565b6052546001600160a01b031633146103245760405162461bcd60e51b81526004016101ae9061055f565b6001600160a01b03811661037a5760405162461bcd60e51b815260206004820152601d60248201527f6e6577206f776e657220697320746865207a65726f206164647265737300000060448201526064016101ae565b61038381610452565b50565b600154600090819083825b8215610422576103a2600284610596565b6103eb5781602a82602881106103ba576103ba6105b8565b01556103e482600283602881106103d3576103d36105b8565b015460009182526020526040902090565b9150610416565b610413602a8260288110610401576104016105b8565b01548360009182526020526040902090565b91505b600192831c9201610391565b81602a8260288110610436576104366105b8565b0155506000819055600180548082019091559590945092505050565b605280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b60286104b48260016105e4565b1015610383576104e5600282602881106104d0576104d06105b8565b0154600283602881106103d3576103d36105b8565b60026104f28360016105e4565b60288110610502576105026105b8565b01558061050e816105fc565b9150506104a7565b60006020828403121561052857600080fd5b5035919050565b60006020828403121561054157600080fd5b81356001600160a01b038116811461055857600080fd5b9392505050565b60208082526017908201527f63616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b6000826105b357634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156105f7576105f76105ce565b500190565b6000600019821415610610576106106105ce565b506001019056fea2646970667358221220ca205d16085aa5666330f838304cfee29f0f365d8ec8f504479889aca34b970b64736f6c634300080a0033",
      "storage": {
        "0x0000000000000000000000000000000000000000000000000000000000000052": "0x4075A6bcAd6c3c5B941C2482fda716A56608106B"
      }
    },
    "0x5300000000000000000000000000000000000001": {
      "balance": "0x0",
      "code": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80637122ba061161009757806393e59dc11161006657806393e59dc1146102ae5780639690ae23146102c1578063afbba398146102d4578063f2fde38b146102e757600080fd5b80637122ba06146101e5578063715018a61461025b578063841f127c146102635780638da5cb5b1461028357600080fd5b80633d0f963e116100d35780633d0f963e146101775780634599c7881461018c57806356e214e4146101ac5780636c4f6ba9146101dc57600080fd5b80630385f4f1146100fa5780630c1952d3146101305780632cb5837814610157575b600080fd5b600254600090815260046020526040902054600160801b90046001600160801b03165b6040519081526020015b60405180910390f35b600254600090815260046020526040902054600160401b90046001600160401b031661011d565b61011d610165366004610bfb565b60009081526003602052604090205490565b61018a610185366004610c14565b6102fa565b005b6002546000908152600460205260409020546001600160401b031661011d565b61011d6101ba366004610bfb565b600090815260046020526040902054600160401b90046001600160401b031690565b61011d60025481565b61022c6101f3366004610bfb565b6004602052600090815260409020546001600160401b0380821691600160401b810490911690600160801b90046001600160801b031683565b604080516001600160401b0394851681529390921660208401526001600160801b031690820152606001610127565b61018a61038e565b61011d610271366004610bfb565b60036020526000908152604090205481565b600054610296906001600160a01b031681565b6040516001600160a01b039091168152602001610127565b600154610296906001600160a01b031681565b61018a6102cf366004610c60565b6103c4565b61018a6102e2366004610cd1565b610539565b61018a6102f5366004610c14565b610b1f565b6000546001600160a01b0316331461032d5760405162461bcd60e51b815260040161032490610d5f565b60405180910390fd5b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f22d1c35fe072d2e42c3c8f9bd4a0d34aa84a0101d020a62517b33fdb3174e5f7910160405180910390a15050565b6000546001600160a01b031633146103b85760405162461bcd60e51b815260040161032490610d5f565b6103c26000610bab565b565b6000546001600160a01b031633146103ee5760405162461bcd60e51b815260040161032490610d5f565b600254156104345760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610324565b6002859055600085815260036020908152604080832084905580516060810182526001600160401b0380891682528781168285019081526001600160801b038089168486019081528c885260049096529584902092518354915195518716600160801b02958316600160401b026fffffffffffffffffffffffffffffffff1990921692169190911717909316919091179091555185907fa7823f45e1ee21f9530b77959b57507ad515a14fa9fa24d262ee80e79b2b57459061052a9087908790879087906001600160401b0394851681529290931660208301526001600160801b03166040820152606081019190915260800190565b60405180910390a25050505050565b6001546001600160a01b03168015806105b5575060405163efc7840160e01b81523360048201526001600160a01b0382169063efc7840190602401602060405180830381865afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b59190610d96565b6105fa5760405162461bcd60e51b81526020600482015260166024820152752737ba103bb434ba32b634b9ba32b21039b2b73232b960511b6044820152606401610324565b5060008060008060006106d4565b6308c379a060e01b60005260206004528060445260005b81156106345760089190911b9060010161061f565b60245260646000fd5b8061064b5761064b82610608565b5050565b600080823560001a60808110156106695750600193915050565b60b881101561068357607f19019360019390930192915050565b60c08110156106b95760b78103600481111561069b57fe5b600185810...
Read more

scroll-v3.1.5

19 Apr 05:59
scroll-v3.1.5
d274ef1
Compare
Choose a tag to compare

scroll-v3.1.5 improves the l2geth configuration to make it easier to run a node and connect to the Scroll Alpha testnet. Upgrading to this version is optional but highly recommended.

⚠️ This release changes the genesis config format. If you run l2geth with a custom genesis.json file, please update it to the new format and run l2geth init with the new genesis.json file.

Notable changes

  • Scroll config flags are now under "scroll" in the genesis config #262
  • l2geth now supports the --scroll-alpha flag to set the genesis config and bootnodes automatically #261

Minor changes and bugfixes

  • build(docker): auto docker push when pushing git tags #258
  • build(docker): update docker trigger tag prefix #259
  • Fix return type in tx receipt for l1fee type #254

Full Changelog: scroll-v3.1.2...scroll-v3.1.5

scroll-v3.1.2

30 Mar 20:18
scroll-v3.1.2
b986f1e
Compare
Choose a tag to compare
Consider L1 fee in eth_call and eth_estimateGas