-
Notifications
You must be signed in to change notification settings - Fork 648
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
Apply deterministic virtual_op numbering rule #1676
Conversation
@@ -61,7 +61,7 @@ namespace graphene { namespace chain { | |||
/** the operation within the transaction */ | |||
uint16_t op_in_trx = 0; | |||
/** any virtual operations implied by operation in block */ | |||
uint16_t virtual_op = 0; | |||
uint32_t virtual_op = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason for this change: it's not too hard to create more than 65536 virtual operations in a block.
Hm, I think you're resetting to 0 in too many places... |
Force-pushed. |
Resolved conflicts: - libraries/chain/include/graphene/chain/config.hpp : bumped GRAPHENE_CURRENT_DB_VERSION to current date
Merged develop branch to resolve conflict on DB_VERSION. Please review again. |
#1675