-
Notifications
You must be signed in to change notification settings - Fork 629
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
Feat: Eth wallet contract implementation #10850
Merged
Merged
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1079258
feat: eth wallet contract implementation
birchmd abfc04b
Integration test for wallet contract on eth implicit accounts
birchmd 8ae8cb7
Merge branch 'master' into eth-wallet-contract
birchmd 54992b1
cargo fmt
birchmd 447feef
Add doc comments to public contract methods
birchmd 9bb90c0
Remove unused Near actions
birchmd 7ed4741
Rename hash_to_address -> account_id_to_address; add test
birchmd ee16f2b
Add comment about account suffix
birchmd fc96b2e
Update TODO comments
birchmd b900f78
Remove usage of git in tests
birchmd 24bd574
Fix typo
birchmd 3eacedc
Merge branch 'master' into eth-wallet-contract
birchmd fd8e664
Merge branch 'master' into eth-wallet-contract
birchmd 37175d3
Merge branch 'master' into eth-wallet-contract
birchmd 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
Large diffs are not rendered by default.
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
368 changes: 258 additions & 110 deletions
368
integration-tests/src/tests/client/features/wallet_contract.rs
Large diffs are not rendered by default.
Oops, something went wrong.
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.
Is there a reason these are a git dependency?
We should avoid git dependencies where possible. The fact that this is referencing a tag suggests to me that these should be on crates.io.
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.
Aurora doesn't have a regular process for releasing crates to crates.io. So for now a git dep is required to use the crate. But this is easy to update in the future if Aurora does start releasing crates.
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.
I think it should really be a not "if Aurora starts", but rather "integrating with the rest of the ecosystem ought to be a very strong incentive for Aurora to start releasing crates."
We can't really audit git tags, they are not reproducible and might just make the build process slower every time as cargo can't cache git repositories globally.
Does it block this PR? Probably not. But waiting for Aurora to realize these problems on their own before an action is taken is also not great.