Skip to content

Commit

Permalink
Reduce gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
lcswillems committed Nov 2, 2024
1 parent d86840d commit 27f8e4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified xsuite/contracts/output-reproducible/world/world.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion xsuite/contracts/world/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub trait World {
fn async_call_failing_endpoint(&self) {
self.send()
.contract_call::<()>(self.blockchain().get_sc_address(), b"failing_endpoint")
.with_gas_limit(500_000_000)
.with_gas_limit(5_000_000)
.async_call_promise()
.register_promise();
}
Expand Down
2 changes: 1 addition & 1 deletion xsuite/src/world/fsworld.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ test.concurrent(
.callContract({
callee: contract,
funcName: "async_call_failing_endpoint",
gasLimit: 600_000_000,
gasLimit: 10_000_000,
})
.assertFail({
code: "internalVMErrors",
Expand Down

0 comments on commit 27f8e4b

Please sign in to comment.