-
Notifications
You must be signed in to change notification settings - Fork 823
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
Bridge: make some headers submissions free #4102
Merged
svyatonik
merged 60 commits into
master
from
sv-refund-non-mandatory-headers-fee-polkadot-sdk
Apr 25, 2024
+3,730
−615
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
bc26ff5
move bridge extensions to a separate folder
svyatonik 812d474
added FreeHeadersInterval to pallet-bridge-grandpa configuration
svyatonik b45fde5
added is_free_execution_expected parameter to the submit_finality_pro…
svyatonik 1161805
move grandpa call result check from RefundTransactionExtensionAdapter…
svyatonik 148d9b3
added RefundBridgedMessages to refund and bump priority of standalone…
svyatonik 3cfd666
check_obsolete_submit_finality_proof may now boost transaction priori…
svyatonik 38c558b
added CheckAndBoostBridgeGrandpaTransactions that checks whether brid…
svyatonik ad8edb5
relayer may be slashed to explicit account
svyatonik 791ea6a
slash registered relayer if it has submitted failed GRANDPA transaction
svyatonik b90615a
allow accepting some parachain headers for free
svyatonik df1928f
added FreeParachainUpdateForFreeRelayHeader
svyatonik 6d852d4
fix benchmarks compilation
svyatonik 3209053
added WeightInfoExt for pallet-bridge-grandpa to include extra wight …
svyatonik 3f95fb0
also refund for submitting initial parachain head
svyatonik 84c9757
make FreeHeadersRemaining an Option => we know that when we are outsi…
svyatonik a3831e2
add more traces to pallets
svyatonik 1a6baf9
check for reorgs in signed ext for parachains module
svyatonik 3922d6a
fix benchmarks compilation
svyatonik 666aad2
free interval instead of fixed free headers
svyatonik efeba93
fixed trace
svyatonik 85a5a40
CannotAcceptMoreFreeHeaders -> FreeHeadersLimitExceded
svyatonik 0c87d48
additional_call_result_check -> check_call_result_ex
svyatonik c3f0bc5
is_granda_call_succeeded -> is_grandpa_call_successful
svyatonik 8e710d2
move tx priority boost from check_obsolete_submit_finality_proof to e…
svyatonik 3ca9d7e
lost changes
svyatonik 7f1375b
dec counter when importing new para header
svyatonik 5772858
cherry pick https://github.com/paritytech/parity-bridges-common/pull/…
svyatonik 61c7ff5
added grandpa_and_parachain_pallets_share_free_headers_counter test
svyatonik e0817e9
with free intervals (instead of fixed free headers) we need to check …
svyatonik 380fe97
fix test name
svyatonik 779bf9d
added CheckAndBoostBridgeParachainsTransactions to boost parachain tr…
svyatonik 19fb766
check parachain id in CheckAndBoostBridgeParachainsTransactions
svyatonik 7a89e16
use submit_parachain_head_call_ex in tests
svyatonik b984204
removed commented code
svyatonik d4533e2
changed condition for consistency
svyatonik 3c9acee
include overweight from runtime signed extensions into submit_paracha…
svyatonik 75b4bc0
fixed comment
svyatonik 1effc3d
removed obsolete code comment
svyatonik 3a7e5aa
added important comment + test
svyatonik d1eaba0
fix no-std compile
svyatonik 50a44ee
again fix lost change
svyatonik 346cb7c
fix for mandatory + interval check in ext
svyatonik aea38c0
apply review suggestions
svyatonik 0b1fc99
Update modules/grandpa/src/lib.rs
svyatonik 66d1d96
remove unused getter
svyatonik 561e663
Merge branch 'master' into sv-refund-non-mandatory-headers-fee-polkad…
svyatonik bea7677
fixed TODOs and added some more tests
svyatonik c049082
apply new extensions and configurations to bridge-hub-rococo-runtime …
svyatonik cbf08d0
added tooling to compute `PriorityBoostPerRelayHeader` and `PriorityB…
svyatonik 7aba809
fixed tests in BH runtimes
svyatonik 21962bd
port FinalityApi::free_headers_interval from https://github.com/parit…
svyatonik aa89040
adapted 0001-asset-transfer test for new fee scheme
svyatonik 51e51d7
fix `bridge-runtime-common` compilation after recent refactoring
svyatonik f07eddb
added prdoc
svyatonik c5471c9
fixed messages pallet benchmarks
svyatonik 775ea7b
temporary commented bridges+zombienet tests, because they'll need a n…
svyatonik 9886447
apply suggestion from https://github.com/paritytech/parity-bridges-co…
svyatonik 18e15fb
added comment
svyatonik cad5d31
Merge branch 'master' into sv-refund-non-mandatory-headers-fee-polkad…
svyatonik cde347f
added free_relay_extrinsic_works tests to ensure that we submit final…
svyatonik 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
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
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.
10x-15x reduction ❤️