Skip to content

Commit

Permalink
Fix Rialto test-poa genesis state root (paritytech#350)
Browse files Browse the repository at this point in the history
* fix test-poa genesis state root

* fix test
  • Loading branch information
svyatonik committed Sep 14, 2020
1 parent 5d4eff4 commit 1714703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/bin/rialto-runtime/src/rialto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn genesis_header() -> Header {
transactions_root: hex!("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421").into(),
uncles_hash: hex!("1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347").into(),
extra_data: vec![],
state_root: hex!("eccf6b74c2bcbe115c71116a23fe963c54406010c244d9650526028ad3e32cce").into(),
state_root: hex!("a992d04c791620ed7ed96555a80cf0568355bb4bee2656f46899a4372f25f248").into(),
receipts_root: hex!("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421").into(),
log_bloom: Default::default(),
gas_used: Default::default(),
Expand Down Expand Up @@ -134,7 +134,7 @@ mod tests {
fn genesis_hash_matches() {
assert_eq!(
genesis_header().compute_hash(),
hex!("9ff57c7fa155853586382022f0982b71c51fa313a0942f8c456300896643e890").into(),
hex!("1468e1a0fa20d30025a5a0f87e1cced4fdc393b84b7d2850b11ca5863db482cb").into(),
);
}

Expand Down

0 comments on commit 1714703

Please sign in to comment.