Skip to content

Commit

Permalink
deploy poseidon hasher
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Feb 5, 2024
1 parent 8140e1f commit ec167c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion evm-test-utils/src/v_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl<M> VAnchorBridgeDeployment<M> {
let treasury =
chain.deploy_treasury(treasury_handler.address()).await?;

// Set treasury handler
// Step5 Set treasury handler with singature.
let bridge_target_system = TargetSystem::ContractAddress(
bridge.address().to_fixed_bytes(),
);
Expand Down Expand Up @@ -109,6 +109,9 @@ impl<M> VAnchorBridgeDeployment<M> {
signature.to_vec().into(),
)
.await?;

// Step6 Deploy poseidon hasher contract.
let poseidon_hasher = chain.deploy_poseidon_hasher().await?;
}

Ok(())
Expand Down

0 comments on commit ec167c2

Please sign in to comment.