From 0fa31ba7fb1b5c6af6a3a953b1341a863304f065 Mon Sep 17 00:00:00 2001 From: hylcore-V Date: Sat, 2 Oct 2021 12:50:11 +0400 Subject: [PATCH] Update mod.rs --- tests/utils/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index 23adef0..11f1ec0 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -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 @@ -13,7 +13,7 @@ pub mod utils { test::push_execution_context::( from, callee, - DEFAULT_GAS_LIMIT, + DEFAULT_GAS_LIMIT.into(), value, test::CallData::new(call::Selector::new([0x00; 4])), );