@@ -3,20 +3,18 @@ name = "contracts-parachain-runtime"
3
3
version.workspace = true
4
4
authors.workspace = true
5
5
edition.workspace = true
6
- description = " Parachain Runtime configured for smart contracts via `pallet-contracts`."
6
+ description = " Parachain Runtime configured for smart contracts via `pallet-contracts` and `pallet-revive` ."
7
7
license.workspace = true
8
8
homepage.workspace = true
9
9
repository.workspace = true
10
10
11
11
[package .metadata .docs .rs ]
12
12
targets = [" x86_64-unknown-linux-gnu" ]
13
13
[build-dependencies ]
14
- substrate-wasm-builder = {workspace = true , optional = true }
14
+ substrate-wasm-builder = { workspace = true , optional = true }
15
15
16
16
[dependencies ]
17
- codec = { features = [
18
- " derive" ,
19
- ], workspace = true }
17
+ codec = { features = [" derive" ], workspace = true }
20
18
hex-literal = { version = " 0.4.1" , optional = true }
21
19
log = { version = " 0.4.21" , default-features = false }
22
20
scale-info = { workspace = true }
@@ -27,9 +25,9 @@ frame-benchmarking = { workspace = true, optional = true }
27
25
frame-executive = { workspace = true }
28
26
frame-support = { workspace = true }
29
27
frame-system = { workspace = true }
30
- frame-system-benchmarking = {workspace = true , optional = true }
28
+ frame-system-benchmarking = { workspace = true , optional = true }
31
29
frame-system-rpc-runtime-api = { workspace = true }
32
- frame-try-runtime = { workspace = true , optional = true }
30
+ frame-try-runtime = { workspace = true , optional = true }
33
31
pallet-aura = { workspace = true }
34
32
pallet-authorship = { workspace = true }
35
33
pallet-balances = { workspace = true }
@@ -75,111 +73,113 @@ pallet-collator-selection = { workspace = true }
75
73
parachain-info = { workspace = true }
76
74
parachains-common = { workspace = true }
77
75
78
- # extra deps for setting up pallet-contracts
76
+ # extra deps for setting up pallet-contracts and pallet-revive
79
77
pallet-contracts = { workspace = true }
78
+ pallet-revive = { workspace = true }
80
79
pallet-utility = { workspace = true }
81
80
pallet-insecure-randomness-collective-flip = { workspace = true }
82
81
pallet-assets = { workspace = true }
83
82
84
83
[features ]
85
- default = [
86
- " std" ,
87
- ]
84
+ default = [" std" ]
88
85
std = [
89
- " codec/std" ,
90
- " cumulus-pallet-aura-ext/std" ,
91
- " cumulus-pallet-dmp-queue/std" ,
92
- " cumulus-pallet-parachain-system/std" ,
93
- " cumulus-pallet-xcm/std" ,
94
- " cumulus-pallet-xcmp-queue/std" ,
95
- " cumulus-primitives-aura/std" ,
96
- " cumulus-primitives-core/std" ,
97
- " cumulus-primitives-timestamp/std" ,
98
- " cumulus-primitives-utility/std" ,
99
- " frame-executive/std" ,
100
- " frame-support/std" ,
101
- " frame-system-rpc-runtime-api/std" ,
102
- " frame-system/std" ,
103
- " log/std" ,
104
- " pallet-assets/std" ,
105
- " pallet-aura/std" ,
106
- " pallet-authorship/std" ,
107
- " pallet-balances/std" ,
108
- " pallet-collator-selection/std" ,
109
- " pallet-contracts/std" ,
110
- " pallet-insecure-randomness-collective-flip/std" ,
111
- " pallet-session/std" ,
112
- " pallet-sudo/std" ,
113
- " pallet-xcm/std" ,
114
- " pallet-timestamp/std" ,
115
- " pallet-transaction-payment-rpc-runtime-api/std" ,
116
- " pallet-transaction-payment/std" ,
117
- " pallet-xcm/std" ,
118
- " parachain-info/std" ,
119
- " polkadot-parachain-primitives/std" ,
120
- " polkadot-runtime-common/std" ,
121
- " scale-info/std" ,
122
- " scale-info/std" ,
123
- " sp-api/std" ,
124
- " sp-block-builder/std" ,
125
- " sp-consensus-aura/std" ,
126
- " sp-core/std" ,
127
- " sp-inherents/std" ,
128
- " sp-offchain/std" ,
129
- " sp-runtime/std" ,
130
- " sp-session/std" ,
131
- " sp-std/std" ,
132
- " sp-transaction-pool/std" ,
133
- " sp-version/std" ,
134
- " substrate-wasm-builder" ,
135
- " xcm-builder/std" ,
136
- " xcm-executor/std" ,
137
- " xcm/std" ,
86
+ " codec/std" ,
87
+ " cumulus-pallet-aura-ext/std" ,
88
+ " cumulus-pallet-dmp-queue/std" ,
89
+ " cumulus-pallet-parachain-system/std" ,
90
+ " cumulus-pallet-xcm/std" ,
91
+ " cumulus-pallet-xcmp-queue/std" ,
92
+ " cumulus-primitives-aura/std" ,
93
+ " cumulus-primitives-core/std" ,
94
+ " cumulus-primitives-timestamp/std" ,
95
+ " cumulus-primitives-utility/std" ,
96
+ " frame-executive/std" ,
97
+ " frame-support/std" ,
98
+ " frame-system-rpc-runtime-api/std" ,
99
+ " frame-system/std" ,
100
+ " log/std" ,
101
+ " pallet-assets/std" ,
102
+ " pallet-aura/std" ,
103
+ " pallet-authorship/std" ,
104
+ " pallet-balances/std" ,
105
+ " pallet-collator-selection/std" ,
106
+ " pallet-contracts/std" ,
107
+ " pallet-revive/std" ,
108
+ " pallet-insecure-randomness-collective-flip/std" ,
109
+ " pallet-session/std" ,
110
+ " pallet-sudo/std" ,
111
+ " pallet-xcm/std" ,
112
+ " pallet-timestamp/std" ,
113
+ " pallet-transaction-payment-rpc-runtime-api/std" ,
114
+ " pallet-transaction-payment/std" ,
115
+ " pallet-xcm/std" ,
116
+ " parachain-info/std" ,
117
+ " polkadot-parachain-primitives/std" ,
118
+ " polkadot-runtime-common/std" ,
119
+ " scale-info/std" ,
120
+ " scale-info/std" ,
121
+ " sp-api/std" ,
122
+ " sp-block-builder/std" ,
123
+ " sp-consensus-aura/std" ,
124
+ " sp-core/std" ,
125
+ " sp-inherents/std" ,
126
+ " sp-offchain/std" ,
127
+ " sp-runtime/std" ,
128
+ " sp-session/std" ,
129
+ " sp-std/std" ,
130
+ " sp-transaction-pool/std" ,
131
+ " sp-version/std" ,
132
+ " substrate-wasm-builder" ,
133
+ " xcm-builder/std" ,
134
+ " xcm-executor/std" ,
135
+ " xcm/std" ,
138
136
]
139
137
140
138
runtime-benchmarks = [
141
- " cumulus-pallet-parachain-system/runtime-benchmarks" ,
142
- " cumulus-pallet-session-benchmarking/runtime-benchmarks" ,
143
- " cumulus-pallet-xcmp-queue/runtime-benchmarks" ,
144
- " frame-benchmarking/runtime-benchmarks" ,
145
- " frame-support/runtime-benchmarks" ,
146
- " frame-system-benchmarking/runtime-benchmarks" ,
147
- " frame-system/runtime-benchmarks" ,
148
- " hex-literal" ,
149
- " polkadot-parachain-primitives/runtime-benchmarks" ,
150
- " pallet-balances/runtime-benchmarks" ,
151
- " pallet-collator-selection/runtime-benchmarks" ,
152
- " pallet-sudo/runtime-benchmarks" ,
153
- " pallet-timestamp/runtime-benchmarks" ,
154
- " pallet-xcm/runtime-benchmarks" ,
155
- " polkadot-runtime-common/runtime-benchmarks" ,
156
- " sp-runtime/runtime-benchmarks" ,
157
- " xcm-builder/runtime-benchmarks" ,
158
- " xcm-executor/runtime-benchmarks" ,
139
+ " cumulus-pallet-parachain-system/runtime-benchmarks" ,
140
+ " cumulus-pallet-session-benchmarking/runtime-benchmarks" ,
141
+ " cumulus-pallet-xcmp-queue/runtime-benchmarks" ,
142
+ " frame-benchmarking/runtime-benchmarks" ,
143
+ " frame-support/runtime-benchmarks" ,
144
+ " frame-system-benchmarking/runtime-benchmarks" ,
145
+ " frame-system/runtime-benchmarks" ,
146
+ " hex-literal" ,
147
+ " polkadot-parachain-primitives/runtime-benchmarks" ,
148
+ " pallet-balances/runtime-benchmarks" ,
149
+ " pallet-collator-selection/runtime-benchmarks" ,
150
+ " pallet-sudo/runtime-benchmarks" ,
151
+ " pallet-timestamp/runtime-benchmarks" ,
152
+ " pallet-xcm/runtime-benchmarks" ,
153
+ " polkadot-runtime-common/runtime-benchmarks" ,
154
+ " sp-runtime/runtime-benchmarks" ,
155
+ " xcm-builder/runtime-benchmarks" ,
156
+ " xcm-executor/runtime-benchmarks" ,
159
157
]
160
158
161
159
try-runtime = [
162
- " cumulus-pallet-aura-ext/try-runtime" ,
163
- " cumulus-pallet-dmp-queue/try-runtime" ,
164
- " cumulus-pallet-parachain-system/try-runtime" ,
165
- " cumulus-pallet-xcm/try-runtime" ,
166
- " cumulus-pallet-xcmp-queue/try-runtime" ,
167
- " frame-executive/try-runtime" ,
168
- " frame-support/try-runtime" ,
169
- " frame-system/try-runtime" ,
170
- " frame-try-runtime/try-runtime" ,
171
- " pallet-aura/try-runtime" ,
172
- " pallet-authorship/try-runtime" ,
173
- " pallet-balances/try-runtime" ,
174
- " pallet-collator-selection/try-runtime" ,
175
- " pallet-session/try-runtime" ,
176
- " pallet-sudo/try-runtime" ,
177
- " pallet-timestamp/try-runtime" ,
178
- " pallet-transaction-payment/try-runtime" ,
179
- " pallet-xcm/try-runtime" ,
180
- " parachain-info/try-runtime" ,
181
- " polkadot-runtime-common/try-runtime" ,
182
- " sp-runtime/try-runtime" ,
160
+ " cumulus-pallet-aura-ext/try-runtime" ,
161
+ " cumulus-pallet-dmp-queue/try-runtime" ,
162
+ " cumulus-pallet-parachain-system/try-runtime" ,
163
+ " cumulus-pallet-xcm/try-runtime" ,
164
+ " cumulus-pallet-xcmp-queue/try-runtime" ,
165
+ " frame-executive/try-runtime" ,
166
+ " frame-support/try-runtime" ,
167
+ " frame-system/try-runtime" ,
168
+ " frame-try-runtime/try-runtime" ,
169
+ " pallet-aura/try-runtime" ,
170
+ " pallet-authorship/try-runtime" ,
171
+ " pallet-balances/try-runtime" ,
172
+ " pallet-collator-selection/try-runtime" ,
173
+ " pallet-contracts/try-runtime" ,
174
+ " pallet-revive/try-runtime" ,
175
+ " pallet-session/try-runtime" ,
176
+ " pallet-sudo/try-runtime" ,
177
+ " pallet-timestamp/try-runtime" ,
178
+ " pallet-transaction-payment/try-runtime" ,
179
+ " pallet-xcm/try-runtime" ,
180
+ " parachain-info/try-runtime" ,
181
+ " polkadot-runtime-common/try-runtime" ,
182
+ " sp-runtime/try-runtime" ,
183
183
]
184
184
185
185
parachain = []
0 commit comments