EIP-98: Optional transaction state root (#4296)
* EIP98: Optional receipt state root * Use if-else * Fixing tests
This commit is contained in:
committed by
Gav Wood
parent
f5a4b55dae
commit
c012dfc3ef
@@ -268,7 +268,7 @@ mod tests {
|
||||
#[test]
|
||||
fn check_receipts() {
|
||||
let receipts = (0..5).map(|_| Receipt {
|
||||
state_root: H256::random(),
|
||||
state_root: Some(H256::random()),
|
||||
gas_used: 21_000u64.into(),
|
||||
log_bloom: Default::default(),
|
||||
logs: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user