Skip to content

Commit

Permalink
Fix gas limit for crypto-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed May 24, 2024
1 parent e3404b7 commit bec8e83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/crypto-verify/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

use cosmwasm_std::{Binary, Response, Uint128};
use cosmwasm_vm::testing::{
instantiate, mock_env, mock_info, mock_instance, query, MockApi, MockQuerier, MockStorage,
instantiate, mock_env, mock_info, mock_instance_with_gas_limit, query, MockApi, MockQuerier,
MockStorage,
};
use cosmwasm_vm::{from_slice, Instance};
use hex_literal::hex;
Expand Down Expand Up @@ -96,7 +97,7 @@ fn build_drand_message(round: u64, previous_signature: &[u8]) -> Vec<u8> {
const DESERIALIZATION_LIMIT: usize = 20_000;

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

0 comments on commit bec8e83

Please sign in to comment.