Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* stash precompile changes in other branch and push pallet changes leaking std librar * still leaking std * using sp std phantomdata did not fix * ty @nanocryk for std leak fix * init referenda precompile needs tryfrom u8 for origins * referenda submit precompile fn * signed extrinsics for referenda precompile * preimage precompile * init conviction voting precompile * referenda delegate undelegate unlock * fixes * fix * clean * improve revert reasons for class and index inputs * clean * init accessors and clean * referenda precompile * clean * clean and init referenda precompile interface * fix merge * try mock referenda precompile but did not succeed * save * fix referenda mock * add dot sol files for preimage and voting * add to moonbase precompiles * fix * precompile existence test fix * update solidity addresses as per moonbase config * rename standard vote to vote in conviction voting pallet * start moving origins out of pallet and using additional generic instead * fix finish moving pallet custom origins back into runtime * add opengov precompiles in proxy evm filter * SolidityConvert no longer necessary Co-authored-by: Éloïs <c@elo.tf> Co-authored-by: Stephen Shelton <steve@brewcraft.org> * rm SolidityConvert and add Conviction enum * use trackId as input for submit instead of origin and convert from trackId to origin based on mapping * camelCase error msgs Co-authored-by: Éloïs <c@elo.tf> * Update precompiles/referenda/src/lib.rs Co-authored-by: Éloïs <c@elo.tf> * fix conviction precompile interface * fix referenda precompile interface * test to ensure all tracks have min enactment period less than vote locking period * update tracks based on wiki * revert accidental commit * fix referenda precompile unit tests * update config based on polkadot 6372 gov2 config tweaks * fix * Configure moonriver OpenGov (#2038) * configure opengov for movr * Staking precompile: candidateAutoCompoundingDelegationCount (#2037) * candidateAutoCompoundingDelegationCount * Remove unecessary `.into()` Co-authored-by: Amar Singh <asinghchrony@protonmail.com> * typo Co-authored-by: Stephen Shelton <steve@brewcraft.org> Co-authored-by: Amar Singh <asinghchrony@protonmail.com> Co-authored-by: Stephen Shelton <steve@brewcraft.org> * precompiles * address some review todos not done yet * Fixes balance smoke test (#2040) Co-authored-by: Crystalin None <crystalin@Crystalins-MacBook-Pro.local> * trackIds getter and full TrackInfo impl with Curves * patch evm version (#2026) * Removes treasurer in Moonriver * Update eth contract code smoke test (#2043) Change account limit * Adds OpenGov to Moonriver (#2041) * Adds OpenGov to Moonriver * Updates Moonbase * fmt * fixes test * fix impoty Co-authored-by: nanocryk <6422796+nanocryk@users.noreply.github.com> Co-authored-by: Stephen Shelton <steve@brewcraft.org> Co-authored-by: Alan Sapede <alan@purestake.com> Co-authored-by: Crystalin None <crystalin@Crystalins-MacBook-Pro.local> Co-authored-by: Crystalin <alan.sapede@gmail.com> Co-authored-by: Tim B <79199034+timbrinded@users.noreply.github.com> * remove TryFrom u8 impl for Origin unused * split convictionVoting vote into voteYes and voteNo so can add voteAbstain in future version without breaking backwards compatibility * fix consistent conversion test * follow suggestions * add doc note to removeOtherVote * fix Co-authored-by: nanocryk <6422796+nanocryk@users.noreply.github.com> Co-authored-by: librelois <c@elo.tf> Co-authored-by: Stephen Shelton <steve@brewcraft.org> Co-authored-by: Alan Sapede <alan@purestake.com> Co-authored-by: Crystalin None <crystalin@Crystalins-MacBook-Pro.local> Co-authored-by: Crystalin <alan.sapede@gmail.com> Co-authored-by: Tim B <79199034+timbrinded@users.noreply.github.com>
- Loading branch information