Skip to content

Commit

Permalink
tmp2
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed May 15, 2024
1 parent a3eb8b0 commit e4c00a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/StateReceiver.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const randomBytes = () => randomHex(randomInRange(68))
const randomProof = (height) =>
new Array(height).fill(0).map(() => randomHex(32))

const FUZZ_WEIGHT = process.env.CI == 'true' ? 2 ** 16 : 256
const FUZZ_WEIGHT = process.env.CI == 'true' ? 2 ** 16 : 50

contract('StateReceiver', async (accounts) => {
describe('commitState()', async () => {
Expand Down Expand Up @@ -330,7 +330,7 @@ contract('StateReceiver', async (accounts) => {
assert.equal(failedStateSyncs.length, tree.leafCount)

toBlock = await web3.eth.getBlockNumber()
})
}).timeout(100000000)
it('only rootSetter can set root & leaf count, only once', async () => {
assert.equal(await testStateReceiver.rootSetter(), accounts[0])
await expectRevert(
Expand Down Expand Up @@ -463,7 +463,7 @@ contract('StateReceiver', async (accounts) => {
),
'end'
)
}).timeout(999999999)
}).timeout(100000000)
it('should not replay nullified state sync', async () => {
const idx = randomInRange(tree.leafCount)
const [stateId, receiver, stateData] = failedStateSyncs[idx]
Expand Down

0 comments on commit e4c00a5

Please sign in to comment.