From fac504c3f28f9ef10dd304bf0d6ee03e86cad9b5 Mon Sep 17 00:00:00 2001 From: Boyu Yang Date: Tue, 26 Sep 2023 12:26:48 +0800 Subject: [PATCH] refactor: initialize chain without user-provided genesis transactions file --- common/config-parser/src/types/spec.rs | 74 +---- core/run/src/components/chain_spec.rs | 60 ++-- .../chain/specs/multi_nodes/chain-spec.toml | 2 - .../multi_nodes/genesis_transactions.json | 276 ------------------ .../chain-spec.toml | 2 - .../genesis_transactions.json | 275 ----------------- .../chain/specs/single_node/chain-spec.toml | 2 - .../single_node/genesis_transactions.json | 163 ----------- 8 files changed, 47 insertions(+), 807 deletions(-) delete mode 100644 devtools/chain/specs/multi_nodes/genesis_transactions.json delete mode 100644 devtools/chain/specs/multi_nodes_short_epoch_len/genesis_transactions.json delete mode 100644 devtools/chain/specs/single_node/genesis_transactions.json diff --git a/common/config-parser/src/types/spec.rs b/common/config-parser/src/types/spec.rs index e304940c4..0733fc8c1 100644 --- a/common/config-parser/src/types/spec.rs +++ b/common/config-parser/src/types/spec.rs @@ -1,10 +1,4 @@ -use std::{ - ffi::OsStr, - fmt, - fs::File, - io::{self, Read as _}, - path::PathBuf, -}; +use std::{ffi::OsStr, fmt, fs::File, io::Read as _, path::PathBuf}; use clap::{ builder::{StringValueParser, TypedValueParser, ValueParserFactory}, @@ -16,10 +10,7 @@ use strum_macros::EnumIter; use common_crypto::Secp256k1RecoverablePrivateKey; use protocol::{ codec::{decode_256bits_key, deserialize_address, ProtocolCodec}, - types::{ - Block, ExtraData, HardforkInfoInner, Header, Key256Bits, Metadata, RichBlock, - SignedTransaction, H160, H256, U256, - }, + types::{ExtraData, HardforkInfoInner, Header, Key256Bits, Metadata, H160, H256, U256}, }; use crate::parse_file; @@ -44,11 +35,6 @@ pub struct Genesis { pub hardforks: Vec, pub base_fee_per_gas: U256, pub chain_id: u64, - - #[serde(rename = "transactions")] - pub txs_file: Option, - #[serde(skip)] - pub txs: Vec, } #[derive(Clone, Debug, Deserialize)] @@ -101,41 +87,14 @@ impl TypedValueParser for ChainSpecValueParser { let file_path = StringValueParser::new() .parse_ref(cmd, arg, value) .map(PathBuf::from)?; - let dir_path = file_path.parent().ok_or_else(|| { - let err = { - let kind = io::ErrorKind::Other; - let msg = format!("no parent directory of {}", file_path.display()); - io::Error::new(kind, msg) - }; + parse_file(&file_path, false).map_err(|err| { let kind = clap::error::ErrorKind::InvalidValue; - clap::Error::raw(kind, err) - })?; - parse_file(&file_path, false) - .map_err(|err| { - let kind = clap::error::ErrorKind::InvalidValue; - let msg = format!( - "failed to parse chain spec file {} since {err}", - file_path.display() - ); - clap::Error::raw(kind, msg) - }) - .and_then(|mut spec: Self::Value| { - if let Some(ref mut f) = spec.genesis.txs_file { - let txs_file = dir_path.join(&f); - let txs: Vec = - parse_file(&txs_file, true).map_err(|err| { - let kind = clap::error::ErrorKind::InvalidValue; - let msg = format!( - "failed to parse transactions json file {} since {err}", - txs_file.display() - ); - clap::Error::raw(kind, msg) - })?; - *f = txs_file; - spec.genesis.txs = txs; - } - Ok(spec) - }) + let msg = format!( + "failed to parse chain spec file {} since {err}", + file_path.display() + ); + clap::Error::raw(kind, msg) + }) } } @@ -241,21 +200,6 @@ impl TypedValueParser for PrivateKeyFileValueParser { } impl Genesis { - /// Build a `RichBlock` of the genesis block from the user provided - /// parameters. - pub fn build_rich_block(&self) -> RichBlock { - let block = self.build_block(); - let txs = self.txs.clone(); - RichBlock { block, txs } - } - - /// Build a `Block` of the genesis block from the user provided parameters. - pub fn build_block(&self) -> Block { - let header = self.build_header(); - let tx_hashes = self.txs.iter().map(|tx| tx.transaction.hash).collect(); - Block { header, tx_hashes } - } - /// Build a `Header` of the genesis block from the user provided parameters. pub fn build_header(&self) -> Header { Header { diff --git a/core/run/src/components/chain_spec.rs b/core/run/src/components/chain_spec.rs index dee5f8951..c08a22f90 100644 --- a/core/run/src/components/chain_spec.rs +++ b/core/run/src/components/chain_spec.rs @@ -2,12 +2,14 @@ use ethers_core::abi::AbiEncode; use common_config_parser::types::spec::ChainSpec; use common_crypto::{PrivateKey as _, Secp256k1RecoverablePrivateKey, Signature}; -use core_executor::system_contract::metadata::metadata_abi::{ - AppendMetadataCall, MetadataContractCalls, +use core_executor::system_contract::{ + metadata::metadata_abi::{AppendMetadataCall, MetadataContractCalls}, + METADATA_CONTRACT_ADDRESS, }; use protocol::types::{ - Hasher, Metadata, RichBlock, SignedTransaction, UnsignedTransaction, UnverifiedTransaction, + Block, Eip1559Transaction, Hasher, Metadata, RichBlock, SignedTransaction, TransactionAction, + UnsignedTransaction, UnverifiedTransaction, BASE_FEE_PER_GAS, }; pub(crate) trait ChainSpecExt { @@ -28,31 +30,45 @@ impl ChainSpecExt for ChainSpec { let data_0 = encode_metadata(metadata_0); let data_1 = encode_metadata(metadata_1); - let mut genesis = self.genesis.build_rich_block(); - for (idx, tx) in genesis.txs.iter_mut().enumerate() { - let mut utx = tx.transaction.unsigned.clone(); + let chain_id = self.genesis.chain_id; - if idx == 0 { - utx.set_data(data_0.clone().into()); - } else if idx == 1 { - utx.set_data(data_1.clone().into()) - } + let txs: Vec<_> = [data_0, data_1] + .into_iter() + .enumerate() + .map(|(index, data)| { + let nonce = index as u64; + let action = TransactionAction::Call(METADATA_CONTRACT_ADDRESS); + let utx = build_unverified_transaction(nonce, action, data); + build_transaction(&genesis_key, utx, chain_id) + }) + .collect(); - let new_tx = build_transaction(&genesis_key, utx, genesis.block.header.chain_id); - *tx = new_tx; - } + let header = self.genesis.build_header(); + let tx_hashes = txs.iter().map(|tx| tx.transaction.hash).collect::>(); + let block = Block { header, tx_hashes }; - let hashes = genesis - .txs - .iter() - .map(|tx| tx.transaction.hash) - .collect::>(); - genesis.block.tx_hashes = hashes; - - genesis + RichBlock { block, txs } } } +fn build_unverified_transaction( + nonce: u64, + action: TransactionAction, + data: Vec, +) -> UnsignedTransaction { + let tx = Eip1559Transaction { + nonce: nonce.into(), + max_priority_fee_per_gas: BASE_FEE_PER_GAS.into(), + gas_price: 0u64.into(), + gas_limit: 30000000u64.into(), + value: 0u64.into(), + data: data.into(), + access_list: vec![], + action, + }; + UnsignedTransaction::Eip1559(tx) +} + fn build_transaction( priv_key: &Secp256k1RecoverablePrivateKey, tx: UnsignedTransaction, diff --git a/devtools/chain/specs/multi_nodes/chain-spec.toml b/devtools/chain/specs/multi_nodes/chain-spec.toml index a5a3292f8..63a650f77 100644 --- a/devtools/chain/specs/multi_nodes/chain-spec.toml +++ b/devtools/chain/specs/multi_nodes/chain-spec.toml @@ -7,8 +7,6 @@ timestamp = 1680249207 base_fee_per_gas = "0x539" # The default chain id is the hexadecimal of ASCII string "Axon". chain_id = 0x41786f6e -# A JSON file which includes all transactions in the genesis block. -transactions = "genesis_transactions.json" hardforks = [] # diff --git a/devtools/chain/specs/multi_nodes/genesis_transactions.json b/devtools/chain/specs/multi_nodes/genesis_transactions.json deleted file mode 100644 index 23a5356dc..000000000 --- a/devtools/chain/specs/multi_nodes/genesis_transactions.json +++ /dev/null @@ -1,276 +0,0 @@ -[ - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x0", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 5, 245, 225, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, - 172, 133, 187, 180, 3, 71, 182, 224, 106, 194, 220, 45, 161, 247, - 94, 236, 224, 41, 205, 192, 237, 45, 69, 108, 69, 125, 39, 226, 136, - 191, 191, 188, 212, 197, 193, 151, 22, 233, 178, 80, 19, 74, 14, - 118, 206, 80, 250, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, - 255, 102, 133, 177, 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, - 174, 86, 132, 211, 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 243, 134, 87, 53, 99, 195, 167, 93, - 187, 210, 105, 252, 233, 120, 38, 32, 130, 109, 218, 194, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 48, 145, 237, 159, 60, 81, 197, 128, 229, 105, 72, 177, 189, 169, - 208, 12, 33, 89, 102, 95, 138, 110, 40, 65, 145, 171, 129, 110, 230, - 78, 242, 72, 125, 120, 69, 58, 84, 122, 15, 20, 239, 191, 132, 43, - 186, 91, 90, 59, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 183, 124, 116, 235, 104, 175, 61, 77, - 108, 199, 136, 78, 214, 112, 159, 26, 42, 26, 240, 247, 19, 56, 42, - 68, 56, 236, 46, 163, 167, 13, 77, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 138, 242, 4, 172, 93, 124, 184, 129, 90, 108, - 83, 165, 11, 114, 208, 30, 114, 157, 59, 34, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 146, 229, - 208, 133, 111, 178, 14, 169, 203, 90, 181, 218, 45, 51, 49, 195, - 141, 50, 204, 150, 80, 127, 106, 217, 2, 250, 61, 169, 64, 0, 150, - 164, 133, 251, 78, 9, 131, 75, 201, 61, 229, 93, 178, 36, 242, 108, - 34, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 33, 2, 127, 253, 106, 106, 35, 21, 97, 242, 175, 229, - 135, 139, 28, 116, 51, 35, 179, 66, 99, 209, 103, 135, 19, 11, 24, - 21, 254, 53, 100, 155, 11, 245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 244, 204, 22, 82, 220, 236, 46, 93, 233, 206, 111, 177, - 182, 249, 250, 148, 86, 233, 87, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 166, 148, 244, - 228, 138, 90, 23, 59, 97, 115, 25, 152, 248, 241, 32, 67, 66, 220, - 92, 142, 177, 227, 44, 218, 227, 116, 21, 194, 13, 17, 174, 3, 93, - 218, 196, 163, 159, 16, 94, 156, 45, 77, 54, 145, 2, 77, 56, 93, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 33, 2, 50, 196, 137, 194, 59, 18, 7, 16, 126, 154, 36, 100, 140, 30, - 71, 84, 168, 193, 192, 179, 141, 185, 109, 245, 122, 82, 98, 1, 3, - 80, 88, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 145, 77, 156, 186, 245, 58, 126, 98, 34, 47, 125, 16, 12, 0, 104, 64, - 21, 4, 44, 150, 210, 185, 123, 101, 182, 88, 22, 244, 172, 98, 201, - 153 - ], - "s": [ - 45, 178, 149, 194, 92, 180, 170, 8, 148, 135, 72, 180, 111, 104, 231, - 143, 18, 215, 70, 151, 96, 54, 195, 188, 199, 225, 169, 66, 44, 184, - 31, 240 - ], - "standard_v": 1 - }, - "hash": "0xb9a410a0e39d3f4fbc2a5f88e0348fbb98ceede37cef220ddb3578fe441215c9" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - }, - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x1", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, - 245, 225, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 235, 194, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 224, 0, - 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 64, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, - 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 176, 207, 38, 77, 249, 157, 131, - 82, 94, 158, 17, 199, 228, 219, 1, 85, 138, 225, 177, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, - 172, 133, 187, 180, 3, 71, 182, 224, 106, 194, 220, 45, 161, 247, - 94, 236, 224, 41, 205, 192, 237, 45, 69, 108, 69, 125, 39, 226, 136, - 191, 191, 188, 212, 197, 193, 151, 22, 233, 178, 80, 19, 74, 14, - 118, 206, 80, 250, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, - 255, 102, 133, 177, 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, - 174, 86, 132, 211, 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 243, 134, 87, 53, 99, 195, 167, 93, - 187, 210, 105, 252, 233, 120, 38, 32, 130, 109, 218, 194, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 48, 145, 237, 159, 60, 81, 197, 128, 229, 105, 72, 177, 189, 169, - 208, 12, 33, 89, 102, 95, 138, 110, 40, 65, 145, 171, 129, 110, 230, - 78, 242, 72, 125, 120, 69, 58, 84, 122, 15, 20, 239, 191, 132, 43, - 186, 91, 90, 59, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 183, 124, 116, 235, 104, 175, 61, 77, - 108, 199, 136, 78, 214, 112, 159, 26, 42, 26, 240, 247, 19, 56, 42, - 68, 56, 236, 46, 163, 167, 13, 77, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 138, 242, 4, 172, 93, 124, 184, 129, 90, 108, - 83, 165, 11, 114, 208, 30, 114, 157, 59, 34, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 146, 229, - 208, 133, 111, 178, 14, 169, 203, 90, 181, 218, 45, 51, 49, 195, - 141, 50, 204, 150, 80, 127, 106, 217, 2, 250, 61, 169, 64, 0, 150, - 164, 133, 251, 78, 9, 131, 75, 201, 61, 229, 93, 178, 36, 242, 108, - 34, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 33, 2, 127, 253, 106, 106, 35, 21, 97, 242, 175, 229, - 135, 139, 28, 116, 51, 35, 179, 66, 99, 209, 103, 135, 19, 11, 24, - 21, 254, 53, 100, 155, 11, 245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 244, 204, 22, 82, 220, 236, 46, 93, 233, 206, 111, 177, - 182, 249, 250, 148, 86, 233, 87, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 166, 148, 244, - 228, 138, 90, 23, 59, 97, 115, 25, 152, 248, 241, 32, 67, 66, 220, - 92, 142, 177, 227, 44, 218, 227, 116, 21, 194, 13, 17, 174, 3, 93, - 218, 196, 163, 159, 16, 94, 156, 45, 77, 54, 145, 2, 77, 56, 93, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 33, 2, 50, 196, 137, 194, 59, 18, 7, 16, 126, 154, 36, 100, 140, 30, - 71, 84, 168, 193, 192, 179, 141, 185, 109, 245, 122, 82, 98, 1, 3, - 80, 88, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 185, 32, 147, 222, 243, 13, 173, 205, 223, 241, 207, 227, 106, 155, - 151, 96, 18, 32, 203, 194, 18, 128, 145, 41, 162, 22, 90, 62, 46, 36, - 166, 147 - ], - "s": [ - 102, 34, 35, 68, 248, 200, 152, 103, 53, 218, 3, 133, 45, 235, 71, - 107, 204, 65, 32, 132, 73, 24, 145, 137, 131, 147, 213, 122, 64, 97, - 243, 251 - ], - "standard_v": 0 - }, - "hash": "0x2bb0eb17d0815f7e00a34dde85499e52f815a5772e17206062689f4bc6a0110e" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - } -] diff --git a/devtools/chain/specs/multi_nodes_short_epoch_len/chain-spec.toml b/devtools/chain/specs/multi_nodes_short_epoch_len/chain-spec.toml index b7c9f9d28..73191d932 100644 --- a/devtools/chain/specs/multi_nodes_short_epoch_len/chain-spec.toml +++ b/devtools/chain/specs/multi_nodes_short_epoch_len/chain-spec.toml @@ -7,8 +7,6 @@ timestamp = 1679656015 base_fee_per_gas = "0x539" # The default chain id is the hexadecimal of ASCII string "Axon". chain_id = 0x41786f6e -# A JSON file which includes all transactions in the genesis block. -transactions = "genesis_transactions.json" hardforks = [] # diff --git a/devtools/chain/specs/multi_nodes_short_epoch_len/genesis_transactions.json b/devtools/chain/specs/multi_nodes_short_epoch_len/genesis_transactions.json deleted file mode 100644 index d176c78ff..000000000 --- a/devtools/chain/specs/multi_nodes_short_epoch_len/genesis_transactions.json +++ /dev/null @@ -1,275 +0,0 @@ -[ - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x0", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 172, - 133, 187, 180, 3, 71, 182, 224, 106, 194, 220, 45, 161, 247, 94, - 236, 224, 41, 205, 192, 237, 45, 69, 108, 69, 125, 39, 226, 136, - 191, 191, 188, 212, 197, 193, 151, 22, 233, 178, 80, 19, 74, 14, - 118, 206, 80, 250, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, - 255, 102, 133, 177, 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, - 174, 86, 132, 211, 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 243, 134, 87, 53, 99, 195, 167, 93, - 187, 210, 105, 252, 233, 120, 38, 32, 130, 109, 218, 194, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 48, 145, 237, 159, 60, 81, 197, 128, 229, 105, 72, 177, 189, 169, - 208, 12, 33, 89, 102, 95, 138, 110, 40, 65, 145, 171, 129, 110, 230, - 78, 242, 72, 125, 120, 69, 58, 84, 122, 15, 20, 239, 191, 132, 43, - 186, 91, 90, 59, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 183, 124, 116, 235, 104, 175, 61, 77, - 108, 199, 136, 78, 214, 112, 159, 26, 42, 26, 240, 247, 19, 56, 42, - 68, 56, 236, 46, 163, 167, 13, 77, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 138, 242, 4, 172, 93, 124, 184, 129, 90, 108, - 83, 165, 11, 114, 208, 30, 114, 157, 59, 34, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 146, 229, - 208, 133, 111, 178, 14, 169, 203, 90, 181, 218, 45, 51, 49, 195, - 141, 50, 204, 150, 80, 127, 106, 217, 2, 250, 61, 169, 64, 0, 150, - 164, 133, 251, 78, 9, 131, 75, 201, 61, 229, 93, 178, 36, 242, 108, - 34, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 33, 2, 127, 253, 106, 106, 35, 21, 97, 242, 175, 229, - 135, 139, 28, 116, 51, 35, 179, 66, 99, 209, 103, 135, 19, 11, 24, - 21, 254, 53, 100, 155, 11, 245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 244, 204, 22, 82, 220, 236, 46, 93, 233, 206, 111, 177, - 182, 249, 250, 148, 86, 233, 87, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 166, 148, 244, - 228, 138, 90, 23, 59, 97, 115, 25, 152, 248, 241, 32, 67, 66, 220, - 92, 142, 177, 227, 44, 218, 227, 116, 21, 194, 13, 17, 174, 3, 93, - 218, 196, 163, 159, 16, 94, 156, 45, 77, 54, 145, 2, 77, 56, 93, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 33, 2, 50, 196, 137, 194, 59, 18, 7, 16, 126, 154, 36, 100, 140, 30, - 71, 84, 168, 193, 192, 179, 141, 185, 109, 245, 122, 82, 98, 1, 3, - 80, 88, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 98, 29, 45, 23, 1, 125, 145, 245, 68, 207, 61, 244, 181, 174, 242, - 168, 29, 141, 168, 157, 96, 17, 193, 58, 73, 57, 82, 64, 5, 156, 4, 25 - ], - "s": [ - 6, 146, 201, 244, 90, 151, 226, 234, 153, 72, 122, 35, 58, 162, 155, - 14, 181, 15, 227, 185, 125, 184, 200, 21, 175, 172, 172, 75, 65, 216, - 82, 217 - ], - "standard_v": 0 - }, - "hash": "0xc24aeaddf70e3ec321921c586e9f8ce8309d4fe5b391bbec75b77d1794fe0551" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - }, - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x1", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 224, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, - 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 176, 207, 38, 77, 249, 157, 131, - 82, 94, 158, 17, 199, 228, 219, 1, 85, 138, 225, 177, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, - 172, 133, 187, 180, 3, 71, 182, 224, 106, 194, 220, 45, 161, 247, - 94, 236, 224, 41, 205, 192, 237, 45, 69, 108, 69, 125, 39, 226, 136, - 191, 191, 188, 212, 197, 193, 151, 22, 233, 178, 80, 19, 74, 14, - 118, 206, 80, 250, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, - 255, 102, 133, 177, 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, - 174, 86, 132, 211, 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 243, 134, 87, 53, 99, 195, 167, 93, - 187, 210, 105, 252, 233, 120, 38, 32, 130, 109, 218, 194, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 48, 145, 237, 159, 60, 81, 197, 128, 229, 105, 72, 177, 189, 169, - 208, 12, 33, 89, 102, 95, 138, 110, 40, 65, 145, 171, 129, 110, 230, - 78, 242, 72, 125, 120, 69, 58, 84, 122, 15, 20, 239, 191, 132, 43, - 186, 91, 90, 59, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 183, 124, 116, 235, 104, 175, 61, 77, - 108, 199, 136, 78, 214, 112, 159, 26, 42, 26, 240, 247, 19, 56, 42, - 68, 56, 236, 46, 163, 167, 13, 77, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 138, 242, 4, 172, 93, 124, 184, 129, 90, 108, - 83, 165, 11, 114, 208, 30, 114, 157, 59, 34, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 146, 229, - 208, 133, 111, 178, 14, 169, 203, 90, 181, 218, 45, 51, 49, 195, - 141, 50, 204, 150, 80, 127, 106, 217, 2, 250, 61, 169, 64, 0, 150, - 164, 133, 251, 78, 9, 131, 75, 201, 61, 229, 93, 178, 36, 242, 108, - 34, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 33, 2, 127, 253, 106, 106, 35, 21, 97, 242, 175, 229, - 135, 139, 28, 116, 51, 35, 179, 66, 99, 209, 103, 135, 19, 11, 24, - 21, 254, 53, 100, 155, 11, 245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 244, 204, 22, 82, 220, 236, 46, 93, 233, 206, 111, 177, - 182, 249, 250, 148, 86, 233, 87, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 166, 148, 244, - 228, 138, 90, 23, 59, 97, 115, 25, 152, 248, 241, 32, 67, 66, 220, - 92, 142, 177, 227, 44, 218, 227, 116, 21, 194, 13, 17, 174, 3, 93, - 218, 196, 163, 159, 16, 94, 156, 45, 77, 54, 145, 2, 77, 56, 93, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 33, 2, 50, 196, 137, 194, 59, 18, 7, 16, 126, 154, 36, 100, 140, 30, - 71, 84, 168, 193, 192, 179, 141, 185, 109, 245, 122, 82, 98, 1, 3, - 80, 88, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 218, 201, 77, 112, 42, 185, 160, 159, 47, 173, 72, 187, 72, 151, 134, - 218, 64, 247, 125, 207, 129, 178, 87, 59, 245, 24, 133, 144, 34, 253, - 80, 255 - ], - "s": [ - 1, 49, 226, 127, 36, 221, 118, 156, 44, 70, 82, 41, 172, 189, 43, 255, - 56, 246, 192, 170, 94, 227, 254, 21, 122, 170, 68, 175, 251, 113, 242, - 24 - ], - "standard_v": 1 - }, - "hash": "0x794c433ffe2d78550773c982d34427698fde005a89e9b804c5726097746aba14" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - } -] diff --git a/devtools/chain/specs/single_node/chain-spec.toml b/devtools/chain/specs/single_node/chain-spec.toml index a986fd844..83d4367a1 100644 --- a/devtools/chain/specs/single_node/chain-spec.toml +++ b/devtools/chain/specs/single_node/chain-spec.toml @@ -7,8 +7,6 @@ timestamp = 1679656015 base_fee_per_gas = "0x539" # The default chain id is the hexadecimal of ASCII string "Axon". chain_id = 0x41786f6e -# A JSON file which includes all transactions in the genesis block. -transactions = "genesis_transactions.json" hardforks = [] # diff --git a/devtools/chain/specs/single_node/genesis_transactions.json b/devtools/chain/specs/single_node/genesis_transactions.json deleted file mode 100644 index ad9a45ca4..000000000 --- a/devtools/chain/specs/single_node/genesis_transactions.json +++ /dev/null @@ -1,163 +0,0 @@ -[ - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x0", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 245, 225, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 176, - 207, 38, 77, 249, 157, 131, 82, 94, 158, 17, 199, 228, 219, 1, 85, - 138, 225, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 172, 133, 187, 180, 3, 71, - 182, 224, 106, 194, 220, 45, 161, 247, 94, 236, 224, 41, 205, 192, - 237, 45, 69, 108, 69, 125, 39, 226, 136, 191, 191, 188, 212, 197, - 193, 151, 22, 233, 178, 80, 19, 74, 14, 118, 206, 80, 250, 34, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, 255, 102, 133, 177, - 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, 174, 86, 132, 211, - 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 244, 26, 61, 53, 38, 38, 97, 244, 90, 120, 6, 232, 32, 186, 43, 55, - 133, 98, 57, 60, 91, 71, 120, 104, 160, 169, 135, 195, 29, 26, 7, 3 - ], - "s": [ - 85, 92, 153, 77, 170, 101, 66, 183, 172, 170, 68, 5, 155, 69, 33, - 235, 209, 79, 218, 23, 40, 107, 129, 168, 197, 184, 102, 227, 50, - 60, 200, 21 - ], - "standard_v": 1 - }, - "hash": "0x2cd0b78d15fc341a64fbab4567be8d91e99077e7ab5ff5eba8dd43df1044e9bf" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - }, - { - "transaction": { - "unsigned": { - "Eip1559": { - "nonce": "0x1", - "max_priority_fee_per_gas": "0x539", - "gas_price": "0x0", - "gas_limit": "0x1c9c380", - "action": { - "Call": "0xffffffffffffffffffffffffffffffffffffff01" - }, - "value": "0x0", - "data": [ - 83, 236, 121, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0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 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 172, 133, 187, - 180, 3, 71, 182, 224, 106, 194, 220, 45, 161, 247, 94, 236, 224, - 41, 205, 192, 237, 45, 69, 108, 69, 125, 39, 226, 136, 191, 191, - 188, 212, 197, 193, 151, 22, 233, 178, 80, 19, 74, 14, 118, 206, - 80, 250, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 33, 3, 29, 220, 53, 33, 43, 127, 199, 255, - 102, 133, 177, 125, 145, 247, 124, 151, 37, 53, 174, 229, 199, - 174, 86, 132, 211, 231, 43, 152, 111, 8, 131, 75, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 - ], - "access_list": [] - } - }, - "signature": { - "r": [ - 217, 245, 38, 74, 255, 142, 21, 172, 253, 185, 1, 124, 104, 215, - 176, 103, 53, 46, 9, 35, 27, 252, 61, 37, 68, 54, 243, 87, 184, 125, - 21, 73 - ], - "s": [ - 0, 223, 51, 5, 92, 108, 254, 246, 40, 213, 171, 150, 70, 35, 105, - 158, 161, 248, 216, 52, 137, 90, 110, 159, 208, 0, 23, 233, 108, 51, - 13, 128 - ], - "standard_v": 0 - }, - "hash": "0x4c92c2ce594bc05a523a77be31b4fbb9619fb9fd73c9415fe8f9efe97c7968df" - }, - "sender": "0x8ab0cf264df99d83525e9e11c7e4db01558ae1b1", - "public": "0x1ddc35212b7fc7ff6685b17d91f77c972535aee5c7ae5684d3e72b986f08834bb6d9f0d2aadc50716cea7b59d5eadfc9366e348ed596b924f4e746247b673c57" - } -]