Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
fcdad6d
childBounties added for kusama
dhirajs0 Sep 23, 2025
f1aefb0
childBounties added for polkadot
dhirajs0 Sep 23, 2025
7d2cfd5
update import
dhirajs0 Sep 23, 2025
e605d7b
childBounties added
dhirajs0 Sep 23, 2025
f442352
helper functions added for child bounties
dhirajs0 Sep 23, 2025
3ba0e6f
childBounties creation test added
dhirajs0 Sep 23, 2025
de4a9ed
setStorage lastSpendPeriod such that next spend is few blocks ahead
dhirajs0 Sep 26, 2025
43673df
devAccounts replaced with testAccounts
dhirajs0 Sep 26, 2025
a0ff53e
sendTransation modularized
dhirajs0 Sep 26, 2025
f404f9f
assigning and accepting a child bounty curator test added
dhirajs0 Sep 29, 2025
c6d0e6a
awarding and claiming a child bounty test added
dhirajs0 Sep 29, 2025
1ebcc89
test added : closure and payout of a child bounty
dhirajs0 Sep 29, 2025
b71011f
test added: rejection and cancellation of a child bounty
dhirajs0 Sep 29, 2025
b876fb9
failure test parent bounty not active error added
dhirajs0 Sep 29, 2025
a513a42
failure test insufficient bounty balance error test added
dhirajs0 Sep 29, 2025
a70aeec
failure test child bounty with invalid value error added
dhirajs0 Sep 29, 2025
7013a77
failure test invalid child bounty curator fee added
dhirajs0 Sep 29, 2025
98d6d74
failure test accept curator when child bounty is in added state added
dhirajs0 Sep 29, 2025
5db5ad0
failure test close child bounty in pending payout status added
dhirajs0 Sep 29, 2025
b5cd938
refac: success and failure tests are grouped
dhirajs0 Sep 29, 2025
ebf000c
kusama snapshot for childBounties added
dhirajs0 Sep 29, 2025
ffc5c69
snapshot for childBounties for polkadot added
dhirajs0 Sep 29, 2025
d7d65f9
refac
dhirajs0 Sep 29, 2025
d2a2938
unassign curator different cases test added
dhirajs0 Sep 29, 2025
0d8701f
child bounty storage verification test added
dhirajs0 Sep 29, 2025
672f49a
added setLastSpendPeriodBlockNumber fn for repeated logic
dhirajs0 Sep 29, 2025
856a9c2
added extractExtrinsicFailedEvent() for repeated logic
dhirajs0 Sep 29, 2025
a71d73e
minor improvements
dhirajs0 Sep 29, 2025
5817fb3
snapshot updated for childBounties
dhirajs0 Sep 29, 2025
100ad49
linter warning fixed
dhirajs0 Sep 29, 2025
0a71dc7
Merge branch 'master' into child-bounties-e2e
dhirajs0 Sep 29, 2025
5d04f51
linter warning fixed
dhirajs0 Sep 30, 2025
e292334
testAccountBalance set as a multiple of exential deposit
dhirajs0 Oct 6, 2025
5862a34
test docs improved and some tests renamed for better clarity
dhirajs0 Oct 8, 2025
07a4aaf
additional checks added in childBountyCreationTest
dhirajs0 Oct 8, 2025
41db0b9
test added: non-curator trying to create child bounty throws `Require…
dhirajs0 Oct 8, 2025
5e33162
test added: parent already has `MaxActiveChildBountyCount` child boun…
dhirajs0 Oct 8, 2025
1b85afe
test added: child bounty description larger than `MaximumReasonLength…
dhirajs0 Oct 8, 2025
0499da3
test added: proposing curator for invalid child bounty index throws `…
dhirajs0 Oct 8, 2025
0b41178
lint fix
dhirajs0 Oct 8, 2025
5222744
snapshots updated
dhirajs0 Oct 8, 2025
3b6837a
ts docs updated
dhirajs0 Oct 8, 2025
f7a07df
Merge branch 'master' into child-bounties-e2e
dhirajs0 Oct 8, 2025
0b6854c
child bounties e2e tests added in readme
dhirajs0 Oct 8, 2025
016064b
Add Kusama AH childBounties E2E tests
dhirajs0 Oct 11, 2025
43bfcac
Port child bounties E2E tests to Kusama AH
dhirajs0 Oct 11, 2025
56b15b8
Merge remote-tracking branch 'origin/master' into child-bounties-e2e
dhirajs0 Oct 11, 2025
e949d79
fix tests on KAH and added additional status checks
dhirajs0 Oct 15, 2025
9fbfdab
snaps updated
dhirajs0 Oct 15, 2025
e440b01
testConfig for child bounties for polkadot updated
dhirajs0 Oct 15, 2025
52fb4c3
child bounties removed form Kusama relay
dhirajs0 Oct 15, 2025
9b9d2f9
child_bounties renamed to childBounties
dhirajs0 Oct 15, 2025
4256e30
testConfig specified
dhirajs0 Oct 20, 2025
9b6c329
count added for multiple new blocks
dhirajs0 Oct 20, 2025
ff1692d
unassign curator test separated into separate tests
dhirajs0 Oct 21, 2025
a666284
refac the unassign tests with helper function
dhirajs0 Oct 21, 2025
3298d4a
snaps updated
dhirajs0 Oct 21, 2025
38bd526
Merge branch 'open-web3-stack:master' into child-bounties-e2e
dhirajs0 Oct 21, 2025
0ee4784
empty snapshot events fixed
dhirajs0 Oct 21, 2025
0f1f673
tests delineated into sections
dhirajs0 Oct 21, 2025
1a0aa2a
refactored with hepler function and delineate tests
dhirajs0 Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@ These include:
- Bounty closure restrictions (approved/pending payout states)
- Non-curator attempting to accept curator role
- Child bounty constraints preventing parent bounty closure
- E2E test suite for child bounties infrastructure:
- Child bounty creation, curator assignment, acceptance, awarding and claiming workflows
- Child bounty closure and fund return to parent bounty
- Child bounty rejection by curators and cancellation by parent curators
- Curator unassignment scenarios with different deposit handling (refund vs. slash)
- Storage verification for child bounty counters and cleanup
- Comprehensive failure mode testing:
- Creating child bounties from non-active parent bounties
- Child bounty with InvalidValue, InvalidIndex, InvalidFee, TooManyChildBounties, ReasonTooBig
- Accepting curators in wrong child bounty states
- Closing child bounties in pending payout status
- Non-curator attempting to create child bounties

The intent behind these end-to-end tests is to cover the basic behavior of relay chains' and system
parachains' runtimes.
Expand Down
Loading