Skip to content

Commit

Permalink
chore: configure pallet-revive
Browse files Browse the repository at this point in the history
  • Loading branch information
chungquantin committed Jan 6, 2025
1 parent 71a129f commit 2adff22
Show file tree
Hide file tree
Showing 9 changed files with 352 additions and 27 deletions.
191 changes: 173 additions & 18 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ substrate-frame-rpc-system = "39.0.0"
# Contracts
pallet-contracts = { version = "38.0.0", default-features = false }

# Revive
pallet-revive = { version = "0.2.0", default-features = false }

# Polkadot
pallet-xcm = { version = "17.0.1", default-features = false }
polkadot-cli = "19.0.0"
Expand Down
17 changes: 17 additions & 0 deletions network.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[relaychain]
chain = "paseo-local"

[[relaychain.nodes]]
name = "alice"
validator = true

[[relaychain.nodes]]
name = "bob"
validator = true

[[parachains]]
id = 2000
default_command = "./target/release/parachain-template-node"

[[parachains.collators]]
name = "collator-01"
4 changes: 4 additions & 0 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pallet-authorship.workspace = true
pallet-balances.workspace = true
pallet-contracts.workspace = true
pallet-message-queue.workspace = true
pallet-revive.workspace = true
pallet-session.workspace = true
pallet-sudo.workspace = true
pallet-timestamp.workspace = true
Expand Down Expand Up @@ -107,6 +108,7 @@ std = [
"pallet-collator-selection/std",
"pallet-contracts/std",
"pallet-message-queue/std",
"pallet-revive/std",
"pallet-session/std",
"pallet-sudo/std",
"pallet-timestamp/std",
Expand Down Expand Up @@ -149,6 +151,7 @@ runtime-benchmarks = [
"pallet-collator-selection/runtime-benchmarks",
"pallet-contracts/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-revive/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
Expand Down Expand Up @@ -176,6 +179,7 @@ try-runtime = [
"pallet-contracts/try-runtime",
"pallet-message-queue/try-runtime",
"pallet-session/try-runtime",
"pallet-revive/try-runtime",
"pallet-sudo/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
Expand Down
Loading

0 comments on commit 2adff22

Please sign in to comment.