diff --git a/eth-connector/src/contract.rs b/eth-connector/src/contract.rs index 880921d..9638075 100644 --- a/eth-connector/src/contract.rs +++ b/eth-connector/src/contract.rs @@ -46,6 +46,7 @@ impl EthConnectorContract { metadata: FungibleTokenMetadata, account_with_access_right: &impl AsRef, owner_id: &impl AsRef, + min_proof_acceptance_height: u64, ) -> CallNew { CallNew::call(&self.contract).args_json(json!({ "prover_account": prover_account.as_ref(), @@ -53,6 +54,7 @@ impl EthConnectorContract { "owner_id": owner_id.as_ref(), "eth_custodian_address": eth_custodian_address, "metadata": metadata, + "min_proof_acceptance_height": min_proof_acceptance_height, })) } diff --git a/eth-connector/tests/fungible_token_tests.rs b/eth-connector/tests/fungible_token_tests.rs index 3513257..ee1f634 100644 --- a/eth-connector/tests/fungible_token_tests.rs +++ b/eth-connector/tests/fungible_token_tests.rs @@ -33,6 +33,7 @@ async fn deploy_and_init() -> anyhow::Result { }; let owner_id = AccountId::from_str(OWNER_ID).unwrap(); let account_with_access_right = AccountId::from_str(account.id().as_str()).unwrap(); + let min_proof_acceptance_height = 0; eth_contract .init( @@ -41,6 +42,7 @@ async fn deploy_and_init() -> anyhow::Result { metadata, &account_with_access_right, &owner_id, + min_proof_acceptance_height, ) .transact() .await?;