Skip to content

Commit 02b9f1c

Browse files
committed
Merge branch 'feature/role-base-access-control' into feature/collator
2 parents 5a08c8b + 92a1140 commit 02b9f1c

File tree

19 files changed

+4432
-318
lines changed

19 files changed

+4432
-318
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
"lldb.executable": "/usr/bin/lldb"
77
},
88
"extensions": [
9-
"rust-lang.rust",
10-
"bungcip.better-toml",
11-
"vadimcn.vscode-lldb"
12-
],
9+
"rust-lang.rust",
10+
"bungcip.better-toml",
11+
"vadimcn.vscode-lldb",
12+
"rust-lang.rust-analyzer"
13+
],
1314
"forwardPorts": [
1415
3000,
1516
9944

node/src/chain_spec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use hashed_runtime::{
22
AccountId, AuraConfig, BalancesConfig, CouncilConfig, GenesisConfig, GrandpaConfig, Signature,
3-
SudoConfig, SystemConfig, NodeAuthorizationConfig, BitcoinVaultsConfig ,WASM_BINARY,
3+
SudoConfig, SystemConfig, NodeAuthorizationConfig, BitcoinVaultsConfig, WASM_BINARY,
44
};
55
use sc_chain_spec::Properties;
66
use sc_service::ChainType;
@@ -279,6 +279,6 @@ fn testnet_genesis(
279279
transaction_payment: Default::default(),
280280
bitcoin_vaults : BitcoinVaultsConfig{
281281
bdk_services_url : BDK_SERVICES_MAINNET_URL.as_bytes().to_vec(),
282-
}
282+
},
283283
}
284284
}

pallets/gated-marketplace/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ frame-benchmarking = { default-features = false, git = "https://github.com/parit
2525
sp-runtime = { default-features = false, version = "6.0.0", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
2626

2727

28+
pallet-balances = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.23" }
29+
pallet-uniques = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.23" }
30+
pallet-timestamp = { default-features = false, version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.23" }
31+
pallet-fruniques = {path = "../fruniques", default-features = false, version = "0.1.0-dev"}
32+
pallet-rbac = { default-features = false, version = "4.0.0-dev", path="../rbac/"}
33+
2834
[dev-dependencies]
2935
sp-core = { default-features = false, version = "6.0.0", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
3036
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
@@ -39,6 +45,11 @@ std = [
3945
"frame-support/std",
4046
"frame-system/std",
4147
"frame-benchmarking/std",
48+
"pallet-balances/std",
49+
"pallet-uniques/std",
50+
"pallet-fruniques/std",
51+
"pallet-timestamp/std",
52+
"pallet-rbac/std"
4253
]
4354

4455
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]

pallets/gated-marketplace/README.md

Lines changed: 474 additions & 69 deletions
Large diffs are not rendered by default.

pallets/gated-marketplace/src/functions.rs

Lines changed: 497 additions & 107 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)