-
Notifications
You must be signed in to change notification settings - Fork 907
feat(precompile): add gov precompile (vote only) (backport #2858) #2859
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
feat(precompile): add gov precompile (vote only) (backport #2858) #2859
Conversation
* feat(precompile): add gov precompile (vote only) * run make format * add changelog entry * fix linter * fix event parsing * minor fix * remove unused * feat: add votes query for a single proposal * feat: add single voter vote request * run make format * fix: remove comments * fix * apply review comments * refactor events * Update precompiles/gov/query.go Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> * fix conflict * Apply suggestions from code review Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> * small refactor * add invalid vote option test * run make format * add getVote in Run func * run make format * add comments * Update CHANGELOG.md Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> * fix compilation * fix error * fix test * fix queries unit tests * add queries integration tests * fix changelog * Update CHANGELOG.md Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> --------- Signed-off-by: Tom <54514587+GAtom22@users.noreply.github.com> Co-authored-by: GAtom22 <GAtom22@users.noreply.github.com> Co-authored-by: stepit <stefanofrancesco.pitton@gmail.com> Co-authored-by: Vlad <vladislav.varadinov@gmail.com> Co-authored-by: Vvaradinov <Vvaradinov@users.noreply.github.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> (cherry picked from commit 4c59847) # Conflicts: # CHANGELOG.md
Cherry-pick of 4c59847 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required.
Please add a note if the item is not applicable
and please add your handle next to the items reviewed
if you only reviewed selected items.
I have...
Unreleased
section inCHANGELOG.md
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Tests
This is an automatic backport of pull request #2858 done by [Mergify](https://mergify.com).