-
Notifications
You must be signed in to change notification settings - Fork 180
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
Merge feature/protocol-state-kvstore
to master
#5840
Conversation
Co-authored-by: Jordan Schalm <jordan@dapperlabs.com>
* begin adding kvstore types * wip * sketching out versioned encoding * re-organize models and interfaces * update docs, tests * correct pointer in encoding test * lint: goimports * Update state/protocol/protocol_state/kvstore/interfaces.go Co-authored-by: Alexander Hentschel <alex.hentschel@axiomzen.co> --------- Co-authored-by: Alexander Hentschel <alex.hentschel@axiomzen.co>
Co-authored-by: Alexander Hentschel <alex.hentschel@axiomzen.co>
…flow-go into yurii/5292-storage-layer
Change to encode/decode passes tests, still requires cleanup: - adds encode/decode for new event type - adds tests for new event type - changes how decoding is implemented to prevent a bug. Previously we would re-encode, then re-decode the entire service event, after first decoding it into a weakly typed map. In particular with JSON, this could cause the data to change between encode/decode cycles, I think because of numeric type sizes.
- renamed methods, duplicated functions...
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.
Added one comment about an unneeded access change. otherwise this looks good from the AN perspective.
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.
Nice!
Did a cursory review of changes interacting with the Cadence 1.0 and migration code, and left one question regarding the core contract dependencies.
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.
thanks for taking on the merge. Didn't find anything.
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.
Nice! 👏
Merges the
Protocol State KV Store
feature branch tomaster
.There were many conflicts reported by Git. The vast majority were changes on
master
that had no conflicting change on the feature branch. There were some conflicts in integration test suite (some changed method names and re-organization) and in tools and API methods for retrieving a protocol snapshot.The full list of conflicting files is in the description of the merge commit: 81b938e.
Changes made after the merge commit are in this diff
Outstanding TODOs
core-contracts
dependency Mergefeature/protocol-state-kvstore
tomaster
#5840 (comment)