Skip to content

Commit ca9d539

Browse files
authored
feat: mainnet Euclid params (#1152)
* feat: mainnet Euclid params * update params * adjust timestamp * chore: auto version bump [bot] --------- Co-authored-by: Thegaram <[email protected]>
1 parent 6451c80 commit ca9d539

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

params/config.go

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,20 +378,29 @@ var (
378378
CurieBlock: big.NewInt(7096836),
379379
DarwinTime: newUint64(1724227200),
380380
DarwinV2Time: newUint64(1725264000),
381+
EuclidTime: newUint64(1744815600),
382+
EuclidV2Time: newUint64(1745305200),
381383
Clique: &CliqueConfig{
382384
Period: 3,
383385
Epoch: 30000,
384386
},
387+
SystemContract: &SystemContractConfig{
388+
Period: 3,
389+
SystemContractAddress: common.HexToAddress("0x8432728A257646449245558B8b7Dbe51A16c7a4D"),
390+
SystemContractSlot: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000067"),
391+
},
385392
Scroll: ScrollConfig{
386393
UseZktrie: true,
387394
MaxTxPerBlock: &ScrollMaxTxPerBlock,
388395
MaxTxPayloadBytesPerBlock: &ScrollMaxTxPayloadBytesPerBlock,
389396
FeeVaultAddress: &rcfg.ScrollFeeVaultAddress,
390397
L1Config: &L1Config{
391-
L1ChainId: 1,
392-
L1MessageQueueAddress: common.HexToAddress("0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B"),
393-
NumL1MessagesPerBlock: 10,
394-
ScrollChainAddress: common.HexToAddress("0xa13BAF47339d63B743e7Da8741db5456DAc1E556"),
398+
L1ChainId: 1,
399+
L1MessageQueueAddress: common.HexToAddress("0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B"),
400+
L1MessageQueueV2Address: common.HexToAddress("0x56971da63A3C0205184FEF096E9ddFc7A8C2D18a"),
401+
L1MessageQueueV2DeploymentBlock: 22088276,
402+
NumL1MessagesPerBlock: 10,
403+
ScrollChainAddress: common.HexToAddress("0xa13BAF47339d63B743e7Da8741db5456DAc1E556"),
395404
},
396405
GenesisStateRoot: &ScrollMainnetGenesisState,
397406
},

params/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
const (
2525
VersionMajor = 5 // Major version component of the current release
2626
VersionMinor = 8 // Minor version component of the current release
27-
VersionPatch = 30 // Patch version component of the current release
27+
VersionPatch = 31 // Patch version component of the current release
2828
VersionMeta = "mainnet" // Version metadata to append to the version string
2929
)
3030

0 commit comments

Comments
 (0)