Skip to content

Commit

Permalink
chore: update boot node urls (#880)
Browse files Browse the repository at this point in the history
* chore: update boot node urls

* feat(runtime-eden): remove migration logic

* feat(runtime-eden): bump the runtime version up for future
  • Loading branch information
aliXsed authored Nov 11, 2024
1 parent f45f5b1 commit 2f6ecb0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 90 deletions.
9 changes: 5 additions & 4 deletions node/res/eden.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"id": "para_eden",
"chainType": "Live",
"bootNodes": [
"/dns4/nodle-bootnode-0.p2p.onfinality.io/tcp/20522/ws/p2p/12D3KooWMv1jzb45EMGZVGjqgoAjmqPrsYchHCQ13McFKL1r75b5",
"/dns4/nodle-bootnode-1.p2p.onfinality.io/tcp/25394/ws/p2p/12D3KooW9tfcevBR9DjD1JznXY7TenxVoDvtuVKndjgWNizjGUCs",
"/dns4/nodle-bootnode-2.p2p.onfinality.io/tcp/29357/ws/p2p/12D3KooWNq4J7wySh7uCGg81UMV7ziZVoASucFWH1wXuAUatukpX"
"/dns4/node-7135078940912492544-0.p2p.onfinality.io/tcp/25394/ws/p2p/12D3KooW9tfcevBR9DjD1JznXY7TenxVoDvtuVKndjgWNizjGUCs",
"/dns4/node-7143081889410338816-0.p2p.onfinality.io/tcp/26912/ws/p2p/12D3KooWJ9cZhE6Ve8GAUucTNPDgWnJKweUU9ZVJKrcocFLZ1mc2",
"/dns4/node-7135619368687267840-0.p2p.onfinality.io/tcp/25808/ws/p2p/12D3KooWHxNfp9db5VgGZegobTCJQKn45aHGkWfU1DJQEvBcLh2G",
"/dns4/node-7189842482392596480-0.p2p.onfinality.io/tcp/20565/ws/p2p/12D3KooWJCkHkF4azaSZ9xEu3ojohKfypU94Au4cdGuJz1M3tbRi"
],
"telemetryEndpoints": [
[
Expand Down Expand Up @@ -96,4 +97,4 @@
"childrenDefault": {}
}
}
}
}
9 changes: 5 additions & 4 deletions node/res/eden.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"id": "para_eden",
"chainType": "Live",
"bootNodes": [
"/dns4/nodle-bootnode-0.p2p.onfinality.io/tcp/20522/ws/p2p/12D3KooWMv1jzb45EMGZVGjqgoAjmqPrsYchHCQ13McFKL1r75b5",
"/dns4/nodle-bootnode-1.p2p.onfinality.io/tcp/25394/ws/p2p/12D3KooW9tfcevBR9DjD1JznXY7TenxVoDvtuVKndjgWNizjGUCs",
"/dns4/nodle-bootnode-2.p2p.onfinality.io/tcp/29357/ws/p2p/12D3KooWNq4J7wySh7uCGg81UMV7ziZVoASucFWH1wXuAUatukpX"
"/dns4/node-7135078940912492544-0.p2p.onfinality.io/tcp/25394/ws/p2p/12D3KooW9tfcevBR9DjD1JznXY7TenxVoDvtuVKndjgWNizjGUCs",
"/dns4/node-7143081889410338816-0.p2p.onfinality.io/tcp/26912/ws/p2p/12D3KooWJ9cZhE6Ve8GAUucTNPDgWnJKweUU9ZVJKrcocFLZ1mc2",
"/dns4/node-7135619368687267840-0.p2p.onfinality.io/tcp/25808/ws/p2p/12D3KooWHxNfp9db5VgGZegobTCJQKn45aHGkWfU1DJQEvBcLh2G",
"/dns4/node-7189842482392596480-0.p2p.onfinality.io/tcp/20565/ws/p2p/12D3KooWJCkHkF4azaSZ9xEu3ojohKfypU94Au4cdGuJz1M3tbRi"
],
"telemetryEndpoints": [
[
Expand Down Expand Up @@ -116,4 +117,4 @@
}
}
}
}
}
22 changes: 2 additions & 20 deletions runtimes/eden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ use {
pub mod constants;
mod genesis_config_presets;
mod implementations;
mod migration;
mod pallets_consensus;
mod pallets_governance;
mod pallets_nodle;
Expand Down Expand Up @@ -209,26 +208,9 @@ pub type SignedPayload = generic::SignedPayload<RuntimeCall, SignedExtra>;
/// Extrinsic type that has already been checked.
pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, RuntimeCall, SignedExtra>;

#[allow(deprecated)]
pub type Migrations = (
pallet_contracts::Migration<Runtime>,
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
pallet_collator_selection::migration::v2::MigrationToV2<Runtime>,
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
pallet_identity::migration::versioned::V0ToV1<Runtime, 10>,
migration::FromSpec27<Runtime>,
);

/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Runtime,
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
Migrations,
>;
pub type Executive =
frame_executive::Executive<Runtime, Block, frame_system::ChainContext<Runtime>, Runtime, AllPalletsWithSystem>;

#[cfg(feature = "runtime-benchmarks")]
pub type XcmGenericBenchmarks = pallet_xcm_benchmarks::generic::Pallet<Runtime>;
Expand Down
61 changes: 0 additions & 61 deletions runtimes/eden/src/migration.rs

This file was deleted.

2 changes: 1 addition & 1 deletion runtimes/eden/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// Version of the runtime specification. A full-node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
// `spec_version` and `authoring_version` are the same between Wasm and native.
spec_version: 32,
spec_version: 33,

// Version of the implementation of the specification. Nodes are free to ignore this; it
// serves only as an indication that the code is different; as long as the other two versions
Expand Down

0 comments on commit 2f6ecb0

Please sign in to comment.