Skip to content

Commit

Permalink
tests: increase required number of confirmations
Browse files Browse the repository at this point in the history
  • Loading branch information
vklachkov committed Jan 22, 2025
1 parent f73d258 commit 1094dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js-packages/test-utils/eth/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import * as web3 from 'web3';
import * as web3eth from 'web3-eth';

const REQUIRED_CONFIRMATION: number = 5;
const REQUIRED_CONFIRMATION: number = 12;

type Receipt = web3eth.TransactionReceipt;
type Event = any; /* web3core.EventLog */
Expand Down Expand Up @@ -56,6 +56,7 @@ function repackEvents(
continue;
}

// FIXME: Why events can duplicate?
// if (event.event in eventMap) {
// console.log(events);
// throw new Error(`Multiple ${event.event} events are not supported`);
Expand Down

0 comments on commit 1094dc2

Please sign in to comment.