-
Notifications
You must be signed in to change notification settings - Fork 90
Change cairo_version into Account property
#1183
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 all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e7929d7
add cairo_version property, remove it from arguments in methods
tomek0123456789 6907be0
change cairo_version
tomek0123456789 5d3dcb3
update Account.deploy_account
tomek0123456789 278dca0
add tests
tomek0123456789 9b5bd4a
add precompiled contracts
tomek0123456789 b093c76
update docs
tomek0123456789 050ab91
deprecate cairo_version parameter from previous impl
tomek0123456789 102f8ce
Merge branch 'development' into tomek/1182-cairo1-accounts
tomek0123456789 47a4be4
change previous parameter into Optional
tomek0123456789 f139242
update BaseAccount interface
tomek0123456789 c194af7
update migration guide
tomek0123456789 a9eb581
update docs code snippets
tomek0123456789 fcb137b
check docs
tomek0123456789 0d4d114
formatting
tomek0123456789 e71f160
docs
tomek0123456789 0f2cd7a
fix devnet version on windows checks
tomek0123456789 6e26024
docstrings once again
tomek0123456789 8093f78
add todos
tomek0123456789 184e853
add test for codecov
tomek0123456789 4bdd67a
formatting
tomek0123456789 10147b7
add a helper comment
tomek0123456789 a7d05da
remove cairo_version from Account constructor, change cairo_version p…
tomek0123456789 60e9831
remove unnecessary pyright comment
tomek0123456789 d20c19d
change cairo_version into async property
tomek0123456789 3accdfe
fix tests
tomek0123456789 5c494b8
another tests fix
tomek0123456789 bc669b3
another tests fix
tomek0123456789 8a4ceed
woops
tomek0123456789 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
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.
here you could do instead something like
Uh oh!
There was an error while loading. Please reload this page.
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'm not sure if an async property would be a good UI. However, we've got a sync interface for that, so something like this would work withoutawaiting:wdyt?edit: this breaks a lot of things, but the same question applies, is an async property a good UI?
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.
well, just see this comment now. Async property you're right may not have been the best thing, but with sync definitely as It's quite common to use property to cache a given computed/fetched data
there is no information regarding the internal implementation for the outside world, use you still use
self.cairo_version