Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 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
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
a9cac35
minor: use reexported AuraId
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
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
2 changes: 1 addition & 1 deletion .github/workflows/run_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install nightly
rustup default nightly
rustup default nightly-2022-07-10-x86_64-unknown-linux-gnu
cargo install taplo-cli
- name: Run yamllint
uses: actionshub/yamllint@main
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

### Features
- [\#576](https://github.com/Manta-Network/Manta/pull/576) Unfilter xtokens.transfer_multicurrencies and bump MaxAssetsForTransfer to 2.
- [\#646](https://github.com/Manta-Network/Manta/pull/646) Add collator session keys for future nimbus consensus and a vrf placeholder

### Improvements
- [\#449](https://github.com/Manta-Network/Manta/pull/449) Remove strip from CI, and add strip profile to production.
Expand Down
60 changes: 59 additions & 1 deletion Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ members = [
'runtime/calamari',
'runtime/dolphin',
'runtime/common',
'primitives',
'primitives/manta',
'primitives/session-keys',
]
resolver = "2"

Expand Down
5 changes: 3 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sc-network = { git = "https://github.com/paritytech/substrate.git", branch = "po
sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
sc-sysinfo = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.22" }
sc-telemetry = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
sc-tracing = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
Expand Down Expand Up @@ -91,9 +91,10 @@ xcm = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0
# Self dependencies
calamari-runtime = { path = '../runtime/calamari' }
dolphin-runtime = { path = '../runtime/dolphin' }
manta-primitives = { path = '../primitives' }
manta-primitives = { path = '../primitives/manta' }
manta-runtime = { path = '../runtime/manta' }
pallet-manta-pay = { path = '../pallets/manta-pay', features = ["rpc", "runtime"] }
session-key-primitives = { path = '../primitives/session-keys' }

[build-dependencies]
substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.22" }
Expand Down
26 changes: 16 additions & 10 deletions node/src/chain_specs/calamari.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

use super::*;
use crate::command::CALAMARI_PARACHAIN_ID;
use calamari_runtime::{CouncilConfig, DemocracyConfig, GenesisConfig, TechnicalCommitteeConfig};
use manta_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};
use calamari_runtime::{
opaque::SessionKeys, CouncilConfig, DemocracyConfig, GenesisConfig, TechnicalCommitteeConfig,
};
use session_key_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};

/// Calamari Protocol Identifier
pub const CALAMARI_PROTOCOL_ID: &str = "calamari";
Expand All @@ -39,8 +41,12 @@ pub type CalamariChainSpec = sc_service::GenericChainSpec<GenesisConfig, Extensi
/// Generate the calamari session keys from individual elements.
///
/// The input must be a tuple of individual keys (a single arg for now since we have just one key).
pub fn calamari_session_keys(keys: AuraId) -> calamari_runtime::opaque::SessionKeys {
calamari_runtime::opaque::SessionKeys { aura: keys }
pub fn calamari_session_keys(keys: AuraId) -> SessionKeys {
SessionKeys {
aura: keys.clone(),
nimbus: session_key_primitives::nimbus::dummy_key_from(keys.clone()),
vrf: session_key_primitives::vrf::dummy_key_from(keys),
}
}

/// Returns the [`Properties`] for the Calamari parachain.
Expand All @@ -65,7 +71,7 @@ pub fn calamari_development_config() -> CalamariChainSpec {
calamari_dev_genesis(
vec![(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
SessionKeys::new(get_collator_keys_from_seed("Alice")).aura,
)],
vec![
get_account_id_from_seed::<sr25519::Public>("Alice"),
Expand Down Expand Up @@ -98,23 +104,23 @@ pub fn calamari_local_config() -> CalamariChainSpec {
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
SessionKeys::new(get_collator_keys_from_seed("Alice")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_collator_keys_from_seed("Bob"),
SessionKeys::new(get_collator_keys_from_seed("Bob")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Charlie"),
get_collator_keys_from_seed("Charlie"),
SessionKeys::new(get_collator_keys_from_seed("Charlie")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Dave"),
get_collator_keys_from_seed("Dave"),
SessionKeys::new(get_collator_keys_from_seed("Dave")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_collator_keys_from_seed("Eve"),
SessionKeys::new(get_collator_keys_from_seed("Eve")).aura,
),
],
vec![
Expand Down
26 changes: 16 additions & 10 deletions node/src/chain_specs/dolphin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

use super::*;
use crate::command::DOLPHIN_PARACHAIN_ID;
use dolphin_runtime::{CouncilConfig, DemocracyConfig, GenesisConfig, TechnicalCommitteeConfig};
use manta_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};
use dolphin_runtime::{
opaque::SessionKeys, CouncilConfig, DemocracyConfig, GenesisConfig, TechnicalCommitteeConfig,
};
use session_key_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};

/// Dolphin Protocol Identifier
pub const DOLPHIN_PROTOCOL_ID: &str = "dolphin";
Expand All @@ -39,8 +41,12 @@ pub type DolphinChainSpec = sc_service::GenericChainSpec<GenesisConfig, Extensio
/// Generate the dolphin session keys from individual elements.
///
/// The input must be a tuple of individual keys (a single arg for now since we have just one key).
pub fn dolphin_session_keys(keys: AuraId) -> dolphin_runtime::opaque::SessionKeys {
dolphin_runtime::opaque::SessionKeys { aura: keys }
pub fn dolphin_session_keys(keys: AuraId) -> SessionKeys {
SessionKeys {
aura: keys.clone(),
nimbus: session_key_primitives::nimbus::dummy_key_from(keys.clone()),
vrf: session_key_primitives::vrf::dummy_key_from(keys),
}
}

/// Returns the [`Properties`] for the Dolphin parachain.
Expand All @@ -62,7 +68,7 @@ pub fn dolphin_development_config() -> DolphinChainSpec {
dolphin_dev_genesis(
vec![(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
SessionKeys::new(get_collator_keys_from_seed("Alice")).aura,
)],
get_account_id_from_seed::<sr25519::Public>("Alice"),
vec![
Expand Down Expand Up @@ -96,23 +102,23 @@ pub fn dolphin_local_config() -> DolphinChainSpec {
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
SessionKeys::new(get_collator_keys_from_seed("Alice")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_collator_keys_from_seed("Bob"),
SessionKeys::new(get_collator_keys_from_seed("Bob")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Charlie"),
get_collator_keys_from_seed("Charlie"),
SessionKeys::new(get_collator_keys_from_seed("Charlie")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Dave"),
get_collator_keys_from_seed("Dave"),
SessionKeys::new(get_collator_keys_from_seed("Dave")).aura,
),
(
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_collator_keys_from_seed("Eve"),
SessionKeys::new(get_collator_keys_from_seed("Eve")).aura,
),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
Expand Down
14 changes: 7 additions & 7 deletions node/src/chain_specs/manta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

use super::*;
use crate::command::MANTA_PARACHAIN_ID;
use manta_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};

use manta_runtime::opaque::SessionKeys;
use session_key_primitives::helpers::{get_account_id_from_seed, get_collator_keys_from_seed};
/// Manta Protocol Identifier
pub const MANTA_PROTOCOL_ID: &str = "manta";

Expand All @@ -38,8 +38,8 @@ pub type MantaChainSpec = sc_service::GenericChainSpec<manta_runtime::GenesisCon
/// Generate the manta session keys from individual elements.
///
/// The input must be a tuple of individual keys (a single arg for now since we have just one key).
pub fn manta_session_keys(keys: AuraId) -> manta_runtime::opaque::SessionKeys {
manta_runtime::opaque::SessionKeys { aura: keys }
pub fn manta_session_keys(keys: AuraId) -> SessionKeys {
SessionKeys { aura: keys }
}

/// Returns the [`Properties`] for the Manta parachain.
Expand All @@ -61,7 +61,7 @@ pub fn manta_development_config() -> MantaChainSpec {
manta_dev_genesis(
vec![(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
get_collator_keys_from_seed("Alice").0,
)],
get_account_id_from_seed::<sr25519::Public>("Alice"),
vec![
Expand Down Expand Up @@ -95,11 +95,11 @@ pub fn manta_local_config() -> MantaChainSpec {
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
get_collator_keys_from_seed("Alice").0,
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_collator_keys_from_seed("Bob"),
get_collator_keys_from_seed("Bob").0,
),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
Expand Down
3 changes: 2 additions & 1 deletion node/src/chain_specs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@

use manta_primitives::{
constants,
types::{AccountId, AuraId, Balance},
types::{AccountId, Balance},
};
use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
use sc_service::{ChainType, Properties};
use serde::{Deserialize, Serialize};
use session_key_primitives::AuraId;
use sp_core::sr25519;

pub mod calamari;
Expand Down
6 changes: 3 additions & 3 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ use crate::{
use codec::Encode;
use cumulus_client_service::genesis::generate_genesis_block;
use cumulus_primitives_core::ParaId;
use log::info;

use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
use manta_primitives::types::{AuraId, Header};
use log::info;
use manta_primitives::types::Header;
use polkadot_parachain::primitives::AccountIdConversion;
use sc_cli::{
ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
NetworkParams, RuntimeVersion, SharedParams, SubstrateCli,
};
use sc_service::config::{BasePath, PrometheusConfig};
use session_key_primitives::AuraId;
use sp_core::hexdisplay::HexDisplay;
use sp_runtime::{generic, traits::Block as BlockT, OpaqueExtrinsic};
use std::{io::Write, net::SocketAddr};
Expand Down
Loading