Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
hylcore-V committed Oct 2, 2021
1 parent c3882e9 commit 0fa31ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub mod utils {
use crate::subscrypt::subscrypt::Subscrypt;
use ink_env::AccountId as Account;
use ink_env::{call, test};
const DEFAULT_GAS_LIMIT: u128 = 1_000_000;
const DEFAULT_GAS_LIMIT: u64 = 1_000_000;
use ink_env::hash::{HashOutput, Sha2x256};

/// This function will set the `caller` and `callee` of transaction with endowment amount of
Expand All @@ -13,7 +13,7 @@ pub mod utils {
test::push_execution_context::<ink_env::DefaultEnvironment>(
from,
callee,
DEFAULT_GAS_LIMIT,
DEFAULT_GAS_LIMIT.into(),
value,
test::CallData::new(call::Selector::new([0x00; 4])),
);
Expand Down

0 comments on commit 0fa31ba

Please sign in to comment.