Skip to content

Rolldown on_idle_hook & configurable dispute period #740

Rolldown on_idle_hook & configurable dispute period

Rolldown on_idle_hook & configurable dispute period #740

GitHub Actions / E2E report yarn test-rollupUpdate succeeded Nov 27, 2024 in 0s

E2E report yarn test-rollupUpdate ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-f2daf740-acb1-11ef-9a03-7bbe0e3f09b3.xml

25 tests were completed in 1321s with 4 passed, 0 failed and 21 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rolldown.updateL1FromL1.test.ts 4✅ 21⚪ 1321s

✅ test/sequential/rolldown.updateL1FromL1.test.ts

updateL1FromL1
  ⚪ Updates are accepted
  ⚪ Future +1 updates are  not accepted
  ⚪ Future -1,0,1 updates are  not accepted
  ⚪ Add twice the same deposit with requestId
  ⚪ Add twice the same request id but different deposits
  ⚪ Add twice the same request groups
  ⚪ Old Ids can be included but wont be considered
  ⚪ Old Ids can be included on some other update and wont be considered
  ⚪ An update with no new updates will fail
  ⚪ An update with a gap will fail
  ⚪ An update that is not ordered will fail
  ⚪ An update with two identical deposits must be executed correctly
  ⚪ Every update item is validated
updateL1FromL1 - errors › Update with gap: true
  ⚪ An update including gap? : true at positions 0
  ⚪ An update including gap? : true at positions 1
  ⚪ An update including gap? : true at positions 2
  ⚪ An update including gap? : true at positions 3
updateL1FromL1 - errors › Update with gap: false
  ⚪ An update including gap? : false at positions 0
  ⚪ An update including gap? : false at positions 1
  ⚪ An update including gap? : false at positions 2
  ⚪ An update including gap? : false at positions 3
updateL2FromL1 - cancelResolution and deposit errors
  ✅ When a cancel resolution fail, maintenance mode will be triggered automatically
  ✅ [BUG] When a cancel resolution fail, the whole update wont be stored
  ✅ When we have a failed deposit and send it again, it will result in no-execution again
  ✅ GIVEN two deposit with u128max-1 amount THEN second deposit fails