bump ethereum tests 9.0.2, revert london mainnet block (#435)

* bump ethereum tests 9.0.2
* london mainnet block removed
This commit is contained in:
Dusan Stanivukovic 2021-06-16 20:48:23 +02:00 committed by GitHub
parent 193b25a22d
commit 17057eeedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 14 deletions

View File

@ -172,14 +172,7 @@
"eip1884Transition": "0x8a61c8", "eip1884Transition": "0x8a61c8",
"eip2028Transition": "0x8a61c8", "eip2028Transition": "0x8a61c8",
"eip2929Transition": "0xbad420", "eip2929Transition": "0xbad420",
"eip2930Transition": "0xbad420", "eip2930Transition": "0xbad420"
"eip1559Transition": "0xc3d0e8",
"eip3198Transition": "0xc3d0e8",
"eip3541Transition": "0xc3d0e8",
"eip3529Transition": "0xc3d0e8",
"eip1559BaseFeeMaxChangeDenominator": "0x8",
"eip1559ElasticityMultiplier": "0x2",
"eip1559BaseFeeInitialValue": "0x3B9ACA00"
}, },
"genesis": { "genesis": {
"seal": { "seal": {

@ -1 +1 @@
Subproject commit fa0ab110f3f45d1f6786f978ea596a18ecbe8275 Subproject commit 5d651381daf9d12cc663a7326b3b16d7bb4c1aa0

View File

@ -65,7 +65,7 @@ impl From<ethjson::spec::Genesis> for Genesis {
state_root: g.state_root.map(Into::into), state_root: g.state_root.map(Into::into),
gas_used: g.gas_used.map_or_else(U256::zero, Into::into), gas_used: g.gas_used.map_or_else(U256::zero, Into::into),
extra_data: g.extra_data.map_or_else(Vec::new, Into::into), extra_data: g.extra_data.map_or_else(Vec::new, Into::into),
base_fee: g.base_fee.map(Into::into), base_fee: g.base_fee_per_gas.map(Into::into),
} }
} }
} }

View File

@ -89,7 +89,7 @@ impl BlockChain {
state_root: Some(self.genesis_block.state_root.clone()), state_root: Some(self.genesis_block.state_root.clone()),
gas_used: Some(self.genesis_block.gas_used), gas_used: Some(self.genesis_block.gas_used),
extra_data: Some(self.genesis_block.extra_data.clone()), extra_data: Some(self.genesis_block.extra_data.clone()),
base_fee: self.genesis_block.base_fee, base_fee_per_gas: self.genesis_block.base_fee_per_gas,
} }
} }
} }

View File

@ -63,7 +63,7 @@ pub struct Header {
#[serde(rename = "uncleHash")] #[serde(rename = "uncleHash")]
pub uncles_hash: H256, pub uncles_hash: H256,
/// Base fee /// Base fee
pub base_fee: Option<Uint>, pub base_fee_per_gas: Option<Uint>,
} }
#[cfg(test)] #[cfg(test)]

View File

@ -52,7 +52,7 @@ pub struct Genesis {
/// Extra data. /// Extra data.
pub extra_data: Option<Bytes>, pub extra_data: Option<Bytes>,
/// Base fee. /// Base fee.
pub base_fee: Option<Uint>, pub base_fee_per_gas: Option<Uint>,
} }
#[cfg(test)] #[cfg(test)]
@ -124,7 +124,7 @@ mod tests {
) )
.unwrap() .unwrap()
), ),
base_fee: None, base_fee_per_gas: None,
} }
); );
} }