mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Bridge: make some headers submissions free (#4102)
supersedes https://github.com/paritytech/parity-bridges-common/pull/2873 Draft because of couple of TODOs: - [x] fix remaining TODOs; - [x] double check that all changes from https://github.com/paritytech/parity-bridges-common/pull/2873 are correctly ported; - [x] create a separate PR (on top of that one or a follow up?) for https://github.com/paritytech/polkadot-sdk/tree/sv-try-new-bridge-fees; - [x] fix compilation issues (haven't checked, but there should be many). --------- Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
committed by
GitHub
parent
4f3d43a0c4
commit
a633e954f3
@@ -0,0 +1,43 @@
|
||||
title: "Bridge: make some headers submissions free"
|
||||
|
||||
doc:
|
||||
- audience: Runtime Dev
|
||||
description: |
|
||||
Adds `FreeHeadersInterval` configuration constant to the `pallet_bridge_grandpa`.
|
||||
Transactions that improve best known header by at least `FreeHeadersInterval` headers
|
||||
are now free for the submitter. Additionally, we allow single free parachain header
|
||||
update per every free relay chain header. Bridge signed extensions are adjusted
|
||||
to support that new scheme. Bridge runtime APIs are extended to support that new
|
||||
scheme. Bridge fees are decreased by ~98% because now they do not include cost of
|
||||
finality submissions - we assume relayers will be submitting finality transactions
|
||||
for free.
|
||||
|
||||
crates:
|
||||
- name: bridge-runtime-common
|
||||
bump: major
|
||||
- name: bp-bridge-hub-cumulus
|
||||
bump: patch
|
||||
- name: bp-bridge-hub-kusama
|
||||
bump: major
|
||||
- name: bp-bridge-hub-polkadot
|
||||
bump: major
|
||||
- name: bp-bridge-hub-rococo
|
||||
bump: major
|
||||
- name: bp-bridge-hub-westend
|
||||
bump: major
|
||||
- name: pallet-bridge-grandpa
|
||||
bump: major
|
||||
- name: pallet-bridge-parachains
|
||||
bump: major
|
||||
- name: bp-parachains
|
||||
bump: major
|
||||
- name: bp-runtime
|
||||
bump: major
|
||||
- name: relay-substrate-client
|
||||
bump: major
|
||||
- name: bridge-hub-rococo-runtime
|
||||
bump: major
|
||||
- name: bridge-hub-westend-runtime
|
||||
bump: major
|
||||
- name: bridge-hub-test-utils
|
||||
bump: minor
|
||||
Reference in New Issue
Block a user