Skip to content

Commit

Permalink
Merge pull request #682 from freeverseio/feature/sigma-chain-spec
Browse files Browse the repository at this point in the history
sigma chain spec && runtime 1702
  • Loading branch information
asiniscalchi authored Jul 22, 2024
2 parents 16bd9e5 + d75379e commit a5fcea3
Show file tree
Hide file tree
Showing 11 changed files with 418 additions and 436 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Build
run: |
cargo build --release --locked --package laos --features=try-runtime
- name: Try Runtime for Laos Omega
- name: Try Runtime for Laos Sigma
run: |
RUST_LOG=try-runtime ./target/release/laos try-runtime --runtime ./target/release/wbuild/laos-runtime/laos_runtime.wasm on-runtime-upgrade --checks=pre-and-post live --uri ws://174.138.104.13:9944
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "The LAOS parachain node."
repository = "https://github.com/freeverseio/laos.git"
homepage = "https://www.laosfoundation.io"
authors = ["Freeverse"]
version = "0.17.1"
version = "0.17.2"

[workspace]
resolver = "2"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ and it is targeting July 11th to start producing blocks.

### LAOS Testnets

LAOS currently has two testnets, named *KLAOS Nova* and *LAOS Omega*.
LAOS currently has two testnets, named *KLAOS Nova* and *LAOS Sigma*.
After launching to mainnet, KLAOS Nova will eventually be deprecated,
leaving *LAOS Omega* as the only officially supported testnet.
leaving *LAOS Sigma* as the only officially supported testnet.

KLAOS Nova is the testnet aimed at building your DApp, leveraging bridgeless minting, and all other EVM functionalities.

Expand All @@ -37,12 +37,12 @@ KLAOS Nova is the testnet aimed at building your DApp, leveraging bridgeless min
* ParaId: 2001
* EVM PalletInstance: 51

LAOS Omega is the testnet where all development undergoes final testing before being integrated in LAOS mainnet. Currently, LAOS Omega can be used to test staking functionality. Token transfers and EVM functionalities will be soon integrated.
LAOS Sigma is the testnet where all development undergoes final testing before being integrated in LAOS mainnet. Currently, LAOS Sigma can be used to test staking functionality. Token transfers and EVM functionalities will be soon integrated.

* Testnet: **LAOS Omega**
* Substrate RPC endpoint: [wss://rpc.laosomega.laosfoundation.io](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.laosomega.laosfoundation.io#/rpc)
* Testnet: **LAOS Sigma**
* Substrate RPC endpoint: [wss://rpc.laossigma.laosfoundation.io](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.laossigma.laosfoundation.io#/rpc)
* ParaId: 4006
* EVM Chain ID: 62831
* EVM Chain ID: 62850


### LAOS Parachain:
Expand All @@ -55,7 +55,7 @@ The quickest entry point to run your own LAOS Parachain node:
$ docker run freeverseio/laos-node:<release> --chain=<chain_name>
```
where:
* `<chain_name>` shall be set to `klaosnova` or `laosomega` to operate on the testnets, and
* `<chain_name>` shall be set to `klaosnova` or `laossigma` to operate on the testnets, and
* `<release>` shall be chosen among the available releases published [here](https://github.com/freeverseio/laos/releases).

# Contributing
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import EvolutionCollectionFactory from "../build/contracts/EvolutionCollectionFa

// Node config
export const RUNTIME_SPEC_NAME = "laos";
export const RUNTIME_SPEC_VERSION = 1701;
export const RUNTIME_SPEC_VERSION = 1702;
export const RUNTIME_IMPL_VERSION = 0;
export const RPC_PORT = 9999;

Expand Down
4 changes: 2 additions & 2 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {
"laos" | "" => Box::new(chain_spec::laos::ChainSpec::from_json_bytes(
&include_bytes!("../../specs/laos.raw.json")[..],
)?),
"laos-omega" => Box::new(chain_spec::laos::ChainSpec::from_json_bytes(
&include_bytes!("../../specs/laos-omega.raw.json")[..],
"laos-sigma" => Box::new(chain_spec::laos::ChainSpec::from_json_bytes(
&include_bytes!("../../specs/laos-sigma.raw.json")[..],
)?),
"laos-sun" => Box::new(chain_spec::laos::ChainSpec::from_json_bytes(
&include_bytes!("../../specs/laos-sun.raw.json")[..],
Expand Down
2 changes: 1 addition & 1 deletion runtime/laos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("laos"),
impl_name: create_runtime_str!("laos"),
authoring_version: 1,
spec_version: 1701,
spec_version: 1702,
impl_version: 0,
apis: apis::PUBLIC_RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
278 changes: 0 additions & 278 deletions specs/laos-omega.plain.json

This file was deleted.

143 changes: 0 additions & 143 deletions specs/laos-omega.raw.json

This file was deleted.

267 changes: 267 additions & 0 deletions specs/laos-sigma.plain.json

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions specs/laos-sigma.raw.json

Large diffs are not rendered by default.

0 comments on commit a5fcea3

Please sign in to comment.