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

Make compatible with Polkadot, Kusama and Rococo #217

Open
wants to merge 80 commits into
base: ilya/parachain-update
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
c080905
Updated dependencies to polkadot-v0.9.8 and made corresponding change…
Aug 5, 2021
98cc33d
Fixed compilation error in runtime and modified to make it compatible…
Aug 6, 2021
3368f5e
Fix compilation issue and made changes in node directory
Aug 6, 2021
a9c02c6
Modified Rust version in workflows
Aug 9, 2021
ba912a4
Fix test-cases compilation issue in pallets
Aug 10, 2021
1594c91
changes to fix runtime tests
Aug 10, 2021
d9341d3
Fixed test-cases
Aug 11, 2021
038cc57
Fixed build failure issue
Aug 23, 2021
aa1c30c
Changes to make it similar to master branch
Aug 24, 2021
7aa29a0
Fix build
Sep 14, 2021
0eec247
Merge pull request #226 from riusricardo/ricardo-fix-build
ayushmishra2005 Sep 14, 2021
e5b7cf2
Updated cargo.lock
Sep 14, 2021
699879c
Updated to Polkadot0.9.9
Sep 14, 2021
e6786f1
CHange order in construct runtime
Sep 16, 2021
4308b44
Changes to fix genesis issue
Sep 16, 2021
8c57211
removed babe and grandpa & minor refactoring
Sep 21, 2021
f72fb3b
Refactored code according to Polkadot 0.9.9
Sep 22, 2021
963b80a
changes to fix block production issue
Sep 23, 2021
8d10d43
refacoring
Sep 29, 2021
c70229d
Used upstream parachain-info
Sep 29, 2021
923316f
Fix block production issue
Oct 1, 2021
88fbf45
updated type definition
Oct 1, 2021
f456e3c
Update runtime/src/lib.rs
ayushmishra2005 Oct 4, 2021
8f62905
Addressed PR comment
Oct 4, 2021
b0b9b68
Addressed PR comment
Oct 4, 2021
884f326
Addressed PR comment
Oct 4, 2021
a8ca38b
Addressed PR comment
Oct 4, 2021
7826735
Addressed PR comment
Oct 4, 2021
7cd59b4
Addressed PR comment
Oct 4, 2021
7a92376
Addressed PR comment
Oct 4, 2021
b70f2fa
Updated SS58Prefix
Oct 4, 2021
18f965a
correct indentation
Oct 4, 2021
2ba0bb9
Addressed PR comment
Oct 5, 2021
52db6c3
Addressed PR comment
Oct 5, 2021
59bcdee
renamed datahighway-runtime to datahighway-parachain-runtime
Oct 6, 2021
b7fffa8
Addressed PR comments
Oct 6, 2021
5b74570
Addressed PR comments
Oct 6, 2021
7cab1e6
Addressed PR comments
Oct 6, 2021
f8fea26
Addressed PR comments
Oct 6, 2021
586f23d
Addressed PR comments
Oct 7, 2021
48766ae
Addressed PR comments
Oct 7, 2021
fe713e7
Addressed PR comments
Oct 7, 2021
ffc0d3d
Updated to Polkadot 0.9.10
Oct 7, 2021
84ed000
Modify chain-spec name
Oct 11, 2021
ed5d96f
Added initial_authorities
Oct 11, 2021
06ebbed
fixed compilation error
Oct 11, 2021
465619b
Addressed PR comments
Oct 11, 2021
b836fb3
Addressed PR comments
Oct 12, 2021
a2d58e4
Addressed PR comments
Oct 12, 2021
ebcb45e
Addressed PR comments
Oct 12, 2021
c852e54
Endow the root Sudo account to cover transaction fees
Oct 13, 2021
774129a
Updated Aura keys
Oct 13, 2021
ad38e29
Replaced Keys
Oct 16, 2021
ea6d098
Added chain_spec config for westend and polkadot
Oct 25, 2021
0dc0e5a
Update chain_spec.rs
ayushmishra2005 Oct 25, 2021
3781644
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
54a531b
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
288d7ed
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
3bd5068
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
59389ef
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
f45ed71
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
a26c180
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
7e224b9
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
6ad5a7e
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
62b1149
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
4b4a469
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
7d02084
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
935d4d3
Update node/src/chain_spec.rs
ayushmishra2005 Oct 25, 2021
02dcd23
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
c344f1b
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
58a9839
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
951d9f0
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
5c87acf
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
c421509
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
313ec94
Update node/src/chain_spec.rs
ayushmishra2005 Oct 26, 2021
446c120
Addressed PR comments
Oct 26, 2021
839a958
Addressed PR comments
Oct 26, 2021
e6fb0e3
endow the aura authorities. mention what the endowed keys are
ltfschoen Oct 26, 2021
9714b13
Endowed Aura accounts for rococo_parachain_config, chachacha_parachai…
Oct 27, 2021
7c2be28
Used different token name in westend_parachain_config other than DHX
Oct 27, 2021
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
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@master

