-
Notifications
You must be signed in to change notification settings - Fork 68
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
IF: Modify the action_receipt digest to be computed by concatenating and hashing a pair constructed from act_digest and the rest of the values of the action_receipt #2161
Comments
The new action digest should instead be the concatenation of the following:
This is to enable, without extra hashing needed for verification of the typical case, and with still small fixed sized proofs, the ability to prove actions for IBC purposes while supporting a means of replay protection that enforced actions to a contract are processed in the order they were processed on the source chain. This enabled replay protection with fixed size storage on the destination chain. |
Should the digest change unconditionally, or be triggered when something happens? |
Depends on #2162.
This allows for a smaller proof footprint, and faster verification by smart contracts and light clients.
https://github.com/AntelopeIO/leap/blob/hotstuff_integration/libraries/chain/include/eosio/chain/action_receipt.hpp#L19
The text was updated successfully, but these errors were encountered: