-
Notifications
You must be signed in to change notification settings - Fork 45
fix(drive): ignore time based update fields in proof verification of data contract updates #2634
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
fix(drive): ignore time based update fields in proof verification of data contract updates #2634
Conversation
WalkthroughThe changes update the equality comparison logic for data contracts to include the Changes
Sequence Diagram(s)sequenceDiagram
participant Test as Test Module
participant Drive as Drive Instance
participant Proof as Proof Verification
Test->>Drive: Commit data contract update
Test->>Drive: prove_state_transition()
Drive-->>Test: Proof of state transition
Test->>Proof: verify_state_transition_was_executed_with_proof()
Proof-->>Test: StateTransitionProofResult::VerifiedDataContract
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 90000ms (20)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
QuantumExplorer
left a comment
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.
Self Reviewed
Issue being fixed or feature implemented
Fixes the verification of data contract updates by ignoring time based fields that are auto updated during execution.
What was done?
keywordsanddescriptionin the equality comparison ofDataContractInSerializationFormat.Driveimplementation to utilize a more accurate comparison method.How Has This Been Tested?
Breaking Changes
None
Checklist
For repository code-owners and collaborators only
Summary by CodeRabbit
Bug Fixes
Tests