Skip to content

Commit 485a6c7

Browse files
authored
fix: decrease ft_transfer_call gas (#366)
* fix: decrease ft_transfer_call gas * Bump version * Commit lock file * Decrease max gas more
1 parent c48d622 commit 485a6c7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

near/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

near/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace.package]
22
authors = ["Near One <info@nearone.org>"]
33
repository = "https://github.com/Near-One/omni-bridge"
4-
version = "0.2.10"
4+
version = "0.2.11"
55

66
[workspace]
77
resolver = "2"

near/omni-bridge/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ const VERIFY_PROOF_CALLBACK_GAS: Gas = Gas::from_tgas(250);
5252
const CLAIM_FEE_CALLBACK_GAS: Gas = Gas::from_tgas(50);
5353
const BIND_TOKEN_CALLBACK_GAS: Gas = Gas::from_tgas(25);
5454
const BIND_TOKEN_REFUND_GAS: Gas = Gas::from_tgas(5);
55-
const FT_TRANSFER_CALL_GAS: Gas = Gas::from_tgas(230);
55+
const FT_TRANSFER_CALL_GAS: Gas = Gas::from_tgas(210);
5656
const FT_TRANSFER_GAS: Gas = Gas::from_tgas(5);
5757
const UPDATE_CONTROLLER_GAS: Gas = Gas::from_tgas(250);
58-
const WNEAR_WITHDRAW_GAS: Gas = Gas::from_tgas(10);
58+
const WNEAR_WITHDRAW_GAS: Gas = Gas::from_tgas(5);
5959
const NEAR_WITHDRAW_CALLBACK_GAS: Gas = Gas::from_tgas(5);
6060
const STORAGE_BALANCE_OF_GAS: Gas = Gas::from_tgas(3);
6161
const STORAGE_DEPOSIT_GAS: Gas = Gas::from_tgas(3);

0 commit comments

Comments
 (0)