-
Notifications
You must be signed in to change notification settings - Fork 384
Implement OpenGov Precompiles #1885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
50562c0
stash precompile changes in other branch and push pallet changes leak…
amarsinghcodes 9395e66
still leaking std
amarsinghcodes 8ed14e7
using sp std phantomdata did not fix
amarsinghcodes 315116a
ty @nanocryk for std leak fix
amarsinghcodes 8f24362
init referenda precompile needs tryfrom u8 for origins
amarsinghcodes d83be8e
referenda submit precompile fn
amarsinghcodes 21ffc60
signed extrinsics for referenda precompile
amarsinghcodes 0eb6dc3
preimage precompile
amarsinghcodes 09e90db
init conviction voting precompile
amarsinghcodes 138a848
referenda delegate undelegate unlock
amarsinghcodes 8e1a709
fixes
amarsinghcodes 276d8a4
fix
amarsinghcodes a940199
clean
amarsinghcodes a9ab0e3
improve revert reasons for class and index inputs
amarsinghcodes 9067ba0
clean
amarsinghcodes 467e845
init accessors and clean
amarsinghcodes c6c8d1b
Merge branch 'master' into amar-gov2-precompiles
amarsinghcodes 4d8f70a
referenda precompile
amarsinghcodes a234655
clean
amarsinghcodes def4e70
Merge branch 'master' into amar-gov2-precompiles
amarsinghcodes e86512c
clean and init referenda precompile interface
amarsinghcodes 66e5164
into master
amarsinghcodes c389722
fix merge
amarsinghcodes 5bb1673
try mock referenda precompile but did not succeed
amarsinghcodes e7c765b
save
amarsinghcodes c5e2220
fix referenda mock
nanocryk d05803f
add dot sol files for preimage and voting
amarsinghcodes b784aca
add to moonbase precompiles
amarsinghcodes f1c55b5
fix
amarsinghcodes 58620ed
precompile existence test fix
amarsinghcodes 6ed417f
update solidity addresses as per moonbase config
amarsinghcodes 2fcef74
rename standard vote to vote in conviction voting pallet
amarsinghcodes 8723589
start moving origins out of pallet and using additional generic instead
amarsinghcodes a1f469e
fix finish moving pallet custom origins back into runtime
amarsinghcodes 3e4e868
into master
amarsinghcodes 72f78a1
Merge branch 'master' into amar-gov2-precompiles
librelois e1f84ca
add opengov precompiles in proxy evm filter
librelois 6064e97
SolidityConvert no longer necessary
amarsinghcodes 19c2914
rm SolidityConvert and add Conviction enum
amarsinghcodes 046a7ac
use trackId as input for submit instead of origin and convert from tr…
amarsinghcodes 7839709
camelCase error msgs
amarsinghcodes 3357394
Update precompiles/referenda/src/lib.rs
amarsinghcodes 5efa9d5
fix conviction precompile interface
amarsinghcodes 145f6f9
fix referenda precompile interface
amarsinghcodes 694378d
test to ensure all tracks have min enactment period less than vote lo…
amarsinghcodes 9bfd9ff
update tracks based on wiki
amarsinghcodes a11ee95
revert accidental commit
amarsinghcodes a1941ec
fix referenda precompile unit tests
amarsinghcodes 6e99180
update config based on polkadot 6372 gov2 config tweaks
amarsinghcodes 83e5a1c
fix
amarsinghcodes 362fef7
Configure moonriver OpenGov (#2038)
amarsinghcodes af079a9
into master
amarsinghcodes db81510
remove TryFrom u8 impl for Origin unused
amarsinghcodes d3a8bda
split convictionVoting vote into voteYes and voteNo so can add voteAb…
amarsinghcodes 4c3e81b
fix consistent conversion test
amarsinghcodes fd381a7
Merge branch 'master' into amar-gov2-precompiles
amarsinghcodes be79f7c
follow suggestions
amarsinghcodes dea9998
add doc note to removeOtherVote
amarsinghcodes 052a56e
into master
amarsinghcodes d4782eb
fix
amarsinghcodes 3cccdb4
Merge branch 'master' into amar-gov2-precompiles
crystalin 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
clean
- Loading branch information
commit a940199cd35391c8c70badf6f477ca6cdfa888ff
There are no files selected for viewing
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
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.