Skip to content

Commit

Permalink
Feature/plmc 138 rename runtimes (#194)
Browse files Browse the repository at this point in the history
* fix unused imports

* renaming

* renamings

* rename node

* renamings

* Update integration-tests/src/constants.rs

Co-authored-by: Leonardo Razovic <4128940+lrazovic@users.noreply.github.com>

* renamings

* fmt

* fixes

---------

Co-authored-by: Leonardo Razovic <4128940+lrazovic@users.noreply.github.com>
  • Loading branch information
JuaniRios and lrazovic authored Mar 21, 2024
1 parent 6f58648 commit 0fb2ef3
Show file tree
Hide file tree
Showing 57 changed files with 893 additions and 860 deletions.
204 changes: 102 additions & 102 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,5 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch
cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "release-v1.0.0" }

# Runtimes
polimec-parachain-runtime = { path = "runtimes/testnet"}
polimec-base-runtime = { path = "runtimes/base" }
politest-runtime = { path = "runtimes/politest" }
polimec-runtime = { path = "runtimes/polimec" }
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Polimec is a blockchain platform built on Substrate, designed for robustness and
1. **Clone the Polimec Repository**:
`git clone <Polimec Repository URL>`
2. **Compile the source**:
`cargo build --release --package polimec-parachain-node`
`cargo build --release --package polimec-node`
3. **Add the Polimec node binary to your PATH**:
`cp target/release/polimec-parachain-node ~/.local/bin/polimec`
`cp target/release/polimec-node ~/.local/bin/polimec`

### Running the Network

Expand All @@ -59,7 +59,7 @@ Polimec is a blockchain platform built on Substrate, designed for robustness and
authorizeUpgrade : 0xe8d26589c2c5257c3f52e21ba420eb0c6fd25fa5cee0878bc183ca0256dee9bc
IPFS : Qmbi9ymmCdJVJCLsBAmYKWGYgYjGuHJLRdCPj9fvXQ3X9U
BLAKE2_256 : 0x7ac6016ddf9179bb2d6d0284df4d60323519f20016647ba887057756d131b51e
Wasm : runtimes/testnet/target/srtool/release/wbuild/polimec-parachain-runtime/polimec_parachain_runtime.compact.wasm
Wasm : runtimes/testnet/target/srtool/release/wbuild/politest-runtime/politest_runtime.compact.wasm
== Compressed
Version : polimec-mainnet-2 (polimec-mainnet-0.tx1.au1)
Expand All @@ -70,7 +70,7 @@ Polimec is a blockchain platform built on Substrate, designed for robustness and
authorizeUpgrade : 0x8dcd2827b4c86be23da13a93a8d63a38ad4952c1450738ed8471982bcb4fc714
IPFS : QmPFr7QRFKM5jSuYfBNAg21dfiKEpvMxXMydLDZuW9yLFH
BLAKE2_256 : 0x7341cc921de52eaea99af5865c3e36562cf49158dcb961daef3c2e06f531ae00
Wasm : runtimes/testnet/target/srtool/release/wbuild/polimec-parachain-runtime/polimec_parachain_runtime.compact.compressed.wasm
Wasm : runtimes/testnet/target/srtool/release/wbuild/politest-runtime/politest_runtime.compact.compressed.wasm
```
- **Utility Scripts**: Check the `scripts` directory for useful scripts. Use [just](https://github.com/casey/just) for executing scripts, e.g., `$ just build-parachain-node`.

Expand All @@ -87,7 +87,7 @@ Available recipes:
build-parachain-srtool # Build the "Testnet" Runtime using srtool
create-chainspec-base # Create the "Base" Runtime Chainspec
default # Help information
docker-build tag="latest" package="polimec-parachain-node" # Build the Node Docker Image
docker-build tag="latest" package="polimec-node" # Build the Node Docker Image
run-node # Run the "Standalone" node in --dev mode
test-runtime-features # Test the runtimes features
zombienet path_to_file="scripts/zombienet/native/base-rococo-local.toml" # Use zombienet to spawn rococo + polimec testnet
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ pallet-treasury.workspace = true
# Runtimes
polkadot-runtime.workspace = true
asset-hub-polkadot-runtime.workspace = true
polimec-parachain-runtime.workspace = true
polimec-base-runtime.workspace = true
polimec-runtime.workspace = true
politest-runtime.workspace = true
penpal-runtime = { path = "./penpal", default-features = false }

[features]
default = [ "instant-mode", "std" ]
instant-mode = [
"polimec-base-runtime/instant-mode",
"polimec-parachain-runtime/instant-mode",
"polimec-runtime/instant-mode",
"politest-runtime/instant-mode",
]
std = [
"asset-hub-polkadot-runtime/std",
Expand Down Expand Up @@ -113,7 +113,7 @@ std = [
"penpal-runtime/std",
"polimec-common/std",
"polimec-common-test-utils/std",
"polimec-parachain-runtime/std",
"politest-runtime/std",
"polimec-receiver/std",
"polkadot-core-primitives/std",
"polkadot-parachain/std",
Expand Down
Loading

0 comments on commit 0fb2ef3

Please sign in to comment.