Skip to content

Commit

Permalink
Use new Gas type in some test internals
Browse files Browse the repository at this point in the history
  • Loading branch information
mooori committed Nov 2, 2023
1 parent e472e16 commit aab3242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions near-plugins-derive/tests/upgradable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,10 +602,10 @@ async fn test_deploy_code_in_batch_transaction_pitfall() -> anyhow::Result<()> {
amount: 0,
gas: Gas::ONE_TERA,
} }))
.gas(Gas::ONE_TERA.0 * 200);
.gas(near_workspaces::types::Gas::from_tgas(200));
let fn_call_remove_code = near_workspaces::operations::Function::new("up_stage_code")
.args_borsh(Vec::<u8>::new())
.gas(Gas::ONE_TERA.0 * 90);
.gas(near_workspaces::types::Gas::from_tgas(90));

let res = dao
.batch(setup.contract.id())
Expand Down

0 comments on commit aab3242

Please sign in to comment.