Skip to content

Commit

Permalink
Merge pull request #532 from onflow/fix-flaky-e2e-test
Browse files Browse the repository at this point in the history
Fix flaky E2E test for EVM state building
  • Loading branch information
sideninja authored Sep 10, 2024
2 parents 88c3830 + 3f531ac commit 874fb14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/web3js/build_evm_state_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ it('should handle a large number of EVM interactions', async () => {
let senderBalance = await web3.eth.getBalance(conf.eoa.address)
assert.equal(senderBalance, 1999999999937000000n)

let transferAmounts = ['0.01', '0.03', '0.05']
// Each EOA has a 0.15 ether, so the below transfer amounts
// should never add up to that, or the transfer transaction
// will revert.
let transferAmounts = ['0.01', '0.02', '0.04']
for (let i = 0; i < eoaCount; i++) {
let sender = accounts[i]

Expand Down

0 comments on commit 874fb14

Please sign in to comment.