-
Notifications
You must be signed in to change notification settings - Fork 83
feat: TxFee and Coins, support for fee granter & payer #415
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
73 commits
Select commit
Hold shift + click to select a range
ed36363
Initial fees rework
MissingNO57 f20600f
Refactor
MissingNO57 2febf8c
Lint fix
MissingNO57 6a45d03
Fix
MissingNO57 3e9f479
Fix
MissingNO57 931a08a
Fix
MissingNO57 308f5c9
fix
MissingNO57 1a0e099
Fixes
MissingNO57 09bf50d
Tx fees rework
MissingNO57 b961ecb
Rework
MissingNO57 ffe2a63
Circular import fix
MissingNO57 0455da1
Linting fixes
MissingNO57 51f9d4a
Fixes
MissingNO57 6d94bd3
Moving tx fees
MissingNO57 2397400
fixes
MissingNO57 98e169c
Fix
MissingNO57 6366b3d
Fix
MissingNO57 f5016b6
Rework
MissingNO57 2920818
Optional account for online seal
MissingNO57 f84b805
fix
MissingNO57 e3a5122
Merge branch 'main' of github.com:fetchai/cosmpy into refactor/tx_fees
MissingNO57 7bc5b96
Rework
MissingNO57 26c5e68
Docs fix
MissingNO57 1fe7ce2
Fixes
MissingNO57 2215ae4
Fix
MissingNO57 84ea62c
Docs fix
MissingNO57 9db9b66
Refactoring: Relocating types to more suited locations
pbukva efe1355
Fix
MissingNO57 1dc509e
Fix
MissingNO57 5e632dd
Making the `account` param optional in ithe `simulate_tx(...)` function
pbukva b37308e
Refactor TxFee (getter/setter properties), adding 'to_coins(...)' fun…
pbukva 534c1b0
Gen docs
pbukva 0acfa33
Making speell checker happy
pbukva 6748ca3
Making spell check happy again
pbukva e7a6dfd
Merge branch 'refactor/tx_fees' into refactor/tx_fees__pb
pbukva 75d2210
Impl. alignment with Cosmos-SDk 'Coins' type (API and behaviour)
pbukva 3f4db1c
Impl. additiona and subtraction for Coins type
pbukva 1684f92
Fixing typing of derived methods for math. operators
pbukva 8e1bccc
Refactor
MissingNO57 f7cf0f9
Isort
MissingNO57 9d84d9e
Flipping things to use aerial Coin & Coins
pbukva be275c5
Fixing mypy barking at wrong tree
pbukva 844a026
Adding Coins.canonicalise() method and ditching Coins.sort_coins()
pbukva 5b1de0c
Regenerate docs
pbukva 187b70b
Make lint happy
pbukva 83852e5
Making pylint happy again
pbukva 71add1f
Making lint happu once again
pbukva f1920ec
Making linting happy once more
pbukva d40b33c
Tests and fixes
MissingNO57 c4bbe18
Improvements
MissingNO57 f137d55
Refactoring a few things
pbukva f53bbd6
Messing with functionality fixes and imports
pbukva ee945b1
Ditching unnecessary code
pbukva f76f88a
Extended tests
MissingNO57 ba5627a
Refactoring conversion
pbukva 4e4049b
Merge branch 'refactor/tx_fees__pb' of github.com:fetchai/cosmpy into…
MissingNO57 d4def7c
Lint fix
MissingNO57 454dd15
Improvements and fixes
MissingNO57 6b4b2bd
Fixing pylint
pbukva 1167f58
Making docs lint happy
pbukva f0042c4
Fixing canonicalise (ensuring that zero amount coins are dropped)
pbukva 9dd6807
Spell fix
MissingNO57 549d5b7
Merge branch 'refactor/tx_fees__pb' of github.com:fetchai/cosmpy into…
MissingNO57 3afca63
Making spellchecker happy
pbukva c5ecb41
Merge branch 'refactor/tx_fees__pb' of https://github.com/fetchai/cos…
pbukva 8a6a23e
granter payer string fix
MissingNO57 ae9ebab
Ensuring canonicalisation of Coins in high level aerial API
pbukva 758ffd3
Adding canonicalisation in to 'Coins.to_proto()'
pbukva 7f8729b
Attempt to resolve the dependencies linting issue
pbukva 4ccef90
Attempt to resolve the dependencies linting issue
pbukva f6601af
Revert "Attempt to resolve the dependencies linting issue"
pbukva 688cb2d
poetry lock
pbukva fc66995
dependencies and poetry lock again
pbukva 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -316,3 +316,10 @@ perf | |
| mitigations | ||
| radix | ||
| readme | ||
| TxFee | ||
| CoinProto | ||
| canonicalise | ||
| iadd | ||
| isub | ||
| repr | ||
| nanomobx | ||
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.
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.