Skip to content

Feature/stable pool mgx 1307 #734

Feature/stable pool mgx 1307

Feature/stable pool mgx 1307 #734

GitHub Actions / E2E report yarn test-rollupUpdate succeeded Nov 26, 2024 in 1s

E2E report yarn test-rollupUpdate ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-7a44cb70-abf9-11ef-81a5-015d5ee3377b.xml

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

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

✅ 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