mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: use EMPTY_ROOT_HASH when possible (#11822)
This commit is contained in:
@ -1814,9 +1814,7 @@ Post-merge hard forks (timestamp based):
|
||||
hex!("078dc6061b1d8eaa8493384b59c9c65ceb917201221d08b80c4de6770b6ec7e7").into();
|
||||
assert_eq!(chainspec.genesis_header().state_root, expected_state_root);
|
||||
|
||||
let expected_withdrawals_hash: B256 =
|
||||
hex!("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421").into();
|
||||
assert_eq!(chainspec.genesis_header().withdrawals_root, Some(expected_withdrawals_hash));
|
||||
assert_eq!(chainspec.genesis_header().withdrawals_root, Some(EMPTY_ROOT_HASH));
|
||||
|
||||
let expected_hash: B256 =
|
||||
hex!("1fc027d65f820d3eef441ebeec139ebe09e471cf98516dce7b5643ccb27f418c").into();
|
||||
|
||||
Reference in New Issue
Block a user