feat: mainnet Euclid params (#1152)

* feat: mainnet Euclid params

* update params

* adjust timestamp

* chore: auto version bump [bot]

---------

Co-authored-by: Thegaram <7571518+Thegaram@users.noreply.github.com>
This commit is contained in:
Péter Garamvölgyi 2025-03-24 19:34:43 +01:00 committed by GitHub
parent 6451c80d55
commit ca9d53938b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View file

@ -378,20 +378,29 @@ var (
CurieBlock: big.NewInt(7096836), CurieBlock: big.NewInt(7096836),
DarwinTime: newUint64(1724227200), DarwinTime: newUint64(1724227200),
DarwinV2Time: newUint64(1725264000), DarwinV2Time: newUint64(1725264000),
EuclidTime: newUint64(1744815600),
EuclidV2Time: newUint64(1745305200),
Clique: &CliqueConfig{ Clique: &CliqueConfig{
Period: 3, Period: 3,
Epoch: 30000, Epoch: 30000,
}, },
SystemContract: &SystemContractConfig{
Period: 3,
SystemContractAddress: common.HexToAddress("0x8432728A257646449245558B8b7Dbe51A16c7a4D"),
SystemContractSlot: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000067"),
},
Scroll: ScrollConfig{ Scroll: ScrollConfig{
UseZktrie: true, UseZktrie: true,
MaxTxPerBlock: &ScrollMaxTxPerBlock, MaxTxPerBlock: &ScrollMaxTxPerBlock,
MaxTxPayloadBytesPerBlock: &ScrollMaxTxPayloadBytesPerBlock, MaxTxPayloadBytesPerBlock: &ScrollMaxTxPayloadBytesPerBlock,
FeeVaultAddress: &rcfg.ScrollFeeVaultAddress, FeeVaultAddress: &rcfg.ScrollFeeVaultAddress,
L1Config: &L1Config{ L1Config: &L1Config{
L1ChainId: 1, L1ChainId: 1,
L1MessageQueueAddress: common.HexToAddress("0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B"), L1MessageQueueAddress: common.HexToAddress("0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B"),
NumL1MessagesPerBlock: 10, L1MessageQueueV2Address: common.HexToAddress("0x56971da63A3C0205184FEF096E9ddFc7A8C2D18a"),
ScrollChainAddress: common.HexToAddress("0xa13BAF47339d63B743e7Da8741db5456DAc1E556"), L1MessageQueueV2DeploymentBlock: 22088276,
NumL1MessagesPerBlock: 10,
ScrollChainAddress: common.HexToAddress("0xa13BAF47339d63B743e7Da8741db5456DAc1E556"),
}, },
GenesisStateRoot: &ScrollMainnetGenesisState, GenesisStateRoot: &ScrollMainnetGenesisState,
}, },

View file

@ -24,7 +24,7 @@ import (
const ( const (
VersionMajor = 5 // Major version component of the current release VersionMajor = 5 // Major version component of the current release
VersionMinor = 8 // Minor version component of the current release VersionMinor = 8 // Minor version component of the current release
VersionPatch = 30 // Patch version component of the current release VersionPatch = 31 // Patch version component of the current release
VersionMeta = "mainnet" // Version metadata to append to the version string VersionMeta = "mainnet" // Version metadata to append to the version string
) )