-
Notifications
You must be signed in to change notification settings - Fork 6
refactor: move transaction validity checks to database #1071
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Chris Gianelloni <[email protected]>
📝 WalkthroughWalkthroughThis PR refactors transaction validity handling across the database and ledger layers. A Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
💤 Files with no reviewable changes (3)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-10-24T21:56:15.978ZApplied to files:
📚 Learning: 2025-10-26T14:12:53.587ZApplied to files:
📚 Learning: 2025-10-22T20:13:35.972ZApplied to files:
🧬 Code graph analysis (1)database/plugin/metadata/sqlite/transaction.go (7)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
🔇 Additional comments (6)
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. 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.
No issues found across 6 files
Summary by cubic
Shifted transaction validity handling to the database layer to ensure consistent state updates and simplify ledger logic. Invalid transactions now consume collateral UTxOs and skip certificates, datums, and protocol updates.
Written for commit a37f6a6. Summary will update automatically on new commits.
Summary by CodeRabbit
Release Notes
Bug Fixes
Chores
✏️ Tip: You can customize this high-level summary in your review settings.