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

Consensus migration stage 1: Enable Nimbus-Aura #582

Merged
merged 209 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
d94af2a
Inital refactor, does not compile
ghzlatarev May 20, 2022
5e593b6
Inital refactor, does not compile
ghzlatarev May 20, 2022
cddf592
Inital refactor, does not compile
ghzlatarev May 20, 2022
14b45a7
Compiles
ghzlatarev May 20, 2022
3dd1a7d
Should work
ghzlatarev May 20, 2022
1cb4856
AssetId and u32 thing
ghzlatarev May 21, 2022
24ebc04
Works with concrete Balance and AssetId
ghzlatarev May 21, 2022
a5b9d33
Works with concrete Balance and AssetId
ghzlatarev May 21, 2022
43e42c7
Simplify and error handling
ghzlatarev May 21, 2022
7987395
Names
ghzlatarev May 21, 2022
7db7e6f
Names
ghzlatarev May 21, 2022
898f7a1
Use new struct for AssetTransactor
ghzlatarev May 21, 2022
20bd1bf
Clean up
ghzlatarev May 22, 2022
7c93913
Fix runtime/common/Cargo.toml
ghzlatarev May 23, 2022
c9c6034
Fix tests
ghzlatarev May 24, 2022
e0f3cce
Clean up
ghzlatarev May 24, 2022
53abbcd
Comments
ghzlatarev May 24, 2022
9de2e65
Fix integration test
ghzlatarev May 24, 2022
a0c0606
Fix manta-pay test, changelog, more clean up
ghzlatarev May 24, 2022
7d6dfe1
Add trace logs in TransactAsset impl
ghzlatarev May 24, 2022
acbe9f6
Equalize Barrier impl between production and xcm-mock
ghzlatarev May 27, 2022
6652095
Rever the Barrier change to not explode the scope of the PR
ghzlatarev May 27, 2022
14b30cb
equalize barrier
ghzlatarev May 27, 2022
c0b44e2
Merge branch 'manta' into ghzlatarev/refactor-transactor
bhgomes May 28, 2022
39c5d14
Bump deps to v0.9.22
Dengjianping Jun 4, 2022
bc741ae
Resolve merge conflicts with manta
ghzlatarev Jun 6, 2022
5bd9669
Merge branch 'ghzlatarev/refactor-transactor' of https://github.com/M…
ghzlatarev Jun 6, 2022
a2df0ea
Fix merge conflicts
ghzlatarev Jun 10, 2022
9e9426d
Add comments
ghzlatarev Jun 10, 2022
925b3ff
equalize-barrier works, resolved merge conflicts
ghzlatarev Jun 10, 2022
e9c9943
Resolve merge conflicts
ghzlatarev Jun 20, 2022
0412674
Taplo fmt
ghzlatarev Jun 20, 2022
db026b6
Fix clippy
ghzlatarev Jun 20, 2022
1c6dd65
[no ci]Merge branch 'manta' into jamie/v0.9.22
Dengjianping Jun 21, 2022
3f92ea3
Refactor rpc service
Dengjianping Jun 21, 2022
8c13100
Merge branch 'manta' into jamie/v0.9.22
Dengjianping Jun 21, 2022
0bed1f8
Fix fmt
Dengjianping Jun 21, 2022
e77d96b
Fix build
Dengjianping Jun 21, 2022
0775163
Merge branch 'manta' into jamie/v0.9.22
Dengjianping Jun 21, 2022
2d57514
Fix fmt and mark rpc/ws port as unsafe to fix CI test
Dengjianping Jun 27, 2022
d340adc
PR comments
ghzlatarev Jun 27, 2022
a1da14b
Fix merge conflicts
ghzlatarev Jun 27, 2022
201fbed
Bump rand to 0.8.5
Dengjianping Jun 27, 2022
32ee3a9
Fix clippy
Dengjianping Jun 27, 2022
3717ff8
Revert how assets are registered
ghzlatarev Jun 27, 2022
71c9b84
Fix clippy
ghzlatarev Jun 28, 2022
136390d
Fix build
Dengjianping Jun 28, 2022
0287838
Add more barrier tests
ghzlatarev Jun 28, 2022
92a6a65
Fix merge conflicts
ghzlatarev Jun 28, 2022
095613c
Get rid of redundant parent exec plurality barrier
ghzlatarev Jun 28, 2022
37fae6a
fix changelog
ghzlatarev Jun 29, 2022
bb7b300
Fix more merge conflicts in Changelog
ghzlatarev Jun 29, 2022
39040bc
Cover allow death case
ghzlatarev Jun 29, 2022
b2ba2b4
Cover allow death case
ghzlatarev Jun 29, 2022
d586ce0
Update comment
ghzlatarev Jun 29, 2022
9f672e9
Fix merge conflicts
ghzlatarev Jun 30, 2022
7767133
Fix merge conflicts with manta
ghzlatarev Jun 30, 2022
43409ba
Fix clippy
ghzlatarev Jun 30, 2022
98fe688
Changelog
ghzlatarev Jul 1, 2022
1461f82
wip: Add nimbus to dolphin RT
Jun 28, 2022
fb30d92
DOL: Add nimbus session keys, add disabled Nimbus AuthorInherent pallet
Jul 5, 2022
bc7b1fb
Remove license check from rustfmt (deprecated)
Jul 5, 2022
30f7ad0
fix messed up rebase
Jul 5, 2022
e9b0dde
Fix compilation
Jul 5, 2022
678ab42
fix rustfmt formatting
Jul 5, 2022
9254a7b
KMA/DOL: enable nimbus and vrf keys
Jul 6, 2022
e037618
KMA enable new SessionKeys
Jul 6, 2022
a448f57
Update Changelog
Jul 6, 2022
ebcafb3
Improve assert and add 2 more must-fail cases
ghzlatarev Jul 6, 2022
7f32ef4
add std feature of nimbus pallets
Jul 6, 2022
06a2b6a
Merge branch 'manta' into jamie/v0.9.22
Dengjianping Jul 6, 2022
1a7b439
Add new dummy keys in integration_test
Jul 6, 2022
35d9a7e
fix includes
Jul 6, 2022
b67e9b3
remove stale variables
Jul 6, 2022
71fa092
bump transaction_version
Jul 6, 2022
44ee314
Revert "bump transaction_version"
Jul 6, 2022
978fbb8
Resolve merge conflicts with Changelog
ghzlatarev Jul 7, 2022
79b5bb6
Fix benchmark
Dengjianping Jul 7, 2022
792bae7
resolve key type problems between dolmari and manta
Jul 7, 2022
4136ee4
remove unused includes
Jul 7, 2022
4d295be
derive key from aura, as it must be unique to its owner, duplicates a…
Jul 7, 2022
1c7b677
fix formatting
Jul 7, 2022
9d6084c
fix missing import
Jul 7, 2022
791310b
Merge remote-tracking branch 'origin/manta' into garandor/nimbus0
Jul 7, 2022
fb8d686
session-keys-primitives -> session-key-primitives
Jul 7, 2022
0cd1ab2
Merge branch 'manta' into jamie/v0.9.22
bhgomes Jul 8, 2022
85adb36
revert rustfmt.toml change for this PR
Jul 8, 2022
f6fbe2b
minor: crate author
Jul 8, 2022
50c0cbd
cleanups
Jul 8, 2022
309f927
Add try_runtime checks and saner migration weighing
Jul 8, 2022
00481ca
Cargo.toml fix std feature
Jul 8, 2022
be2a18d
fix double author-inherent in mari cargo
Jul 8, 2022
7bfc8ad
Resolve merge conflict with manta
ghzlatarev Jul 8, 2022
26a20d6
Merge branch 'manta' into jamie/v0.9.22
Dengjianping Jul 8, 2022
0f9a34d
Remove unsafe flags for ws and rpc
Dengjianping Jul 8, 2022
42faf62
Merge branch 'manta' into jamie/v0.9.22
ghzlatarev Jul 8, 2022
1dcc5d8
address some review comments
Jul 8, 2022
32c33c9
fix session keys crate version and license.
Jul 8, 2022
5393f66
put manta and session-key primitives in a common folder
Jul 8, 2022
69be7e7
Merge remote-tracking branch 'origin/manta' into garandor/nimbus0
Jul 8, 2022
7a526c0
Merge branch 'manta' into jamie/v0.9.22
ghzlatarev Jul 8, 2022
67040de
Merge branch 'manta' into garandor/nimbus0
bhgomes Jul 8, 2022
27a0cc5
Separate rpc implementation by runtime
Dengjianping Jul 9, 2022
5f23a34
Resolve merge conflicts
ghzlatarev Jul 9, 2022
5a24b9f
Adapt new crates and merge remote-tracking branch 'origin/jamie/v0.9.…
Jul 9, 2022
47039c7
Merge remote-tracking branch 'origin/garandor/nimbus0' into garandor/…
Jul 9, 2022
458c858
Native asset should never be minted
Dengjianping Jul 10, 2022
7f4e6f9
Fix test and remove unused crate
Dengjianping Jul 11, 2022
9992b64
Remove minting test case for native asset
Dengjianping Jul 11, 2022
0620229
Resolve merge conflicts
ghzlatarev Jul 11, 2022
a6dbf82
Merge branch 'manta' into jamie/v0.9.22
ghzlatarev Jul 11, 2022
adf68f8
Rename mint param
Dengjianping Jul 11, 2022
571bee6
[no ci]Fix typo
Dengjianping Jul 12, 2022
986f26f
Rename will_increase_total_supply param
Dengjianping Jul 12, 2022
561eb63
Merge remote-tracking branch 'origin/manta' into jamie/v0.9.22
Jul 12, 2022
cfc82fa
Merge branch 'jamie/v0.9.22' into garandor/nimbus0
Jul 12, 2022
8699c7f
Squashed dev history of the garandor/nimbus branch as very old commit…
Jul 12, 2022
0772d01
Merge branch 'manta' into ghzlatarev/equalize-barrier
ghzlatarev Jul 12, 2022
fb5fe47
Workaround until polkadot-v0.9.24 for https://github.com/paritytech/s…
Jul 11, 2022
ede269b
Pin 07-10 rust nightly in CI
Jul 12, 2022
6d76d2b
align rust toolchain install sequence with parity docs
Jul 12, 2022
fa11e79
try the `rustup +nightly` syntax
Jul 12, 2022
250662f
pin nightly to 2022-06-02
Jul 12, 2022
c6dc913
fix
Jul 12, 2022
d86c5aa
revert rust stable to 1.61.0
Jul 12, 2022
e999a48
test with WASM_BUILD_TOOLCHAIN env
Jul 12, 2022
c18b7a8
fix
Jul 12, 2022
42581c0
try RUSTC_BOOTSTRAP
Jul 12, 2022
4ce64ac
add wasm target to stable
Jul 12, 2022
298bf97
descructure in param instead of body
Jul 12, 2022
736bd8c
Fix CI workflows by adding RUSTC_BOOTSTRAP=1 flag
Jul 12, 2022
ba4cd13
Merge remote-tracking branch 'origin/jamie/v0.9.22' into garandor/nim…
Jul 12, 2022
809f203
Merge branch 'garandor/fix-ci' into jamie/v0.9.22
Jul 12, 2022
4778a28
Merge branch 'jamie/v0.9.22' into garandor/nimbus0
Jul 12, 2022
27e4605
Fix merge conflicts
ghzlatarev Jul 13, 2022
df4ef5d
Clippy
ghzlatarev Jul 13, 2022
03774ff
Merge branch 'manta' into garandor/nimbus0
Jul 13, 2022
5667bca
Merge branch 'manta' into garandor/v22-workaround
Jul 13, 2022
bec9000
Merge branch 'garandor/v22-workaround' into garandor/nimbus0
Jul 13, 2022
4e8ac9a
Merge branch 'manta' into garandor/nimbus0
Jul 13, 2022
e2e091f
Merge branch 'manta' into ghzlatarev/equalize-barrier
Jul 13, 2022
4ad7693
Merge branch 'ghzlatarev/equalize-barrier' into garandor/nimbus0
Jul 13, 2022
a597185
update changelog
Jul 13, 2022
47ba0ee
reexport aura/nimbus/vrf pubkeys & rename dummy converters
Jul 13, 2022
fad95fb
Merge remote-tracking branch 'origin/manta' into garandor/nimbus0
Jul 13, 2022
b6348b3
use reexported AuraId
Jul 13, 2022
040c72f
fix merge issue
Jul 13, 2022
fc35387
fix merge issue
Jul 13, 2022
b30d3fd
fixup
Jul 13, 2022
162d199
Merge branch 'manta' into garandor/nimbus
Jul 13, 2022
7205118
Merge branch 'garandor/nimbus0' into garandor/nimbus
Jul 13, 2022
d75b744
Update mentions of auraId and nimbusId
Jul 13, 2022
a9cac35
minor: use reexported AuraId
Jul 13, 2022
2c1ff5f
Merge branch 'garandor/nimbus0' into garandor/nimbus
Jul 13, 2022
74c2e98
fix compilation
Jul 13, 2022
3eb098d
fix compilation
Jul 13, 2022
e2845c8
Revert errneous Cargo.lock update in 03774ff. Fixes the disabled logg…
ghzlatarev Jul 15, 2022
3b83e2d
Workaround taplo-cli compilation crash by pinning to previous rustup …
ghzlatarev Jul 15, 2022
b0a76ec
Address review comments
Jul 15, 2022
ee06a26
rename checker function
Jul 15, 2022
80f4a15
rename checker function
Jul 15, 2022
c2c3b7d
Commit Cargo.lock
ghzlatarev Jul 15, 2022
aef9983
Merge branch 'garandor/nimbus0' of https://github.com/Manta-Network/M…
ghzlatarev Jul 15, 2022
8197594
Merge remote-tracking branch 'origin/garandor/nimbus0' into garandor/…
Jul 15, 2022
a39a9a6
cargo.lock change
Jul 15, 2022
da22562
Achieve block production/finalization. Implemented AccountLookup and Get
Jul 18, 2022
b826223
Merge branch 'manta' into garandor/nimbus
Jul 18, 2022
c6119e9
Merge remote-tracking branch 'origin/manta' into garandor/nimbus
Jul 19, 2022
cf046d9
Fix nimbus block production at session boundaries
Jul 20, 2022
adc41a8
minor clippy
Jul 20, 2022
805b8fa
exclude target dir from taplo format check
Jul 20, 2022
eb3f5b0
clippy 1
Jul 20, 2022
cee388b
Merge branch 'garandor/taplo2' into garandor/nimbus
Jul 20, 2022
717533c
Merge manta, adapt nimbus service to WasmExecutor
Aug 2, 2022
8a28543
format
Aug 2, 2022
3ed5218
Merge remote-tracking branch 'origin/manta' into garandor/nimbus
Aug 2, 2022
d3c9648
Update to v0.9.26
Aug 2, 2022
d69657e
Move EligibleAuthors Get impl to manta_collator_selection
Aug 2, 2022
6499281
Move LookupAccount to manta_collator_selection
Aug 3, 2022
944a6cc
Enable nimbus runtime-benchmarking
Aug 3, 2022
e387910
Enable nimbus on calamari
Aug 4, 2022
a5893ce
align RTs, remove comments
Aug 4, 2022
99885f7
toss unused InstantSeal node
Aug 4, 2022
f627af5
cleanup
Aug 4, 2022
8302ada
format
Aug 4, 2022
e5df35a
nit commented code
Aug 4, 2022
548328c
move service_nimbus to service.rs to make a clearer diff
Aug 4, 2022
25d3558
minimize diff
Aug 4, 2022
6a1e851
cleanup
Aug 4, 2022
be20f51
remove left over option to run in non-parachain mode
Aug 4, 2022
6afb884
remove System::initialize as we do not depend on randomness
Aug 4, 2022
7c2f820
add author_inherent to benchmark workflow
Aug 4, 2022
4c83e6c
fix clippy
Aug 4, 2022
c59950c
Adapt integration test to missing AuraExt
Aug 4, 2022
329b22b
fix sequencing comment
Aug 4, 2022
bbabf0d
Revert "remove System::initialize as we do not depend on randomness"
Aug 5, 2022
2314953
fix block time collection from rococo relaychain validator
Aug 5, 2022
39ec8d4
impl benchmark-only get_authors fn, used default impl before
Aug 6, 2022
0f605f3
Fix block header seal calamari integration test
Aug 7, 2022
0f76308
add nimbus pallets to index/prefix test
Aug 7, 2022
aaeb841
Merge remote-tracking branch 'origin/manta' into garandor/nimbus
Aug 7, 2022
ed81579
fix migrate code clippy unused
Aug 7, 2022
f702cc4
Fix author-inherent benchmark
Aug 8, 2022
3080070
add benchmark execution to dolphin generate weights workflow
Aug 8, 2022
0ada281
remove default-features=false from node
Aug 8, 2022
95d2fc8
update benchmarked weights for author_inherent ( and patch nimbus )
Aug 8, 2022
17b81d7
Merge branch 'manta' into garandor/nimbus
ghzlatarev Aug 9, 2022
0dcf6a7
fix formatting
Aug 9, 2022
822c3be
Merge remote-tracking branch 'origin/garandor/nimbus' into garandor/n…
Aug 9, 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
7 changes: 7 additions & 0 deletions .github/workflows/generate_calamari_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ jobs:
id: frame_system
name: frame_system
iterations: 20
- extrinsic:
id: '*'
name: pallet_author_inherent
Garandor marked this conversation as resolved.
Show resolved Hide resolved
pallet:
id: pallet_author_inherent
name: pallet_author_inherent
iterations: 20
- extrinsic:
id: '*'
name: pallet_balances
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/generate_dolphin_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ jobs:
id: frame_system
name: frame_system
iterations: 20
- extrinsic:
id: '*'
name: pallet_author_inherent
pallet:
id: pallet_author_inherent
name: pallet_author_inherent
iterations: 20
- extrinsic:
id: '*'
name: pallet_balances
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_draft_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ jobs:
--error ${{ github.workspace }}/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log \
--no-autorestart \
-- \
--address=ws://127.0.0.1:9921
--address=ws://127.0.0.1:9911
- name: init measure-block-time calamari
run: |
cd ${{ github.workspace }}/dev-tools-calamari/measure-block-time
Expand Down Expand Up @@ -705,7 +705,7 @@ jobs:
--error ${{ github.workspace }}/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log \
--no-autorestart \
-- \
--address=ws://127.0.0.1:9921
--address=ws://127.0.0.1:9911
- name: init measure-block-time calamari
run: |
cd ${{ github.workspace }}/dev-tools-calamari/measure-block-time
Expand Down
Loading