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.
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
Permit transfers of wrapped ERC20 tokens between different addresses #329
Permit transfers of wrapped ERC20 tokens between different addresses #329
Changes from all commits
c779354
8009e0a
c774700
7f8a9fc
fc94333
5c2afdd
feadb5c
fd10946
cec1888
35094c8
635f68c
8bb5edf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
hm why do we need the explicit borrow here, on
ctx
? was the compiler (or clippy) complaining about something?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.
It's because the trait this method comes from is implemented only for
&Ctx
and notCtx
namada/shared/src/ledger/native_vp.rs
Line 337 in 635f68c
If there is a nice way to implement for both
Ctx
and&Ctx
without too much duplication, I'd like to add it (though not in this PR) for ergonomics. (ThisStorageReader
thing actually needs to be contributed back tomain
or may even be able to be replaced by the new native storage traits coming in soon)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.
good candidates for a proptest :D
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.
will have a go at this (though not in this PR)