-
Notifications
You must be signed in to change notification settings - Fork 390
Thoughts on addresses #802
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
0cee708
Split scripts in check/test workspace
webmaster128 5e377fd
Sort tests
webmaster128 1d5ca28
Add addr_validate and addr_ prefixed humanize/canonicalize
webmaster128 7f93bcd
Let addr_validate return StdResult<()>
webmaster128 d81d404
Let addr_canonicalize accept &str inputs
webmaster128 3aeaafe
Let addr_validate return HumanAddr
webmaster128 0224fa5
Rename imports to addr_canonicalize/addr_humanize
webmaster128 09a3fe0
Update testing contracts
webmaster128 d42a2ce
Add addr_validate import
webmaster128 98cd3a3
Use addr_validate import
webmaster128 227da0a
Let addr_validate return the new Addr type
webmaster128 e668974
Implement PartialEq between Addr and &str
webmaster128 77b008a
Implement AsRef<str> for Addr
webmaster128 fd7bcaa
Change type of ContractInfo::address to Addr
webmaster128 fdb41ae
Remove HumanAddr/CanonicalAddr from BackendApi
webmaster128 bfe7769
Change type of MessageInfo::sender to Addr
webmaster128 87b6af8
Pull out msg and state module in hackatom
webmaster128 8cdec39
Use Addr in State and String in messages
webmaster128 9fdbbab
Remove unnecessary HumanAddr in test code
webmaster128 9d3fdd9
Replace HumanAddr with String in BankQuery
webmaster128 d45dcd5
Replace HumanAddr with String in WasmQuery
webmaster128 e6a7943
Replace HumanAddr with String in StakingQuery
webmaster128 b134ccd
Make adresses in FullDelegation/Delegation/Validator Addr
webmaster128 44aa457
Change address types in CosmosMsg
webmaster128 ad6d0bd
Simplify mock_info tests
webmaster128 89c1b99
Implement PartialEq for Addr and String
webmaster128 7aa03ab
Let Api::addr_humanize return Addr
webmaster128 58be130
Deprecarte HumanAddr
webmaster128 238a976
Add MIGRATING entry
webmaster128 0d24683
Bring back state schemas for hackatom
webmaster128 91d1f90
Bring back state schema for reflect
webmaster128 b84f5a6
Restore state schema for staking contract
webmaster128 c9e1377
Avoid unnecessary as_ref() for Addr == Addr and Addr == String
webmaster128 ec6a16f
Fix and improve MIGRATING text
webmaster128 8eb6d4d
Fix typo in NoSuchContract::addr comment
webmaster128 d9b4283
Make remote_addr a String in ibc-reflect-send
webmaster128 d0298f2
Implement From<&Addr> for String and From<&Addr> for HumanAddr
webmaster128 e5271a9
Add doc comment to Addr::unchecked
webmaster128 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.