-
Notifications
You must be signed in to change notification settings - Fork 1.1k
revive fix reported gas used #10148
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
revive fix reported gas used #10148
Changes from 29 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
f832bda
fix
pgherveou 40bcd2d
update sha
pgherveou b34c502
fix
pgherveou 2bda00e
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] 1921580
nit
pgherveou f08a7ce
nit
pgherveou 7b7d5bf
nit
pgherveou cd94ec9
fix --all-features
pgherveou c47b19a
nit comment
pgherveou 6aa60c2
clippy
pgherveou a162aa3
take into account storage deposit
pgherveou f3b81d4
bump evm-test-suite sha
pgherveou 80ab0f0
wip
pgherveou 76dd5db
wip
pgherveou 5dd4242
wip
pgherveou 3a06584
wip
pgherveou f119bae
fixes
pgherveou 78b7368
pr cleanup
pgherveou 4573b06
nit
pgherveou 6245fe5
fix tests
pgherveou 18f67c3
tweak
pgherveou 0fc0535
Merge branch 'master' into pg/fix-gas-used
pgherveou 63f99f4
pr diff
pgherveou e63dca2
fix benchmark
pgherveou d594fa6
fix build err
pgherveou 46980de
nit
pgherveou 47a1862
rollback SlowAdjustingFeeUpdate
pgherveou 29c9055
fix
pgherveou 9ba3bd2
undo
pgherveou 98f407e
PR review use set_extension_weight
pgherveou dac377d
fix round up
pgherveou f28d699
rollback change
pgherveou 64130a2
simplify
pgherveou 02a43a5
Merge branch 'master' into pg/fix-gas-used
pgherveou 2a8a2e5
simplify benchmark tests
pgherveou 37ae634
update prdoc
pgherveou 8f77e41
fmt
pgherveou df32005
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] 65265c2
Merge branch 'master' into pg/fix-gas-used
pgherveou 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| title: revive fix reported gas used | ||
| doc: | ||
| - audience: Runtime Dev | ||
| description: |- | ||
| Fix gas_used calculation introduced in #9418 to use the actual gas instead of just ref_time. | ||
| Fix as well the compute_actual_fee, and introduce a new `compute_actual_fee` in Config::FeeInfo. | ||
|
|
||
| The current calculation was skipping the `extension_weight` | ||
|
|
||
| The updated test here, ensure that the tx cost reported by the receipt match the fees deducted from the user account | ||
|
|
||
| https://github.com/paritytech/evm-test-suite/blob/a1110499ca39610be22645d1f4d7a7484cca0ed7/src/methods.test.ts?plain=1#L272-L264 | ||
| crates: | ||
| - name: pallet-revive | ||
| bump: patch |
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.
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.