Skip to content

Commit

Permalink
test/wasm: update hard-coded hashes of wasm_for_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Jun 6, 2023
1 parent 43b25e7 commit 011b443
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wasm/wasm_source/src/vp_implicit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ mod tests {
tx_env.store_wasm_code(vp_code);

// hardcoded hash of VP_ALWAYS_TRUE_WASM
tx_env.init_parameters(None, None, Some(vec!["2AC0BCB5D9E2019180F99BEB84A77E32728CDABAAD8C4F0EF3762594EC836A9D".to_string()]));
tx_env.init_parameters(None, None, Some(vec!["944A06740903B2EAB1FECAC4BFA25DD48330689A0F9D69C79C05B151C039CBAC".to_string()]));

// Spawn the accounts to be able to modify their storage
tx_env.spawn_accounts([&vp_owner]);
Expand Down
2 changes: 1 addition & 1 deletion wasm/wasm_source/src/vp_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ mod tests {
tx_env.store_wasm_code(vp_code);

// hardcoded hash of VP_ALWAYS_TRUE_WASM
tx_env.init_parameters(None, None, Some(vec!["2AC0BCB5D9E2019180F99BEB84A77E32728CDABAAD8C4F0EF3762594EC836A9D".to_string()]));
tx_env.init_parameters(None, None, Some(vec!["944A06740903B2EAB1FECAC4BFA25DD48330689A0F9D69C79C05B151C039CBAC".to_string()]));

// Spawn the accounts to be able to modify their storage
tx_env.spawn_accounts([&vp_owner]);
Expand Down
2 changes: 1 addition & 1 deletion wasm/wasm_source/src/vp_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ mod tests {
tx_env.store_wasm_code(vp_code);

// hardcoded hash of VP_ALWAYS_TRUE_WASM
tx_env.init_parameters(None, None, Some(vec!["2AC0BCB5D9E2019180F99BEB84A77E32728CDABAAD8C4F0EF3762594EC836A9D".to_string()]));
tx_env.init_parameters(None, None, Some(vec!["944A06740903B2EAB1FECAC4BFA25DD48330689A0F9D69C79C05B151C039CBAC".to_string()]));

// Spawn the accounts to be able to modify their storage
tx_env.spawn_accounts([&vp_owner]);
Expand Down

0 comments on commit 011b443

Please sign in to comment.