Merge branch 'dev'
This commit is contained in:
commit
118051696e
@ -172,14 +172,7 @@
|
||||
"eip1884Transition": "0x8a61c8",
|
||||
"eip2028Transition": "0x8a61c8",
|
||||
"eip2929Transition": "0xbad420",
|
||||
"eip2930Transition": "0xbad420",
|
||||
"eip1559Transition": "0xc3d0e8",
|
||||
"eip3198Transition": "0xc3d0e8",
|
||||
"eip3541Transition": "0xc3d0e8",
|
||||
"eip3529Transition": "0xc3d0e8",
|
||||
"eip1559BaseFeeMaxChangeDenominator": "0x8",
|
||||
"eip1559ElasticityMultiplier": "0x2",
|
||||
"eip1559BaseFeeInitialValue": "0x3B9ACA00"
|
||||
"eip2930Transition": "0xbad420"
|
||||
},
|
||||
"genesis": {
|
||||
"seal": {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit fa0ab110f3f45d1f6786f978ea596a18ecbe8275
|
||||
Subproject commit 5d651381daf9d12cc663a7326b3b16d7bb4c1aa0
|
@ -65,7 +65,7 @@ impl From<ethjson::spec::Genesis> for Genesis {
|
||||
state_root: g.state_root.map(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),
|
||||
base_fee: g.base_fee.map(Into::into),
|
||||
base_fee: g.base_fee_per_gas.map(Into::into),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ impl BlockChain {
|
||||
state_root: Some(self.genesis_block.state_root.clone()),
|
||||
gas_used: Some(self.genesis_block.gas_used),
|
||||
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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ pub struct Header {
|
||||
#[serde(rename = "uncleHash")]
|
||||
pub uncles_hash: H256,
|
||||
/// Base fee
|
||||
pub base_fee: Option<Uint>,
|
||||
pub base_fee_per_gas: Option<Uint>,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -52,7 +52,7 @@ pub struct Genesis {
|
||||
/// Extra data.
|
||||
pub extra_data: Option<Bytes>,
|
||||
/// Base fee.
|
||||
pub base_fee: Option<Uint>,
|
||||
pub base_fee_per_gas: Option<Uint>,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
@ -124,7 +124,7 @@ mod tests {
|
||||
)
|
||||
.unwrap()
|
||||
),
|
||||
base_fee: None,
|
||||
base_fee_per_gas: None,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user