From 14ef67ef89531d8864183bf652307605c86a879e Mon Sep 17 00:00:00 2001 From: "lightclient@protonmail.com" Date: Tue, 24 May 2022 14:32:50 -0600 Subject: [PATCH 1/3] Add Sepolia testnet to chainspec list --- src/models/chainspec.rs | 7 ++++ src/models/config.rs | 1 + src/res/chainspec/mod.rs | 2 + src/res/chainspec/sepolia.ron | 73 +++++++++++++++++++++++++++++++++++ src/state/genesis.rs | 4 +- 5 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 src/res/chainspec/sepolia.ron diff --git a/src/models/chainspec.rs b/src/models/chainspec.rs index c2a0112d..babe3ff8 100644 --- a/src/models/chainspec.rs +++ b/src/models/chainspec.rs @@ -343,6 +343,12 @@ pub struct Genesis { pub gas_limit: u64, pub timestamp: u64, pub seal: Seal, + #[serde( + default, + skip_serializing_if = "Option::is_none", + with = "::serde_with::rust::unwrap_or_skip" + )] + pub base_fee_per_gas: Option, } #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] @@ -452,6 +458,7 @@ mod tests { author: hex!("0000000000000000000000000000000000000000").into(), gas_limit: 0x47b760, timestamp: 0x58ee40ba, + base_fee_per_gas: None, seal: Seal::Clique { vanity: hex!( "52657370656374206d7920617574686f7269746168207e452e436172746d616e" diff --git a/src/models/config.rs b/src/models/config.rs index c34cad6e..66488c59 100644 --- a/src/models/config.rs +++ b/src/models/config.rs @@ -31,6 +31,7 @@ impl ChainConfig { "mainnet" | "ethereum" => Ok(ChainConfig::from(chainspec::MAINNET.clone())), "ropsten" => Ok(ChainConfig::from(chainspec::ROPSTEN.clone())), "rinkeby" => Ok(ChainConfig::from(chainspec::RINKEBY.clone())), + "sepolia" => Ok(ChainConfig::from(chainspec::SEPOLIA.clone())), _ => Err(anyhow!( "{name} is not yet supported, please fill an issue at {REPOSITORY_URL} and we'll maybe add support for it in the foreseeable future", )), diff --git a/src/res/chainspec/mod.rs b/src/res/chainspec/mod.rs index 29a12ec4..eb136f78 100644 --- a/src/res/chainspec/mod.rs +++ b/src/res/chainspec/mod.rs @@ -7,6 +7,8 @@ pub static ROPSTEN: Lazy = Lazy::new(|| ron::from_str(include_str!("ropsten.ron")).unwrap()); pub static RINKEBY: Lazy = Lazy::new(|| ron::from_str(include_str!("rinkeby.ron")).unwrap()); +pub static SEPOLIA: Lazy = + Lazy::new(|| ron::from_str(include_str!("sepolia.ron")).unwrap()); #[cfg(test)] mod tests {} diff --git a/src/res/chainspec/sepolia.ron b/src/res/chainspec/sepolia.ron new file mode 100644 index 00000000..e578bda7 --- /dev/null +++ b/src/res/chainspec/sepolia.ron @@ -0,0 +1,73 @@ +( + name: "Sepolia", + consensus: ( + seal_verification: Ethash( + duration_limit: 13, + block_reward: { + 0: "0x1bc16d674ec80000", + }, + homestead_formula: 0, + byzantium_formula: 1700000, + difficulty_bomb: DifficultyBomb( + delays: {}, + ), + ), + eip1559_block: 0, + ), + upgrades: ( + homestead: 0, + tangerine: 0, + spurious: 0, + byzantium: 0, + constantinople: 0, + petersburg: 0, + istanbul: 0, + berlin: 0, + london: 0, + ), + params: ( + chain_id: 11155111, + network_id: 11155111, + min_gas_limit: 5000, + ), + genesis: ( + number: 0, + author: "0x0000000000000000000000000000000000000000", + timestamp: 1633267481, + gas_limit: 30000000, + base_fee_per_gas: "0x3b9aca00", + seal: Ethash( + vanity: "0x5365706f6c69612c20417468656e732c204174746963612c2047726565636521", + difficulty: "0x20000", + nonce: "0x0000000000000000", + mix_hash: "0x0000000000000000000000000000000000000000000000000000000000000000", + ), + ), + balances: { + 0: { + "0xa2a6d93439144ffe4d27c9e088dcd8b783946263": "0xd3c21bcecceda1000000", + "0xbc11295936aa79d594139de1b2e12629414f3bdb": "0xd3c21bcecceda1000000", + "0x7cf5b79bfe291a67ab02b393e456ccc4c266f753": "0xd3c21bcecceda1000000", + "0xaaec86394441f915bce3e6ab399977e9906f3b69": "0xd3c21bcecceda1000000", + "0xf47cae1cf79ca6758bfc787dbd21e6bdbe7112b8": "0xd3c21bcecceda1000000", + "0xd7eddb78ed295b3c9629240e8924fb8d8874ddd8": "0xd3c21bcecceda1000000", + "0x8b7f0977bb4f0fbe7076fa22bc24aca043583f5e": "0xd3c21bcecceda1000000", + "0xe2e2659028143784d557bcec6ff3a0721048880a": "0xd3c21bcecceda1000000", + "0xd9a5179f091d85051d3c982785efd1455cec8699": "0xd3c21bcecceda1000000", + "0xbeef32ca5b9a198d27b4e02f4c70439fe60356cf": "0xd3c21bcecceda1000000", + "0x0000006916a87b82333f4245046623b23794c65c": "0x84595161401484a000000", + "0xb21c33de1fab3fa15499c62b59fe0cc3250020d1": "0x52b7d2dcc80cd2e4000000", + "0x10f5d45854e038071485ac9e402308cf80d2d2fe": "0x52b7d2dcc80cd2e4000000", + "0xd7d76c58b3a519e9fa6cc4d22dc017259bc49f1e": "0x52b7d2dcc80cd2e4000000", + "0x799d329e5f583419167cd722962485926e338f4a": "0xde0b6b3a7640000" + }, + }, + p2p: ( + bootnodes: [ + "enode://9246d00bc8fd1742e5ad2428b80fc4dc45d786283e05ef6edbd9002cbc335d40998444732fbe921cb88e1d2c73d1b1de53bae6a2237996e9bfe14f871baf7066@18.168.182.86:30303", + "enode://ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7@52.14.151.177:30303" + ], + preverified_hashes: [ + ], + ), +) diff --git a/src/state/genesis.rs b/src/state/genesis.rs index 7ef2e724..498e8e1d 100644 --- a/src/state/genesis.rs +++ b/src/state/genesis.rs @@ -52,7 +52,7 @@ impl GenesisState { extra_data: seal.extra_data(), mix_hash: seal.mix_hash(), nonce: seal.nonce(), - base_fee_per_gas: None, + base_fee_per_gas: genesis.base_fee_per_gas, receipts_root: EMPTY_ROOT, ommers_hash: EMPTY_LIST_HASH, @@ -118,7 +118,7 @@ where extra_data: chainspec.genesis.seal.extra_data(), mix_hash: chainspec.genesis.seal.mix_hash(), nonce: chainspec.genesis.seal.nonce(), - base_fee_per_gas: None, + base_fee_per_gas: chainspec.genesis.base_fee_per_gas, receipts_root: EMPTY_ROOT, ommers_hash: EMPTY_LIST_HASH, From b0352553cbcc24dbeb549c7dabc2409309bc5f9c Mon Sep 17 00:00:00 2001 From: "lightclient@protonmail.com" Date: Tue, 24 May 2022 19:28:55 -0600 Subject: [PATCH 2/3] fix spacing --- src/res/chainspec/goerli.ron | 320 ++++++++++++++++++++++++++++++++++ src/res/chainspec/sepolia.ron | 2 +- 2 files changed, 321 insertions(+), 1 deletion(-) create mode 100644 src/res/chainspec/goerli.ron diff --git a/src/res/chainspec/goerli.ron b/src/res/chainspec/goerli.ron new file mode 100644 index 00000000..350f82a7 --- /dev/null +++ b/src/res/chainspec/goerli.ron @@ -0,0 +1,320 @@ +( + name: "Görli", + consensus: ( + seal_verification: Clique( + period: 15, + epoch: 30000, + ), + eip1559_block: 5062605, + ), + upgrades: ( + homestead: 0, + tangerine: 0, + spurious: 0, + byzantium: 0, + constantinople: 0, + petersburg: 0, + istanbul: 1561651, + berlin: 4460644, + london: 5062605, + ), + params: ( + chain_id: 5, + network_id: 5, + min_gas_limit: 5000, + ), + genesis: ( + number: 0, + author: "0x0000000000000000000000000000000000000000", + timestamp: 1548854791, + gas_limit: 10485760, + seal: Clique( + vanity: "0x22466c6578692069732061207468696e6722202d204166726900000000000000", + score: NoTurn, + signers: [ + "0x4769bcad07e3b938b7f43eb7d278bc7cb9effb38", + "0x78d1ad571a1a09d60d9bbf25894b44e4c8859595", + "0x286834935f4a8cfb4ff4c77d5770c2775ae2b0e7", + "0xb86e2b0ab5a4b1373e40c51a7c712c70ba2f9f8e", + "0x0df8fa387c602ae62559cc4afa4972a7045d6707" + ], + ), + ), + balances: { + 0: { + "0000000000000000000000000000000000000000": "0x1", + "0000000000000000000000000000000000000001": "0x1", + "0000000000000000000000000000000000000002": "0x1", + "0000000000000000000000000000000000000003": "0x1", + "0000000000000000000000000000000000000004": "0x1", + "0000000000000000000000000000000000000005": "0x1", + "0000000000000000000000000000000000000006": "0x1", + "0000000000000000000000000000000000000007": "0x1", + "0000000000000000000000000000000000000008": "0x1", + "0000000000000000000000000000000000000009": "0x1", + "000000000000000000000000000000000000000a": "0x1", + "000000000000000000000000000000000000000b": "0x1", + "000000000000000000000000000000000000000c": "0x1", + "000000000000000000000000000000000000000d": "0x1", + "000000000000000000000000000000000000000e": "0x1", + "000000000000000000000000000000000000000f": "0x1", + "0000000000000000000000000000000000000010": "0x1", + "0000000000000000000000000000000000000011": "0x1", + "0000000000000000000000000000000000000012": "0x1", + "0000000000000000000000000000000000000013": "0x1", + "0000000000000000000000000000000000000014": "0x1", + "0000000000000000000000000000000000000015": "0x1", + "0000000000000000000000000000000000000016": "0x1", + "0000000000000000000000000000000000000017": "0x1", + "0000000000000000000000000000000000000018": "0x1", + "0000000000000000000000000000000000000019": "0x1", + "000000000000000000000000000000000000001a": "0x1", + "000000000000000000000000000000000000001b": "0x1", + "000000000000000000000000000000000000001c": "0x1", + "000000000000000000000000000000000000001d": "0x1", + "000000000000000000000000000000000000001e": "0x1", + "000000000000000000000000000000000000001f": "0x1", + "0000000000000000000000000000000000000020": "0x1", + "0000000000000000000000000000000000000021": "0x1", + "0000000000000000000000000000000000000022": "0x1", + "0000000000000000000000000000000000000023": "0x1", + "0000000000000000000000000000000000000024": "0x1", + "0000000000000000000000000000000000000025": "0x1", + "0000000000000000000000000000000000000026": "0x1", + "0000000000000000000000000000000000000027": "0x1", + "0000000000000000000000000000000000000028": "0x1", + "0000000000000000000000000000000000000029": "0x1", + "000000000000000000000000000000000000002a": "0x1", + "000000000000000000000000000000000000002b": "0x1", + "000000000000000000000000000000000000002c": "0x1", + "000000000000000000000000000000000000002d": "0x1", + "000000000000000000000000000000000000002e": "0x1", + "000000000000000000000000000000000000002f": "0x1", + "0000000000000000000000000000000000000030": "0x1", + "0000000000000000000000000000000000000031": "0x1", + "0000000000000000000000000000000000000032": "0x1", + "0000000000000000000000000000000000000033": "0x1", + "0000000000000000000000000000000000000034": "0x1", + "0000000000000000000000000000000000000035": "0x1", + "0000000000000000000000000000000000000036": "0x1", + "0000000000000000000000000000000000000037": "0x1", + "0000000000000000000000000000000000000038": "0x1", + "0000000000000000000000000000000000000039": "0x1", + "000000000000000000000000000000000000003a": "0x1", + "000000000000000000000000000000000000003b": "0x1", + "000000000000000000000000000000000000003c": "0x1", + "000000000000000000000000000000000000003d": "0x1", + "000000000000000000000000000000000000003e": "0x1", + "000000000000000000000000000000000000003f": "0x1", + "0000000000000000000000000000000000000040": "0x1", + "0000000000000000000000000000000000000041": "0x1", + "0000000000000000000000000000000000000042": "0x1", + "0000000000000000000000000000000000000043": "0x1", + "0000000000000000000000000000000000000044": "0x1", + "0000000000000000000000000000000000000045": "0x1", + "0000000000000000000000000000000000000046": "0x1", + "0000000000000000000000000000000000000047": "0x1", + "0000000000000000000000000000000000000048": "0x1", + "0000000000000000000000000000000000000049": "0x1", + "000000000000000000000000000000000000004a": "0x1", + "000000000000000000000000000000000000004b": "0x1", + "000000000000000000000000000000000000004c": "0x1", + "000000000000000000000000000000000000004d": "0x1", + "000000000000000000000000000000000000004e": "0x1", + "000000000000000000000000000000000000004f": "0x1", + "0000000000000000000000000000000000000050": "0x1", + "0000000000000000000000000000000000000051": "0x1", + "0000000000000000000000000000000000000052": "0x1", + "0000000000000000000000000000000000000053": "0x1", + "0000000000000000000000000000000000000054": "0x1", + "0000000000000000000000000000000000000055": "0x1", + "0000000000000000000000000000000000000056": "0x1", + "0000000000000000000000000000000000000057": "0x1", + "0000000000000000000000000000000000000058": "0x1", + "0000000000000000000000000000000000000059": "0x1", + "000000000000000000000000000000000000005a": "0x1", + "000000000000000000000000000000000000005b": "0x1", + "000000000000000000000000000000000000005c": "0x1", + "000000000000000000000000000000000000005d": "0x1", + "000000000000000000000000000000000000005e": "0x1", + "000000000000000000000000000000000000005f": "0x1", + "0000000000000000000000000000000000000060": "0x1", + "0000000000000000000000000000000000000061": "0x1", + "0000000000000000000000000000000000000062": "0x1", + "0000000000000000000000000000000000000063": "0x1", + "0000000000000000000000000000000000000064": "0x1", + "0000000000000000000000000000000000000065": "0x1", + "0000000000000000000000000000000000000066": "0x1", + "0000000000000000000000000000000000000067": "0x1", + "0000000000000000000000000000000000000068": "0x1", + "0000000000000000000000000000000000000069": "0x1", + "000000000000000000000000000000000000006a": "0x1", + "000000000000000000000000000000000000006b": "0x1", + "000000000000000000000000000000000000006c": "0x1", + "000000000000000000000000000000000000006d": "0x1", + "000000000000000000000000000000000000006e": "0x1", + "000000000000000000000000000000000000006f": "0x1", + "0000000000000000000000000000000000000070": "0x1", + "0000000000000000000000000000000000000071": "0x1", + "0000000000000000000000000000000000000072": "0x1", + "0000000000000000000000000000000000000073": "0x1", + "0000000000000000000000000000000000000074": "0x1", + "0000000000000000000000000000000000000075": "0x1", + "0000000000000000000000000000000000000076": "0x1", + "0000000000000000000000000000000000000077": "0x1", + "0000000000000000000000000000000000000078": "0x1", + "0000000000000000000000000000000000000079": "0x1", + "000000000000000000000000000000000000007a": "0x1", + "000000000000000000000000000000000000007b": "0x1", + "000000000000000000000000000000000000007c": "0x1", + "000000000000000000000000000000000000007d": "0x1", + "000000000000000000000000000000000000007e": "0x1", + "000000000000000000000000000000000000007f": "0x1", + "0000000000000000000000000000000000000080": "0x1", + "0000000000000000000000000000000000000081": "0x1", + "0000000000000000000000000000000000000082": "0x1", + "0000000000000000000000000000000000000083": "0x1", + "0000000000000000000000000000000000000084": "0x1", + "0000000000000000000000000000000000000085": "0x1", + "0000000000000000000000000000000000000086": "0x1", + "0000000000000000000000000000000000000087": "0x1", + "0000000000000000000000000000000000000088": "0x1", + "0000000000000000000000000000000000000089": "0x1", + "000000000000000000000000000000000000008a": "0x1", + "000000000000000000000000000000000000008b": "0x1", + "000000000000000000000000000000000000008c": "0x1", + "000000000000000000000000000000000000008d": "0x1", + "000000000000000000000000000000000000008e": "0x1", + "000000000000000000000000000000000000008f": "0x1", + "0000000000000000000000000000000000000090": "0x1", + "0000000000000000000000000000000000000091": "0x1", + "0000000000000000000000000000000000000092": "0x1", + "0000000000000000000000000000000000000093": "0x1", + "0000000000000000000000000000000000000094": "0x1", + "0000000000000000000000000000000000000095": "0x1", + "0000000000000000000000000000000000000096": "0x1", + "0000000000000000000000000000000000000097": "0x1", + "0000000000000000000000000000000000000098": "0x1", + "0000000000000000000000000000000000000099": "0x1", + "000000000000000000000000000000000000009a": "0x1", + "000000000000000000000000000000000000009b": "0x1", + "000000000000000000000000000000000000009c": "0x1", + "000000000000000000000000000000000000009d": "0x1", + "000000000000000000000000000000000000009e": "0x1", + "000000000000000000000000000000000000009f": "0x1", + "00000000000000000000000000000000000000a0": "0x1", + "00000000000000000000000000000000000000a1": "0x1", + "00000000000000000000000000000000000000a2": "0x1", + "00000000000000000000000000000000000000a3": "0x1", + "00000000000000000000000000000000000000a4": "0x1", + "00000000000000000000000000000000000000a5": "0x1", + "00000000000000000000000000000000000000a6": "0x1", + "00000000000000000000000000000000000000a7": "0x1", + "00000000000000000000000000000000000000a8": "0x1", + "00000000000000000000000000000000000000a9": "0x1", + "00000000000000000000000000000000000000aa": "0x1", + "00000000000000000000000000000000000000ab": "0x1", + "00000000000000000000000000000000000000ac": "0x1", + "00000000000000000000000000000000000000ad": "0x1", + "00000000000000000000000000000000000000ae": "0x1", + "00000000000000000000000000000000000000af": "0x1", + "00000000000000000000000000000000000000b0": "0x1", + "00000000000000000000000000000000000000b1": "0x1", + "00000000000000000000000000000000000000b2": "0x1", + "00000000000000000000000000000000000000b3": "0x1", + "00000000000000000000000000000000000000b4": "0x1", + "00000000000000000000000000000000000000b5": "0x1", + "00000000000000000000000000000000000000b6": "0x1", + "00000000000000000000000000000000000000b7": "0x1", + "00000000000000000000000000000000000000b8": "0x1", + "00000000000000000000000000000000000000b9": "0x1", + "00000000000000000000000000000000000000ba": "0x1", + "00000000000000000000000000000000000000bb": "0x1", + "00000000000000000000000000000000000000bc": "0x1", + "00000000000000000000000000000000000000bd": "0x1", + "00000000000000000000000000000000000000be": "0x1", + "00000000000000000000000000000000000000bf": "0x1", + "00000000000000000000000000000000000000c0": "0x1", + "00000000000000000000000000000000000000c1": "0x1", + "00000000000000000000000000000000000000c2": "0x1", + "00000000000000000000000000000000000000c3": "0x1", + "00000000000000000000000000000000000000c4": "0x1", + "00000000000000000000000000000000000000c5": "0x1", + "00000000000000000000000000000000000000c6": "0x1", + "00000000000000000000000000000000000000c7": "0x1", + "00000000000000000000000000000000000000c8": "0x1", + "00000000000000000000000000000000000000c9": "0x1", + "00000000000000000000000000000000000000ca": "0x1", + "00000000000000000000000000000000000000cb": "0x1", + "00000000000000000000000000000000000000cc": "0x1", + "00000000000000000000000000000000000000cd": "0x1", + "00000000000000000000000000000000000000ce": "0x1", + "00000000000000000000000000000000000000cf": "0x1", + "00000000000000000000000000000000000000d0": "0x1", + "00000000000000000000000000000000000000d1": "0x1", + "00000000000000000000000000000000000000d2": "0x1", + "00000000000000000000000000000000000000d3": "0x1", + "00000000000000000000000000000000000000d4": "0x1", + "00000000000000000000000000000000000000d5": "0x1", + "00000000000000000000000000000000000000d6": "0x1", + "00000000000000000000000000000000000000d7": "0x1", + "00000000000000000000000000000000000000d8": "0x1", + "00000000000000000000000000000000000000d9": "0x1", + "00000000000000000000000000000000000000da": "0x1", + "00000000000000000000000000000000000000db": "0x1", + "00000000000000000000000000000000000000dc": "0x1", + "00000000000000000000000000000000000000dd": "0x1", + "00000000000000000000000000000000000000de": "0x1", + "00000000000000000000000000000000000000df": "0x1", + "00000000000000000000000000000000000000e0": "0x1", + "00000000000000000000000000000000000000e1": "0x1", + "00000000000000000000000000000000000000e2": "0x1", + "00000000000000000000000000000000000000e3": "0x1", + "00000000000000000000000000000000000000e4": "0x1", + "00000000000000000000000000000000000000e5": "0x1", + "00000000000000000000000000000000000000e6": "0x1", + "00000000000000000000000000000000000000e7": "0x1", + "00000000000000000000000000000000000000e8": "0x1", + "00000000000000000000000000000000000000e9": "0x1", + "00000000000000000000000000000000000000ea": "0x1", + "00000000000000000000000000000000000000eb": "0x1", + "00000000000000000000000000000000000000ec": "0x1", + "00000000000000000000000000000000000000ed": "0x1", + "00000000000000000000000000000000000000ee": "0x1", + "00000000000000000000000000000000000000ef": "0x1", + "00000000000000000000000000000000000000f0": "0x1", + "00000000000000000000000000000000000000f1": "0x1", + "00000000000000000000000000000000000000f2": "0x1", + "00000000000000000000000000000000000000f3": "0x1", + "00000000000000000000000000000000000000f4": "0x1", + "00000000000000000000000000000000000000f5": "0x1", + "00000000000000000000000000000000000000f6": "0x1", + "00000000000000000000000000000000000000f7": "0x1", + "00000000000000000000000000000000000000f8": "0x1", + "00000000000000000000000000000000000000f9": "0x1", + "00000000000000000000000000000000000000fa": "0x1", + "00000000000000000000000000000000000000fb": "0x1", + "00000000000000000000000000000000000000fc": "0x1", + "00000000000000000000000000000000000000fd": "0x1", + "00000000000000000000000000000000000000fe": "0x1", + "00000000000000000000000000000000000000ff": "0x1", + "4c2ae482593505f0163cdefc073e81c63cda4107": "0x152d02c7e14af6800000", + "a8e8f14732658e4b51e8711931053a8a69baf2b1": "0x152d02c7e14af6800000", + "d9a5179f091d85051d3c982785efd1455cec8699": "0x84595161401484a000000", + "e0a2bd4258d2768837baa26a28fe71dc079f84c7": "0x4a47e3c12448f4ad000000" + }, + }, + p2p: ( + bootnodes: [ + "enode://011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a@51.141.78.53:30303", + "enode://176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b@13.93.54.137:30303", + "enode://46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@94.237.54.114:30313", + "enode://b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949@18.218.250.66:30303", + "enode://a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91@3.11.147.67:30303", + "enode://d4f764a48ec2a8ecf883735776fdefe0a3949eb0ca476bd7bc8d0954a9defe8fea15ae5da7d40b5d2d59ce9524a99daedadf6da6283fca492cc80b53689fb3b3@46.4.99.122:32109", + "enode://d2b720352e8216c9efc470091aa91ddafc53e222b32780f505c817ceef69e01d5b0b0797b69db254c586f493872352f5a022b4d8479a00fc92ec55f9ad46a27e@88.99.70.182:30303" + ], + preverified_hashes: [ + ], + ), +) diff --git a/src/res/chainspec/sepolia.ron b/src/res/chainspec/sepolia.ron index e578bda7..d5acf302 100644 --- a/src/res/chainspec/sepolia.ron +++ b/src/res/chainspec/sepolia.ron @@ -65,7 +65,7 @@ p2p: ( bootnodes: [ "enode://9246d00bc8fd1742e5ad2428b80fc4dc45d786283e05ef6edbd9002cbc335d40998444732fbe921cb88e1d2c73d1b1de53bae6a2237996e9bfe14f871baf7066@18.168.182.86:30303", - "enode://ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7@52.14.151.177:30303" + "enode://ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7@52.14.151.177:30303" ], preverified_hashes: [ ], From bc1d6eb768e4deafe51fed51a0663be7c79ebc33 Mon Sep 17 00:00:00 2001 From: Artem Vorotnikov Date: Wed, 25 May 2022 22:15:15 +0300 Subject: [PATCH 3/3] Delete goerli.ron --- src/res/chainspec/goerli.ron | 320 ----------------------------------- 1 file changed, 320 deletions(-) delete mode 100644 src/res/chainspec/goerli.ron diff --git a/src/res/chainspec/goerli.ron b/src/res/chainspec/goerli.ron deleted file mode 100644 index 350f82a7..00000000 --- a/src/res/chainspec/goerli.ron +++ /dev/null @@ -1,320 +0,0 @@ -( - name: "Görli", - consensus: ( - seal_verification: Clique( - period: 15, - epoch: 30000, - ), - eip1559_block: 5062605, - ), - upgrades: ( - homestead: 0, - tangerine: 0, - spurious: 0, - byzantium: 0, - constantinople: 0, - petersburg: 0, - istanbul: 1561651, - berlin: 4460644, - london: 5062605, - ), - params: ( - chain_id: 5, - network_id: 5, - min_gas_limit: 5000, - ), - genesis: ( - number: 0, - author: "0x0000000000000000000000000000000000000000", - timestamp: 1548854791, - gas_limit: 10485760, - seal: Clique( - vanity: "0x22466c6578692069732061207468696e6722202d204166726900000000000000", - score: NoTurn, - signers: [ - "0x4769bcad07e3b938b7f43eb7d278bc7cb9effb38", - "0x78d1ad571a1a09d60d9bbf25894b44e4c8859595", - "0x286834935f4a8cfb4ff4c77d5770c2775ae2b0e7", - "0xb86e2b0ab5a4b1373e40c51a7c712c70ba2f9f8e", - "0x0df8fa387c602ae62559cc4afa4972a7045d6707" - ], - ), - ), - balances: { - 0: { - "0000000000000000000000000000000000000000": "0x1", - "0000000000000000000000000000000000000001": "0x1", - "0000000000000000000000000000000000000002": "0x1", - "0000000000000000000000000000000000000003": "0x1", - "0000000000000000000000000000000000000004": "0x1", - "0000000000000000000000000000000000000005": "0x1", - "0000000000000000000000000000000000000006": "0x1", - "0000000000000000000000000000000000000007": "0x1", - "0000000000000000000000000000000000000008": "0x1", - "0000000000000000000000000000000000000009": "0x1", - "000000000000000000000000000000000000000a": "0x1", - "000000000000000000000000000000000000000b": "0x1", - "000000000000000000000000000000000000000c": "0x1", - "000000000000000000000000000000000000000d": "0x1", - "000000000000000000000000000000000000000e": "0x1", - "000000000000000000000000000000000000000f": "0x1", - "0000000000000000000000000000000000000010": "0x1", - "0000000000000000000000000000000000000011": "0x1", - "0000000000000000000000000000000000000012": "0x1", - "0000000000000000000000000000000000000013": "0x1", - "0000000000000000000000000000000000000014": "0x1", - "0000000000000000000000000000000000000015": "0x1", - "0000000000000000000000000000000000000016": "0x1", - "0000000000000000000000000000000000000017": "0x1", - "0000000000000000000000000000000000000018": "0x1", - "0000000000000000000000000000000000000019": "0x1", - "000000000000000000000000000000000000001a": "0x1", - "000000000000000000000000000000000000001b": "0x1", - "000000000000000000000000000000000000001c": "0x1", - "000000000000000000000000000000000000001d": "0x1", - "000000000000000000000000000000000000001e": "0x1", - "000000000000000000000000000000000000001f": "0x1", - "0000000000000000000000000000000000000020": "0x1", - "0000000000000000000000000000000000000021": "0x1", - "0000000000000000000000000000000000000022": "0x1", - "0000000000000000000000000000000000000023": "0x1", - "0000000000000000000000000000000000000024": "0x1", - "0000000000000000000000000000000000000025": "0x1", - "0000000000000000000000000000000000000026": "0x1", - "0000000000000000000000000000000000000027": "0x1", - "0000000000000000000000000000000000000028": "0x1", - "0000000000000000000000000000000000000029": "0x1", - "000000000000000000000000000000000000002a": "0x1", - "000000000000000000000000000000000000002b": "0x1", - "000000000000000000000000000000000000002c": "0x1", - "000000000000000000000000000000000000002d": "0x1", - "000000000000000000000000000000000000002e": "0x1", - "000000000000000000000000000000000000002f": "0x1", - "0000000000000000000000000000000000000030": "0x1", - "0000000000000000000000000000000000000031": "0x1", - "0000000000000000000000000000000000000032": "0x1", - "0000000000000000000000000000000000000033": "0x1", - "0000000000000000000000000000000000000034": "0x1", - "0000000000000000000000000000000000000035": "0x1", - "0000000000000000000000000000000000000036": "0x1", - "0000000000000000000000000000000000000037": "0x1", - "0000000000000000000000000000000000000038": "0x1", - "0000000000000000000000000000000000000039": "0x1", - "000000000000000000000000000000000000003a": "0x1", - "000000000000000000000000000000000000003b": "0x1", - "000000000000000000000000000000000000003c": "0x1", - "000000000000000000000000000000000000003d": "0x1", - "000000000000000000000000000000000000003e": "0x1", - "000000000000000000000000000000000000003f": "0x1", - "0000000000000000000000000000000000000040": "0x1", - "0000000000000000000000000000000000000041": "0x1", - "0000000000000000000000000000000000000042": "0x1", - "0000000000000000000000000000000000000043": "0x1", - "0000000000000000000000000000000000000044": "0x1", - "0000000000000000000000000000000000000045": "0x1", - "0000000000000000000000000000000000000046": "0x1", - "0000000000000000000000000000000000000047": "0x1", - "0000000000000000000000000000000000000048": "0x1", - "0000000000000000000000000000000000000049": "0x1", - "000000000000000000000000000000000000004a": "0x1", - "000000000000000000000000000000000000004b": "0x1", - "000000000000000000000000000000000000004c": "0x1", - "000000000000000000000000000000000000004d": "0x1", - "000000000000000000000000000000000000004e": "0x1", - "000000000000000000000000000000000000004f": "0x1", - "0000000000000000000000000000000000000050": "0x1", - "0000000000000000000000000000000000000051": "0x1", - "0000000000000000000000000000000000000052": "0x1", - "0000000000000000000000000000000000000053": "0x1", - "0000000000000000000000000000000000000054": "0x1", - "0000000000000000000000000000000000000055": "0x1", - "0000000000000000000000000000000000000056": "0x1", - "0000000000000000000000000000000000000057": "0x1", - "0000000000000000000000000000000000000058": "0x1", - "0000000000000000000000000000000000000059": "0x1", - "000000000000000000000000000000000000005a": "0x1", - "000000000000000000000000000000000000005b": "0x1", - "000000000000000000000000000000000000005c": "0x1", - "000000000000000000000000000000000000005d": "0x1", - "000000000000000000000000000000000000005e": "0x1", - "000000000000000000000000000000000000005f": "0x1", - "0000000000000000000000000000000000000060": "0x1", - "0000000000000000000000000000000000000061": "0x1", - "0000000000000000000000000000000000000062": "0x1", - "0000000000000000000000000000000000000063": "0x1", - "0000000000000000000000000000000000000064": "0x1", - "0000000000000000000000000000000000000065": "0x1", - "0000000000000000000000000000000000000066": "0x1", - "0000000000000000000000000000000000000067": "0x1", - "0000000000000000000000000000000000000068": "0x1", - "0000000000000000000000000000000000000069": "0x1", - "000000000000000000000000000000000000006a": "0x1", - "000000000000000000000000000000000000006b": "0x1", - "000000000000000000000000000000000000006c": "0x1", - "000000000000000000000000000000000000006d": "0x1", - "000000000000000000000000000000000000006e": "0x1", - "000000000000000000000000000000000000006f": "0x1", - "0000000000000000000000000000000000000070": "0x1", - "0000000000000000000000000000000000000071": "0x1", - "0000000000000000000000000000000000000072": "0x1", - "0000000000000000000000000000000000000073": "0x1", - "0000000000000000000000000000000000000074": "0x1", - "0000000000000000000000000000000000000075": "0x1", - "0000000000000000000000000000000000000076": "0x1", - "0000000000000000000000000000000000000077": "0x1", - "0000000000000000000000000000000000000078": "0x1", - "0000000000000000000000000000000000000079": "0x1", - "000000000000000000000000000000000000007a": "0x1", - "000000000000000000000000000000000000007b": "0x1", - "000000000000000000000000000000000000007c": "0x1", - "000000000000000000000000000000000000007d": "0x1", - "000000000000000000000000000000000000007e": "0x1", - "000000000000000000000000000000000000007f": "0x1", - "0000000000000000000000000000000000000080": "0x1", - "0000000000000000000000000000000000000081": "0x1", - "0000000000000000000000000000000000000082": "0x1", - "0000000000000000000000000000000000000083": "0x1", - "0000000000000000000000000000000000000084": "0x1", - "0000000000000000000000000000000000000085": "0x1", - "0000000000000000000000000000000000000086": "0x1", - "0000000000000000000000000000000000000087": "0x1", - "0000000000000000000000000000000000000088": "0x1", - "0000000000000000000000000000000000000089": "0x1", - "000000000000000000000000000000000000008a": "0x1", - "000000000000000000000000000000000000008b": "0x1", - "000000000000000000000000000000000000008c": "0x1", - "000000000000000000000000000000000000008d": "0x1", - "000000000000000000000000000000000000008e": "0x1", - "000000000000000000000000000000000000008f": "0x1", - "0000000000000000000000000000000000000090": "0x1", - "0000000000000000000000000000000000000091": "0x1", - "0000000000000000000000000000000000000092": "0x1", - "0000000000000000000000000000000000000093": "0x1", - "0000000000000000000000000000000000000094": "0x1", - "0000000000000000000000000000000000000095": "0x1", - "0000000000000000000000000000000000000096": "0x1", - "0000000000000000000000000000000000000097": "0x1", - "0000000000000000000000000000000000000098": "0x1", - "0000000000000000000000000000000000000099": "0x1", - "000000000000000000000000000000000000009a": "0x1", - "000000000000000000000000000000000000009b": "0x1", - "000000000000000000000000000000000000009c": "0x1", - "000000000000000000000000000000000000009d": "0x1", - "000000000000000000000000000000000000009e": "0x1", - "000000000000000000000000000000000000009f": "0x1", - "00000000000000000000000000000000000000a0": "0x1", - "00000000000000000000000000000000000000a1": "0x1", - "00000000000000000000000000000000000000a2": "0x1", - "00000000000000000000000000000000000000a3": "0x1", - "00000000000000000000000000000000000000a4": "0x1", - "00000000000000000000000000000000000000a5": "0x1", - "00000000000000000000000000000000000000a6": "0x1", - "00000000000000000000000000000000000000a7": "0x1", - "00000000000000000000000000000000000000a8": "0x1", - "00000000000000000000000000000000000000a9": "0x1", - "00000000000000000000000000000000000000aa": "0x1", - "00000000000000000000000000000000000000ab": "0x1", - "00000000000000000000000000000000000000ac": "0x1", - "00000000000000000000000000000000000000ad": "0x1", - "00000000000000000000000000000000000000ae": "0x1", - "00000000000000000000000000000000000000af": "0x1", - "00000000000000000000000000000000000000b0": "0x1", - "00000000000000000000000000000000000000b1": "0x1", - "00000000000000000000000000000000000000b2": "0x1", - "00000000000000000000000000000000000000b3": "0x1", - "00000000000000000000000000000000000000b4": "0x1", - "00000000000000000000000000000000000000b5": "0x1", - "00000000000000000000000000000000000000b6": "0x1", - "00000000000000000000000000000000000000b7": "0x1", - "00000000000000000000000000000000000000b8": "0x1", - "00000000000000000000000000000000000000b9": "0x1", - "00000000000000000000000000000000000000ba": "0x1", - "00000000000000000000000000000000000000bb": "0x1", - "00000000000000000000000000000000000000bc": "0x1", - "00000000000000000000000000000000000000bd": "0x1", - "00000000000000000000000000000000000000be": "0x1", - "00000000000000000000000000000000000000bf": "0x1", - "00000000000000000000000000000000000000c0": "0x1", - "00000000000000000000000000000000000000c1": "0x1", - "00000000000000000000000000000000000000c2": "0x1", - "00000000000000000000000000000000000000c3": "0x1", - "00000000000000000000000000000000000000c4": "0x1", - "00000000000000000000000000000000000000c5": "0x1", - "00000000000000000000000000000000000000c6": "0x1", - "00000000000000000000000000000000000000c7": "0x1", - "00000000000000000000000000000000000000c8": "0x1", - "00000000000000000000000000000000000000c9": "0x1", - "00000000000000000000000000000000000000ca": "0x1", - "00000000000000000000000000000000000000cb": "0x1", - "00000000000000000000000000000000000000cc": "0x1", - "00000000000000000000000000000000000000cd": "0x1", - "00000000000000000000000000000000000000ce": "0x1", - "00000000000000000000000000000000000000cf": "0x1", - "00000000000000000000000000000000000000d0": "0x1", - "00000000000000000000000000000000000000d1": "0x1", - "00000000000000000000000000000000000000d2": "0x1", - "00000000000000000000000000000000000000d3": "0x1", - "00000000000000000000000000000000000000d4": "0x1", - "00000000000000000000000000000000000000d5": "0x1", - "00000000000000000000000000000000000000d6": "0x1", - "00000000000000000000000000000000000000d7": "0x1", - "00000000000000000000000000000000000000d8": "0x1", - "00000000000000000000000000000000000000d9": "0x1", - "00000000000000000000000000000000000000da": "0x1", - "00000000000000000000000000000000000000db": "0x1", - "00000000000000000000000000000000000000dc": "0x1", - "00000000000000000000000000000000000000dd": "0x1", - "00000000000000000000000000000000000000de": "0x1", - "00000000000000000000000000000000000000df": "0x1", - "00000000000000000000000000000000000000e0": "0x1", - "00000000000000000000000000000000000000e1": "0x1", - "00000000000000000000000000000000000000e2": "0x1", - "00000000000000000000000000000000000000e3": "0x1", - "00000000000000000000000000000000000000e4": "0x1", - "00000000000000000000000000000000000000e5": "0x1", - "00000000000000000000000000000000000000e6": "0x1", - "00000000000000000000000000000000000000e7": "0x1", - "00000000000000000000000000000000000000e8": "0x1", - "00000000000000000000000000000000000000e9": "0x1", - "00000000000000000000000000000000000000ea": "0x1", - "00000000000000000000000000000000000000eb": "0x1", - "00000000000000000000000000000000000000ec": "0x1", - "00000000000000000000000000000000000000ed": "0x1", - "00000000000000000000000000000000000000ee": "0x1", - "00000000000000000000000000000000000000ef": "0x1", - "00000000000000000000000000000000000000f0": "0x1", - "00000000000000000000000000000000000000f1": "0x1", - "00000000000000000000000000000000000000f2": "0x1", - "00000000000000000000000000000000000000f3": "0x1", - "00000000000000000000000000000000000000f4": "0x1", - "00000000000000000000000000000000000000f5": "0x1", - "00000000000000000000000000000000000000f6": "0x1", - "00000000000000000000000000000000000000f7": "0x1", - "00000000000000000000000000000000000000f8": "0x1", - "00000000000000000000000000000000000000f9": "0x1", - "00000000000000000000000000000000000000fa": "0x1", - "00000000000000000000000000000000000000fb": "0x1", - "00000000000000000000000000000000000000fc": "0x1", - "00000000000000000000000000000000000000fd": "0x1", - "00000000000000000000000000000000000000fe": "0x1", - "00000000000000000000000000000000000000ff": "0x1", - "4c2ae482593505f0163cdefc073e81c63cda4107": "0x152d02c7e14af6800000", - "a8e8f14732658e4b51e8711931053a8a69baf2b1": "0x152d02c7e14af6800000", - "d9a5179f091d85051d3c982785efd1455cec8699": "0x84595161401484a000000", - "e0a2bd4258d2768837baa26a28fe71dc079f84c7": "0x4a47e3c12448f4ad000000" - }, - }, - p2p: ( - bootnodes: [ - "enode://011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a@51.141.78.53:30303", - "enode://176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b@13.93.54.137:30303", - "enode://46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@94.237.54.114:30313", - "enode://b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949@18.218.250.66:30303", - "enode://a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91@3.11.147.67:30303", - "enode://d4f764a48ec2a8ecf883735776fdefe0a3949eb0ca476bd7bc8d0954a9defe8fea15ae5da7d40b5d2d59ce9524a99daedadf6da6283fca492cc80b53689fb3b3@46.4.99.122:32109", - "enode://d2b720352e8216c9efc470091aa91ddafc53e222b32780f505c817ceef69e01d5b0b0797b69db254c586f493872352f5a022b4d8479a00fc92ec55f9ad46a27e@88.99.70.182:30303" - ], - preverified_hashes: [ - ], - ), -)