-
Notifications
You must be signed in to change notification settings - Fork 960
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
Make the sender set MASP transaction to IBC memo #3444
Merged
Merged
Changes from 12 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e02fe43
Now hash the TransferTarget into Transaction transparent outputs.
murisi 6cbe813
Modified the MASP VP to check the IBC receivers.
murisi 20d113b
Created a separate type that is either an Address or IBC receiver.
murisi 2b49dc0
Now check that the IBC events are valid with respect to storage changes.
murisi abbf3b2
Split up the IBC validation logic in MASP.
murisi b55f5bc
Centralized the construction of TransparentAddresses to ensure that e…
murisi 5547f09
Handle the is_sender_chain_source case in the MASP VP.
murisi 423ee7f
Ensure that native tokens can always be decoded.
murisi 0ae6f2b
Reduced the dependence on IBC events.
murisi 438a4ab
Merge branch 'base' into murisi/masp-ibc-replay-protection-using-txda…
murisi 08e5664
Subdivided some functions involved in processing IBC packets.
murisi a2854e7
Now map denominations to tokens using ibc_token instead of reverse_qu…
murisi 6739f0b
Removed is_any_shielded_action_balance_key and related code since tha…
murisi 18fe989
Simplify checking packet acknowledgement by assuming the uniqueness o…
murisi 8de2ec0
Added more comments and improved function naming.
murisi 0c999bd
Start using IBC ports to determine message formats.
murisi d0b4f3d
Now charge gas in IBC denom query.
murisi 0a5d480
Update balances in the MASP using a non-mutating style.
murisi 7ff94bd
Added changelog entry.
murisi d44fc56
support NftTransfer
yito88 320e9ed
fix for apply_recv_msg
yito88 60ea876
refactoring: add trace.rs
yito88 a942176
reduce assumptions for IBC VP
yito88 9c51728
add ibc trace file
yito88 fb19c25
fix convert_to_address
yito88 210f34b
fix tests
yito88 5c3b3ab
fix the port and channel for is_receiving_success
yito88 8d23661
memo for masp tx
yito88 5c0c424
extract masp_tx in MASP VP
yito88 6520631
add CLI ibc-gen-shielding
yito88 c74c583
fix e2e tests
yito88 3176b01
fix gen_masp_tx in test
yito88 d6fc2f2
workaround wasm compilation error
yito88 a59131d
add IbcShielding action
yito88 ad065b0
add changelog
yito88 da7aff4
IbcShieldingData
yito88 cbf27b1
update Hermes
yito88 be2e7df
fix refund source
yito88 ca79554
extract_memo_from_packet
yito88 7212f7e
remove --refund
yito88 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/3438-fix-ibc-shielding-transfer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fix IBC shielding transfer for the receiver not to be replaced by a malicious | ||
relayer ([\#3438](https://github.com/anoma/namada/issues/3438)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.8.2-namada-beta11-rc2 | ||
1.9.0-namada-beta13-rc |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is used to generate both the refunding tx and the actual shielding transfer on the destination chain, correct? If that's the case maybe we can change the message here
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.
Thanks, Hermes used the argument. Now
build_ibc_transfer
generates the masp tx for the refunding.Users don't have to generate it with this command anymore.
I'll remove this argument.