Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crowdfund parachain deposit (paritytech#315)
* Initial crowdfund stuff * Make `communication_for` exit when we end a round (paritytech#313) * Make `communication_for` exit when we end a round * Fix compilation * Add file * Rest of logic. * Consts to Getters * Cleanups * Trying to get things to compile * More patchwork * Patch dissolve * Patch `fix_deploy_data`, add getters to `NewBidder` * Dispatchable functions compile... with warnings * Fix some warnings and typos * Whitespace to Tabs * Update to use `into_sub_account` * Add events * Basic fixes to runtime logic and checking * Check that auction in progress when creating * Automatically assign end for crowdfund * Update runtime/src/crowdfund.rs Co-Authored-By: Amar Singh <asinghchrony@protonmail.com> * Update runtime/src/crowdfund.rs Co-Authored-By: Amar Singh <asinghchrony@protonmail.com> * Update runtime/src/crowdfund.rs Co-Authored-By: Amar Singh <asinghchrony@protonmail.com> * Update crowdfund.rs * Patch `NewRaise` logic * Test compiles * Make `NewRaised` logic even better * Fix trie id generation, start to add some tests * More tests * Add more tests * Finish tests * Formatting nits * Use `into_iter` * Fix for latest Substrate updates * Cleanup * Fixes. * Copyright header. * Remove dead code. * Reinstate actually alive code. * Fix tests Still have to write some new follow up tests though * Make funds work before auction * Test a fund which spans 2 auctions. * Docs. * Update doc
- Loading branch information