Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libs/chain-signatures/contract/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ use storage_keys::StorageKey;
use v0_state::MpcContractV0;

// Gas required for a sign request
const GAS_FOR_SIGN_CALL: Gas = Gas::from_tgas(10);
const GAS_FOR_SIGN_CALL: Gas = Gas::from_tgas(15);
// Register used to receive data id from `promise_await_data`.
const DATA_ID_REGISTER: u64 = 0;
// Prepaid gas for a `return_signature_and_clean_state_on_success` call
const RETURN_SIGNATURE_AND_CLEAN_STATE_ON_SUCCESS_CALL_GAS: Gas = Gas::from_tgas(6);
const RETURN_SIGNATURE_AND_CLEAN_STATE_ON_SUCCESS_CALL_GAS: Gas = Gas::from_tgas(7);
// Prepaid gas for a `update_config` call
const UPDATE_CONFIG_GAS: Gas = Gas::from_tgas(5);
// Maximum time after which TEE MPC nodes must be upgraded to the latest version
Expand Down
2 changes: 1 addition & 1 deletion pytest/common_lib/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
NEAR_BASE = 10**24
TGAS = 10**12
# Tgas required by the contract for a sign call.
GAS_FOR_SIGN_CALL = 10
GAS_FOR_SIGN_CALL = 15
# Deposit in Yoctonear required for a sign call.
SIGNATURE_DEPOSIT = 1
Loading