From e5cc0ff15f6e279084509388e01bdc33b7aae06d Mon Sep 17 00:00:00 2001 From: NZT48 Date: Fri, 2 Feb 2024 10:28:50 +0100 Subject: [PATCH] Increase gas limit for set stake --- scripts/set-stake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set-stake.js b/scripts/set-stake.js index 4db4be7fb0..01f01f76a0 100644 --- a/scripts/set-stake.js +++ b/scripts/set-stake.js @@ -95,7 +95,7 @@ async function setStake( // TODO: Add ABI instead of hard-coded function definition tx = await stakingContract['addStake(uint72,uint96)'](identityId, stakeWei, { gasPrice: gasPrice ? gasPrice * 100 : undefined, - gasLimit: 500_000, + gasLimit: 3_000_000, }); await provider.waitForTransaction( tx.hash,