Skip to content

Fix/mint activate lp gasp-1712 (#866) #825

Fix/mint activate lp gasp-1712 (#866)

Fix/mint activate lp gasp-1712 (#866) #825

GitHub Actions / E2E report yarn test-rollupUpdate succeeded Dec 9, 2024 in 0s

E2E report yarn test-rollupUpdate ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-04d39bf0-b63a-11ef-b46a-9b81ee134c0f.xml

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

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

✅ 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