Skip to content
Open
Show file tree
Hide file tree
Changes from 105 commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
7482f5a
updated Substrate commit from 10th Feb with commit from 19th Feb
ltfschoen Jul 30, 2021
a4315e7
update to 22nd Feb commit 904495b and fixed error
ltfschoen Jul 30, 2021
e1e1499
update to commit 27e1f89
ltfschoen Jul 30, 2021
57cc983
update to commit 1c434cd. add ElectionProvider
ltfschoen Jul 30, 2021
52ae4f3
update to commit 28107d4 dated 26th Feb
ltfschoen Jul 30, 2021
374747e
update to Substrate commit ac1f7ff32 replacing debug::info with just …
ltfschoen Jul 30, 2021
9853508
remove option from pallets in chain_spec.rs
ltfschoen Jul 30, 2021
b2ad1fd
update to Substrate commit 7e5c30709d0d6bae01e1eb9412d17cdf1620af7d
ltfschoen Jul 30, 2021
e3fa9ff
update to commit 8fca15b79 and update rustup to latest nightly-2021-0…
ltfschoen Jul 30, 2021
63daebd
update to Substrate commit b6c2c5d08da7f2dc7322c797176dad967c636046
ltfschoen Jul 30, 2021
76e535e
update to Substrate 24613496216b8c991baa24b26afc8346d313fbf5
ltfschoen Jul 30, 2021
81abe89
update to Substrate b24c43af1a77168feed445136ea4569f1d132c3a
ltfschoen Jul 30, 2021
782e7b8
update to Substrate commit 6ac86d545f6da8e4afc373dc0876c3e7ba79e51b
ltfschoen Jul 30, 2021
916ed8f
update to Substrate commit 1e045f218db16027197dc11ac04220896321260f
ltfschoen Jul 30, 2021
101baed
update to Substrate commit 354176941e29f5da533b389879c3b64af5da6b76
ltfschoen Jul 30, 2021
ad423c7
update to Substrate commit 319d244f6a2601a1a6f62595fcc7f5976615d50e
ltfschoen Jul 30, 2021
247b92c
update to Substrate commit 211be1d5f477fa025f7813238b95a1524ad4212f
ltfschoen Jul 30, 2021
4acdb95
update to Substrate commit 46ea7e7f0b511429f5d44d104aee3e2560b11146
ltfschoen Jul 30, 2021
f76e6c3
update to Substrate commit cc24950837d3a98727b12ba9229f2aabb67f411c
ltfschoen Jul 30, 2021
9c6f782
update to Substrate commit 4365fa6f95f0de4a97d0238cef7111f1e284da97
ltfschoen Jul 30, 2021
5f4efe2
update to Substrate commit bb8ab898e042e90eea3cdd3325f533f39562934f
ltfschoen Jul 30, 2021
6dc74a0
update to Substrate commit 283bb60954d6809a76e52619e58c78fb8053e3eb
ltfschoen Jul 30, 2021
8b525c6
update to Substrate commit 4df3c9ac85d6a4e2a8e6a5553de416eab0853c02
ltfschoen Jul 31, 2021
cf121ba
update to Substrate commit 91f45595ad28463205a6b207b8487290125266c2
ltfschoen Jul 31, 2021
8d848e2
update to Substrate commit 2e34d473e6ba81b454eb039544f2162975c0b30b
ltfschoen Jul 31, 2021
a7a19ae
update to Substrate commit 56b9d48c92cd2aff9b1da83fe66e45de7860fd97
ltfschoen Jul 31, 2021
5ddd70d
update to Substrate commit a2fdd15c047289426e6023f393ee9172d81cc0ff
ltfschoen Jul 31, 2021
a309abe
update to Substrate commit f794140759d8bf9aa03483d663e86f2272090009
ltfschoen Jul 31, 2021
c99331e
update to Substrate commit 22193e0c73207857bef06e8c864b289384ef9a04
ltfschoen Jul 31, 2021
d722f43
update to Substrate commit fea6aa2e37c9d55b6b7f1ea359e05e0614adfd29
ltfschoen Jul 31, 2021
10fea1d
update to Substrate commit 4898eb350d636d439827cb43f0f26e72e66492fa
ltfschoen Jul 31, 2021
5030484
update to Substrate commit 22f09c602704aeee2b59b14f427f73f6cb8b5e2f
ltfschoen Jul 31, 2021
2f51b36
update to Substrate commit 92c15dd1e9b1f8e3c7e8d936c9b6fb15a46c2941
ltfschoen Jul 31, 2021
baaa808
update to Substrate commit a8ada8a654a1e50d855345d07f5f8f8cbce0a818
ltfschoen Jul 31, 2021
ffd4f1f
updated to Substrate commit efd262f1a791be0a7986b25bd302338a590b46d3
ltfschoen Jul 31, 2021
12ef8e6
update to Substrate commit a76cc733f4fe895d8be002ce13fdae0ca1ba555e
ltfschoen Jul 31, 2021
4201cea
update to Substrate commit 9ed9f3a55a58265f53419e2b62f09c6b03652fa0
ltfschoen Jul 31, 2021
83521a8
update to Substrate commit 1305ec84b7789f5eee120913ed94dd17a1e5a76f
ltfschoen Jul 31, 2021
8696a0a
update to Substrate commit 925f170d1a1f588cf61d7a366c2d744dd16392a6
ltfschoen Jul 31, 2021
da3200c
update to Substrate commit 7ba4e4ced0c0ed4ce8ccba6b36f6d53d7de3db89
ltfschoen Jul 31, 2021
3dba0d7
update to Substrate commit d6e4db6c30667bf3524abced8428401ab141b07a
ltfschoen Jul 31, 2021
4de4e15
update to Substrate commit 6d82c02611c51a5c54d60e02c3c104b10aa3ae71
ltfschoen Jul 31, 2021
e5fc0c3
update to Substrate commit 9e42949aeb8779a36a4c1f8cff037570815f9aff
ltfschoen Jul 31, 2021
0f17dd3
update to Susbtrate commit 6b3c76a23ed18c5d4f2149edebd85063a85a8218
ltfschoen Jul 31, 2021
f504f4a
update to Substrate commit c666a251691300c1651075a3b59ba1cf59c5a664
ltfschoen Jul 31, 2021
d8b63ba
update to Substrate commit d03a91a181d0b22d00a6b9ba2a8007dc254779e3 a…
ltfschoen Jul 31, 2021
832422f
fix tests so they pass with new Substrate updates to commit d03a91a18…
ltfschoen Jul 31, 2021
2cc7918
fix unit tests so pass
ltfschoen Aug 1, 2021
14f082a
update to Substrate commit 68264f1953790cca57ef2623d1eb6362eb0149a4
ltfschoen Aug 1, 2021
e89951f
update to Substrate commit deac6324a16fc4128b94a7b4c3826eebcb86917f
ltfschoen Aug 1, 2021
8534cf8
change value of type BaseCallFilter of frame_system for tests
ltfschoen Aug 1, 2021
5c5504f
update to Substrate commit efd54879ecbf8aac41fe809d31c7215ea3101241
ltfschoen Aug 2, 2021
087cb04
update to Substrate commit 2543f6f6d80b374da8a2986a258987f20c0c28c6
ltfschoen Aug 2, 2021
50509c8
update to Substrate commit 993907f9deb180795b291ba752b9c204165d74dc
ltfschoen Aug 2, 2021
0741747
update to Substrate commit 1d5abf01abafdb6c15bcd0172f5de09fd87c5fbf
ltfschoen Aug 2, 2021
25adfd6
update to Substrate commit 0ae6aac3b0f8bea55bf91737a179fa01cd50f13f
ltfschoen Aug 2, 2021
6250246
update to Substrate commit a41578d5d27c56f2843d5e513d007e891d0b4129 (…
ltfschoen Aug 2, 2021
67d3adf
update to 3.0.6. update spec_version to 9, reset impl_version to 0. f…
ltfschoen Aug 2, 2021
fd4ff4c
Switch to Substrate commit 4d28ebeb8b027ca0227fe7779c5beb70a7b56467 s…
ltfschoen Aug 13, 2021
fc64136
update Cargo.lock
ltfschoen Aug 16, 2021
55dbeea
generate chain spec and definitions and wasm to upgrade to 3.0.6
ltfschoen Aug 16, 2021
3630320
feat: MMD-1309 / Convert from Babe to Aura. Single initial authority …
ltfschoen Aug 30, 2021
5c3cb08
fix merge conflicts
ltfschoen Aug 30, 2021
484b12e
generate new chain spec and definition and wasm file for v3.0.6
ltfschoen Aug 30, 2021
8b00c38
feat: MMD-1309 / Update from Substrate 3 to latest commit 852bab07340…
ltfschoen Sep 2, 2021
c04e02c
remove old wasm
ltfschoen Sep 2, 2021
d230b31
update chain spec and def and wasm
ltfschoen Sep 2, 2021
f58614c
add bob vec
Nov 25, 2021
23a9a88
feat: import hardspoon account balances from bricked standalone chain…
ltfschoen Mar 4, 2022
a98670c
move chain spec and definitions into res/ folder
ltfschoen Mar 4, 2022
e643394
merge latest master
ltfschoen Mar 4, 2022
3e8d220
remove old chain specs
ltfschoen Mar 4, 2022
0a4388c
update to substrate commit 1309f52711e2bb2dc019a22d802b771b7bd3e4ef
ltfschoen Mar 4, 2022
f58d472
update to substrate commit e232df15bd4ccb834ebc16eaaab494938eb080c2
ltfschoen Mar 7, 2022
25f71fc
merge master
ltfschoen Mar 7, 2022
2c5d596
update to substrate commit 0bc873d571cacd96959f652b27e6f5735720e305
ltfschoen Mar 7, 2022
ddcba44
update to substrate commit 508c5a746ae7eedd9170b213ca98e3ce857f5790
ltfschoen Mar 7, 2022
0a5ecc6
update to substrate version 69fa67d0a7647f3b33f679494684859e56161197 …
ltfschoen Mar 7, 2022
9d6382a
update to substrate commit 26d69bcbe26f6b463e9374e1b1c54c3067fb6131
ltfschoen Mar 7, 2022
7441a83
update to substrate commit abca10f32a1844d4d05884c92ea2e08b17c6b8c3
ltfschoen Mar 7, 2022
20e890e
update to substrate commit 3374a73c9824638b8270062b104906a714ea14f9
ltfschoen Mar 8, 2022
7f86852
update to substrate commit 3f3cc90c06a1e0a7a93dbd5b660a475e9b4a783e
ltfschoen Mar 8, 2022
a1c04fa
update to substrate commit 3904d77ad2499ab36b242e52fbe23d5cd8773ad9
ltfschoen Mar 8, 2022
5239688
update to substrate commit c6f86e139d57a37511af769c49b426c2fff3f260
ltfschoen Mar 8, 2022
b825903
update to substrate commit 8a3434bb5e8f204107644cd32f97f5ba76d8714f
ltfschoen Mar 8, 2022
93f516b
update to substrate commit 28ae4ba635527df4fdaaf9a8e8897140eaa1f59d
ltfschoen Mar 8, 2022
840e784
fix tests
ltfschoen Mar 8, 2022
e8f5eeb
update to substrate commit 4d24ae04ec8c60fe7eca069df09d1ac0a636a80c
ltfschoen Mar 8, 2022
a37fc22
update to substrate commit 55cd07a7e22c26932f7bd16b87ea5a7569e38eb4
ltfschoen Mar 8, 2022
2340edc
update to substrate commit f32e7932fc24e6a6f20c6265c98d2e869f8ff92d
ltfschoen Mar 8, 2022
0a56ac0
update to substrate commit 027368fe34e9a57ead752d4f900db6b5f85352e6
ltfschoen Mar 8, 2022
b9d044a
update to substrate commit 50ab759f7a3194173ce8da0937ec2d888dee10e0
ltfschoen Mar 8, 2022
557b42d
update to substrate commit 4db2f22446edc340374a0e16243136b7222b0d0e
ltfschoen Mar 9, 2022
7772421
revert to older nightly to try avoid asm error
ltfschoen Mar 9, 2022
a67c794
update to substrate commit 50156013c9316cd8849cb3db34670d046b8d66ea
ltfschoen Mar 9, 2022
97c964a
update to substrate commit 50156013c9316cd8849cb3db34670d046b8d66ea
ltfschoen Mar 9, 2022
3dba0e0
update to substrate commit 0f070c8020fad552247fd4b43c1a6a4506e456b5
ltfschoen Mar 9, 2022
d16c655
update to substrate commit e2d1f1823796cb767b40d9003ac2ee145e0837a4
ltfschoen Mar 9, 2022
cb65008
update to substrate commit fb4f3ecb89ce4c3f144636a9ce9766325946dd58
ltfschoen Mar 9, 2022
ed6034e
update to substrate commit 36c38fb26b362ee0666d655ad5d6ad7279ba7e07
ltfschoen Mar 9, 2022
598f948
update to substrate commit 7e643ceabf11858cd3c059579ab45794793f2a78
ltfschoen Mar 9, 2022
a8ac31a
update to substrate commit 0ac1a00c54a65416ed44e4c779f1483e32355130
ltfschoen Mar 9, 2022
0085157
update to substrate commit 46c67a84587a4f02740e956b9736ad0be970c5f9
ltfschoen Mar 9, 2022
cd92dab
update to substrate commit 0063f74287d29ff347121fcd23a00f1d8b1e4a57
ltfschoen Mar 10, 2022
e61bea7
update to substrate commit dfe52f7de12a7e308c0bc3a25e211b9cc4d61871
ltfschoen Mar 10, 2022
b64f563
Revert "update to substrate commit dfe52f7de12a7e308c0bc3a25e211b9cc4…
ltfschoen Mar 11, 2022
1ffe3b4
Revert "update to substrate commit 0063f74287d29ff347121fcd23a00f1d8b…
ltfschoen Mar 11, 2022
e5a2454
Revert "update to substrate commit 46c67a84587a4f02740e956b9736ad0be9…
ltfschoen Mar 11, 2022
a459bf6
Revert "update to substrate commit 0ac1a00c54a65416ed44e4c779f1483e32…
ltfschoen Mar 11, 2022
08ef23e
update to substrate commit 27b8806ed82844bb5283a4dadf853ee518fd042f
ltfschoen Mar 11, 2022
85986a0
switch to equivalent branch polkadot-v0.9.17
ltfschoen Mar 11, 2022
2fdb0cd
fix linting review comments
ltfschoen Mar 11, 2022
eccaaaa
consistent single quotes in Cargo.toml files
ltfschoen Mar 11, 2022
e801858
replace Module with Pallet to remove annoying warning
ltfschoen Mar 11, 2022
b043397
replace const with capitals
ltfschoen Mar 11, 2022
aac19cf
increase hardspoon balances to at least existential deposit of 0.001 …
ltfschoen Mar 14, 2022
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
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
- name: Add wasm toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-03-10
toolchain: nightly-2021-12-15
target: wasm32-unknown-unknown
override: true

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

- name: Upload artifact
Expand Down
90 changes: 45 additions & 45 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-2021-03-10
rustup default nightly-2021-03-10
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-03-10
rustup toolchain install nightly-2021-12-15
rustup default nightly-2021-12-15
rustup target add wasm32-unknown-unknown --toolchain nightly-2021-12-15

- name: Run cargo check
run: cargo +nightly-2021-03-10 check
run: cargo +nightly-2021-12-15 check

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

# Runs integration tests in the runtime/tests folder
- name: Run Integration Tests across all runtime modules
run: |
cargo +nightly-2021-03-10 test -p datahighway-runtime
cargo +nightly-2021-12-15 test -p datahighway-runtime

# Runs unit tests in each runtime module of the pallet folder
- name: Run Unit Tests in each runtime module
run: |
cargo +nightly-2021-03-10 test -p roaming-operators &&
cargo +nightly-2021-03-10 test -p roaming-networks &&
cargo +nightly-2021-03-10 test -p roaming-organizations &&
cargo +nightly-2021-03-10 test -p roaming-network-servers &&
cargo +nightly-2021-03-10 test -p roaming-devices &&
cargo +nightly-2021-03-10 test -p roaming-routing-profiles &&
cargo +nightly-2021-03-10 test -p roaming-service-profiles &&
cargo +nightly-2021-03-10 test -p roaming-accounting-policies &&
cargo +nightly-2021-03-10 test -p roaming-agreement-policies &&
cargo +nightly-2021-03-10 test -p roaming-network-profiles &&
cargo +nightly-2021-03-10 test -p roaming-device-profiles &&
cargo +nightly-2021-03-10 test -p roaming-sessions &&
cargo +nightly-2021-03-10 test -p roaming-billing-policies &&
cargo +nightly-2021-03-10 test -p roaming-charging-policies &&
cargo +nightly-2021-03-10 test -p roaming-packet-bundles &&
cargo +nightly-2021-03-10 test -p mining-setting-token &&
cargo +nightly-2021-03-10 test -p mining-setting-hardware &&
cargo +nightly-2021-03-10 test -p mining-rates-token &&
cargo +nightly-2021-03-10 test -p mining-rates-hardware &&
cargo +nightly-2021-03-10 test -p mining-sampling-token &&
cargo +nightly-2021-03-10 test -p mining-sampling-hardware &&
cargo +nightly-2021-03-10 test -p mining-eligibility-token &&
cargo +nightly-2021-03-10 test -p mining-eligibility-hardware &&
cargo +nightly-2021-03-10 test -p mining-eligibility-proxy &&
cargo +nightly-2021-03-10 test -p mining-claims-token &&
cargo +nightly-2021-03-10 test -p mining-claims-hardware &&
cargo +nightly-2021-03-10 test -p mining-execution-token &&
cargo +nightly-2021-03-10 test -p exchange-rate
cargo +nightly-2021-12-15 test -p roaming-operators &&
cargo +nightly-2021-12-15 test -p roaming-networks &&
cargo +nightly-2021-12-15 test -p roaming-organizations &&
cargo +nightly-2021-12-15 test -p roaming-network-servers &&
cargo +nightly-2021-12-15 test -p roaming-devices &&
cargo +nightly-2021-12-15 test -p roaming-routing-profiles &&
cargo +nightly-2021-12-15 test -p roaming-service-profiles &&
cargo +nightly-2021-12-15 test -p roaming-accounting-policies &&
cargo +nightly-2021-12-15 test -p roaming-agreement-policies &&
cargo +nightly-2021-12-15 test -p roaming-network-profiles &&
cargo +nightly-2021-12-15 test -p roaming-device-profiles &&
cargo +nightly-2021-12-15 test -p roaming-sessions &&
cargo +nightly-2021-12-15 test -p roaming-billing-policies &&
cargo +nightly-2021-12-15 test -p roaming-charging-policies &&
cargo +nightly-2021-12-15 test -p roaming-packet-bundles &&
cargo +nightly-2021-12-15 test -p mining-setting-token &&
cargo +nightly-2021-12-15 test -p mining-setting-hardware &&
cargo +nightly-2021-12-15 test -p mining-rates-token &&
cargo +nightly-2021-12-15 test -p mining-rates-hardware &&
cargo +nightly-2021-12-15 test -p mining-sampling-token &&
cargo +nightly-2021-12-15 test -p mining-sampling-hardware &&
cargo +nightly-2021-12-15 test -p mining-eligibility-token &&
cargo +nightly-2021-12-15 test -p mining-eligibility-hardware &&
cargo +nightly-2021-12-15 test -p mining-eligibility-proxy &&
cargo +nightly-2021-12-15 test -p mining-claims-token &&
cargo +nightly-2021-12-15 test -p mining-claims-hardware &&
cargo +nightly-2021-12-15 test -p mining-execution-token &&
cargo +nightly-2021-12-15 test -p exchange-rate

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

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

# 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-03-10-x86_64-unknown-linux-gnu
# cargo +nightly-2021-03-10 fmt --all -- --check
# rustup component add rustfmt --toolchain nightly-2021-12-15-x86_64-unknown-linux-gnu
# cargo +nightly-2021-12-15 fmt --all -- --check

# Ignore use of Clippy until a clippy.toml file may be used. See README.md
# - name: Run cargo clippy
Expand All @@ -142,6 +142,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-2021-03-10-x86_64-unknown-linux-gnu
# rustup component add clippy-preview --toolchain nightly-2021-03-10-x86_64-unknown-linux-gnu
# cargo +nightly-2021-03-10 clippy-preview -Zunstable-options
# rustup component add clippy --toolchain nightly-2021-12-15-x86_64-unknown-linux-gnu
# rustup component add clippy-preview --toolchain nightly-2021-12-15-x86_64-unknown-linux-gnu
# cargo +nightly-2021-12-15 clippy-preview -Zunstable-options
Loading