Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #124 from nervosnetwork/fix-test-setup
Browse files Browse the repository at this point in the history
test: set rollup_type_hash into the args of eth_addr_reg_script
  • Loading branch information
Flouse authored Mar 1, 2022
2 parents ebc738f + 89931f7 commit 88b5701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions polyjuice-tests/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ pub fn setup() -> (Store, DummyState, Generator) {
let eth_addr_reg_script = Script::new_builder()
.code_hash(ETH_ADDRESS_REGISTRY_PROGRAM_CODE_HASH.pack())
.hash_type(ScriptHashType::Type.into())
.args(ROLLUP_SCRIPT_HASH.to_vec().pack())
.build();
let eth_addr_reg_account_id = state
.create_account_from_script(eth_addr_reg_script)
Expand Down

0 comments on commit 88b5701

Please sign in to comment.