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-seqgasless succeeded Dec 9, 2024 in 1s

E2E report yarn test-seqgasless ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-9924ff90-b637-11ef-9781-ab60871d25c9.xml

7 tests were completed in 288s with 6 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
test/sequential/feeLock.API.config.test.ts 4✅ 204s
test/sequential/feeLock.API.feePayment.sequential.test.ts 2✅ 1⚪ 84s

✅ test/sequential/feeLock.API.config.test.ts

✅ gasless- GIVEN a non sudo user WHEN feeLock configuration extrinsic is submitted THEN it fails with RequireSudo
✅ gasless- GIVEN an empty feeLock configuration (all options empty) WHEN sudo submit the extrinsic THEN Tx fails because insufficient params
✅ gasless- GIVEN a feeLock WHEN periodLength and feeLockAmount are set THEN extrinsic succeed and feeLock is correctly configured
✅ gasless- Changing feeLock config parameter on the fly is works robustly. Either automatic or manual unlocks the tokens

✅ test/sequential/feeLock.API.feePayment.sequential.test.ts

⚪ gasless- GIVEN a feeLock configured (only Time and Amount ) WHEN the user swaps AND the user has not enough MGAs and has enough TURs THEN the extrinsic fails on submission
✅ gasless- GIVEN a feeLock configured (only Time and Amount )  WHEN the user swaps AND the user does not have enough MGAs THEN the extrinsic fails on submission
✅ gasless- Given a feeLock correctly configured (only Time and Amount ) WHEN the user swaps AND the user has enough MGAs THEN the extrinsic is correctly submitted