Skip to content

Proposals version 2. Iteration 2.#2

Closed
shamil-gadelshin wants to merge 30 commits intomnaamani:integrate-content-wgfrom
shamil-gadelshin:proposals_v2_iter2
Closed

Proposals version 2. Iteration 2.#2
shamil-gadelshin wants to merge 30 commits intomnaamani:integrate-content-wgfrom
shamil-gadelshin:proposals_v2_iter2

Conversation

@shamil-gadelshin
Copy link
Copy Markdown

No description provided.

Added:
- engine module
- codex module
- basic mock and tests
- add ProposalOrigin to the engine
- remove commented code
- update mock and test
- add vote() extrinsic
- add multiple comments
- add error handling for execute_proposal()
- add result printing for text proposal type
- add insufficient_rights test
- add tally() for vote results
- remove commented code
- separate acquiring data from mutation
- add several test
- move tally_results() to Proposal impl
- cover tally_results() with tests
- introduce ‘VotersParameters’ trait
- add ‘TotalVotersCounter’ type to proposals engine
- change tests
- introduce ‘ProposalStatusDecision’
- remove extrinsic calls as executable code
- introduce executable code registry
- apply parity scale codec as serialization lib
- introduce proposal Executed & Failed statuses
- refactor update_proposal_status()
- introduce error handling (DispatchResult)
- split proposals into two crates: engine and codex
- move engine and codex crates to the modules/proposals folder
- place main modules code in lib.rs files
- fix tests and dependencies
- add events: ProposalCanceled, ProposalVetoed, ProposalStatusUpdated, Voted
- add tests for events
@bedeho
Copy link
Copy Markdown

bedeho commented Feb 8, 2020

Why does this PR target integrate-content-wg? Should it not target development or some long-running feature branch for all the work we plan to do on the proposal system?

@shamil-gadelshin
Copy link
Copy Markdown
Author

This PR targets integrate-content-wg because It is current latest dev version. It can be tested with the latest node and Apps. And integration tests had already allowed me to fix 2 bugs.

@bedeho
Copy link
Copy Markdown

bedeho commented Feb 11, 2020

In that case it makes more sense to just rebase it on top of this branch, and still target development in upstream.

Also, lets have this as a long-running feature branch, so all future work is PRs that fork off and target this branch. The name is a bit conflicting, so if you want to you can fix that.

@bedeho
Copy link
Copy Markdown

bedeho commented Feb 12, 2020

I guess we can close this.

mnaamani pushed a commit that referenced this pull request Mar 10, 2020
mnaamani pushed a commit that referenced this pull request Mar 10, 2020
mnaamani pushed a commit that referenced this pull request Mar 10, 2020
mnaamani added a commit that referenced this pull request Mar 10, 2020
@mnaamani mnaamani closed this Apr 16, 2020
mnaamani pushed a commit that referenced this pull request Apr 16, 2020
Storage changes to Acropolis release plan
mnaamani pushed a commit that referenced this pull request Apr 16, 2020
pull recent changes from upstream
mnaamani pushed a commit that referenced this pull request Apr 16, 2020
mnaamani pushed a commit that referenced this pull request May 19, 2020
mnaamani pushed a commit that referenced this pull request May 19, 2020
add template arg to mocked event
@shamil-gadelshin shamil-gadelshin deleted the proposals_v2_iter2 branch June 25, 2020 14:39
mnaamani pushed a commit that referenced this pull request Sep 21, 2020
mnaamani pushed a commit that referenced this pull request Sep 21, 2020
* ru-translation page-claims

* one more

* minor fixes to ru-translation

* one more fix ru-translation

* Update ru i18n

* change rutranslation to proposal treasury

* new additions to Russian translation

* fix typos

* fix typos

* added missed strings to Ru-translation

* added missed strings to Ru-translation #2

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
mnaamani pushed a commit that referenced this pull request Oct 20, 2020
mnaamani pushed a commit that referenced this pull request Dec 21, 2020
CLI - entity commands permissions fixes and code cleanup
mnaamani pushed a commit that referenced this pull request Dec 30, 2020
mnaamani pushed a commit that referenced this pull request Mar 15, 2021
integration test fixes for runtime changes
mnaamani pushed a commit that referenced this pull request Aug 12, 2021
* Add dockerfile for arm, update workflow, add matrix
mnaamani pushed a commit that referenced this pull request Dec 6, 2021
mnaamani pushed a commit that referenced this pull request Aug 10, 2022
Remove unneeded memberId (asset uploads)
mnaamani pushed a commit that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants