Skip to content

Commit f7ab3eb

Browse files
authored
Merge pull request #20 from kleros/fix/arbitrum-rinkeby
fix: unpredictable gas limit
2 parents 680c93e + 6e3c76a commit f7ab3eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/light-gtcr-execution.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ async function run(signer: ethers.Wallet) {
7575
console.info(
7676
`Executing request for item ID ${request.item.itemID}`.green
7777
);
78-
await tcr.executeRequest(request.item.itemID, { nonce });
78+
// pass gas requirement manually for arbitrum rinkeby compatibility
79+
await tcr.executeRequest(request.item.itemID, { nonce, gasLimit: 2_100_000 });
7980
await delay(120 * 1000); // Wait 2 minutes to give time for the chain to sync/nonce handling.
8081
} catch (error) {
8182
console.error(

0 commit comments

Comments
 (0)