datahaven/test/configs/snowbridge/genesis.json
undercover-cactus 077cc9ed29
feat: injecting contracts feature for e2e testing (#295)
In this PR, we introduce a way to save Ethereum state into a file. This
saved state can then be injected into Ethereum to speed up e2e initial
test setup.

This is a rewrite of the now closed PR
https://github.com/datahaven-xyz/datahaven/pull/90 .

It uses a an external tool written in rust to save state from the
Ethereum running container : https://github.com/undercover-cactus/Chaos

---------

Co-authored-by: Gonza Montiel <gonzamontiel@users.noreply.github.com>
Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
2025-11-20 12:42:12 +01:00

74 lines
1.9 KiB
JSON

{
"config": {
"chainId": 11155111,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"ethash": {},
"terminalTotalDifficulty": 0,
"ShanghaiTime": 0,
"CancunTime": 0,
"PragueTime": null,
"terminalTotalDifficultyPassed": true,
"blobSchedule": {
"cancun": {
"target": 3,
"max": 6,
"baseFeeUpdateFraction": 3338477
},
"prague": {
"target": 6,
"max": 9,
"baseFeeUpdateFraction": 5007716
}
}
},
"difficulty": "0x9FFE0",
"gasLimit": "80000000",
"alloc": {
"90A987B944Cb1dCcE5564e5FDeCD7a54D3de27Fe": {
"balance": "1000000000000000000000000"
},
"Be68fC2d8249eb60bfCf0e71D5A0d2F2e292c4eD": {
"balance": "100000000000000000000"
},
"89b4AB1eF20763630df9743ACF155865600daFF2": {
"balance": "100000000000000000000"
},
"04E00e6D2e9Ea1E2AF553De02A5172120BFA5c3e": {
"balance": "100000000000000000000"
},
"a255dC78C1510e2c1332fBAC2de848058f479CEE": {
"balance": "100000000000000000000"
},
"ACbd24742b87c34dED607FB87b22401B2Ede167E": {
"balance": "100000000000000000000"
},
"01F6749035e02205768f97e6f1d394Fb6769EC20": {
"balance": "100000000000000000000"
},
"8b66D5499F52D6F1857084A61743dFCB9a712859": {
"balance": "100000000000000000000"
},
"13e16C4e5787f878f98a610EB321170512b134D4": {
"balance": "100000000000000000000"
},
"eEBFA6B9242A19f91a0463291A937a20e3355681": {
"balance": "100000000000000000000"
},
"87D987206180B8f3807Dd90455606eEa85cdB87a": {
"balance": "100000000000000000000"
},
"0xACbd24742b87c34dED607FB87b22401B2Ede167E": {
"balance": "100000000000000000000"
}
}
}