Skip to content

Commit d684f6c

Browse files
authored
Rename control to system (#1030)
* Rename control to system * Fix breaking tests * Increase REGISTER_TOKEN_FEE to enough * Update sdk * Update sdk
1 parent e4c9135 commit d684f6c

File tree

27 files changed

+223
-200
lines changed

27 files changed

+223
-200
lines changed

contracts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Agents are defined by the following contracts:
4040
* [Agent.sol](src/Agent.sol): Agent contract
4141
* [AgentExecutor.sol](src/AgentExecutor.sol): Code executed within an agent using `delegatecall`
4242

43-
The creation of new agents can be initiated by calling `EthereumControl::create_agent` extrinsic on the BridgeHub parachain.
43+
The creation of new agents can be initiated by calling `EthereumSystem::create_agent` extrinsic on the BridgeHub parachain.
4444

4545
### BeefyClient
4646

docs/architecture/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ More concretely, they have a number of purposes in the bridge design:
5353
* Users wanting to send outbound messages to Polkadot need to pay fees into the agent contract corresponding to the destination parachain
5454
* Relayers submitting messages to the Gateway are rewarded from the agent contract corresponding to the origin parachain.
5555

56-
The creation of new agents can be initiated permissionlessly by calling `EthereumControl::create_agent` extrinsic on the BridgeHub parachain.
56+
The creation of new agents can be initiated permissionlessly by calling `EthereumSystem::create_agent` extrinsic on the BridgeHub parachain.
5757

5858
### BeefyClient
5959

parachain/Cargo.lock

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parachain/Cargo.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,19 @@ members = [
1010
"pallets/outbound-queue/runtime-api",
1111
"pallets/outbound-queue/merkle-tree",
1212
"pallets/ethereum-beacon-client",
13-
"pallets/control",
14-
"pallets/control/runtime-api",
13+
"pallets/system",
14+
"pallets/system/runtime-api",
1515
"runtime/runtime-common",
1616
]
17+
18+
[patch.'https://github.com/snowfork/snowbridge']
19+
snowbridge-beacon-primitives = { path = "./primitives/beacon" }
20+
snowbridge-system = { path = "./pallets/system" }
21+
snowbridge-system-runtime-api = { path = "./pallets/system/runtime-api" }
22+
snowbridge-core = { path = "./primitives/core" }
23+
snowbridge-ethereum-beacon-client = { path = "./pallets/ethereum-beacon-client" }
24+
snowbridge-inbound-queue = { path = "./pallets/inbound-queue" }
25+
snowbridge-outbound-queue = { path = "./pallets/outbound-queue" }
26+
snowbridge-outbound-queue-runtime-api = { path = "./pallets/outbound-queue/runtime-api" }
27+
snowbridge-router-primitives = { path = "./primitives/router" }
28+
snowbridge-runtime-common = { path = "./runtime/runtime-common" }

parachain/pallets/outbound-queue/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
//! # Overview
66
//!
77
//! Messages come either from sibling parachains via XCM, or BridgeHub itself
8-
//! via the `snowbridge-control` pallet:
8+
//! via the `snowbridge-system` pallet:
99
//!
1010
//! 1. `snowbridge_router_primitives::outbound::EthereumBlobExporter::deliver`
11-
//! 2. `snowbridge_control::Pallet::send`
11+
//! 2. `snowbridge_system::Pallet::send`
1212
//!
1313
//! The message submission pipeline works like this:
1414
//! 1. The message is first validated via the implementation for
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
[package]
2-
name = "snowbridge-control"
3-
version = "4.0.0-dev"
4-
description = "FRAME pallet template for defining custom runtime logic."
5-
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
6-
homepage = "https://substrate.io"
2+
name = "snowbridge-system"
3+
version = "0.1.1"
4+
description = "Snowbridge System"
5+
authors = ["Snowfork <[email protected]>"]
76
edition = "2021"
8-
license = "MIT-0"
9-
publish = false
10-
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
7+
repository = "https://github.com/Snowfork/snowbridge"
118

129
[package.metadata.docs.rs]
1310
targets = ["x86_64-unknown-linux-gnu"]
File renamed without changes.

parachain/pallets/control/runtime-api/Cargo.toml renamed to parachain/pallets/system/runtime-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "snowbridge-control-runtime-api"
2+
name = "snowbridge-system-runtime-api"
33
version = "0.1.0"
44
edition = "2021"
55
authors = ["Snowfork <[email protected]>"]
File renamed without changes.

0 commit comments

Comments
 (0)