- name: Add wasm toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2020-12-12
toolchain: nightly-2021-06-21
target: wasm32-unknown-unknown
override: true

- name: Initialize environment and build
run: |
rustup update stable
rustup toolchain install nightly-2020-12-12
rustup default nightly-2020-12-12
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
rustup toolchain install nightly-2021-06-21
rustup default nightly-2021-06-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21
cargo build --release

- name: Upload artifact
uses: actions/upload-artifact@v1
with:
Expand Down
39 changes: 20 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Initialize WASM build environment
run: |
rustup update stable
rustup toolchain install nightly-2020-12-12
rustup default nightly-2020-12-12
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
rustup toolchain install nightly-2021-06-21
rustup default nightly-2021-06-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21

- name: Run cargo check
run: cargo +nightly-2020-12-12 check
run: cargo +nightly-2021-06-21 check

test:
name: Test Suite
Expand All @@ -56,14 +56,14 @@ jobs:
- name: Initialize WASM build environment
run: |
rustup update stable
rustup toolchain install nightly-2020-12-12
rustup default nightly-2020-12-12
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
rustup toolchain install nightly-2021-06-21
rustup default nightly-2021-06-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21

# Runs integration tests in the runtime/tests folder
- name: Run All Tests
run: |
cargo +nightly-2020-12-12 test
cargo +nightly-2021-06-21 test

lints:
name: Lints
Expand All @@ -88,18 +88,19 @@ jobs:
override: true
components: rustfmt, clippy

# nightly-2020-12-12-x86_64-unknown-linux-gnu
# nightly-2021-06-21-x86_64-unknown-linux-gnu
- name: Initialize WASM build environment
run: |
rustup update stable
rustup toolchain install nightly-2020-12-12
rustup default nightly-2020-12-12
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
rustup toolchain install nightly-2021-06-21
rustup default nightly-2021-06-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-21

- name: Run cargo fmt
run: |
rustup component add rustfmt --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
cargo +nightly-2020-12-12 fmt --all -- --check
# Ignore use of Rust Linting since rearranging makes it challenging to update to latest Substrate
# - name: Run cargo fmt
# run: |
# rustup component add rustfmt --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
# cargo +nightly-2021-06-21 fmt --all -- --check

# Ignore use of Clippy until a clippy.toml file may be used. See README.md
# - name: Run cargo clippy
Expand All @@ -109,6 +110,6 @@ jobs:
# # args: --release -- -D warnings
# # FIXME - temporary fix below. See https://github.com/rust-lang/rust-clippy/issues/5094#issuecomment-579116431
# run: |
# rustup component add clippy --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
# rustup component add clippy-preview --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
# cargo +nightly-2020-12-12 clippy-preview -Zunstable-options
# rustup component add clippy --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
# rustup component add clippy-preview --toolchain nightly-2021-06-21-x86_64-unknown-linux-gnu
# cargo +nightly-2021-06-21 clippy-preview -Zunstable-options
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/datahighway ... \
### Run All Tests

```bash
cargo test -p datahighway-runtime &&
cargo test -p datahighway-parachain-runtime &&
cargo test -p roaming-operators &&
cargo test -p roaming-networks &&
cargo test -p roaming-organizations &&
Expand Down Expand Up @@ -107,14 +107,14 @@ cargo test -p mining-speed-boosts-lodgements-hardware-mining
### Run Integration Tests Only

```
cargo test -p datahighway-runtime
cargo test -p datahighway-parachain-runtime
```

#### Run Specific Integration Tests

Example
```
cargo test -p datahighway-runtime --test cli_integration_tests_mining_tokens
cargo test -p datahighway-parachain-runtime --test cli_integration_tests_mining_tokens
```

## Continuous Integration <a id="chapter-7a8301"></a>
Expand Down
Loading