-
Notifications
You must be signed in to change notification settings - Fork 157
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
fix: discriminate extrinsic_base_weight
based on dispatch class
#414
Merged
Merged
Changes from 17 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c540824
feat: update wasm pkg with updated calc_fee
TarikGul 13e8c51
feat: remove extrinsic_baseweight from from_params, and add it to cal…
TarikGul 8618bfe
feat: working version minus testing
TarikGul 9e3cb87
feat: update @substrate/calc for local dev
TarikGul 3d77f75
fix: update test to take in extrinsicBaseweight param
TarikGul 533a502
fix: update packages, lint
TarikGul f5c1a51
fix: add getParentParentHash, remove block param from createCalc, opt…
TarikGul f1cf416
fix: fix parameters for calc_fee tests
TarikGul 1159516
fix: comments, cleanup
TarikGul d4a2d41
fix: logging for calc_fee
TarikGul 1c7477a
fix: package import
TarikGul ccda584
Update src/services/blocks/BlocksService.ts
TarikGul 3fb18ef
Update src/services/blocks/BlocksService.ts
TarikGul 6708ddd
Update src/services/blocks/BlocksService.ts
TarikGul 92c7342
fix: adjust params for createCalcFee
TarikGul ff6b58c
fix: add ICalcFee response type for createCalcFee
TarikGul 516a786
fix: update structure to save on api calls, add field to createCalcFe…
TarikGul d0ab4e7
feat: update @substrate/calc versioning
TarikGul 3abf658
fix: package.json @substrate/calc versioning
TarikGul 94efd8b
fix: revert version in package.json for testing
TarikGul 014251c
fix: packaging
TarikGul c95712f
Update src/types/responses/Block.ts
TarikGul cd4190d
fix: order of variable bug
TarikGul b59bc64
fix: return a dispatchInfo with null parital fee if extrinsicBaseWeig…
TarikGul 4f31a5f
fix: add tests for partialFee
TarikGul 6a21a5c
fix: remove isPartialFeeNull and set calcFee to null instead
TarikGul c80f1bd
fix: add tests for calcFee being null
TarikGul 04832d1
fix: change type for calcFee in ICalcFee
TarikGul 0d45a1f
fix: remove mockApiCreateCalcFeeEdgeCase
TarikGul 0ad9477
Update src/types/responses/Block.ts
TarikGul 949e451
fix: update packages
TarikGul 162302d
fix: merge
TarikGul 1865770
fix: update packages
TarikGul 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 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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
"@polkadot/api": "^3.6.4", | ||
"@polkadot/apps-config": "^0.77.1", | ||
"@polkadot/util-crypto": "^5.4.4", | ||
"@substrate/calc": "^0.1.3", | ||
"@substrate/calc": "file:./calc/pkg", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a reminder that this should be change to "^0.2.0" before it gets merged. |
||
"confmgr": "^1.0.6", | ||
"express": "^4.17.1", | ||
"express-winston": "^4.0.5", | ||
|
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
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.
I think the
Cargo.toml
version should get bumped to "0.2.0" since this is a breaking change, but we are on major 0 so we just bump minor. After bumping inCargo.toml
you should be able to runbuild.sh
and the package.json should update.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.
Rad, thanks for explaining. Yea was a little confused at first with the versioning.