forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 8
update to latest polkadot-sdk #467
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 13 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
1b02d7b
update to latest polkadot-sdk
pkhry 4ca706f
Merge branch 'master' into pkhry/polkadot-sdk-upd
pkhry 5a81df5
upd
pkhry 347992a
update 2
pkhry 7c93b37
upd
pkhry f553378
upd jemmaloc
pkhry f2c923d
upd
pkhry 6b70c82
Merge branch 'master' into pkhry/polkadot-sdk-upd
pkhry 122a179
up
pkhry f3dce4a
upd the sequel
pkhry 033305a
add example
pkhry d239682
upd
pkhry 7e6abe0
up
pkhry 87d3dff
make morpho pass at least
pkhry 877de25
example
pkhry 756756b
fixup defs
pkhry 8edbc81
Merge branch 'master' into pkhry/polkadot-sdk-upd
pkhry 9f2232d
upd
pkhry 1f9514a
upd
pkhry 7d9fc7b
upd
pkhry d904938
upd
pkhry 6e3e3be
up
pkhry e0b96d6
upd forge test
pkhry 15836fb
fixup wormhole CI
pkhry c2f6a14
upd
pkhry c933fc1
Merge remote-tracking branch 'origin/master' into pkhry/polkadot-sdk-upd
pkhry 347fd53
fixups
pkhry 16e0337
fixup
pkhry e95e800
chore(tests): bump forge-std version (#12986)
github-actions[bot] 99f2bc6
chore(tests): bump forge-std version (#12992)
github-actions[bot] e285b2c
anvil-polkadot
pkhry ecc52b6
rm rest that is too far in the future
pkhry 6dda28e
upd
pkhry 198455d
revert accidents
pkhry e7e190b
revert 2507.4.0
pkhry 044ccf8
Merge branch 'master' into pkhry/polkadot-sdk-upd
pkhry 80a6b6d
fixup test
pkhry 60ed8bf
fixup more
pkhry 93ce6f2
clippy
pkhry 3afdca5
review comments
pkhry 36bde18
Merge branch 'master' into pkhry/polkadot-sdk-upd
pkhry 31b126b
revert revert forge-std update
pkhry 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
Some comments aren't visible on the classic Files Changed page.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.
This will not fix the actual issue. You will have to set the GasScale to 1.
Like this: f522500#diff-bf8d1cad61c801a9cfd0ba5917125913b960af9bdbeba4fbfe846bb86e3c3d0dR310-R311
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.
The default value in test config I think is 10, hence the off by 10
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'll revert the anvil change in this PR then and cherry-pick your changes then
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.
You can directly add GasScale I think there is no need to cherry-pick
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.
The default pallet-revive config for
GasScaleis10based on this PR: https://github.com/paritytech/polkadot-sdk/pull/10393/changes (which also multiplies the next_fee_multiplier by gas scale, not just NATIVE_TO_ETH_RATIO). That's why, given our substrate-runtime not setting it up specifically with this PR, or before it, we get in practice 10 times bigger base fee. For these tests to pass it is enough to configure theGasScaleunder the pallet-revive config in the anvil-polkadot's substrate-runtime to 1, but that might not do it for certain users tests (outside anvil-polkadot) that rely on a bigger value (e.g. dev-node sets it to 50_000).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.
Removing the extra zero at the end fixes this test too. The
GasScaleset to 1 works fine with the test - at least locally for me with this branch.