This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add child-bounties pallet. #10309
Merged
Merged
Add child-bounties pallet. #10309
Changes from 29 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
9a51337
Extract child-bounties as a separate pallet.
gautamdhameja 6c0c03d
Merge branch 'master' into gd-child-bounties
gautamdhameja f782a94
Initial tests added.
gautamdhameja 9926e7e
More tests.
gautamdhameja 48853a9
Merge branch 'master' into gd-child-bounties
gautamdhameja 46adcec
Tests complete. Fixed curator fee issue.
gautamdhameja ef06792
Fixed comments.
gautamdhameja 1b40eda
Merge branch 'master' into gd-child-bounties
gautamdhameja 7e84254
Added benchmarks for child-bounties pallet.
gautamdhameja 524e279
Merge branch 'master' into gd-child-bounties
gautamdhameja 74bead4
Merge branch 'master' into gd-child-bounties
gautamdhameja 2f74ee3
Added weights.
gautamdhameja 1260b67
Fixed formatting.
gautamdhameja 70cfd6f
Fixed comments.
gautamdhameja 999c294
Merge branch 'master' into gd-child-bounties
gautamdhameja 27192b3
Re-run benchmarks for bounties pallet.
gautamdhameja ab25646
Merge branch 'master' into gd-child-bounties
gautamdhameja f58f556
Make cargo fmt happy again
82efd0f
Merge branch 'master' into gd-child-bounties
gautamdhameja 26ba1a0
Merge branch 'master' into gd-child-bounties
gautamdhameja a555ab9
add max encoded len
shawntabrizi b2af33e
use event structs
shawntabrizi 0f9575c
fmt
shawntabrizi 583894a
fix compile
shawntabrizi d324416
Merge branch 'master' into gd-child-bounties
gautamdhameja a2c8448
Merge branch 'gd-child-bounties' of github.com:paritytech/substrate i…
gautamdhameja d682cee
Addressed review comments.
gautamdhameja a0b7155
Use config type instead of const in benchmarking.
gautamdhameja 611ef21
Addressed more review comments.
gautamdhameja 274c2c8
Use ensure_can_withdraw instead of just checking min balance.
gautamdhameja 705be25
Merge branch 'master' into gd-child-bounties
gautamdhameja 85eb39f
fmt.
gautamdhameja 83dc90d
Introduce ChildBountyCuratorDepositBase to avoid zero curator deposit…
gautamdhameja f72cbb0
Merge branch 'master' into gd-child-bounties
gautamdhameja a230822
Fix unassign curator logic for child-bounties.
gautamdhameja fc297c5
Merge branch 'master' into gd-child-bounties
gautamdhameja 284cb7d
Added more tests for unassign curator.
gautamdhameja 6f3b147
Reduce bounty description max length in node runtime.
gautamdhameja e1ccf25
Merge branch 'master' into gd-child-bounties
gautamdhameja 2323c95
Updated weights for child bounties pallet.
gautamdhameja 05903ab
reduce indentation of unassign_curator
apopiak f7ba53a
more indentation reduction
apopiak 735a9c3
deduplicate slashing arms
apopiak 6808396
reintroduce ensure check
apopiak cbd8ddf
add assertion to check that bad unassign origin fails
apopiak a0108aa
formatting
apopiak 3dd719a
Merge branch 'master' into gd-child-bounties
gautamdhameja 2a24433
Merge branch 'master' into gd-child-bounties
gautamdhameja ed2534e
Updated comments.
gautamdhameja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.