Skip to content

Commit

Permalink
update gas for shadow action
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqiancaosissi committed Jan 14, 2024
1 parent 5a65f4a commit dccd21e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions store/actions/shadow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export async function shadow_action_supply({
...(isMax ? {} : { amount: expandAmount }),
msg: useAsCollateral ? JSON.stringify({ Execute: collateralActions }) : "",
},
gas: new BN("300000000000000"),
attachedDeposit: new BN(isRegistered ? 1 : expandToken(0.01, NEAR_DECIMALS)),
},
],
Expand Down Expand Up @@ -107,6 +108,7 @@ export async function shadow_action_withdraw({
amount: expandAmount,
msg: "",
},
gas: new BN("300000000000000"),
},
],
});
Expand Down

0 comments on commit dccd21e

Please sign in to comment.