Skip to content

safety precautions for on_idle hook #817

safety precautions for on_idle hook

safety precautions for on_idle hook #817

GitHub Actions / E2E report yarn test-sequencerRewards succeeded Dec 9, 2024 in 1s

E2E report yarn test-sequencerRewards ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-290602d0-b60b-11ef-8254-036f1c655a8f.xml

5 tests were completed in 1434s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.rewards.test.ts 5✅ 1434s

✅ test/sequential/sequencerStaking.rewards.test.ts

✅ Sequencer budget is set when initializing issuance config
✅ Sequencers get paid on every session BUT only when they submit valid updates ( Succeeded extrinsics )
✅ When a sequencer brings an update It will get some points
✅ When session ends, tokens will be distributed according the points obtained
✅ Regardless joining , slash, join or leaving sequencer set, Sequencer will be paid if points