Svyatoslav Nikolsky
|
f35b4f4897
|
Extract unsigned tx from the SignParam structure (#1561)
* change sign_transaction method
* clippy
* rustup update && clippy
* remove redudnant clone
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
77af92b17b
|
Follow-up on #1419 (#1531)
* Parachains source cosmetic changes
- Make `ParaHashAtSource` more generic
- Modify `on_chain_parachain_header` to return `HeaderId`
- Shortening variable names
Signed-off-by: Serban Iorga <serban@parity.io>
* Change ParachainsSource::max_head_id type
Change ParachainsSource::max_head_id to Arc<Mutex<NoopOption>>
Signed-off-by: Serban Iorga <serban@parity.io>
* code review changes
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
7969459d07
|
Change Runtime APIs best_finalized() signature
Change Runtime APIs best_finalized() signature to return Option<HeaderId>
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
b21790b769
|
Log error instead of returning it
Log error when `best_parachain_block_at_target` can't be updated instead
of propagating it.
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
cd36d1e15f
|
Define StorageDoubleMapKeyProvider
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
f9af3f2d6e
|
Remove unneeded variable
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
69809f8be4
|
Deduplicate parachains validation
Deduplicate the logic that validates the updated parachain heads.
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Serban Iorga
|
dc38e3d079
|
Define HeaderIdProvider trait
Define HeaderIdProvider trait
Signed-off-by: Serban Iorga <serban@parity.io>
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
ea1f46ff45
|
Add another condition to the reject-obsolete-parachain-heads extension (#1505)
* add another condition to the reject-obsolete-parachain-heads extension
* add tracing to obsolete-tx-extensions
* fix tests
* extension_rejects_header_from_new_relay_block_with_same_hash
* fmt
* fix benchmarks
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
d11d9fd0b7
|
Parachain loop metrics (#1484)
* parachain loop metrics
* some fixes
* mini refactoring
* add tests
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
31a2be845c
|
Fix on-different-forks metrics during initialization (#1468)
* fix on-different-forks metrics during initialization
* "initialize" parachain finality pallet in on-demand parachains relay
* decrease converstion rate requests count
* more error logging
* fix compilation
* clippy
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
53780cfd1a
|
remove duplicate parachain heads exension (#1444)
* remove duplicate parachain heads exension
* fix benchmarks compilation
* actually fix it
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
b870fe74f8
|
Parachains pallet benchmarks (#1436)
* added parachains pallet benchmarks
* deduplicate insertion of bridged header
* pruning weight
* fixes
* fix compilation
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
0a3f8ace26
|
fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header (#1419)
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
542ebb5654
|
Complex RialtoParachain <> Millau relay (#1405)
* complex parachain relay
* fix spelling
|
2024-04-10 10:28:37 +02:00 |
|