Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'murisi/masp-ibc-replay-protection-using-txdata-on-0.39.…
…0' (#3409) * origin/murisi/masp-ibc-replay-protection-using-txdata-on-0.39.0: Added changelog entry. Update balances in the MASP using a non-mutating style. Now charge gas in IBC denom query. Start using IBC ports to determine message formats. Added more comments and improved function naming. Simplify checking packet acknowledgement by assuming the uniqueness of the success acknowledgement. Removed is_any_shielded_action_balance_key and related code since thats no longer used. Now map denominations to tokens using ibc_token instead of reverse_query_denom. Subdivided some functions involved in processing IBC packets. Reduced the dependence on IBC events. Ensure that native tokens can always be decoded. Handle the is_sender_chain_source case in the MASP VP. Centralized the construction of TransparentAddresses to ensure that encodings are consistent. Split up the IBC validation logic in MASP. Now check that the IBC events are valid with respect to storage changes. Created a separate type that is either an Address or IBC receiver. Modified the MASP VP to check the IBC receivers. Now hash the TransferTarget into Transaction transparent outputs.
- Loading branch information