Skip to content
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

Runtime codegen tuning #3008

Merged
merged 5 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ support it. Normally it means:

2. Regenerating bundled runtime wrapper code using `runtime-codegen` binary:

_(You can use the pre-defined `./scripts/regenerate_runtimes.sh` to regenerate all supported runtimes. If you need just a particular runtime, then follow the commands below.)_

If you can start updated chain node, it could be done using following command
(assuming you're in the root of the repository):
```sh
Expand Down
1,017 changes: 671 additions & 346 deletions relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs

Large diffs are not rendered by default.

2,113 changes: 951 additions & 1,162 deletions relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs

Large diffs are not rendered by default.

2,638 changes: 1,283 additions & 1,355 deletions relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions relay-clients/client-bridge-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ pub use codegen_runtime::api::runtime_types;

pub type RuntimeCall = runtime_types::bridge_hub_rococo_runtime::RuntimeCall;
pub type BridgeMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call;
pub type BridgeBulletinMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call2;

// TODO: https://github.com/paritytech/parity-bridges-common/issues/2547 - regenerate when ready - shuold be Call2
pub type BridgeBulletinMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call;
pub type BridgeGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call;
pub type BridgeBulletinGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call2;
// TODO: https://github.com/paritytech/parity-bridges-common/issues/2547 - regenerate when ready - shuold be Call2
pub type BridgeBulletinGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call;
pub type BridgeParachainCall = runtime_types::pallet_bridge_parachains::pallet::Call;
type UncheckedExtrinsic = bp_bridge_hub_rococo::UncheckedExtrinsic<RuntimeCall, SignedExtension>;
type UtilityCall = runtime_types::pallet_utility::pallet::Call;
Expand Down
2,120 changes: 1,005 additions & 1,115 deletions relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs

Large diffs are not rendered by default.

Loading