Skip to content

Commit 12de355

Browse files
committed
Fix gas limit for crypto-verify
1 parent 86fe644 commit 12de355

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contracts/crypto-verify/tests/integration.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
2222
use cosmwasm_std::{Binary, Response, Uint128};
2323
use cosmwasm_vm::testing::{
24-
instantiate, mock_env, mock_info, mock_instance, query, MockApi, MockQuerier, MockStorage,
24+
instantiate, mock_env, mock_info, mock_instance_with_gas_limit, query, MockApi, MockQuerier,
25+
MockStorage,
2526
};
2627
use cosmwasm_vm::{from_slice, Instance};
2728
use hex_literal::hex;
@@ -96,7 +97,7 @@ fn build_drand_message(round: u64, previous_signature: &[u8]) -> Vec<u8> {
9697
const DESERIALIZATION_LIMIT: usize = 20_000;
9798

9899
fn setup() -> Instance<MockApi, MockStorage, MockQuerier> {
99-
let mut deps = mock_instance(WASM, &[]);
100+
let mut deps = mock_instance_with_gas_limit(WASM, 10_000_000_000);
100101
let msg = InstantiateMsg {};
101102
let info = mock_info(CREATOR, &[]);
102103
let res: Response = instantiate(&mut deps, mock_env(), info, msg).unwrap();

0 commit comments

Comments
 (0)