-
Notifications
You must be signed in to change notification settings - Fork 18
Voting changes #54
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
Open
poplexity
wants to merge
37
commits into
main
Choose a base branch
from
voting_changes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Voting changes #54
Conversation
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
Apply tiered BP pay scale
Add self-stake boost support
Evm voting
poplexity
commented
May 5, 2025
17 tasks
…ic in voting.cpp for consistency and clarity.
6e4fe66 to
04135b3
Compare
…iplier to votingconfig. Implement setselfstake action to modify the multiplier and adjust voting logic to utilize the new multiplier for vote weight calculations.
04135b3 to
f0854b0
Compare
…r system for active and standby producers. The new logic uses an arithmetic sequence to determine share values based on the number of active producers, improving accuracy in reward distribution.
f635db7 to
7d917ba
Compare
…ted actions in setvotedecay, getevmvote, and setbpevmstat functions
… accuracy and prevent integer truncation in multiplier calculations for active producers.
…ownload artifact actions
… price-based logic and allow for floating point tolerance in assertions.
…ayment limits, adjusting monthly pay from 378,000 to 189,000 and corresponding maximums accordingly.
…are value and pay amount, ensuring improved accuracy in tiered payment multipliers for active and standby producers.
…al and expected payments, ensuring accurate reward claims and sorting for validation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
DON'T MERGE UNTIL #44 IS MERGED
This pull request introduces significant enhancements to the Telos system contract to support EVM-based voting and related configuration, as well as improvements to the voting mechanism. The main changes include new data structures and tables for EVM voting, several new contract actions for managing voting configuration and synchronizing BP (block producer) status with the EVM, and the integration of new libraries for EVM and Ethereum compatibility. These updates enable on-chain management of EVM voting parameters, retrieval and normalization of EVM votes, and synchronization of BP status between EOSIO and EVM.
EVM Voting Integration and Configuration
evm_vote_infoandevm_votes_tableto store EVM vote data for block producers, andvotingconfig_singletonto hold EVM voting contract configuration and decay parameters. [1] [2]eosio.evm,intx,rlp) for EVM compatibility and cryptographic operations, updating CMake and includes accordingly. [1] [2] [3] [4]New Contract Actions for Voting Management
setvotedecay,setvotecontr,getevmvote,setbpevmstat, andsetselfstakefor configuring EVM voting parameters, updating BP status in EVM, and managing self-stake boost multipliers. [1] [2]State Management and Initialization
Voting Logic Extensions
(EVM integration: [1] [2] [3] [4]
(Library and build updates: [1] [2] [3] [4]
(New actions: [1] [2]
(State management: [1] [2] [3] [4]
(Voting logic: contracts/eosio.system/include/eosio.system/eosio.system.hppR1845-R1847)