feat!(ethexe): change announce hash calculation; append min program exec balance for injected txs#5249
Conversation
Changed Files
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines core components of the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a database migration (v2) to move Announce data from content-addressable storage to a key-value store, updating storage keys and adding a new migration script. It also implements a new validation rule for injected transactions, requiring a minimum executable balance for destination programs, and updates the transaction pool to handle this status. The Announce::to_hash method was refactored for specific field hashing, and the Processor::process_block logic was reordered and clarified. Feedback suggests improving the clarity of the MIN_EXECUTABLE_BALANCE_FOR_INJECTED_MESSAGES constant's multiplier and addressing the brittleness of a hardcoded prefix in the new migration to enhance robustness.
ecol-master
left a comment
There was a problem hiding this comment.
I think, we do not should make announce hash only on top of tx_hash, we also need to hash the signature (and maybe address)
No description provided.