Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix: gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko authored and Marko Atanasievski committed Apr 3, 2023
1 parent 1724614 commit aa032ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ where
let deployment = web3::contract::Contract::deploy(web3_client.eth(), contract_abi.as_bytes())?
.confirmations(1)
.options(web3::contract::Options::with(|opt| {
opt.gas = Some(4_000_000.into());
opt.gas = Some(5_200_000.into());
}));

let deployment_result = if params.0.is_none() {
Expand Down Expand Up @@ -248,7 +248,7 @@ async fn deploy_contracts(

// Set subnet id on topos core smart contract
let options = web3::contract::Options {
gas: Some(4_000_000.into()),
gas: Some(5_200_000.into()),
..Default::default()
};
match topos_core_contract
Expand Down

0 comments on commit aa032ba

Please sign in to comment.