Skip to content
Merged
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions import_ark_bn254/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ mod bn254_contract {
#[test]
fn test_running_contract_as_wasm() {
let env = Env::default();
// This contract is too expensive to run with production budget, let's first
// reset the budget to unlimited
// This contract is too expensive to run with production budget and mainnet
// resource limits, so first reset the budget to unlimited and disable the
// resource limit enforcement.
env.cost_estimate().budget().reset_unlimited();
env.cost_estimate().disable_resource_limits();
Comment thread
leighmcculloch marked this conversation as resolved.

let contract_id = env.register(bn254_contract::WASM, ());
let client = bn254_contract::Client::new(&env, &contract_id);
Expand Down
Loading