Skip to content

Commit d9977b5

Browse files
committed
fix(e2e): bump gas limit for l2 scenario txs
Signed-off-by: Tomás Migone <[email protected]>
1 parent 1436a0c commit d9977b5

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

e2e/scenarios/lib/curation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export const signal = async (
1616
// Add signal
1717
console.log(`\nAdd ${amount} in signal to subgraphId ${subgraphId}..`)
1818
await sendTransaction(curator, contracts.GNS, 'mintSignal', [subgraphId, amount, 0], {
19-
gasLimit: 2000000,
19+
gasLimit: 4_000_000,
2020
})
2121
}

e2e/scenarios/lib/subgraph.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ export const publishNewSubgraph = async (
2626
publisher.address,
2727
await contracts.GNS.nextAccountSeqID(publisher.address),
2828
)
29-
await sendTransaction(publisher, contracts.GNS, 'publishNewSubgraph', [
30-
deploymentId,
31-
randomHexBytes(),
32-
randomHexBytes(),
33-
])
29+
await sendTransaction(
30+
publisher,
31+
contracts.GNS,
32+
'publishNewSubgraph',
33+
[deploymentId, randomHexBytes(), randomHexBytes()],
34+
{
35+
gasLimit: 4_000_000,
36+
},
37+
)
3438
return subgraphId
3539
}

0 commit comments

Comments
 (0)