git.delta.rocks / unique-network / refs/commits / 46fa52585478

difftreelog

Merge branch 'develop' into feature/NFTPAR-96

Greg Zaitsev2020-11-24parents: #31f6053 #3f1f974.patch.diff
in: master

34 files changed

modified.dockerignorediffbeforeafterboth
3doc/3doc/
4target/4target/
5chain-data*/5chain-data*/
6smart_contract/6smart_contract/
7
modifiedCargo.lockdiffbeforeafterboth
16source = "registry+https://github.com/rust-lang/crates.io-index"16source = "registry+https://github.com/rust-lang/crates.io-index"
17checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"17checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
18dependencies = [18dependencies = [
19 "gimli",19 "gimli 0.22.0",
20]20]
2121
22[[package]]22[[package]]
25source = "registry+https://github.com/rust-lang/crates.io-index"25source = "registry+https://github.com/rust-lang/crates.io-index"
26checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"26checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
27
28[[package]]
29name = "adler32"
30version = "1.1.0"
31source = "registry+https://github.com/rust-lang/crates.io-index"
32checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d"
3327
34[[package]]28[[package]]
35name = "aead"29name = "aead"
36version = "0.3.2"30version = "0.3.2"
37source = "registry+https://github.com/rust-lang/crates.io-index"31source = "registry+https://github.com/rust-lang/crates.io-index"
38checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"32checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"
39dependencies = [33dependencies = [
40 "generic-array 0.14.3",34 "generic-array 0.14.4",
41]35]
4236
43[[package]]37[[package]]
44name = "aes"38name = "aes"
45version = "0.4.0"39version = "0.5.0"
46source = "registry+https://github.com/rust-lang/crates.io-index"40source = "registry+https://github.com/rust-lang/crates.io-index"
47checksum = "f7001367fde4c768a19d1029f0a8be5abd9308e1119846d5bd9ad26297b8faf5"41checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6"
48dependencies = [42dependencies = [
49 "aes-soft",43 "aes-soft",
50 "aesni",44 "aesni",
5347
54[[package]]48[[package]]
55name = "aes-gcm"49name = "aes-gcm"
56version = "0.6.0"50version = "0.7.0"
57source = "registry+https://github.com/rust-lang/crates.io-index"51source = "registry+https://github.com/rust-lang/crates.io-index"
58checksum = "86f5007801316299f922a6198d1d09a0bae95786815d066d5880d13f7c45ead1"52checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f"
59dependencies = [53dependencies = [
60 "aead",54 "aead",
61 "aes",55 "aes",
62 "block-cipher",56 "block-cipher",
63 "ghash",57 "ghash",
64 "subtle 2.2.3",58 "subtle 2.3.0",
65]59]
6660
67[[package]]61[[package]]
68name = "aes-soft"62name = "aes-soft"
69version = "0.4.0"63version = "0.5.0"
70source = "registry+https://github.com/rust-lang/crates.io-index"64source = "registry+https://github.com/rust-lang/crates.io-index"
71checksum = "4925647ee64e5056cf231608957ce7c81e12d6d6e316b9ce1404778cc1d35fa7"65checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6"
72dependencies = [66dependencies = [
73 "block-cipher",67 "block-cipher",
74 "byteorder",68 "byteorder 1.3.4",
75 "opaque-debug 0.2.3",69 "opaque-debug 0.3.0",
76]70]
7771
78[[package]]72[[package]]
79name = "aesni"73name = "aesni"
80version = "0.7.0"74version = "0.8.0"
81source = "registry+https://github.com/rust-lang/crates.io-index"75source = "registry+https://github.com/rust-lang/crates.io-index"
82checksum = "d050d39b0b7688b3a3254394c3e30a9d66c41dcf9b05b0e2dbdc623f6505d264"76checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a"
83dependencies = [77dependencies = [
84 "block-cipher",78 "block-cipher",
85 "opaque-debug 0.2.3",79 "opaque-debug 0.3.0",
86]80]
8781
88[[package]]82[[package]]
89name = "ahash"83name = "ahash"
90version = "0.2.18"84version = "0.2.19"
91source = "registry+https://github.com/rust-lang/crates.io-index"85source = "registry+https://github.com/rust-lang/crates.io-index"
92checksum = "6f33b5018f120946c1dcf279194f238a9f146725593ead1c08fa47ff22b0b5d3"86checksum = "29661b60bec623f0586702976ff4d0c9942dcb6723161c2df0eea78455cfedfb"
93dependencies = [87dependencies = [
94 "const-random",88 "const-random",
95]89]
90
91[[package]]
92name = "ahash"
93version = "0.3.8"
94source = "registry+https://github.com/rust-lang/crates.io-index"
95checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217"
9696
97[[package]]97[[package]]
98name = "aho-corasick"98name = "aho-corasick"
99version = "0.7.13"99version = "0.7.14"
100source = "registry+https://github.com/rust-lang/crates.io-index"100source = "registry+https://github.com/rust-lang/crates.io-index"
101checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"101checksum = "b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d"
102dependencies = [102dependencies = [
103 "memchr",103 "memchr",
104]104]
111dependencies = [111dependencies = [
112 "approx",112 "approx",
113 "num-complex",113 "num-complex",
114 "num-traits 0.2.12",114 "num-traits",
115]115]
116116
117[[package]]117[[package]]
134134
135[[package]]135[[package]]
136name = "anyhow"136name = "anyhow"
137version = "1.0.31"137version = "1.0.33"
138source = "registry+https://github.com/rust-lang/crates.io-index"138source = "registry+https://github.com/rust-lang/crates.io-index"
139checksum = "85bb70cc08ec97ca5450e6eba421deeea5f172c0fc61f78b5357b2a8e8be195f"139checksum = "a1fd36ffbb1fb7c834eac128ea8d0e310c5aeb635548f9d58861e1308d46e71c"
140140
141[[package]]141[[package]]
142name = "approx"142name = "approx"
143version = "0.3.2"143version = "0.3.2"
144source = "registry+https://github.com/rust-lang/crates.io-index"144source = "registry+https://github.com/rust-lang/crates.io-index"
145checksum = "f0e60b75072ecd4168020818c0107f2857bb6c4e64252d8d3983f6263b40a5c3"145checksum = "f0e60b75072ecd4168020818c0107f2857bb6c4e64252d8d3983f6263b40a5c3"
146dependencies = [146dependencies = [
147 "num-traits 0.2.12",147 "num-traits",
148]148]
149149
150[[package]]150[[package]]
189source = "registry+https://github.com/rust-lang/crates.io-index"189source = "registry+https://github.com/rust-lang/crates.io-index"
190checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502"190checksum = "0d0864d84b8e07b145449be9a8537db86bf9de5ce03b913214694643b4743502"
191dependencies = [191dependencies = [
192 "quote 1.0.7",192 "quote",
193 "syn 1.0.34",193 "syn",
194]194]
195
196[[package]]
197name = "async-channel"
198version = "1.5.1"
199source = "registry+https://github.com/rust-lang/crates.io-index"
200checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9"
201dependencies = [
202 "concurrent-queue",
203 "event-listener",
204 "futures-core",
205]
195206
196[[package]]207[[package]]
197name = "assert_matches"208name = "async-executor"
198version = "1.3.0"209version = "1.3.0"
199source = "registry+https://github.com/rust-lang/crates.io-index"210source = "registry+https://github.com/rust-lang/crates.io-index"
200checksum = "7deb0a829ca7bcfaf5da70b073a8d128619259a7be8216a355e23f00763059e5"211checksum = "d373d78ded7d0b3fa8039375718cde0aace493f2e34fb60f51cbf567562ca801"
212dependencies = [
213 "async-task",
214 "concurrent-queue",
215 "fastrand",
216 "futures-lite",
217 "once_cell 1.4.1",
218 "vec-arena",
219]
220
221[[package]]
222name = "async-global-executor"
223version = "1.4.0"
224source = "registry+https://github.com/rust-lang/crates.io-index"
225checksum = "0659b83a146398616883aa5199cdd1b055ec088a83c9a338eab3534f33f0622e"
226dependencies = [
227 "async-executor",
228 "async-io",
229 "futures-lite",
230 "num_cpus",
231 "once_cell 1.4.1",
232]
233
234[[package]]
235name = "async-io"
236version = "1.1.10"
237source = "registry+https://github.com/rust-lang/crates.io-index"
238checksum = "d54bc4c1c7292475efb2253227dbcfad8fe1ca4c02bc62c510cc2f3da5c4704e"
239dependencies = [
240 "concurrent-queue",
241 "fastrand",
242 "futures-lite",
243 "libc",
244 "log",
245 "nb-connect",
246 "once_cell 1.4.1",
247 "parking",
248 "polling",
249 "vec-arena",
250 "waker-fn",
251 "winapi 0.3.9",
252]
253
254[[package]]
255name = "async-mutex"
256version = "1.4.0"
257source = "registry+https://github.com/rust-lang/crates.io-index"
258checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e"
259dependencies = [
260 "event-listener",
261]
201262
202[[package]]263[[package]]
203name = "async-std"264name = "async-std"
204version = "1.5.0"265version = "1.6.5"
205source = "registry+https://github.com/rust-lang/crates.io-index"266source = "registry+https://github.com/rust-lang/crates.io-index"
206checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267"267checksum = "a9fa76751505e8df1c7a77762f60486f60c71bbd9b8557f4da6ad47d083732ed"
207dependencies = [268dependencies = [
208 "async-task",269 "async-global-executor",
209 "broadcaster",270 "async-io",
210 "crossbeam-channel",271 "async-mutex",
211 "crossbeam-deque",272 "blocking",
212 "crossbeam-utils",273 "crossbeam-utils",
274 "futures-channel",
213 "futures-core",275 "futures-core",
214 "futures-io",276 "futures-io",
215 "futures-timer 2.0.2",277 "futures-lite",
278 "gloo-timers",
216 "kv-log-macro",279 "kv-log-macro",
217 "log",280 "log",
218 "memchr",281 "memchr",
219 "mio",
220 "mio-uds",
221 "num_cpus",282 "num_cpus",
222 "once_cell",283 "once_cell 1.4.1",
223 "pin-project-lite",284 "pin-project-lite",
224 "pin-utils",285 "pin-utils",
225 "slab",286 "slab",
287 "wasm-bindgen-futures",
226]288]
227289
228[[package]]290[[package]]
229name = "async-task"291name = "async-task"
230version = "1.3.1"292version = "4.0.2"
231source = "registry+https://github.com/rust-lang/crates.io-index"293source = "registry+https://github.com/rust-lang/crates.io-index"
232checksum = "0ac2c016b079e771204030951c366db398864f5026f84a44dafb0ff20f02085d"294checksum = "8ab27c1aa62945039e44edaeee1dc23c74cc0c303dd5fe0fb462a184f1c3a518"
233dependencies = [
234 "libc",
235 "winapi 0.3.9",
236]
237295
238[[package]]296[[package]]
239name = "async-tls"297name = "async-tls"
240version = "0.7.0"298version = "0.8.0"
241source = "registry+https://github.com/rust-lang/crates.io-index"299source = "registry+https://github.com/rust-lang/crates.io-index"
242checksum = "95fd83426b89b034bf4e9ceb9c533c2f2386b813fd3dcae0a425ec6f1837d78a"300checksum = "df097e3f506bec0e1a24f06bb3c962c228f36671de841ff579cb99f371772634"
243dependencies = [301dependencies = [
244 "futures 0.3.5",302 "futures 0.3.6",
245 "rustls",303 "rustls",
246 "webpki",304 "webpki",
247 "webpki-roots 0.19.0",305 "webpki-roots 0.19.0",
248]306]
307
308[[package]]
309name = "async-trait"
310version = "0.1.41"
311source = "registry+https://github.com/rust-lang/crates.io-index"
312checksum = "b246867b8b3b6ae56035f1eb1ed557c1d8eae97f0d53696138a50fa0e3a3b8c0"
313dependencies = [
314 "proc-macro2",
315 "quote",
316 "syn",
317]
318
319[[package]]
320name = "atomic"
321version = "0.4.6"
322source = "registry+https://github.com/rust-lang/crates.io-index"
323checksum = "64f46ca51dca4837f1520754d1c8c36636356b81553d928dc9c177025369a06e"
324
325[[package]]
326name = "atomic-waker"
327version = "1.0.0"
328source = "registry+https://github.com/rust-lang/crates.io-index"
329checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
249330
250[[package]]331[[package]]
251name = "atty"332name = "atty"
266347
267[[package]]348[[package]]
268name = "autocfg"349name = "autocfg"
269version = "1.0.0"350version = "1.0.1"
270source = "registry+https://github.com/rust-lang/crates.io-index"351source = "registry+https://github.com/rust-lang/crates.io-index"
271checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"352checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
272353
273[[package]]354[[package]]
274name = "backtrace"355name = "backtrace"
275version = "0.3.50"356version = "0.3.53"
276source = "registry+https://github.com/rust-lang/crates.io-index"357source = "registry+https://github.com/rust-lang/crates.io-index"
277checksum = "46254cf2fdcdf1badb5934448c1bcbe046a56537b3987d96c51a7afc5d03f293"358checksum = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e"
278dependencies = [359dependencies = [
279 "addr2line",360 "addr2line",
280 "cfg-if",361 "cfg-if 1.0.0",
281 "libc",362 "libc",
282 "miniz_oxide",363 "miniz_oxide",
283 "object",364 "object 0.21.1",
284 "rustc-demangle",365 "rustc-demangle",
285]366]
286367
296source = "registry+https://github.com/rust-lang/crates.io-index"377source = "registry+https://github.com/rust-lang/crates.io-index"
297checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"378checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
379
380[[package]]
381name = "base64"
382version = "0.12.3"
383source = "registry+https://github.com/rust-lang/crates.io-index"
384checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
385
386[[package]]
387name = "bincode"
388version = "1.3.1"
389source = "registry+https://github.com/rust-lang/crates.io-index"
390checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d"
391dependencies = [
392 "byteorder 1.3.4",
393 "serde",
394]
298395
299[[package]]396[[package]]
300name = "bindgen"397name = "bindgen"
301version = "0.53.3"398version = "0.54.0"
302source = "registry+https://github.com/rust-lang/crates.io-index"399source = "registry+https://github.com/rust-lang/crates.io-index"
303checksum = "c72a978d268b1d70b0e963217e60fdabd9523a941457a6c42a7315d15c7e89e5"400checksum = "66c0bb6167449588ff70803f4127f0684f9063097eca5016f37eb52b92c2cf36"
304dependencies = [401dependencies = [
305 "bitflags",402 "bitflags",
306 "cexpr",403 "cexpr",
307 "cfg-if",404 "cfg-if 0.1.10",
308 "clang-sys",405 "clang-sys",
309 "clap",406 "clap",
310 "env_logger",407 "env_logger",
313 "log",410 "log",
314 "peeking_take_while",411 "peeking_take_while",
315 "proc-macro2",412 "proc-macro2",
316 "quote 1.0.7",413 "quote",
317 "regex",414 "regex",
318 "rustc-hash",415 "rustc-hash",
319 "shlex",416 "shlex",
320 "which",417 "which",
321]418]
419
420[[package]]
421name = "bip39"
422version = "0.6.0-beta.1"
423source = "registry+https://github.com/rust-lang/crates.io-index"
424checksum = "7059804e226b3ac116519a252d7f5fb985a5ccc0e93255e036a5f7e7283323f4"
425dependencies = [
426 "failure",
427 "hashbrown 0.1.8",
428 "hmac",
429 "once_cell 0.1.8",
430 "pbkdf2",
431 "rand 0.6.5",
432 "sha2 0.8.2",
433]
322434
323[[package]]435[[package]]
324name = "bitflags"436name = "bitflags"
342 "radium",454 "radium",
343]455]
344
345[[package]]
346name = "blake2"
347version = "0.8.1"
348source = "registry+https://github.com/rust-lang/crates.io-index"
349checksum = "94cb07b0da6a73955f8fb85d24c466778e70cda767a568229b104f0264089330"
350dependencies = [
351 "byte-tools",
352 "crypto-mac 0.7.0",
353 "digest 0.8.1",
354 "opaque-debug 0.2.3",
355]
356456
357[[package]]457[[package]]
358name = "blake2"458name = "blake2"
361checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471"461checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471"
362dependencies = [462dependencies = [
363 "byte-tools",463 "byte-tools",
364 "byteorder",464 "byteorder 1.3.4",
365 "crypto-mac 0.8.0",465 "crypto-mac 0.8.0",
366 "digest 0.9.0",466 "digest 0.9.0",
367 "opaque-debug 0.2.3",467 "opaque-debug 0.2.3",
405source = "registry+https://github.com/rust-lang/crates.io-index"505source = "registry+https://github.com/rust-lang/crates.io-index"
406checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"506checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
407dependencies = [507dependencies = [
408 "block-padding",508 "block-padding 0.1.5",
409 "byte-tools",509 "byte-tools",
410 "byteorder",510 "byteorder 1.3.4",
411 "generic-array 0.12.3",511 "generic-array 0.12.3",
412]512]
413513
417source = "registry+https://github.com/rust-lang/crates.io-index"517source = "registry+https://github.com/rust-lang/crates.io-index"
418checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"518checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
419dependencies = [519dependencies = [
520 "block-padding 0.2.1",
420 "generic-array 0.14.3",521 "generic-array 0.14.4",
421]522]
422523
423[[package]]524[[package]]
424name = "block-cipher"525name = "block-cipher"
425version = "0.7.1"526version = "0.8.0"
426source = "registry+https://github.com/rust-lang/crates.io-index"527source = "registry+https://github.com/rust-lang/crates.io-index"
427checksum = "fa136449e765dc7faa244561ccae839c394048667929af599b5d931ebe7b7f10"528checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80"
428dependencies = [529dependencies = [
429 "generic-array 0.14.3",530 "generic-array 0.14.4",
430]531]
431532
432[[package]]533[[package]]
438 "byte-tools",539 "byte-tools",
439]540]
541
542[[package]]
543name = "block-padding"
544version = "0.2.1"
545source = "registry+https://github.com/rust-lang/crates.io-index"
546checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
440547
441[[package]]548[[package]]
442name = "broadcaster"549name = "blocking"
443version = "1.0.0"550version = "1.0.2"
444source = "registry+https://github.com/rust-lang/crates.io-index"551source = "registry+https://github.com/rust-lang/crates.io-index"
445checksum = "d9c972e21e0d055a36cf73e4daae870941fe7a8abcd5ac3396aab9e4c126bd87"552checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9"
446dependencies = [553dependencies = [
447 "futures-channel",554 "async-channel",
448 "futures-core",555 "async-task",
449 "futures-sink",556 "atomic-waker",
450 "futures-util",557 "fastrand",
451 "parking_lot 0.10.2",558 "futures-lite",
452 "slab",559 "once_cell 1.4.1",
453]560]
454561
455[[package]]562[[package]]
485source = "registry+https://github.com/rust-lang/crates.io-index"592source = "registry+https://github.com/rust-lang/crates.io-index"
486checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"593checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
594
595[[package]]
596name = "byteorder"
597version = "0.5.3"
598source = "registry+https://github.com/rust-lang/crates.io-index"
599checksum = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855"
487600
488[[package]]601[[package]]
489name = "byteorder"602name = "byteorder"
497source = "registry+https://github.com/rust-lang/crates.io-index"610source = "registry+https://github.com/rust-lang/crates.io-index"
498checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"611checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
499dependencies = [612dependencies = [
500 "byteorder",613 "byteorder 1.3.4",
501 "either",614 "either",
502 "iovec",615 "iovec",
503]616]
514source = "registry+https://github.com/rust-lang/crates.io-index"627source = "registry+https://github.com/rust-lang/crates.io-index"
515checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b"628checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b"
629
630[[package]]
631name = "cache-padded"
632version = "1.1.1"
633source = "registry+https://github.com/rust-lang/crates.io-index"
634checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
516635
517[[package]]636[[package]]
518name = "cc"637name = "cc"
519version = "1.0.58"638version = "1.0.61"
520source = "registry+https://github.com/rust-lang/crates.io-index"639source = "registry+https://github.com/rust-lang/crates.io-index"
521checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518"640checksum = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d"
522dependencies = [641dependencies = [
523 "jobserver",642 "jobserver",
524]643]
538source = "registry+https://github.com/rust-lang/crates.io-index"657source = "registry+https://github.com/rust-lang/crates.io-index"
539checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"658checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
659
660[[package]]
661name = "cfg-if"
662version = "1.0.0"
663source = "registry+https://github.com/rust-lang/crates.io-index"
664checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
540665
541[[package]]666[[package]]
542name = "chacha20"667name = "chacha20"
543version = "0.4.3"668version = "0.5.0"
544source = "registry+https://github.com/rust-lang/crates.io-index"669source = "registry+https://github.com/rust-lang/crates.io-index"
545checksum = "086c0f07ac275808b7bf9a39f2fd013aae1498be83632814c8c4e0bd53f2dc58"670checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845"
546dependencies = [671dependencies = [
547 "stream-cipher",672 "stream-cipher 0.7.1",
548 "zeroize",673 "zeroize",
549]674]
550675
551[[package]]676[[package]]
552name = "chacha20poly1305"677name = "chacha20poly1305"
553version = "0.5.1"678version = "0.6.0"
554source = "registry+https://github.com/rust-lang/crates.io-index"679source = "registry+https://github.com/rust-lang/crates.io-index"
555checksum = "18b0c90556d8e3fec7cf18d84a2f53d27b21288f2fe481b830fadcf809e48205"680checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5"
556dependencies = [681dependencies = [
557 "aead",682 "aead",
558 "chacha20",683 "chacha20",
559 "poly1305",684 "poly1305",
560 "stream-cipher",685 "stream-cipher 0.7.1",
561 "zeroize",686 "zeroize",
562]687]
563688
564[[package]]689[[package]]
565name = "chrono"690name = "chrono"
566version = "0.4.13"691version = "0.4.19"
567source = "registry+https://github.com/rust-lang/crates.io-index"692source = "registry+https://github.com/rust-lang/crates.io-index"
568checksum = "c74d84029116787153e02106bf53e66828452a4b325cc8652b788b5967c0a0b6"693checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
569dependencies = [694dependencies = [
695 "libc",
570 "num-integer",696 "num-integer",
571 "num-traits 0.2.12",697 "num-traits",
572 "time",698 "time",
699 "winapi 0.3.9",
573]700]
574701
575[[package]]702[[package]]
585712
586[[package]]713[[package]]
587name = "clap"714name = "clap"
588version = "2.33.1"715version = "2.33.3"
589source = "registry+https://github.com/rust-lang/crates.io-index"716source = "registry+https://github.com/rust-lang/crates.io-index"
590checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129"717checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
591dependencies = [718dependencies = [
592 "ansi_term 0.11.0",719 "ansi_term 0.11.0",
593 "atty",720 "atty",
598 "vec_map",725 "vec_map",
599]726]
600
601[[package]]
602name = "clear_on_drop"
603version = "0.2.4"
604source = "registry+https://github.com/rust-lang/crates.io-index"
605checksum = "c9cc5db465b294c3fa986d5bbb0f3017cd850bff6dd6c52f9ccff8b4d21b7b08"
606dependencies = [
607 "cc",
608]
609727
610[[package]]728[[package]]
611name = "cloudabi"729name = "cloudabi"
616 "bitflags",734 "bitflags",
617]735]
736
737[[package]]
738name = "cloudabi"
739version = "0.1.0"
740source = "registry+https://github.com/rust-lang/crates.io-index"
741checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467"
742dependencies = [
743 "bitflags",
744]
745
746[[package]]
747name = "concurrent-queue"
748version = "1.2.2"
749source = "registry+https://github.com/rust-lang/crates.io-index"
750checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
751dependencies = [
752 "cache-padded",
753]
618754
619[[package]]755[[package]]
620name = "const-random"756name = "const-random"
621version = "0.1.8"757version = "0.1.11"
622source = "registry+https://github.com/rust-lang/crates.io-index"758source = "registry+https://github.com/rust-lang/crates.io-index"
623checksum = "2f1af9ac737b2dd2d577701e59fd09ba34822f6f2ebdb30a7647405d9e55e16a"759checksum = "02dc82c12dc2ee6e1ded861cf7d582b46f66f796d1b6c93fa28b911ead95da02"
624dependencies = [760dependencies = [
625 "const-random-macro",761 "const-random-macro",
626 "proc-macro-hack",762 "proc-macro-hack",
627]763]
628764
629[[package]]765[[package]]
630name = "const-random-macro"766name = "const-random-macro"
631version = "0.1.8"767version = "0.1.11"
632source = "registry+https://github.com/rust-lang/crates.io-index"768source = "registry+https://github.com/rust-lang/crates.io-index"
633checksum = "25e4c606eb459dd29f7c57b2e0879f2b6f14ee130918c2b78ccb58a9624e6c7a"769checksum = "fc757bbb9544aa296c2ae00c679e81f886b37e28e59097defe0cf524306f6685"
634dependencies = [770dependencies = [
635 "getrandom",771 "getrandom 0.2.0",
636 "proc-macro-hack",772 "proc-macro-hack",
637]773]
638774
664source = "registry+https://github.com/rust-lang/crates.io-index"800source = "registry+https://github.com/rust-lang/crates.io-index"
665checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"801checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
802
803[[package]]
804name = "cranelift-bforest"
805version = "0.66.0"
806source = "registry+https://github.com/rust-lang/crates.io-index"
807checksum = "8dcc286b052ee24a1e5a222e7c1125e6010ad35b0f248709b9b3737a8fedcfdf"
808dependencies = [
809 "cranelift-entity",
810]
811
812[[package]]
813name = "cranelift-codegen"
814version = "0.66.0"
815source = "registry+https://github.com/rust-lang/crates.io-index"
816checksum = "9d9badfe36176cb653506091693bc2bb1970c9bddfcd6ec7fac404f7eaec6f38"
817dependencies = [
818 "byteorder 1.3.4",
819 "cranelift-bforest",
820 "cranelift-codegen-meta",
821 "cranelift-codegen-shared",
822 "cranelift-entity",
823 "gimli 0.21.0",
824 "log",
825 "regalloc",
826 "serde",
827 "smallvec 1.4.2",
828 "target-lexicon",
829 "thiserror",
830]
831
832[[package]]
833name = "cranelift-codegen-meta"
834version = "0.66.0"
835source = "registry+https://github.com/rust-lang/crates.io-index"
836checksum = "3c3f460031861e4f4ad510be62b2ae50bba6cc886b598a36f9c0a970feab9598"
837dependencies = [
838 "cranelift-codegen-shared",
839 "cranelift-entity",
840]
841
842[[package]]
843name = "cranelift-codegen-shared"
844version = "0.66.0"
845source = "registry+https://github.com/rust-lang/crates.io-index"
846checksum = "76ad12409e922e7697cd0bdc7dc26992f64a77c31880dfe5e3c7722f4710206d"
847
848[[package]]
849name = "cranelift-entity"
850version = "0.66.0"
851source = "registry+https://github.com/rust-lang/crates.io-index"
852checksum = "d97cdc58972ea065d107872cfb9079f4c92ade78a8af85aaff519a65b5d13f71"
853dependencies = [
854 "serde",
855]
856
857[[package]]
858name = "cranelift-frontend"
859version = "0.66.0"
860source = "registry+https://github.com/rust-lang/crates.io-index"
861checksum = "2ef419efb4f94ecc02e5d9fbcc910d2bb7f0040e2de570e63a454f883bc891d6"
862dependencies = [
863 "cranelift-codegen",
864 "log",
865 "smallvec 1.4.2",
866 "target-lexicon",
867]
868
869[[package]]
870name = "cranelift-native"
871version = "0.66.0"
872source = "registry+https://github.com/rust-lang/crates.io-index"
873checksum = "6e69d44d59826eef6794066ac2c0f4ad3975f02d97030c60dbc04e3886adf36e"
874dependencies = [
875 "cranelift-codegen",
876 "raw-cpuid",
877 "target-lexicon",
878]
879
880[[package]]
881name = "cranelift-wasm"
882version = "0.66.0"
883source = "registry+https://github.com/rust-lang/crates.io-index"
884checksum = "979df666b1304624abe99738e9e0e7c7479ee5523ba4b8b237df9ff49996acbb"
885dependencies = [
886 "cranelift-codegen",
887 "cranelift-entity",
888 "cranelift-frontend",
889 "log",
890 "serde",
891 "thiserror",
892 "wasmparser 0.59.0",
893]
666894
667[[package]]895[[package]]
668name = "crc32fast"896name = "crc32fast"
669version = "1.2.0"897version = "1.2.0"
670source = "registry+https://github.com/rust-lang/crates.io-index"898source = "registry+https://github.com/rust-lang/crates.io-index"
671checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"899checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
672dependencies = [900dependencies = [
673 "cfg-if",901 "cfg-if 0.1.10",
674]902]
675903
676[[package]]904[[package]]
677name = "crossbeam-channel"905name = "crossbeam-channel"
678version = "0.4.2"906version = "0.4.4"
679source = "registry+https://github.com/rust-lang/crates.io-index"907source = "registry+https://github.com/rust-lang/crates.io-index"
680checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061"908checksum = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87"
681dependencies = [909dependencies = [
682 "crossbeam-utils",910 "crossbeam-utils",
683 "maybe-uninit",911 "maybe-uninit",
700source = "registry+https://github.com/rust-lang/crates.io-index"928source = "registry+https://github.com/rust-lang/crates.io-index"
701checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"929checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
702dependencies = [930dependencies = [
703 "autocfg 1.0.0",931 "autocfg 1.0.1",
704 "cfg-if",932 "cfg-if 0.1.10",
705 "crossbeam-utils",933 "crossbeam-utils",
706 "lazy_static",934 "lazy_static",
707 "maybe-uninit",935 "maybe-uninit",
708 "memoffset",936 "memoffset",
709 "scopeguard",937 "scopeguard 1.1.0",
710]938]
711939
712[[package]]940[[package]]
715source = "registry+https://github.com/rust-lang/crates.io-index"943source = "registry+https://github.com/rust-lang/crates.io-index"
716checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"944checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
717dependencies = [945dependencies = [
718 "cfg-if",946 "cfg-if 0.1.10",
719 "crossbeam-utils",947 "crossbeam-utils",
720 "maybe-uninit",948 "maybe-uninit",
721]949]
726source = "registry+https://github.com/rust-lang/crates.io-index"954source = "registry+https://github.com/rust-lang/crates.io-index"
727checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"955checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
728dependencies = [956dependencies = [
729 "autocfg 1.0.0",957 "autocfg 1.0.1",
730 "cfg-if",958 "cfg-if 0.1.10",
731 "lazy_static",959 "lazy_static",
732]960]
733961
753source = "registry+https://github.com/rust-lang/crates.io-index"981source = "registry+https://github.com/rust-lang/crates.io-index"
754checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"982checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
755dependencies = [983dependencies = [
756 "generic-array 0.14.3",984 "generic-array 0.14.4",
757 "subtle 2.2.3",985 "subtle 2.3.0",
758]986]
759987
760[[package]]988[[package]]
761name = "ct-logs"989name = "ct-logs"
762version = "0.6.0"990version = "0.7.0"
763source = "registry+https://github.com/rust-lang/crates.io-index"991source = "registry+https://github.com/rust-lang/crates.io-index"
764checksum = "4d3686f5fa27dbc1d76c751300376e167c5a43387f44bb451fd1c24776e49113"992checksum = "8c8e13110a84b6315df212c045be706af261fd364791cad863285439ebba672e"
765dependencies = [993dependencies = [
766 "sct",994 "sct",
767]995]
996
997[[package]]
998name = "cuckoofilter"
999version = "0.3.2"
1000source = "registry+https://github.com/rust-lang/crates.io-index"
1001checksum = "8dd43f7cfaffe0a386636a10baea2ee05cc50df3b77bea4a456c9572a939bf1f"
1002dependencies = [
1003 "byteorder 0.5.3",
1004 "rand 0.3.23",
1005]
7681006
769[[package]]1007[[package]]
770name = "curve25519-dalek"1008name = "curve25519-dalek"
771version = "2.1.0"1009version = "2.1.0"
772source = "registry+https://github.com/rust-lang/crates.io-index"1010source = "registry+https://github.com/rust-lang/crates.io-index"
773checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5"1011checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5"
774dependencies = [1012dependencies = [
775 "byteorder",1013 "byteorder 1.3.4",
776 "digest 0.8.1",1014 "digest 0.8.1",
777 "rand_core 0.5.1",1015 "rand_core 0.5.1",
778 "subtle 2.2.3",1016 "subtle 2.3.0",
779 "zeroize",1017 "zeroize",
780]1018]
1019
1020[[package]]
1021name = "curve25519-dalek"
1022version = "3.0.0"
1023source = "registry+https://github.com/rust-lang/crates.io-index"
1024checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307"
1025dependencies = [
1026 "byteorder 1.3.4",
1027 "digest 0.9.0",
1028 "rand_core 0.5.1",
1029 "subtle 2.3.0",
1030 "zeroize",
1031]
7811032
782[[package]]1033[[package]]
783name = "data-encoding"1034name = "data-encoding"
784version = "2.2.1"1035version = "2.3.0"
785source = "registry+https://github.com/rust-lang/crates.io-index"1036source = "registry+https://github.com/rust-lang/crates.io-index"
786checksum = "72aa14c04dfae8dd7d8a2b1cb7ca2152618cd01336dbfe704b8dcbf8d41dbd69"1037checksum = "d4d0e2d24e5ee3b23a01de38eefdcd978907890701f08ffffd4cb457ca4ee8d6"
7871038
788[[package]]1039[[package]]
789name = "derive_more"1040name = "derive_more"
790version = "0.99.9"1041version = "0.99.11"
791source = "registry+https://github.com/rust-lang/crates.io-index"1042source = "registry+https://github.com/rust-lang/crates.io-index"
792checksum = "298998b1cf6b5b2c8a7b023dfd45821825ce3ba8a8af55c921a0e734e4653f76"1043checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c"
793dependencies = [1044dependencies = [
794 "proc-macro2",1045 "proc-macro2",
795 "quote 1.0.7",1046 "quote",
796 "syn 1.0.34",1047 "syn",
797]1048]
7981049
799[[package]]1050[[package]]
811source = "registry+https://github.com/rust-lang/crates.io-index"1062source = "registry+https://github.com/rust-lang/crates.io-index"
812checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"1063checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
813dependencies = [1064dependencies = [
814 "generic-array 0.14.3",1065 "generic-array 0.14.4",
815]1066]
8161067
817[[package]]1068[[package]]
820source = "registry+https://github.com/rust-lang/crates.io-index"1071source = "registry+https://github.com/rust-lang/crates.io-index"
821checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c"1072checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c"
822dependencies = [1073dependencies = [
823 "cfg-if",1074 "cfg-if 0.1.10",
824 "dirs-sys",1075 "dirs-sys",
825]1076]
8261077
841source = "registry+https://github.com/rust-lang/crates.io-index"1092source = "registry+https://github.com/rust-lang/crates.io-index"
842checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea"1093checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea"
843dependencies = [1094dependencies = [
844 "byteorder",1095 "byteorder 1.3.4",
845 "quick-error",1096 "quick-error",
846]1097]
8471098
848[[package]]1099[[package]]
849name = "doc-comment"1100name = "dyn-clonable"
850version = "0.3.3"1101version = "0.9.0"
851source = "registry+https://github.com/rust-lang/crates.io-index"1102source = "registry+https://github.com/rust-lang/crates.io-index"
852checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"1103checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4"
1104dependencies = [
1105 "dyn-clonable-impl",
1106 "dyn-clone",
1107]
8531108
854[[package]]1109[[package]]
855name = "ed25519-dalek"1110name = "dyn-clonable-impl"
856version = "1.0.0-pre.3"1111version = "0.9.0"
857source = "registry+https://github.com/rust-lang/crates.io-index"1112source = "registry+https://github.com/rust-lang/crates.io-index"
858checksum = "978710b352437433c97b2bff193f2fb1dfd58a093f863dd95e225a19baa599a2"1113checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5"
859dependencies = [1114dependencies = [
860 "clear_on_drop",1115 "proc-macro2",
861 "curve25519-dalek",1116 "quote",
862 "rand 0.7.3",1117 "syn",
863 "sha2 0.8.2",
864]1118]
1119
1120[[package]]
1121name = "dyn-clone"
1122version = "1.0.2"
1123source = "registry+https://github.com/rust-lang/crates.io-index"
1124checksum = "4c53dc3a653e0f64081026e4bf048d48fec9fce90c66e8326ca7292df0ff2d82"
8651125
866[[package]]1126[[package]]
867name = "either"1127name = "ed25519"
868version = "1.5.3"1128version = "1.0.3"
869source = "registry+https://github.com/rust-lang/crates.io-index"1129source = "registry+https://github.com/rust-lang/crates.io-index"
870checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"1130checksum = "37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef"
1131dependencies = [
1132 "signature",
1133]
8711134
872[[package]]1135[[package]]
873name = "enum-primitive-derive"1136name = "ed25519-dalek"
874version = "0.1.2"1137version = "1.0.1"
875source = "registry+https://github.com/rust-lang/crates.io-index"1138source = "registry+https://github.com/rust-lang/crates.io-index"
876checksum = "e2b90e520ec62c1864c8c78d637acbfe8baf5f63240f2fb8165b8325c07812dd"1139checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
877dependencies = [1140dependencies = [
878 "num-traits 0.1.43",1141 "curve25519-dalek 3.0.0",
1142 "ed25519",
879 "quote 0.3.15",1143 "rand 0.7.3",
1144 "serde",
880 "syn 0.11.11",1145 "sha2 0.9.1",
1146 "zeroize",
881]1147]
1148
1149[[package]]
1150name = "either"
1151version = "1.6.1"
1152source = "registry+https://github.com/rust-lang/crates.io-index"
1153checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
8821154
883[[package]]1155[[package]]
884name = "env_logger"1156name = "env_logger"
8951167
896[[package]]1168[[package]]
897name = "environmental"1169name = "environmental"
898version = "1.1.1"1170version = "1.1.2"
899source = "registry+https://github.com/rust-lang/crates.io-index"1171source = "registry+https://github.com/rust-lang/crates.io-index"
900checksum = "516aa8d7a71cb00a1c4146f0798549b93d083d4f189b3ced8f3de6b8f11ee6c4"1172checksum = "6576a1755ddffd988788025e75bce9e74b018f7cc226198fe931d077911c6d7e"
9011173
902[[package]]1174[[package]]
903name = "erased-serde"1175name = "erased-serde"
908 "serde",1180 "serde",
909]1181]
1182
1183[[package]]
1184name = "errno"
1185version = "0.2.6"
1186source = "registry+https://github.com/rust-lang/crates.io-index"
1187checksum = "6eab5ee3df98a279d9b316b1af6ac95422127b1290317e6d18c1743c99418b01"
1188dependencies = [
1189 "errno-dragonfly",
1190 "libc",
1191 "winapi 0.3.9",
1192]
1193
1194[[package]]
1195name = "errno-dragonfly"
1196version = "0.1.1"
1197source = "registry+https://github.com/rust-lang/crates.io-index"
1198checksum = "14ca354e36190500e1e1fb267c647932382b54053c50b14970856c0b00a35067"
1199dependencies = [
1200 "gcc",
1201 "libc",
1202]
1203
1204[[package]]
1205name = "event-listener"
1206version = "2.5.1"
1207source = "registry+https://github.com/rust-lang/crates.io-index"
1208checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
9101209
911[[package]]1210[[package]]
912name = "exit-future"1211name = "exit-future"
913version = "0.2.0"1212version = "0.2.0"
914source = "registry+https://github.com/rust-lang/crates.io-index"1213source = "registry+https://github.com/rust-lang/crates.io-index"
915checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"1214checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
916dependencies = [1215dependencies = [
917 "futures 0.3.5",1216 "futures 0.3.6",
918]1217]
9191218
920[[package]]1219[[package]]
934checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"1233checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
935dependencies = [1234dependencies = [
936 "proc-macro2",1235 "proc-macro2",
937 "quote 1.0.7",1236 "quote",
938 "syn 1.0.34",1237 "syn",
939 "synstructure",1238 "synstructure",
940]1239]
9411240
945source = "registry+https://github.com/rust-lang/crates.io-index"1244source = "registry+https://github.com/rust-lang/crates.io-index"
946checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"1245checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
1246
1247[[package]]
1248name = "fallible-iterator"
1249version = "0.2.0"
1250source = "registry+https://github.com/rust-lang/crates.io-index"
1251checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
1252
1253[[package]]
1254name = "fastrand"
1255version = "1.4.0"
1256source = "registry+https://github.com/rust-lang/crates.io-index"
1257checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3"
1258dependencies = [
1259 "instant",
1260]
9471261
948[[package]]1262[[package]]
949name = "fdlimit"1263name = "fdlimit"
950version = "0.1.4"1264version = "0.2.1"
951source = "registry+https://github.com/rust-lang/crates.io-index"1265source = "registry+https://github.com/rust-lang/crates.io-index"
952checksum = "0da54a593b34c71b889ee45f5b5bb900c74148c5f7f8c6a9479ee7899f69603c"1266checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b"
953dependencies = [1267dependencies = [
954 "libc",1268 "libc",
955]1269]
1270
1271[[package]]
1272name = "file-per-thread-logger"
1273version = "0.1.4"
1274source = "registry+https://github.com/rust-lang/crates.io-index"
1275checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126"
1276dependencies = [
1277 "env_logger",
1278 "log",
1279]
9561280
957[[package]]1281[[package]]
958name = "finality-grandpa"1282name = "finality-grandpa"
961checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b"1285checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b"
962dependencies = [1286dependencies = [
963 "either",1287 "either",
964 "futures 0.3.5",1288 "futures 0.3.6",
965 "futures-timer 2.0.2",1289 "futures-timer 2.0.2",
966 "log",1290 "log",
967 "num-traits 0.2.12",1291 "num-traits",
968 "parity-scale-codec",1292 "parity-scale-codec",
969 "parking_lot 0.9.0",1293 "parking_lot 0.9.0",
970]1294]
975source = "registry+https://github.com/rust-lang/crates.io-index"1299source = "registry+https://github.com/rust-lang/crates.io-index"
976checksum = "11498d382790b7a8f2fd211780bec78619bba81cdad3a283997c0c41f836759c"1300checksum = "11498d382790b7a8f2fd211780bec78619bba81cdad3a283997c0c41f836759c"
977dependencies = [1301dependencies = [
978 "byteorder",1302 "byteorder 1.3.4",
979 "rand 0.7.3",1303 "rand 0.7.3",
980 "rustc-hex",1304 "rustc-hex",
981 "static_assertions",1305 "static_assertions",
9891313
990[[package]]1314[[package]]
991name = "flate2"1315name = "flate2"
992version = "1.0.16"1316version = "1.0.18"
993source = "registry+https://github.com/rust-lang/crates.io-index"1317source = "registry+https://github.com/rust-lang/crates.io-index"
994checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e"1318checksum = "da80be589a72651dcda34d8b35bcdc9b7254ad06325611074d9cc0fbb19f60ee"
995dependencies = [1319dependencies = [
996 "cfg-if",1320 "cfg-if 0.1.10",
997 "crc32fast",1321 "crc32fast",
998 "libc",1322 "libc",
999 "libz-sys",1323 "libz-sys",
10081332
1009[[package]]1333[[package]]
1010name = "fork-tree"1334name = "fork-tree"
1011version = "2.0.0-rc4"1335version = "2.0.0"
1012source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1336source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1013dependencies = [1337dependencies = [
1014 "parity-scale-codec",1338 "parity-scale-codec",
1015]1339]
10161340
1017[[package]]1341[[package]]
1018name = "frame-benchmarking"1342name = "frame-benchmarking"
1019version = "2.0.0-rc4"1343version = "2.0.0"
1020source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1344source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1021dependencies = [1345dependencies = [
1022 "frame-support",1346 "frame-support",
1023 "frame-system",1347 "frame-system",
1029 "sp-runtime",1353 "sp-runtime",
1030 "sp-runtime-interface",1354 "sp-runtime-interface",
1031 "sp-std",1355 "sp-std",
1356 "sp-storage",
1032]1357]
1358
1359[[package]]
1360name = "frame-benchmarking-cli"
1361version = "2.0.0"
1362source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1363dependencies = [
1364 "frame-benchmarking",
1365 "parity-scale-codec",
1366 "sc-cli",
1367 "sc-client-db",
1368 "sc-executor",
1369 "sc-service",
1370 "sp-core",
1371 "sp-externalities",
1372 "sp-runtime",
1373 "sp-state-machine",
1374 "structopt",
1375]
10331376
1034[[package]]1377[[package]]
1035name = "frame-executive"1378name = "frame-executive"
1036version = "2.0.0-rc4"1379version = "2.0.0"
1037source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1380source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1038dependencies = [1381dependencies = [
1039 "frame-support",1382 "frame-support",
1040 "frame-system",1383 "frame-system",
1041 "parity-scale-codec",1384 "parity-scale-codec",
1042 "serde",1385 "serde",
1386 "sp-core",
1043 "sp-io",1387 "sp-io",
1044 "sp-runtime",1388 "sp-runtime",
1045 "sp-std",1389 "sp-std",
10481392
1049[[package]]1393[[package]]
1050name = "frame-metadata"1394name = "frame-metadata"
1051version = "11.0.0-rc4"1395version = "12.0.0"
1052source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1396source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1053dependencies = [1397dependencies = [
1054 "parity-scale-codec",1398 "parity-scale-codec",
1055 "serde",1399 "serde",
10591403
1060[[package]]1404[[package]]
1061name = "frame-support"1405name = "frame-support"
1062version = "2.0.0-rc4"1406version = "2.0.0"
1063source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1407source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1064dependencies = [1408dependencies = [
1065 "bitmask",1409 "bitmask",
1066 "frame-metadata",1410 "frame-metadata",
1067 "frame-support-procedural",1411 "frame-support-procedural",
1068 "impl-trait-for-tuples",1412 "impl-trait-for-tuples",
1069 "log",1413 "log",
1070 "once_cell",1414 "once_cell 1.4.1",
1071 "parity-scale-codec",1415 "parity-scale-codec",
1072 "paste",1416 "paste",
1073 "serde",1417 "serde",
1074 "smallvec 1.4.1",1418 "smallvec 1.4.2",
1075 "sp-arithmetic",1419 "sp-arithmetic",
1076 "sp-core",1420 "sp-core",
1077 "sp-inherents",1421 "sp-inherents",
10841428
1085[[package]]1429[[package]]
1086name = "frame-support-procedural"1430name = "frame-support-procedural"
1087version = "2.0.0-rc4"1431version = "2.0.0"
1088source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1432source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1089dependencies = [1433dependencies = [
1090 "frame-support-procedural-tools",1434 "frame-support-procedural-tools",
1091 "proc-macro2",1435 "proc-macro2",
1092 "quote 1.0.7",1436 "quote",
1093 "syn 1.0.34",1437 "syn",
1094]1438]
10951439
1096[[package]]1440[[package]]
1097name = "frame-support-procedural-tools"1441name = "frame-support-procedural-tools"
1098version = "2.0.0-rc4"1442version = "2.0.0"
1099source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1443source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1100dependencies = [1444dependencies = [
1101 "frame-support-procedural-tools-derive",1445 "frame-support-procedural-tools-derive",
1102 "proc-macro-crate",1446 "proc-macro-crate",
1103 "proc-macro2",1447 "proc-macro2",
1104 "quote 1.0.7",1448 "quote",
1105 "syn 1.0.34",1449 "syn",
1106]1450]
11071451
1108[[package]]1452[[package]]
1109name = "frame-support-procedural-tools-derive"1453name = "frame-support-procedural-tools-derive"
1110version = "2.0.0-rc4"1454version = "2.0.0"
1111source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1455source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1112dependencies = [1456dependencies = [
1113 "proc-macro2",1457 "proc-macro2",
1114 "quote 1.0.7",1458 "quote",
1115 "syn 1.0.34",1459 "syn",
1116]1460]
11171461
1118[[package]]1462[[package]]
1119name = "frame-system"1463name = "frame-system"
1120version = "2.0.0-rc4"1464version = "2.0.0"
1121source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"1465source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1122dependencies = [1466dependencies = [
1123 "frame-support",1467 "frame-support",
1124 "impl-trait-for-tuples",1468 "impl-trait-for-tuples",
1131 "sp-version",1475 "sp-version",
1132]1476]
1477
1478[[package]]
1479name = "frame-system-benchmarking"
1480version = "2.0.0"
1481source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1482dependencies = [
1483 "frame-benchmarking",
1484 "frame-support",
1485 "frame-system",
1486 "parity-scale-codec",
1487 "sp-core",
1488 "sp-runtime",
1489 "sp-std",
1490]
1491
1492[[package]]
1493name = "frame-system-rpc-runtime-api"
1494version = "2.0.0"
1495source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
1496dependencies = [
1497 "parity-scale-codec",
1498 "sp-api",
1499]
11331500
1134[[package]]1501[[package]]
1135name = "fs-swap"1502name = "fs-swap"
11671534
1168[[package]]1535[[package]]
1169name = "futures"1536name = "futures"
1170version = "0.1.29"1537version = "0.1.30"
1171source = "registry+https://github.com/rust-lang/crates.io-index"1538source = "registry+https://github.com/rust-lang/crates.io-index"
1172checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"1539checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed"
11731540
1174[[package]]1541[[package]]
1175name = "futures"1542name = "futures"
1176version = "0.3.5"1543version = "0.3.6"
1177source = "registry+https://github.com/rust-lang/crates.io-index"1544source = "registry+https://github.com/rust-lang/crates.io-index"
1178checksum = "1e05b85ec287aac0dc34db7d4a569323df697f9c55b99b15d6b4ef8cde49f613"1545checksum = "5d8e3078b7b2a8a671cb7a3d17b4760e4181ea243227776ba83fd043b4ca034e"
1179dependencies = [1546dependencies = [
1180 "futures-channel",1547 "futures-channel",
1181 "futures-core",1548 "futures-core",
11881555
1189[[package]]1556[[package]]
1190name = "futures-channel"1557name = "futures-channel"
1191version = "0.3.5"1558version = "0.3.6"
1192source = "registry+https://github.com/rust-lang/crates.io-index"1559source = "registry+https://github.com/rust-lang/crates.io-index"
1193checksum = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5"1560checksum = "a7a4d35f7401e948629c9c3d6638fb9bf94e0b2121e96c3b428cc4e631f3eb74"
1194dependencies = [1561dependencies = [
1195 "futures-core",1562 "futures-core",
1196 "futures-sink",1563 "futures-sink",
12071574
1208[[package]]1575[[package]]
1209name = "futures-core"1576name = "futures-core"
1210version = "0.3.5"1577version = "0.3.6"
1211source = "registry+https://github.com/rust-lang/crates.io-index"1578source = "registry+https://github.com/rust-lang/crates.io-index"
1212checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399"1579checksum = "d674eaa0056896d5ada519900dbf97ead2e46a7b6621e8160d79e2f2e1e2784b"
12131580
1214[[package]]1581[[package]]
1215name = "futures-core-preview"1582name = "futures-core-preview"
1223source = "registry+https://github.com/rust-lang/crates.io-index"1590source = "registry+https://github.com/rust-lang/crates.io-index"
1224checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"1591checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
1225dependencies = [1592dependencies = [
1226 "futures 0.1.29",1593 "futures 0.1.30",
1227 "num_cpus",1594 "num_cpus",
1228]1595]
12291596
1233source = "registry+https://github.com/rust-lang/crates.io-index"1600source = "registry+https://github.com/rust-lang/crates.io-index"
1234checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9"1601checksum = "fdcef58a173af8148b182684c9f2d5250875adbcaff7b5794073894f9d8634a9"
1235dependencies = [1602dependencies = [
1236 "futures 0.1.29",1603 "futures 0.1.30",
1237 "futures 0.3.5",1604 "futures 0.3.6",
1238 "lazy_static",1605 "lazy_static",
1239 "log",1606 "log",
1240 "parking_lot 0.9.0",1607 "parking_lot 0.9.0",
12451612
1246[[package]]1613[[package]]
1247name = "futures-executor"1614name = "futures-executor"
1248version = "0.3.5"1615version = "0.3.6"
1249source = "registry+https://github.com/rust-lang/crates.io-index"1616source = "registry+https://github.com/rust-lang/crates.io-index"
1250checksum = "10d6bb888be1153d3abeb9006b11b02cf5e9b209fda28693c31ae1e4e012e314"1617checksum = "cc709ca1da6f66143b8c9bec8e6260181869893714e9b5a490b169b0414144ab"
1251dependencies = [1618dependencies = [
1252 "futures-core",1619 "futures-core",
1253 "futures-task",1620 "futures-task",
12571624
1258[[package]]1625[[package]]
1259name = "futures-io"1626name = "futures-io"
1260version = "0.3.5"1627version = "0.3.6"
1261source = "registry+https://github.com/rust-lang/crates.io-index"1628source = "registry+https://github.com/rust-lang/crates.io-index"
1262checksum = "de27142b013a8e869c14957e6d2edeef89e97c289e69d042ee3a49acd8b51789"1629checksum = "5fc94b64bb39543b4e432f1790b6bf18e3ee3b74653c5449f63310e9a74b123c"
1630
1631[[package]]
1632name = "futures-lite"
1633version = "1.11.1"
1634source = "registry+https://github.com/rust-lang/crates.io-index"
1635checksum = "381a7ad57b1bad34693f63f6f377e1abded7a9c85c9d3eb6771e11c60aaadab9"
1636dependencies = [
1637 "fastrand",
1638 "futures-core",
1639 "futures-io",
1640 "memchr",
1641 "parking",
1642 "pin-project-lite",
1643 "waker-fn",
1644]
12631645
1264[[package]]1646[[package]]
1265name = "futures-macro"1647name = "futures-macro"
1266version = "0.3.5"1648version = "0.3.6"
1267source = "registry+https://github.com/rust-lang/crates.io-index"1649source = "registry+https://github.com/rust-lang/crates.io-index"
1268checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39"1650checksum = "f57ed14da4603b2554682e9f2ff3c65d7567b53188db96cb71538217fc64581b"
1269dependencies = [1651dependencies = [
1270 "proc-macro-hack",1652 "proc-macro-hack",
1271 "proc-macro2",1653 "proc-macro2",
1272 "quote 1.0.7",1654 "quote",
1273 "syn 1.0.34",1655 "syn",
1274]1656]
12751657
1276[[package]]1658[[package]]
1277name = "futures-sink"1659name = "futures-sink"
1278version = "0.3.5"1660version = "0.3.6"
1279source = "registry+https://github.com/rust-lang/crates.io-index"1661source = "registry+https://github.com/rust-lang/crates.io-index"
1280checksum = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc"1662checksum = "0d8764258ed64ebc5d9ed185cf86a95db5cac810269c5d20ececb32e0088abbd"
12811663
1282[[package]]1664[[package]]
1283name = "futures-task"1665name = "futures-task"
1284version = "0.3.5"1666version = "0.3.6"
1285source = "registry+https://github.com/rust-lang/crates.io-index"1667source = "registry+https://github.com/rust-lang/crates.io-index"
1286checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626"1668checksum = "4dd26820a9f3637f1302da8bceba3ff33adbe53464b54ca24d4e2d4f1db30f94"
1287dependencies = [1669dependencies = [
1288 "once_cell",1670 "once_cell 1.4.1",
1289]1671]
12901672
1291[[package]]1673[[package]]
13021684
1303[[package]]1685[[package]]
1304name = "futures-util"1686name = "futures-util"
1305version = "0.3.5"1687version = "0.3.6"
1306source = "registry+https://github.com/rust-lang/crates.io-index"1688source = "registry+https://github.com/rust-lang/crates.io-index"
1307checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6"1689checksum = "8a894a0acddba51a2d49a6f4263b1e64b8c579ece8af50fa86503d52cd1eea34"
1308dependencies = [1690dependencies = [
1309 "futures 0.1.29",1691 "futures 0.1.30",
1310 "futures-channel",1692 "futures-channel",
1311 "futures-core",1693 "futures-core",
1312 "futures-io",1694 "futures-io",
1333 "slab",1715 "slab",
1334]1716]
1335
1336[[package]]
1337name = "futures_codec"
1338version = "0.3.4"
1339source = "registry+https://github.com/rust-lang/crates.io-index"
1340checksum = "a0a73299e4718f5452e45980fc1d6957a070abe308d3700b63b8673f47e1c2b3"
1341dependencies = [
1342 "bytes 0.5.6",
1343 "futures 0.3.5",
1344 "memchr",
1345 "pin-project",
1346]
13471717
1348[[package]]1718[[package]]
1349name = "futures_codec"1719name = "futures_codec"
1352checksum = "ce54d63f8b0c75023ed920d46fd71d0cbbb830b0ee012726b5b4f506fb6dea5b"1722checksum = "ce54d63f8b0c75023ed920d46fd71d0cbbb830b0ee012726b5b4f506fb6dea5b"
1353dependencies = [1723dependencies = [
1354 "bytes 0.5.6",1724 "bytes 0.5.6",
1355 "futures 0.3.5",1725 "futures 0.3.6",
1356 "memchr",1726 "memchr",
1357 "pin-project",1727 "pin-project",
1358]1728]
13741744
1375[[package]]1745[[package]]
1376name = "generic-array"1746name = "generic-array"
1377version = "0.14.3"1747version = "0.14.4"
1378source = "registry+https://github.com/rust-lang/crates.io-index"1748source = "registry+https://github.com/rust-lang/crates.io-index"
1379checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63"1749checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
1380dependencies = [1750dependencies = [
1381 "typenum",1751 "typenum",
1382 "version_check",1752 "version_check",
14061776
1407[[package]]1777[[package]]
1408name = "getrandom"1778name = "getrandom"
1409version = "0.1.14"1779version = "0.1.15"
1410source = "registry+https://github.com/rust-lang/crates.io-index"1780source = "registry+https://github.com/rust-lang/crates.io-index"
1411checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"1781checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6"
1412dependencies = [1782dependencies = [
1413 "cfg-if",1783 "cfg-if 0.1.10",
1414 "libc",1784 "libc",
1415 "wasi",1785 "wasi 0.9.0+wasi-snapshot-preview1",
1416]1786]
1787
1788[[package]]
1789name = "getrandom"
1790version = "0.2.0"
1791source = "registry+https://github.com/rust-lang/crates.io-index"
1792checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
1793dependencies = [
1794 "cfg-if 0.1.10",
1795 "libc",
1796 "wasi 0.9.0+wasi-snapshot-preview1",
1797]
14171798
1418[[package]]1799[[package]]
1419name = "ghash"1800name = "ghash"
1424 "polyval",1805 "polyval",
1425]1806]
1807
1808[[package]]
1809name = "gimli"
1810version = "0.21.0"
1811source = "registry+https://github.com/rust-lang/crates.io-index"
1812checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c"
1813dependencies = [
1814 "fallible-iterator",
1815 "indexmap",
1816 "stable_deref_trait",
1817]
14261818
1427[[package]]1819[[package]]
1428name = "gimli"1820name = "gimli"
1449 "regex",1841 "regex",
1450]1842]
1843
1844[[package]]
1845name = "gloo-timers"
1846version = "0.2.1"
1847source = "registry+https://github.com/rust-lang/crates.io-index"
1848checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f"
1849dependencies = [
1850 "futures-channel",
1851 "futures-core",
1852 "js-sys",
1853 "wasm-bindgen",
1854 "web-sys",
1855]
14511856
1452[[package]]1857[[package]]
1453name = "h2"1858name = "h2"
1454version = "0.1.26"1859version = "0.1.26"
1455source = "registry+https://github.com/rust-lang/crates.io-index"1860source = "registry+https://github.com/rust-lang/crates.io-index"
1456checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462"1861checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462"
1457dependencies = [1862dependencies = [
1458 "byteorder",1863 "byteorder 1.3.4",
1459 "bytes 0.4.12",1864 "bytes 0.4.12",
1460 "fnv",1865 "fnv",
1461 "futures 0.1.29",1866 "futures 0.1.30",
1462 "http 0.1.21",1867 "http 0.1.21",
1463 "indexmap",1868 "indexmap",
1464 "log",1869 "log",
1481 "http 0.2.1",1886 "http 0.2.1",
1482 "indexmap",1887 "indexmap",
1483 "slab",1888 "slab",
1484 "tokio 0.2.21",1889 "tokio 0.2.22",
1485 "tokio-util",1890 "tokio-util",
1486 "tracing",1891 "tracing",
1487]1892]
1501 "crunchy",1906 "crunchy",
1502]1907]
1908
1909[[package]]
1910name = "hashbrown"
1911version = "0.1.8"
1912source = "registry+https://github.com/rust-lang/crates.io-index"
1913checksum = "3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da"
1914dependencies = [
1915 "byteorder 1.3.4",
1916 "scopeguard 0.3.3",
1917]
15031918
1504[[package]]1919[[package]]
1505name = "hashbrown"1920name = "hashbrown"
1506version = "0.6.3"1921version = "0.6.3"
1507source = "registry+https://github.com/rust-lang/crates.io-index"1922source = "registry+https://github.com/rust-lang/crates.io-index"
1508checksum = "8e6073d0ca812575946eb5f35ff68dbe519907b25c42530389ff946dc84c6ead"1923checksum = "8e6073d0ca812575946eb5f35ff68dbe519907b25c42530389ff946dc84c6ead"
1509dependencies = [1924dependencies = [
1510 "ahash",1925 "ahash 0.2.19",
1511 "autocfg 0.1.7",1926 "autocfg 0.1.7",
1512]1927]
15131928
1514[[package]]1929[[package]]
1515name = "hashbrown"1930name = "hashbrown"
1516version = "0.8.1"1931version = "0.8.2"
1517source = "registry+https://github.com/rust-lang/crates.io-index"1932source = "registry+https://github.com/rust-lang/crates.io-index"
1518checksum = "34f595585f103464d8d2f6e9864682d74c1601fed5e07d62b1c9058dba8246fb"1933checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
1519dependencies = [1934dependencies = [
1935 "ahash 0.3.8",
1520 "autocfg 1.0.0",1936 "autocfg 1.0.1",
1521]1937]
1938
1939[[package]]
1940name = "hashbrown"
1941version = "0.9.1"
1942source = "registry+https://github.com/rust-lang/crates.io-index"
1943checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
15221944
1523[[package]]1945[[package]]
1524name = "heck"1946name = "heck"
15311953
1532[[package]]1954[[package]]
1533name = "hermit-abi"1955name = "hermit-abi"
1534version = "0.1.15"1956version = "0.1.17"
1535source = "registry+https://github.com/rust-lang/crates.io-index"1957source = "registry+https://github.com/rust-lang/crates.io-index"
1536checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"1958checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
1537dependencies = [1959dependencies = [
1538 "libc",1960 "libc",
1539]1961]
15461968
1547[[package]]1969[[package]]
1548name = "hex-literal"1970name = "hex-literal"
1549version = "0.2.1"1971version = "0.3.1"
1550source = "registry+https://github.com/rust-lang/crates.io-index"1972source = "registry+https://github.com/rust-lang/crates.io-index"
1551checksum = "961de220ec9a91af2e1e5bd80d02109155695e516771762381ef8581317066e0"1973checksum = "5af1f635ef1bc545d78392b136bfe1c9809e029023c84a3638a864a10b8819c8"
1552dependencies = [
1553 "hex-literal-impl",
1554 "proc-macro-hack",
1555]
15561974
1557[[package]]1975[[package]]
1558name = "hex-literal-impl"1976name = "hex_fmt"
1559version = "0.2.2"1977version = "0.3.0"
1560source = "registry+https://github.com/rust-lang/crates.io-index"1978source = "registry+https://github.com/rust-lang/crates.io-index"
1561checksum = "853f769599eb31de176303197b7ba4973299c38c7a7604a6bc88c3eef05b9b46"1979checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f"
1562dependencies = [
1563 "proc-macro-hack",
1564]
15651980
1566[[package]]1981[[package]]
1567name = "hmac"1982name = "hmac"
1613checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"2028checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
1614dependencies = [2029dependencies = [
1615 "bytes 0.4.12",2030 "bytes 0.4.12",
1616 "futures 0.1.29",2031 "futures 0.1.30",
1617 "http 0.1.21",2032 "http 0.1.21",
1618 "tokio-buf",2033 "tokio-buf",
1619]2034]
1634source = "registry+https://github.com/rust-lang/crates.io-index"2049source = "registry+https://github.com/rust-lang/crates.io-index"
1635checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"2050checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
2051
2052[[package]]
2053name = "httpdate"
2054version = "0.3.2"
2055source = "registry+https://github.com/rust-lang/crates.io-index"
2056checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
16362057
1637[[package]]2058[[package]]
1638name = "humantime"2059name = "humantime"
1650checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6"2071checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6"
1651dependencies = [2072dependencies = [
1652 "bytes 0.4.12",2073 "bytes 0.4.12",
1653 "futures 0.1.29",2074 "futures 0.1.30",
1654 "futures-cpupool",2075 "futures-cpupool",
1655 "h2 0.1.26",2076 "h2 0.1.26",
1656 "http 0.1.21",2077 "http 0.1.21",
16752096
1676[[package]]2097[[package]]
1677name = "hyper"2098name = "hyper"
1678version = "0.13.7"2099version = "0.13.8"
1679source = "registry+https://github.com/rust-lang/crates.io-index"2100source = "registry+https://github.com/rust-lang/crates.io-index"
1680checksum = "3e68a8dd9716185d9e64ea473ea6ef63529252e3e27623295a0378a19665d5eb"2101checksum = "2f3afcfae8af5ad0576a31e768415edb627824129e8e5a29b8bfccb2f234e835"
1681dependencies = [2102dependencies = [
1682 "bytes 0.5.6",2103 "bytes 0.5.6",
1683 "futures-channel",2104 "futures-channel",
1687 "http 0.2.1",2108 "http 0.2.1",
1688 "http-body 0.3.1",2109 "http-body 0.3.1",
1689 "httparse",2110 "httparse",
2111 "httpdate",
1690 "itoa",2112 "itoa",
1691 "pin-project",2113 "pin-project",
1692 "socket2",2114 "socket2",
1693 "time",
1694 "tokio 0.2.21",2115 "tokio 0.2.22",
1695 "tower-service",2116 "tower-service",
1696 "tracing",2117 "tracing",
1697 "want 0.3.0",2118 "want 0.3.0",
1698]2119]
16992120
1700[[package]]2121[[package]]
1701name = "hyper-rustls"2122name = "hyper-rustls"
1702version = "0.20.0"2123version = "0.21.0"
1703source = "registry+https://github.com/rust-lang/crates.io-index"2124source = "registry+https://github.com/rust-lang/crates.io-index"
1704checksum = "ac965ea399ec3a25ac7d13b8affd4b8f39325cca00858ddf5eb29b79e6b14b08"2125checksum = "37743cc83e8ee85eacfce90f2f4102030d9ff0a95244098d781e9bee4a90abb6"
1705dependencies = [2126dependencies = [
1706 "bytes 0.5.6",2127 "bytes 0.5.6",
1707 "ct-logs",2128 "ct-logs",
1708 "futures-util",2129 "futures-util",
1709 "hyper 0.13.7",2130 "hyper 0.13.8",
1710 "log",2131 "log",
1711 "rustls",2132 "rustls",
1712 "rustls-native-certs",2133 "rustls-native-certs",
1713 "tokio 0.2.21",2134 "tokio 0.2.22",
1714 "tokio-rustls",2135 "tokio-rustls",
1715 "webpki",2136 "webpki",
1716]2137]
1746 "parity-scale-codec",2167 "parity-scale-codec",
1747]2168]
1748
1749[[package]]
1750name = "impl-serde"
1751version = "0.2.3"
1752source = "registry+https://github.com/rust-lang/crates.io-index"
1753checksum = "58e3cae7e99c7ff5a995da2cf78dd0a5383740eda71d98cf7b1910c301ac69b8"
1754dependencies = [
1755 "serde",
1756]
17572169
1758[[package]]2170[[package]]
1759name = "impl-serde"2171name = "impl-serde"
1771checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d"2183checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d"
1772dependencies = [2184dependencies = [
1773 "proc-macro2",2185 "proc-macro2",
1774 "quote 1.0.7",2186 "quote",
1775 "syn 1.0.34",2187 "syn",
1776]2188]
17772189
1778[[package]]2190[[package]]
1779name = "indexmap"2191name = "indexmap"
1780version = "1.5.0"2192version = "1.6.0"
1781source = "registry+https://github.com/rust-lang/crates.io-index"2193source = "registry+https://github.com/rust-lang/crates.io-index"
1782checksum = "5b88cd59ee5f71fea89a62248fc8f387d44400cefe05ef548466d61ced9029a7"2194checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
1783dependencies = [2195dependencies = [
1784 "autocfg 1.0.0",2196 "autocfg 1.0.1",
1785 "hashbrown 0.8.1",2197 "hashbrown 0.9.1",
2198 "serde",
1786]2199]
2200
2201[[package]]
2202name = "instant"
2203version = "0.1.7"
2204source = "registry+https://github.com/rust-lang/crates.io-index"
2205checksum = "63312a18f7ea8760cdd0a7c5aac1a619752a246b833545e3e36d1f81f7cd9e66"
2206dependencies = [
2207 "cfg-if 0.1.10",
2208]
17872209
1788[[package]]2210[[package]]
1789name = "integer-sqrt"2211name = "integer-sqrt"
1790version = "0.1.3"2212version = "0.1.5"
1791source = "registry+https://github.com/rust-lang/crates.io-index"2213source = "registry+https://github.com/rust-lang/crates.io-index"
1792checksum = "f65877bf7d44897a473350b1046277941cee20b263397e90869c50b6e766088b"2214checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770"
2215dependencies = [
2216 "num-traits",
2217]
17932218
1794[[package]]2219[[package]]
1795name = "intervalier"2220name = "intervalier"
1796version = "0.4.0"2221version = "0.4.0"
1797source = "registry+https://github.com/rust-lang/crates.io-index"2222source = "registry+https://github.com/rust-lang/crates.io-index"
1798checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275"2223checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275"
1799dependencies = [2224dependencies = [
1800 "futures 0.3.5",2225 "futures 0.3.6",
1801 "futures-timer 2.0.2",2226 "futures-timer 2.0.2",
1802]2227]
18032228
18572282
1858[[package]]2283[[package]]
1859name = "js-sys"2284name = "js-sys"
1860version = "0.3.42"2285version = "0.3.45"
1861source = "registry+https://github.com/rust-lang/crates.io-index"2286source = "registry+https://github.com/rust-lang/crates.io-index"
1862checksum = "52732a3d3ad72c58ad2dc70624f9c17b46ecd0943b9a4f1ee37c4c18c5d983e2"2287checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8"
1863dependencies = [2288dependencies = [
1864 "wasm-bindgen",2289 "wasm-bindgen",
1865]2290]
18662291
1867[[package]]2292[[package]]
1868name = "jsonrpc-client-transports"2293name = "jsonrpc-client-transports"
1869version = "14.2.0"2294version = "15.1.0"
1870source = "registry+https://github.com/rust-lang/crates.io-index"2295source = "registry+https://github.com/rust-lang/crates.io-index"
1871checksum = "ecbdaacc17243168d9d1fa6b2bd7556a27e1e60a621d8a2a6e590ae2b145d158"2296checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7"
1872dependencies = [2297dependencies = [
1873 "failure",2298 "failure",
1874 "futures 0.1.29",2299 "futures 0.1.30",
1875 "jsonrpc-core",2300 "jsonrpc-core",
1876 "jsonrpc-pubsub",2301 "jsonrpc-pubsub",
1877 "log",2302 "log",
18822307
1883[[package]]2308[[package]]
1884name = "jsonrpc-core"2309name = "jsonrpc-core"
1885version = "14.2.0"2310version = "15.1.0"
1886source = "registry+https://github.com/rust-lang/crates.io-index"2311source = "registry+https://github.com/rust-lang/crates.io-index"
1887checksum = "a0747307121ffb9703afd93afbd0fb4f854c38fb873f2c8b90e0e902f27c7b62"2312checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa"
1888dependencies = [2313dependencies = [
1889 "futures 0.1.29",2314 "futures 0.1.30",
1890 "log",2315 "log",
1891 "serde",2316 "serde",
1892 "serde_derive",2317 "serde_derive",
18952320
1896[[package]]2321[[package]]
1897name = "jsonrpc-core-client"2322name = "jsonrpc-core-client"
1898version = "14.2.0"2323version = "15.1.0"
1899source = "registry+https://github.com/rust-lang/crates.io-index"2324source = "registry+https://github.com/rust-lang/crates.io-index"
1900checksum = "34221123bc79b66279a3fde2d3363553835b43092d629b34f2e760c44dc94713"2325checksum = "6f764902d7b891344a0acb65625f32f6f7c6db006952143bd650209fbe7d94db"
1901dependencies = [2326dependencies = [
1902 "jsonrpc-client-transports",2327 "jsonrpc-client-transports",
1903]2328]
19042329
1905[[package]]2330[[package]]
1906name = "jsonrpc-derive"2331name = "jsonrpc-derive"
1907version = "14.2.1"2332version = "15.1.0"
1908source = "registry+https://github.com/rust-lang/crates.io-index"2333source = "registry+https://github.com/rust-lang/crates.io-index"
1909checksum = "0fadf6945e227246825a583514534d864554e9f23d80b3c77d034b10983db5ef"2334checksum = "99a847f9ec7bb52149b2786a17c9cb260d6effc6b8eeb8c16b343a487a7563a3"
1910dependencies = [2335dependencies = [
1911 "proc-macro-crate",2336 "proc-macro-crate",
1912 "proc-macro2",2337 "proc-macro2",
1913 "quote 1.0.7",2338 "quote",
1914 "syn 1.0.34",2339 "syn",
1915]2340]
19162341
1917[[package]]2342[[package]]
1918name = "jsonrpc-http-server"2343name = "jsonrpc-http-server"
1919version = "14.2.0"2344version = "15.1.0"
1920source = "registry+https://github.com/rust-lang/crates.io-index"2345source = "registry+https://github.com/rust-lang/crates.io-index"
1921checksum = "0da906d682799df05754480dac1b9e70ec92e12c19ebafd2662a5ea1c9fd6522"2346checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7"
1922dependencies = [2347dependencies = [
1923 "hyper 0.12.35",2348 "hyper 0.12.35",
1924 "jsonrpc-core",2349 "jsonrpc-core",
19312356
1932[[package]]2357[[package]]
1933name = "jsonrpc-ipc-server"2358name = "jsonrpc-ipc-server"
1934version = "14.2.0"2359version = "15.1.0"
1935source = "registry+https://github.com/rust-lang/crates.io-index"2360source = "registry+https://github.com/rust-lang/crates.io-index"
1936checksum = "dedccd693325d833963b549e959137f30a7a0ea650cde92feda81dc0c1393cb5"2361checksum = "cf50e53e4eea8f421a7316c5f63e395f7bc7c4e786a6dc54d76fab6ff7aa7ce7"
1937dependencies = [2362dependencies = [
1938 "jsonrpc-core",2363 "jsonrpc-core",
1939 "jsonrpc-server-utils",2364 "jsonrpc-server-utils",
19452370
1946[[package]]2371[[package]]
1947name = "jsonrpc-pubsub"2372name = "jsonrpc-pubsub"
1948version = "14.2.0"2373version = "15.1.0"
1949source = "registry+https://github.com/rust-lang/crates.io-index"2374source = "registry+https://github.com/rust-lang/crates.io-index"
1950checksum = "2d44f5602a11d657946aac09357956d2841299ed422035edf140c552cb057986"2375checksum = "639558e0604013be9787ae52f798506ae42bf4220fe587bdc5625871cc8b9c77"
1951dependencies = [2376dependencies = [
1952 "jsonrpc-core",2377 "jsonrpc-core",
1953 "log",2378 "log",
19582383
1959[[package]]2384[[package]]
1960name = "jsonrpc-server-utils"2385name = "jsonrpc-server-utils"
1961version = "14.2.0"2386version = "15.1.0"
1962source = "registry+https://github.com/rust-lang/crates.io-index"2387source = "registry+https://github.com/rust-lang/crates.io-index"
1963checksum = "56cbfb462e7f902e21121d9f0d1c2b77b2c5b642e1a4e8f4ebfa2e15b94402bb"2388checksum = "72f1f3990650c033bd8f6bd46deac76d990f9bbfb5f8dc8c4767bf0a00392176"
1964dependencies = [2389dependencies = [
1965 "bytes 0.4.12",2390 "bytes 0.4.12",
1966 "globset",2391 "globset",
19742399
1975[[package]]2400[[package]]
1976name = "jsonrpc-ws-server"2401name = "jsonrpc-ws-server"
1977version = "14.2.0"2402version = "15.1.0"
1978source = "registry+https://github.com/rust-lang/crates.io-index"2403source = "registry+https://github.com/rust-lang/crates.io-index"
1979checksum = "903d3109fe7c4acb932b567e1e607e0f524ed04741b09fb0e61841bc40a022fc"2404checksum = "6596fe75209b73a2a75ebe1dce4e60e03b88a2b25e8807b667597f6315150d22"
1980dependencies = [2405dependencies = [
1981 "jsonrpc-core",2406 "jsonrpc-core",
1982 "jsonrpc-server-utils",2407 "jsonrpc-server-utils",
1983 "log",2408 "log",
2409 "parity-ws",
1984 "parking_lot 0.10.2",2410 "parking_lot 0.10.2",
1985 "slab",2411 "slab",
1986 "ws",
1987]2412]
19882413
1989[[package]]2414[[package]]
20132438
2014[[package]]2439[[package]]
2015name = "kvdb"2440name = "kvdb"
2016version = "0.6.0"2441version = "0.7.0"
2017source = "registry+https://github.com/rust-lang/crates.io-index"2442source = "registry+https://github.com/rust-lang/crates.io-index"
2018checksum = "e763b2a9b500ba47948061d1e8bc3b5f03a8a1f067dbcf822a4d2c84d2b54a3a"2443checksum = "0315ef2f688e33844400b31f11c263f2b3dc21d8b9355c6891c5f185fae43f9a"
2019dependencies = [2444dependencies = [
2020 "parity-util-mem",2445 "parity-util-mem",
2021 "smallvec 1.4.1",2446 "smallvec 1.4.2",
2022]2447]
20232448
2024[[package]]2449[[package]]
2025name = "kvdb-memorydb"2450name = "kvdb-memorydb"
2026version = "0.6.0"2451version = "0.7.0"
2027source = "registry+https://github.com/rust-lang/crates.io-index"2452source = "registry+https://github.com/rust-lang/crates.io-index"
2028checksum = "73027d5e228de6f503b5b7335d530404fc26230a6ae3e09b33ec6e45408509a4"2453checksum = "73de822b260a3bdfb889dbbb65bb2d473eee2253973d6fa4a5d149a2a4a7c66e"
2029dependencies = [2454dependencies = [
2030 "kvdb",2455 "kvdb",
2031 "parity-util-mem",2456 "parity-util-mem",
20342459
2035[[package]]2460[[package]]
2036name = "kvdb-rocksdb"2461name = "kvdb-rocksdb"
2037version = "0.8.0"2462version = "0.9.1"
2038source = "registry+https://github.com/rust-lang/crates.io-index"2463source = "registry+https://github.com/rust-lang/crates.io-index"
2039checksum = "84384eca250c7ff67877eda5336f28a86586aaee24acb945643590671f6bfce1"2464checksum = "44947dd392f09475af614d740fe0320b66d01cb5b977f664bbbb5e45a70ea4c1"
2040dependencies = [2465dependencies = [
2041 "fs-swap",2466 "fs-swap",
2042 "kvdb",2467 "kvdb",
2047 "parking_lot 0.10.2",2472 "parking_lot 0.10.2",
2048 "regex",2473 "regex",
2049 "rocksdb",2474 "rocksdb",
2050 "smallvec 1.4.1",2475 "smallvec 1.4.2",
2051]2476]
20522477
2053[[package]]2478[[package]]
20582483
2059[[package]]2484[[package]]
2060name = "lazycell"2485name = "lazycell"
2061version = "1.2.1"2486version = "1.3.0"
2062source = "registry+https://github.com/rust-lang/crates.io-index"2487source = "registry+https://github.com/rust-lang/crates.io-index"
2063checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"2488checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
20642489
2065[[package]]2490[[package]]
2066name = "libc"2491name = "leb128"
2067version = "0.2.73"2492version = "0.2.4"
2068source = "registry+https://github.com/rust-lang/crates.io-index"2493source = "registry+https://github.com/rust-lang/crates.io-index"
2069checksum = "bd7d4bd64732af4bf3a67f367c27df8520ad7e230c5817b8ff485864d80242b9"2494checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a"
20702495
2071[[package]]2496[[package]]
2072name = "libflate"2497name = "libc"
2073version = "1.0.2"2498version = "0.2.79"
2074source = "registry+https://github.com/rust-lang/crates.io-index"2499source = "registry+https://github.com/rust-lang/crates.io-index"
2075checksum = "e9bac9023e1db29c084f9f8cd9d3852e5e8fddf98fb47c4964a0ea4663d95949"2500checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743"
2076dependencies = [
2077 "adler32",
2078 "crc32fast",
2079 "libflate_lz77",
2080 "rle-decode-fast",
2081]
2082
2083[[package]]
2084name = "libflate_lz77"
2085version = "1.0.0"
2086source = "registry+https://github.com/rust-lang/crates.io-index"
2087checksum = "3286f09f7d4926fc486334f28d8d2e6ebe4f7f9994494b6dab27ddfad2c9b11b"
20882501
2089[[package]]2502[[package]]
2090name = "libloading"2503name = "libloading"
21042517
2105[[package]]2518[[package]]
2106name = "libp2p"2519name = "libp2p"
2107version = "0.19.1"2520version = "0.28.1"
2108source = "registry+https://github.com/rust-lang/crates.io-index"2521source = "registry+https://github.com/rust-lang/crates.io-index"
2109checksum = "057eba5432d3e740e313c6e13c9153d0cb76b4f71bfc2e5242ae5bdb7d41af67"2522checksum = "571f5a4604c1a40d75651da141dfde29ad15329f537a779528803297d2220274"
2110dependencies = [2523dependencies = [
2524 "atomic",
2111 "bytes 0.5.6",2525 "bytes 0.5.6",
2112 "futures 0.3.5",2526 "futures 0.3.6",
2113 "lazy_static",2527 "lazy_static",
2114 "libp2p-core",2528 "libp2p-core",
2115 "libp2p-core-derive",2529 "libp2p-core-derive",
2530 "libp2p-deflate",
2116 "libp2p-dns",2531 "libp2p-dns",
2532 "libp2p-floodsub",
2533 "libp2p-gossipsub",
2117 "libp2p-identify",2534 "libp2p-identify",
2118 "libp2p-kad",2535 "libp2p-kad",
2119 "libp2p-mdns",2536 "libp2p-mdns",
2120 "libp2p-mplex",2537 "libp2p-mplex",
2121 "libp2p-noise",2538 "libp2p-noise",
2122 "libp2p-ping",2539 "libp2p-ping",
2540 "libp2p-plaintext",
2541 "libp2p-pnet",
2542 "libp2p-request-response",
2123 "libp2p-swarm",2543 "libp2p-swarm",
2124 "libp2p-tcp",2544 "libp2p-tcp",
2545 "libp2p-uds",
2125 "libp2p-wasm-ext",2546 "libp2p-wasm-ext",
2126 "libp2p-websocket",2547 "libp2p-websocket",
2127 "libp2p-yamux",2548 "libp2p-yamux",
2128 "multihash",2549 "multihash",
2129 "parity-multiaddr 0.9.1",2550 "parity-multiaddr",
2130 "parking_lot 0.10.2",2551 "parking_lot 0.10.2",
2131 "pin-project",2552 "pin-project",
2132 "smallvec 1.4.1",2553 "smallvec 1.4.2",
2133 "wasm-timer",2554 "wasm-timer",
2134]2555]
21352556
2136[[package]]2557[[package]]
2137name = "libp2p-core"2558name = "libp2p-core"
2138version = "0.19.2"2559version = "0.22.1"
2139source = "registry+https://github.com/rust-lang/crates.io-index"2560source = "registry+https://github.com/rust-lang/crates.io-index"
2140checksum = "3a0387b930c3d4c2533dc4893c1e0394185ddcc019846121b1b27491e45a2c08"2561checksum = "52f13ba8c7df0768af2eb391696d562c7de88cc3a35122531aaa6a7d77754d25"
2141dependencies = [2562dependencies = [
2142 "asn1_der",2563 "asn1_der",
2143 "bs58",2564 "bs58",
2144 "ed25519-dalek",2565 "ed25519-dalek",
2145 "either",2566 "either",
2146 "fnv",2567 "fnv",
2147 "futures 0.3.5",2568 "futures 0.3.6",
2148 "futures-timer 3.0.2",2569 "futures-timer 3.0.2",
2149 "lazy_static",2570 "lazy_static",
2150 "libsecp256k1",2571 "libsecp256k1",
2151 "log",2572 "log",
2152 "multihash",2573 "multihash",
2153 "multistream-select",2574 "multistream-select",
2154 "parity-multiaddr 0.9.1",2575 "parity-multiaddr",
2155 "parking_lot 0.10.2",2576 "parking_lot 0.10.2",
2156 "pin-project",2577 "pin-project",
2157 "prost",2578 "prost",
2160 "ring",2581 "ring",
2161 "rw-stream-sink",2582 "rw-stream-sink",
2162 "sha2 0.8.2",2583 "sha2 0.8.2",
2163 "smallvec 1.4.1",2584 "smallvec 1.4.2",
2164 "thiserror",2585 "thiserror",
2165 "unsigned-varint 0.4.0",2586 "unsigned-varint 0.4.0",
2166 "void",2587 "void",
21692590
2170[[package]]2591[[package]]
2171name = "libp2p-core-derive"2592name = "libp2p-core-derive"
2172version = "0.19.1"2593version = "0.20.2"
2173source = "registry+https://github.com/rust-lang/crates.io-index"2594source = "registry+https://github.com/rust-lang/crates.io-index"
2174checksum = "f09548626b737ed64080fde595e06ce1117795b8b9fc4d2629fa36561c583171"2595checksum = "f753d9324cd3ec14bf04b8a8cd0d269c87f294153d6bf2a84497a63a5ad22213"
2175dependencies = [2596dependencies = [
2176 "quote 1.0.7",2597 "quote",
2177 "syn 1.0.34",2598 "syn",
2178]2599]
2600
2601[[package]]
2602name = "libp2p-deflate"
2603version = "0.22.0"
2604source = "registry+https://github.com/rust-lang/crates.io-index"
2605checksum = "74029ae187f35f4b8ddf26b9779a68b340045d708528a103917cdca49a296db5"
2606dependencies = [
2607 "flate2",
2608 "futures 0.3.6",
2609 "libp2p-core",
2610]
21792611
2180[[package]]2612[[package]]
2181name = "libp2p-dns"2613name = "libp2p-dns"
2182version = "0.19.0"2614version = "0.22.0"
2183source = "registry+https://github.com/rust-lang/crates.io-index"2615source = "registry+https://github.com/rust-lang/crates.io-index"
2184checksum = "3cc186d9a941fd0207cf8f08ef225a735e2d7296258f570155e525f6ee732f87"2616checksum = "7cf319822e08dd65c8e060d2354e9f952895bbc433f5706c75ed010c152aee5e"
2185dependencies = [2617dependencies = [
2186 "futures 0.3.5",2618 "futures 0.3.6",
2187 "libp2p-core",2619 "libp2p-core",
2188 "log",2620 "log",
2189]2621]
2622
2623[[package]]
2624name = "libp2p-floodsub"
2625version = "0.22.0"
2626source = "registry+https://github.com/rust-lang/crates.io-index"
2627checksum = "d8a9acb43a3e4a4e413e0c4abe0fa49308df7c6335c88534757b647199cb8a51"
2628dependencies = [
2629 "cuckoofilter",
2630 "fnv",
2631 "futures 0.3.6",
2632 "libp2p-core",
2633 "libp2p-swarm",
2634 "prost",
2635 "prost-build",
2636 "rand 0.7.3",
2637 "smallvec 1.4.2",
2638]
2639
2640[[package]]
2641name = "libp2p-gossipsub"
2642version = "0.22.0"
2643source = "registry+https://github.com/rust-lang/crates.io-index"
2644checksum = "ab20fcb60edebe3173bbb708c6ac3444afdf1e3152dc2866b10c4f5497f17467"
2645dependencies = [
2646 "base64 0.11.0",
2647 "byteorder 1.3.4",
2648 "bytes 0.5.6",
2649 "fnv",
2650 "futures 0.3.6",
2651 "futures_codec",
2652 "hex_fmt",
2653 "libp2p-core",
2654 "libp2p-swarm",
2655 "log",
2656 "lru_time_cache",
2657 "prost",
2658 "prost-build",
2659 "rand 0.7.3",
2660 "sha2 0.8.2",
2661 "smallvec 1.4.2",
2662 "unsigned-varint 0.4.0",
2663 "wasm-timer",
2664]
21902665
2191[[package]]2666[[package]]
2192name = "libp2p-identify"2667name = "libp2p-identify"
2193version = "0.19.2"2668version = "0.22.0"
2194source = "registry+https://github.com/rust-lang/crates.io-index"2669source = "registry+https://github.com/rust-lang/crates.io-index"
2195checksum = "62f76075b170d908bae616f550ade410d9d27c013fa69042551dbfc757c7c094"2670checksum = "56396ee63aa9164eacf40c2c5d2bda8c4133c2f57e1b0425d51d3a4e362583b1"
2196dependencies = [2671dependencies = [
2197 "futures 0.3.5",2672 "futures 0.3.6",
2198 "libp2p-core",2673 "libp2p-core",
2199 "libp2p-swarm",2674 "libp2p-swarm",
2200 "log",2675 "log",
2201 "prost",2676 "prost",
2202 "prost-build",2677 "prost-build",
2203 "smallvec 1.4.1",2678 "smallvec 1.4.2",
2204 "wasm-timer",2679 "wasm-timer",
2205]2680]
22062681
2207[[package]]2682[[package]]
2208name = "libp2p-kad"2683name = "libp2p-kad"
2209version = "0.19.0"2684version = "0.23.0"
2210source = "registry+https://github.com/rust-lang/crates.io-index"2685source = "registry+https://github.com/rust-lang/crates.io-index"
2211checksum = "41d6c1d5100973527ae70d82687465b17049c1b717a7964de38b8e65000878ff"2686checksum = "cc7fa9047f8b8f544278a35c2d9d45d3b2c1785f2d86d4e1629d6edf97be3955"
2212dependencies = [2687dependencies = [
2213 "arrayvec 0.5.1",2688 "arrayvec 0.5.1",
2214 "bytes 0.5.6",2689 "bytes 0.5.6",
2215 "either",2690 "either",
2216 "fnv",2691 "fnv",
2217 "futures 0.3.5",2692 "futures 0.3.6",
2218 "futures_codec 0.3.4",2693 "futures_codec",
2219 "libp2p-core",2694 "libp2p-core",
2220 "libp2p-swarm",2695 "libp2p-swarm",
2221 "log",2696 "log",
2224 "prost-build",2699 "prost-build",
2225 "rand 0.7.3",2700 "rand 0.7.3",
2226 "sha2 0.8.2",2701 "sha2 0.8.2",
2227 "smallvec 1.4.1",2702 "smallvec 1.4.2",
2228 "uint",2703 "uint",
2229 "unsigned-varint 0.3.3",2704 "unsigned-varint 0.4.0",
2230 "void",2705 "void",
2231 "wasm-timer",2706 "wasm-timer",
2232]2707]
22332708
2234[[package]]2709[[package]]
2235name = "libp2p-mdns"2710name = "libp2p-mdns"
2236version = "0.19.2"2711version = "0.22.0"
2237source = "registry+https://github.com/rust-lang/crates.io-index"2712source = "registry+https://github.com/rust-lang/crates.io-index"
2238checksum = "7f55b2d4b80986e5bf158270ab23268ec0e7f644ece5436fbaabc5155472f357"2713checksum = "3173b5a6b2f690c29ae07798d85b9441a131ac76ddae9015ef22905b623d0c69"
2239dependencies = [2714dependencies = [
2240 "async-std",2715 "async-std",
2241 "data-encoding",2716 "data-encoding",
2242 "dns-parser",2717 "dns-parser",
2243 "either",2718 "either",
2244 "futures 0.3.5",2719 "futures 0.3.6",
2245 "lazy_static",2720 "lazy_static",
2246 "libp2p-core",2721 "libp2p-core",
2247 "libp2p-swarm",2722 "libp2p-swarm",
2248 "log",2723 "log",
2249 "net2",2724 "net2",
2250 "rand 0.7.3",2725 "rand 0.7.3",
2251 "smallvec 1.4.1",2726 "smallvec 1.4.2",
2252 "void",2727 "void",
2253 "wasm-timer",2728 "wasm-timer",
2254]2729]
22552730
2256[[package]]2731[[package]]
2257name = "libp2p-mplex"2732name = "libp2p-mplex"
2258version = "0.19.2"2733version = "0.22.0"
2259source = "registry+https://github.com/rust-lang/crates.io-index"2734source = "registry+https://github.com/rust-lang/crates.io-index"
2260checksum = "be7d913a4cd57de2013257ec73f07d77bfce390b370023e2d59083e5ca079864"2735checksum = "8a73a799cc8410b36e40b8f4c4b6babbcb9efd3727111bf517876e4acfa612d3"
2261dependencies = [2736dependencies = [
2262 "bytes 0.5.6",2737 "bytes 0.5.6",
2263 "fnv",2738 "fnv",
2264 "futures 0.3.5",2739 "futures 0.3.6",
2265 "futures_codec 0.4.1",2740 "futures_codec",
2266 "libp2p-core",2741 "libp2p-core",
2267 "log",2742 "log",
2268 "parking_lot 0.10.2",2743 "parking_lot 0.10.2",
22712746
2272[[package]]2747[[package]]
2273name = "libp2p-noise"2748name = "libp2p-noise"
2274version = "0.19.1"2749version = "0.24.0"
2275source = "registry+https://github.com/rust-lang/crates.io-index"2750source = "registry+https://github.com/rust-lang/crates.io-index"
2276checksum = "a03db664653369f46ee03fcec483a378c20195089bb43a26cb9fb0058009ac88"2751checksum = "6ef6c490042f549fb1025f2892dfe6083d97a77558f450c1feebe748ca9eb15a"
2277dependencies = [2752dependencies = [
2753 "bytes 0.5.6",
2278 "curve25519-dalek",2754 "curve25519-dalek 2.1.0",
2279 "futures 0.3.5",2755 "futures 0.3.6",
2280 "lazy_static",2756 "lazy_static",
2281 "libp2p-core",2757 "libp2p-core",
2282 "log",2758 "log",
2286 "sha2 0.8.2",2762 "sha2 0.8.2",
2287 "snow",2763 "snow",
2288 "static_assertions",2764 "static_assertions",
2289 "x25519-dalek",2765 "x25519-dalek 0.6.0",
2290 "zeroize",2766 "zeroize",
2291]2767]
22922768
2293[[package]]2769[[package]]
2294name = "libp2p-ping"2770name = "libp2p-ping"
2295version = "0.19.3"2771version = "0.22.0"
2296source = "registry+https://github.com/rust-lang/crates.io-index"2772source = "registry+https://github.com/rust-lang/crates.io-index"
2297checksum = "b8dedd34e35a9728d52d59ef36a218e411359a353f9011b2574b86ee790978f6"2773checksum = "ad063c21dfcea4518ac9e8bd4119d33a5b26c41e674f602f41f05617a368a5c8"
2298dependencies = [2774dependencies = [
2299 "futures 0.3.5",2775 "futures 0.3.6",
2300 "libp2p-core",2776 "libp2p-core",
2301 "libp2p-swarm",2777 "libp2p-swarm",
2302 "log",2778 "log",
2305 "wasm-timer",2781 "wasm-timer",
2306]2782]
2783
2784[[package]]
2785name = "libp2p-plaintext"
2786version = "0.22.0"
2787source = "registry+https://github.com/rust-lang/crates.io-index"
2788checksum = "903a12e99c72dbebefea258de887982adeacc7025baa1ceb10b7fa9928f54791"
2789dependencies = [
2790 "bytes 0.5.6",
2791 "futures 0.3.6",
2792 "futures_codec",
2793 "libp2p-core",
2794 "log",
2795 "prost",
2796 "prost-build",
2797 "rw-stream-sink",
2798 "unsigned-varint 0.4.0",
2799 "void",
2800]
2801
2802[[package]]
2803name = "libp2p-pnet"
2804version = "0.19.1"
2805source = "registry+https://github.com/rust-lang/crates.io-index"
2806checksum = "37d0db10e139d22d7af0b23ed7949449ec86262798aa0fd01595abdbcb02dc87"
2807dependencies = [
2808 "futures 0.3.6",
2809 "log",
2810 "pin-project",
2811 "rand 0.7.3",
2812 "salsa20",
2813 "sha3 0.8.2",
2814]
2815
2816[[package]]
2817name = "libp2p-request-response"
2818version = "0.3.0"
2819source = "registry+https://github.com/rust-lang/crates.io-index"
2820checksum = "9c0c9e8a4cd69d97e9646c54313d007512f411aba8c5226cfcda16df6a6e84a3"
2821dependencies = [
2822 "async-trait",
2823 "bytes 0.5.6",
2824 "futures 0.3.6",
2825 "libp2p-core",
2826 "libp2p-swarm",
2827 "log",
2828 "lru 0.6.0",
2829 "minicbor",
2830 "rand 0.7.3",
2831 "smallvec 1.4.2",
2832 "unsigned-varint 0.5.1",
2833 "wasm-timer",
2834]
23072835
2308[[package]]2836[[package]]
2309name = "libp2p-swarm"2837name = "libp2p-swarm"
2310version = "0.19.1"2838version = "0.22.0"
2311source = "registry+https://github.com/rust-lang/crates.io-index"2839source = "registry+https://github.com/rust-lang/crates.io-index"
2312checksum = "ce53ff4d127cf8b39adf84dbd381ca32d49bd85788cee08e6669da2495993930"2840checksum = "7193e444210132237b81b755ec7fe53f1c4bd2f53cf719729b94c0c72eb6eaa1"
2313dependencies = [2841dependencies = [
2842 "either",
2314 "futures 0.3.5",2843 "futures 0.3.6",
2315 "libp2p-core",2844 "libp2p-core",
2316 "log",2845 "log",
2317 "rand 0.7.3",2846 "rand 0.7.3",
2318 "smallvec 1.4.1",2847 "smallvec 1.4.2",
2319 "void",2848 "void",
2320 "wasm-timer",2849 "wasm-timer",
2321]2850]
23222851
2323[[package]]2852[[package]]
2324name = "libp2p-tcp"2853name = "libp2p-tcp"
2325version = "0.19.2"2854version = "0.22.0"
2326source = "registry+https://github.com/rust-lang/crates.io-index"2855source = "registry+https://github.com/rust-lang/crates.io-index"
2327checksum = "9481500c5774c62e8c413e9535b3f33a0e3dbacf2da63b8d3056c686a9df4146"2856checksum = "44f42ec130d7a37a7e47bf4398026b7ad9185c08ed26972e2720f8b94112796f"
2328dependencies = [2857dependencies = [
2329 "async-std",2858 "async-std",
2330 "futures 0.3.5",2859 "futures 0.3.6",
2331 "futures-timer 3.0.2",2860 "futures-timer 3.0.2",
2332 "get_if_addrs",2861 "get_if_addrs",
2333 "ipnet",2862 "ipnet",
2336 "socket2",2865 "socket2",
2337]2866]
2867
2868[[package]]
2869name = "libp2p-uds"
2870version = "0.22.0"
2871source = "registry+https://github.com/rust-lang/crates.io-index"
2872checksum = "dea7acb0a034f70d7db94c300eba3f65c0f6298820105624088a9609c9974d77"
2873dependencies = [
2874 "async-std",
2875 "futures 0.3.6",
2876 "libp2p-core",
2877 "log",
2878]
23382879
2339[[package]]2880[[package]]
2340name = "libp2p-wasm-ext"2881name = "libp2p-wasm-ext"
2341version = "0.19.0"2882version = "0.22.0"
2342source = "registry+https://github.com/rust-lang/crates.io-index"2883source = "registry+https://github.com/rust-lang/crates.io-index"
2343checksum = "f59fdbb5706f2723ca108c088b1c7a37f735a8c328021f0508007162627e9885"2884checksum = "34c1faac6f92c21fbe155417957863ea822fba9e9fd5eb24c0912336a100e63f"
2344dependencies = [2885dependencies = [
2345 "futures 0.3.5",2886 "futures 0.3.6",
2346 "js-sys",2887 "js-sys",
2347 "libp2p-core",2888 "libp2p-core",
2348 "parity-send-wrapper",2889 "parity-send-wrapper",
23522893
2353[[package]]2894[[package]]
2354name = "libp2p-websocket"2895name = "libp2p-websocket"
2355version = "0.19.0"2896version = "0.23.0"
2356source = "registry+https://github.com/rust-lang/crates.io-index"2897source = "registry+https://github.com/rust-lang/crates.io-index"
2357checksum = "085fbe4c05c4116c2164ab4d5a521eb6e00516c444f61b3ee9f68c7b1e53580b"2898checksum = "d650534ebd99f48f6fa292ed5db10d30df2444943afde4407ceeddab8e513fca"
2358dependencies = [2899dependencies = [
2359 "async-tls",2900 "async-tls",
2360 "bytes 0.5.6",
2361 "either",2901 "either",
2362 "futures 0.3.5",2902 "futures 0.3.6",
2363 "libp2p-core",2903 "libp2p-core",
2364 "log",2904 "log",
2365 "quicksink",2905 "quicksink",
23732913
2374[[package]]2914[[package]]
2375name = "libp2p-yamux"2915name = "libp2p-yamux"
2376version = "0.19.1"2916version = "0.25.0"
2377source = "registry+https://github.com/rust-lang/crates.io-index"2917source = "registry+https://github.com/rust-lang/crates.io-index"
2378checksum = "8da33e7b5f49c75c6a8afb0b8d1e229f5fa48be9f39bd14cdbc21459a02ac6fc"2918checksum = "781d9b9f043dcdabc40640807125368596b849fd4d96cdca2dcf052fdf6f33fd"
2379dependencies = [2919dependencies = [
2380 "futures 0.3.5",2920 "futures 0.3.6",
2381 "libp2p-core",2921 "libp2p-core",
2382 "parking_lot 0.10.2",2922 "parking_lot 0.11.0",
2383 "thiserror",2923 "thiserror",
2384 "yamux",2924 "yamux",
2385]2925]
23862926
2387[[package]]2927[[package]]
2388name = "librocksdb-sys"2928name = "librocksdb-sys"
2389version = "6.7.4"2929version = "6.11.4"
2390source = "registry+https://github.com/rust-lang/crates.io-index"2930source = "registry+https://github.com/rust-lang/crates.io-index"
2391checksum = "883213ae3d09bfc3d104aefe94b25ebb183b6f4d3a515b23b14817e1f4854005"2931checksum = "eb5b56f651c204634b936be2f92dbb42c36867e00ff7fe2405591f3b9fa66f09"
2392dependencies = [2932dependencies = [
2393 "bindgen",2933 "bindgen",
2394 "cc",2934 "cc",
2408 "hmac-drbg",2948 "hmac-drbg",
2409 "rand 0.7.3",2949 "rand 0.7.3",
2410 "sha2 0.8.2",2950 "sha2 0.8.2",
2411 "subtle 2.2.3",2951 "subtle 2.3.0",
2412 "typenum",2952 "typenum",
2413]2953]
24142954
2415[[package]]2955[[package]]
2416name = "libz-sys"2956name = "libz-sys"
2417version = "1.0.25"2957version = "1.1.2"
2418source = "registry+https://github.com/rust-lang/crates.io-index"2958source = "registry+https://github.com/rust-lang/crates.io-index"
2419checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe"2959checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655"
2420dependencies = [2960dependencies = [
2421 "cc",2961 "cc",
2422 "libc",
2423 "pkg-config",2962 "pkg-config",
2424 "vcpkg",2963 "vcpkg",
2425]2964]
24322971
2433[[package]]2972[[package]]
2434name = "linked_hash_set"2973name = "linked_hash_set"
2435version = "0.1.3"2974version = "0.1.4"
2436source = "registry+https://github.com/rust-lang/crates.io-index"2975source = "registry+https://github.com/rust-lang/crates.io-index"
2437checksum = "3c7c91c4c7bbeb4f2f7c4e5be11e6a05bd6830bc37249c47ce1ad86ad453ff9c"2976checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588"
2438dependencies = [2977dependencies = [
2439 "linked-hash-map",2978 "linked-hash-map",
2440]2979]
2450 "statrs",2989 "statrs",
2451]2990]
2991
2992[[package]]
2993name = "lock_api"
2994version = "0.1.5"
2995source = "registry+https://github.com/rust-lang/crates.io-index"
2996checksum = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c"
2997dependencies = [
2998 "scopeguard 0.3.3",
2999]
24523000
2453[[package]]3001[[package]]
2454name = "lock_api"3002name = "lock_api"
2455version = "0.3.4"3003version = "0.3.4"
2456source = "registry+https://github.com/rust-lang/crates.io-index"3004source = "registry+https://github.com/rust-lang/crates.io-index"
2457checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"3005checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
2458dependencies = [3006dependencies = [
2459 "scopeguard",3007 "scopeguard 1.1.0",
2460]3008]
3009
3010[[package]]
3011name = "lock_api"
3012version = "0.4.1"
3013source = "registry+https://github.com/rust-lang/crates.io-index"
3014checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
3015dependencies = [
3016 "scopeguard 1.1.0",
3017]
24613018
2462[[package]]3019[[package]]
2463name = "log"3020name = "log"
2464version = "0.4.11"3021version = "0.4.11"
2465source = "registry+https://github.com/rust-lang/crates.io-index"3022source = "registry+https://github.com/rust-lang/crates.io-index"
2466checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"3023checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
2467dependencies = [3024dependencies = [
2468 "cfg-if",3025 "cfg-if 0.1.10",
2469]3026]
24703027
2471[[package]]3028[[package]]
2477 "hashbrown 0.6.3",3034 "hashbrown 0.6.3",
2478]3035]
3036
3037[[package]]
3038name = "lru"
3039version = "0.6.0"
3040source = "registry+https://github.com/rust-lang/crates.io-index"
3041checksum = "111b945ac72ec09eb7bc62a0fbdc3cc6e80555a7245f52a69d3921a75b53b153"
3042dependencies = [
3043 "hashbrown 0.8.2",
3044]
3045
3046[[package]]
3047name = "lru_time_cache"
3048version = "0.10.0"
3049source = "registry+https://github.com/rust-lang/crates.io-index"
3050checksum = "adb241df5c4caeb888755363fc95f8a896618dc0d435e9e775f7930cb099beab"
3051
3052[[package]]
3053name = "mach"
3054version = "0.3.2"
3055source = "registry+https://github.com/rust-lang/crates.io-index"
3056checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
3057dependencies = [
3058 "libc",
3059]
3060
3061[[package]]
3062name = "matchers"
3063version = "0.0.1"
3064source = "registry+https://github.com/rust-lang/crates.io-index"
3065checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1"
3066dependencies = [
3067 "regex-automata",
3068]
24793069
2480[[package]]3070[[package]]
2481name = "matches"3071name = "matches"
25163106
2517[[package]]3107[[package]]
2518name = "memoffset"3108name = "memoffset"
2519version = "0.5.5"3109version = "0.5.6"
2520source = "registry+https://github.com/rust-lang/crates.io-index"3110source = "registry+https://github.com/rust-lang/crates.io-index"
2521checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"3111checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
2522dependencies = [3112dependencies = [
2523 "autocfg 1.0.0",3113 "autocfg 1.0.1",
2524]3114]
25253115
2526[[package]]3116[[package]]
2527name = "memory-db"3117name = "memory-db"
2528version = "0.21.0"3118version = "0.24.1"
2529source = "registry+https://github.com/rust-lang/crates.io-index"3119source = "registry+https://github.com/rust-lang/crates.io-index"
2530checksum = "fb2999ff7a65d5a1d72172f6d51fa2ea03024b51aee709ba5ff81c3c629a2410"3120checksum = "36f36ddb0b2cdc25d38babba472108798e3477f02be5165f038c5e393e50c57a"
2531dependencies = [3121dependencies = [
2532 "ahash",
2533 "hash-db",3122 "hash-db",
2534 "hashbrown 0.6.3",3123 "hashbrown 0.8.2",
2535 "parity-util-mem",3124 "parity-util-mem",
2536]3125]
25373126
2547source = "registry+https://github.com/rust-lang/crates.io-index"3136source = "registry+https://github.com/rust-lang/crates.io-index"
2548checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78"3137checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78"
2549dependencies = [3138dependencies = [
2550 "byteorder",3139 "byteorder 1.3.4",
2551 "keccak",3140 "keccak",
2552 "rand_core 0.5.1",3141 "rand_core 0.5.1",
2553 "zeroize",3142 "zeroize",
2554]3143]
3144
3145[[package]]
3146name = "minicbor"
3147version = "0.5.1"
3148source = "registry+https://github.com/rust-lang/crates.io-index"
3149checksum = "2fc03ad6f8f548db7194a5ff5a6f96342ecae4e3ef67d2bf18bacc0e245cd041"
3150dependencies = [
3151 "minicbor-derive",
3152]
3153
3154[[package]]
3155name = "minicbor-derive"
3156version = "0.4.1"
3157source = "registry+https://github.com/rust-lang/crates.io-index"
3158checksum = "c214bf3d90099b52f3e4b328ae0fe34837fd0fab683ad1e10fceb4629106df48"
3159dependencies = [
3160 "proc-macro2",
3161 "quote",
3162 "syn",
3163]
25553164
2556[[package]]3165[[package]]
2557name = "miniz_oxide"3166name = "miniz_oxide"
2558version = "0.4.0"3167version = "0.4.3"
2559source = "registry+https://github.com/rust-lang/crates.io-index"3168source = "registry+https://github.com/rust-lang/crates.io-index"
2560checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f"3169checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
2561dependencies = [3170dependencies = [
2562 "adler",3171 "adler",
3172 "autocfg 1.0.1",
2563]3173]
25643174
2565[[package]]3175[[package]]
2568source = "registry+https://github.com/rust-lang/crates.io-index"3178source = "registry+https://github.com/rust-lang/crates.io-index"
2569checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430"3179checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430"
2570dependencies = [3180dependencies = [
2571 "cfg-if",3181 "cfg-if 0.1.10",
2572 "fuchsia-zircon",3182 "fuchsia-zircon",
2573 "fuchsia-zircon-sys",3183 "fuchsia-zircon-sys",
2574 "iovec",3184 "iovec",
2638 "winapi 0.3.9",3248 "winapi 0.3.9",
2639]3249]
3250
3251[[package]]
3252name = "more-asserts"
3253version = "0.2.1"
3254source = "registry+https://github.com/rust-lang/crates.io-index"
3255checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238"
26403256
2641[[package]]3257[[package]]
2642name = "multihash"3258name = "multihash"
2643version = "0.11.2"3259version = "0.11.4"
2644source = "registry+https://github.com/rust-lang/crates.io-index"3260source = "registry+https://github.com/rust-lang/crates.io-index"
2645checksum = "f75db05d738947aa5389863aadafbcf2e509d7ba099dc2ddcdf4fc66bf7a9e03"3261checksum = "567122ab6492f49b59def14ecc36e13e64dca4188196dd0cd41f9f3f979f3df6"
2646dependencies = [3262dependencies = [
2647 "blake2b_simd",3263 "blake2b_simd",
2648 "blake2s_simd",3264 "blake2s_simd",
2649 "digest 0.8.1",3265 "digest 0.9.0",
2650 "sha-1",3266 "sha-1 0.9.1",
2651 "sha2 0.8.2",3267 "sha2 0.9.1",
2652 "sha3",3268 "sha3 0.9.1",
2653 "unsigned-varint 0.3.3",3269 "unsigned-varint 0.5.1",
2654]3270]
26553271
2656[[package]]3272[[package]]
2657name = "multimap"3273name = "multimap"
2658version = "0.8.1"3274version = "0.8.2"
2659source = "registry+https://github.com/rust-lang/crates.io-index"3275source = "registry+https://github.com/rust-lang/crates.io-index"
2660checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce"3276checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333"
26613277
2662[[package]]3278[[package]]
2663name = "multistream-select"3279name = "multistream-select"
2666checksum = "c9157e87afbc2ef0d84cc0345423d715f445edde00141c93721c162de35a05e5"3282checksum = "c9157e87afbc2ef0d84cc0345423d715f445edde00141c93721c162de35a05e5"
2667dependencies = [3283dependencies = [
2668 "bytes 0.5.6",3284 "bytes 0.5.6",
2669 "futures 0.3.5",3285 "futures 0.3.6",
2670 "log",3286 "log",
2671 "pin-project",3287 "pin-project",
2672 "smallvec 1.4.1",3288 "smallvec 1.4.2",
2673 "unsigned-varint 0.4.0",3289 "unsigned-varint 0.4.0",
2674]3290]
26753291
2685 "matrixmultiply",3301 "matrixmultiply",
2686 "num-complex",3302 "num-complex",
2687 "num-rational",3303 "num-rational",
2688 "num-traits 0.2.12",3304 "num-traits",
2689 "rand 0.6.5",3305 "rand 0.6.5",
2690 "typenum",3306 "typenum",
2691]3307]
2700]3316]
27013317
2702[[package]]3318[[package]]
2703name = "net2"3319name = "nb-connect"
2704version = "0.2.34"3320version = "1.0.2"
2705source = "registry+https://github.com/rust-lang/crates.io-index"3321source = "registry+https://github.com/rust-lang/crates.io-index"
2706checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7"3322checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998"
2707dependencies = [3323dependencies = [
2708 "cfg-if",
2709 "libc",3324 "libc",
2710 "winapi 0.3.9",3325 "winapi 0.3.9",
2711]3326]
27123327
2713[[package]]3328[[package]]
2714name = "netstat2"3329name = "net2"
2715version = "0.8.1"3330version = "0.2.35"
2716source = "registry+https://github.com/rust-lang/crates.io-index"3331source = "registry+https://github.com/rust-lang/crates.io-index"
2717checksum = "29449d242064c48d3057a194b049a2bdcccadda16faa18a91468677b44e8d422"3332checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853"
2718dependencies = [3333dependencies = [
2719 "bitflags",3334 "cfg-if 0.1.10",
2720 "byteorder",
2721 "enum-primitive-derive",
2722 "libc",3335 "libc",
2723 "num-traits 0.2.12",3336 "winapi 0.3.9",
2724 "thiserror",
2725]3337]
27263338
2727[[package]]3339[[package]]
2728name = "nft"3340name = "nft"
2729version = "2.0.0-rc4"3341version = "2.0.0"
2730dependencies = [3342dependencies = [
3343 "frame-benchmarking",
3344 "frame-benchmarking-cli",
2731 "futures 0.3.5",3345 "futures 0.3.6",
2732 "jsonrpc-core",3346 "jsonrpc-core",
2733 "log",3347 "log",
2734 "nft-runtime",3348 "nft-runtime",
2735 "pallet-contracts-rpc",3349 "pallet-contracts-rpc",
3350 "pallet-transaction-payment-rpc",
2736 "parking_lot 0.10.2",3351 "parking_lot 0.10.2",
2737 "sc-basic-authorship",3352 "sc-basic-authorship",
2738 "sc-cli",3353 "sc-cli",
2743 "sc-finality-grandpa",3358 "sc-finality-grandpa",
2744 "sc-network",3359 "sc-network",
2745 "sc-rpc",3360 "sc-rpc",
3361 "sc-rpc-api",
2746 "sc-service",3362 "sc-service",
2747 "sc-transaction-pool",3363 "sc-transaction-pool",
3364 "sp-api",
3365 "sp-block-builder",
3366 "sp-blockchain",
2748 "sp-consensus",3367 "sp-consensus",
2749 "sp-consensus-aura",3368 "sp-consensus-aura",
2750 "sp-core",3369 "sp-core",
2754 "sp-transaction-pool",3373 "sp-transaction-pool",
2755 "structopt",3374 "structopt",
2756 "substrate-build-script-utils",3375 "substrate-build-script-utils",
3376 "substrate-frame-rpc-system",
2757]3377]
27583378
2759[[package]]3379[[package]]
2760name = "nft-runtime"3380name = "nft-runtime"
2761version = "2.0.0-rc4"3381version = "2.0.0"
2762dependencies = [3382dependencies = [
3383 "frame-benchmarking",
2763 "frame-executive",3384 "frame-executive",
2764 "frame-support",3385 "frame-support",
2765 "frame-system",3386 "frame-system",
3387 "frame-system-benchmarking",
3388 "frame-system-rpc-runtime-api",
3389 "hex-literal",
2766 "pallet-aura",3390 "pallet-aura",
2767 "pallet-balances",3391 "pallet-balances",
2768 "pallet-contracts",3392 "pallet-contracts",
2774 "pallet-sudo",3398 "pallet-sudo",
2775 "pallet-timestamp",3399 "pallet-timestamp",
2776 "pallet-transaction-payment",3400 "pallet-transaction-payment",
3401 "pallet-transaction-payment-rpc-runtime-api",
2777 "parity-scale-codec",3402 "parity-scale-codec",
2778 "serde",3403 "serde",
2779 "sp-api",3404 "sp-api",
2780 "sp-block-builder",3405 "sp-block-builder",
2781 "sp-consensus-aura",3406 "sp-consensus-aura",
2782 "sp-core",3407 "sp-core",
2783 "sp-inherents",3408 "sp-inherents",
2784 "sp-io",
2785 "sp-offchain",3409 "sp-offchain",
2786 "sp-runtime",3410 "sp-runtime",
2787 "sp-session",3411 "sp-session",
2799dependencies = [3423dependencies = [
2800 "bitflags",3424 "bitflags",
2801 "cc",3425 "cc",
2802 "cfg-if",3426 "cfg-if 0.1.10",
2803 "libc",3427 "libc",
2804 "void",3428 "void",
2805]3429]
2826 "version_check",3450 "version_check",
2827]3451]
2828
2829[[package]]
2830name = "ntapi"
2831version = "0.3.4"
2832source = "registry+https://github.com/rust-lang/crates.io-index"
2833checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2"
2834dependencies = [
2835 "winapi 0.3.9",
2836]
28373452
2838[[package]]3453[[package]]
2839name = "num-bigint"3454name = "num-bigint"
2840version = "0.2.6"3455version = "0.2.6"
2841source = "registry+https://github.com/rust-lang/crates.io-index"3456source = "registry+https://github.com/rust-lang/crates.io-index"
2842checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"3457checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
2843dependencies = [3458dependencies = [
2844 "autocfg 1.0.0",3459 "autocfg 1.0.1",
2845 "num-integer",3460 "num-integer",
2846 "num-traits 0.2.12",3461 "num-traits",
2847]3462]
28483463
2849[[package]]3464[[package]]
2852source = "registry+https://github.com/rust-lang/crates.io-index"3467source = "registry+https://github.com/rust-lang/crates.io-index"
2853checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"3468checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
2854dependencies = [3469dependencies = [
2855 "autocfg 1.0.0",3470 "autocfg 1.0.1",
2856 "num-traits 0.2.12",3471 "num-traits",
2857]3472]
28583473
2859[[package]]3474[[package]]
2862source = "registry+https://github.com/rust-lang/crates.io-index"3477source = "registry+https://github.com/rust-lang/crates.io-index"
2863checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"3478checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
2864dependencies = [3479dependencies = [
2865 "autocfg 1.0.0",3480 "autocfg 1.0.1",
2866 "num-traits 0.2.12",3481 "num-traits",
2867]3482]
28683483
2869[[package]]3484[[package]]
2872source = "registry+https://github.com/rust-lang/crates.io-index"3487source = "registry+https://github.com/rust-lang/crates.io-index"
2873checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"3488checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
2874dependencies = [3489dependencies = [
2875 "autocfg 1.0.0",3490 "autocfg 1.0.1",
2876 "num-bigint",3491 "num-bigint",
2877 "num-integer",3492 "num-integer",
2878 "num-traits 0.2.12",3493 "num-traits",
2879]3494]
2880
2881[[package]]
2882name = "num-traits"
2883version = "0.1.43"
2884source = "registry+https://github.com/rust-lang/crates.io-index"
2885checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
2886dependencies = [
2887 "num-traits 0.2.12",
2888]
28893495
2890[[package]]3496[[package]]
2891name = "num-traits"3497name = "num-traits"
2892version = "0.2.12"3498version = "0.2.12"
2893source = "registry+https://github.com/rust-lang/crates.io-index"3499source = "registry+https://github.com/rust-lang/crates.io-index"
2894checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"3500checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
2895dependencies = [3501dependencies = [
2896 "autocfg 1.0.0",3502 "autocfg 1.0.1",
2897 "libm",3503 "libm",
2898]3504]
28993505
2907 "libc",3513 "libc",
2908]3514]
3515
3516[[package]]
3517name = "object"
3518version = "0.19.0"
3519source = "registry+https://github.com/rust-lang/crates.io-index"
3520checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2"
29093521
2910[[package]]3522[[package]]
2911name = "object"3523name = "object"
2912version = "0.20.0"3524version = "0.20.0"
2913source = "registry+https://github.com/rust-lang/crates.io-index"3525source = "registry+https://github.com/rust-lang/crates.io-index"
2914checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"3526checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
3527dependencies = [
3528 "crc32fast",
3529 "indexmap",
3530 "wasmparser 0.57.0",
3531]
3532
3533[[package]]
3534name = "object"
3535version = "0.21.1"
3536source = "registry+https://github.com/rust-lang/crates.io-index"
3537checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693"
3538
3539[[package]]
3540name = "once_cell"
3541version = "0.1.8"
3542source = "registry+https://github.com/rust-lang/crates.io-index"
3543checksum = "532c29a261168a45ce28948f9537ddd7a5dd272cc513b3017b1e82a88f962c37"
3544dependencies = [
3545 "parking_lot 0.7.1",
3546]
29153547
2916[[package]]3548[[package]]
2917name = "once_cell"3549name = "once_cell"
2918version = "1.4.0"3550version = "1.4.1"
2919source = "registry+https://github.com/rust-lang/crates.io-index"3551source = "registry+https://github.com/rust-lang/crates.io-index"
2920checksum = "0b631f7e854af39a1739f401cf34a8a013dfe09eac4fa4dba91e9768bd28168d"3552checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad"
2921dependencies = [3553dependencies = [
2922 "parking_lot 0.10.2",3554 "parking_lot 0.11.0",
2923]3555]
29243556
2925[[package]]3557[[package]]
29513583
2952[[package]]3584[[package]]
2953name = "pallet-aura"3585name = "pallet-aura"
2954version = "2.0.0-rc4"3586version = "2.0.0"
2955source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3587source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
2956dependencies = [3588dependencies = [
2957 "frame-support",3589 "frame-support",
2958 "frame-system",3590 "frame-system",
2968 "sp-timestamp",3600 "sp-timestamp",
2969]3601]
3602
3603[[package]]
3604name = "pallet-authorship"
3605version = "2.0.0"
3606source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3607dependencies = [
3608 "frame-support",
3609 "frame-system",
3610 "impl-trait-for-tuples",
3611 "parity-scale-codec",
3612 "sp-authorship",
3613 "sp-inherents",
3614 "sp-runtime",
3615 "sp-std",
3616]
29703617
2971[[package]]3618[[package]]
2972name = "pallet-balances"3619name = "pallet-balances"
2973version = "2.0.0-rc4"3620version = "2.0.0"
2974source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3621source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
2975dependencies = [3622dependencies = [
2976 "frame-benchmarking",3623 "frame-benchmarking",
2977 "frame-support",3624 "frame-support",
29843631
2985[[package]]3632[[package]]
2986name = "pallet-contracts"3633name = "pallet-contracts"
2987version = "2.0.0-rc4"3634version = "2.0.0"
2988source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3635source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
2989dependencies = [3636dependencies = [
3637 "bitflags",
2990 "frame-support",3638 "frame-support",
2991 "frame-system",3639 "frame-system",
2992 "pallet-contracts-primitives",3640 "pallet-contracts-primitives",
30043652
3005[[package]]3653[[package]]
3006name = "pallet-contracts-primitives"3654name = "pallet-contracts-primitives"
3007version = "2.0.0-rc4"3655version = "2.0.0"
3008source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3656source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3009dependencies = [3657dependencies = [
3010 "parity-scale-codec",3658 "parity-scale-codec",
3011 "sp-runtime",3659 "sp-runtime",
30143662
3015[[package]]3663[[package]]
3016name = "pallet-contracts-rpc"3664name = "pallet-contracts-rpc"
3017version = "0.8.0-rc4"3665version = "0.8.0"
3018source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3666source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3019dependencies = [3667dependencies = [
3020 "jsonrpc-core",3668 "jsonrpc-core",
3021 "jsonrpc-core-client",3669 "jsonrpc-core-client",
30333681
3034[[package]]3682[[package]]
3035name = "pallet-contracts-rpc-runtime-api"3683name = "pallet-contracts-rpc-runtime-api"
3036version = "0.8.0-rc4"3684version = "0.8.0"
3037source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3685source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3038dependencies = [3686dependencies = [
3039 "pallet-contracts-primitives",3687 "pallet-contracts-primitives",
3040 "parity-scale-codec",3688 "parity-scale-codec",
30453693
3046[[package]]3694[[package]]
3047name = "pallet-finality-tracker"3695name = "pallet-finality-tracker"
3048version = "2.0.0-rc4"3696version = "2.0.0"
3049source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3697source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3050dependencies = [3698dependencies = [
3051 "frame-support",3699 "frame-support",
3052 "frame-system",3700 "frame-system",
30613709
3062[[package]]3710[[package]]
3063name = "pallet-grandpa"3711name = "pallet-grandpa"
3064version = "2.0.0-rc4"3712version = "2.0.0"
3065source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3713source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3066dependencies = [3714dependencies = [
3715 "frame-benchmarking",
3067 "frame-support",3716 "frame-support",
3068 "frame-system",3717 "frame-system",
3718 "pallet-authorship",
3069 "pallet-finality-tracker",3719 "pallet-finality-tracker",
3070 "pallet-session",3720 "pallet-session",
3071 "parity-scale-codec",3721 "parity-scale-codec",
30813731
3082[[package]]3732[[package]]
3083name = "pallet-nft"3733name = "pallet-nft"
3084version = "2.0.0-rc4"3734version = "2.0.0"
3085dependencies = [3735dependencies = [
3736 "frame-benchmarking",
3086 "frame-support",3737 "frame-support",
3087 "frame-system",3738 "frame-system",
3088 "log",3739 "log",
30973748
3098[[package]]3749[[package]]
3099name = "pallet-randomness-collective-flip"3750name = "pallet-randomness-collective-flip"
3100version = "2.0.0-rc4"3751version = "2.0.0"
3101source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3752source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3102dependencies = [3753dependencies = [
3103 "frame-support",3754 "frame-support",
3104 "frame-system",3755 "frame-system",
31103761
3111[[package]]3762[[package]]
3112name = "pallet-session"3763name = "pallet-session"
3113version = "2.0.0-rc4"3764version = "2.0.0"
3114source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3765source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3115dependencies = [3766dependencies = [
3116 "frame-support",3767 "frame-support",
3117 "frame-system",3768 "frame-system",
31303781
3131[[package]]3782[[package]]
3132name = "pallet-sudo"3783name = "pallet-sudo"
3133version = "2.0.0-rc4"3784version = "2.0.0"
3134source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3785source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3135dependencies = [3786dependencies = [
3136 "frame-support",3787 "frame-support",
3137 "frame-system",3788 "frame-system",
31443795
3145[[package]]3796[[package]]
3146name = "pallet-timestamp"3797name = "pallet-timestamp"
3147version = "2.0.0-rc4"3798version = "2.0.0"
3148source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3799source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3149dependencies = [3800dependencies = [
3150 "frame-benchmarking",3801 "frame-benchmarking",
3151 "frame-support",3802 "frame-support",
3154 "parity-scale-codec",3805 "parity-scale-codec",
3155 "serde",3806 "serde",
3156 "sp-inherents",3807 "sp-inherents",
3808 "sp-io",
3157 "sp-runtime",3809 "sp-runtime",
3158 "sp-std",3810 "sp-std",
3159 "sp-timestamp",3811 "sp-timestamp",
3160]3812]
31613813
3162[[package]]3814[[package]]
3163name = "pallet-transaction-payment"3815name = "pallet-transaction-payment"
3164version = "2.0.0-rc4"3816version = "2.0.0"
3165source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3817source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3166dependencies = [3818dependencies = [
3167 "frame-support",3819 "frame-support",
3168 "frame-system",3820 "frame-system",
3169 "pallet-transaction-payment-rpc-runtime-api",3821 "pallet-transaction-payment-rpc-runtime-api",
3170 "parity-scale-codec",3822 "parity-scale-codec",
3171 "serde",3823 "serde",
3172 "smallvec 1.4.1",3824 "smallvec 1.4.2",
3825 "sp-core",
3826 "sp-io",
3173 "sp-runtime",3827 "sp-runtime",
3174 "sp-std",3828 "sp-std",
3175]3829]
3830
3831[[package]]
3832name = "pallet-transaction-payment-rpc"
3833version = "2.0.0"
3834source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3835dependencies = [
3836 "jsonrpc-core",
3837 "jsonrpc-core-client",
3838 "jsonrpc-derive",
3839 "pallet-transaction-payment-rpc-runtime-api",
3840 "parity-scale-codec",
3841 "serde",
3842 "sp-api",
3843 "sp-blockchain",
3844 "sp-core",
3845 "sp-rpc",
3846 "sp-runtime",
3847]
31763848
3177[[package]]3849[[package]]
3178name = "pallet-transaction-payment-rpc-runtime-api"3850name = "pallet-transaction-payment-rpc-runtime-api"
3179version = "2.0.0-rc4"3851version = "2.0.0"
3180source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"3852source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
3181dependencies = [3853dependencies = [
3182 "frame-support",3854 "frame-support",
3183 "parity-scale-codec",3855 "parity-scale-codec",
3201 "parking_lot 0.10.2",3873 "parking_lot 0.10.2",
3202]3874]
3203
3204[[package]]
3205name = "parity-multiaddr"
3206version = "0.7.3"
3207source = "registry+https://github.com/rust-lang/crates.io-index"
3208checksum = "f77055f9e81921a8cc7bebeb6cded3d128931d51f1e3dd6251f0770a6d431477"
3209dependencies = [
3210 "arrayref",
3211 "bs58",
3212 "byteorder",
3213 "data-encoding",
3214 "parity-multihash",
3215 "percent-encoding 2.1.0",
3216 "serde",
3217 "static_assertions",
3218 "unsigned-varint 0.3.3",
3219 "url 2.1.1",
3220]
32213875
3222[[package]]3876[[package]]
3223name = "parity-multiaddr"3877name = "parity-multiaddr"
3224version = "0.9.1"3878version = "0.9.2"
3225source = "registry+https://github.com/rust-lang/crates.io-index"3879source = "registry+https://github.com/rust-lang/crates.io-index"
3226checksum = "cc20af3143a62c16e7c9e92ea5c6ae49f7d271d97d4d8fe73afc28f0514a3d0f"3880checksum = "2165a93382a93de55868dcbfa11e4a8f99676a9164eee6a2b4a9479ad319c257"
3227dependencies = [3881dependencies = [
3228 "arrayref",3882 "arrayref",
3229 "bs58",3883 "bs58",
3230 "byteorder",3884 "byteorder 1.3.4",
3231 "data-encoding",3885 "data-encoding",
3232 "multihash",3886 "multihash",
3233 "percent-encoding 2.1.0",3887 "percent-encoding 2.1.0",
3237 "url 2.1.1",3891 "url 2.1.1",
3238]3892]
3239
3240[[package]]
3241name = "parity-multihash"
3242version = "0.2.3"
3243source = "registry+https://github.com/rust-lang/crates.io-index"
3244checksum = "7a1cd2ba02391b81367bec529fb209019d718684fdc8ad6a712c2b536e46f775"
3245dependencies = [
3246 "blake2 0.8.1",
3247 "bytes 0.5.6",
3248 "rand 0.7.3",
3249 "sha-1",
3250 "sha2 0.8.2",
3251 "sha3",
3252 "unsigned-varint 0.3.3",
3253]
32543893
3255[[package]]3894[[package]]
3256name = "parity-scale-codec"3895name = "parity-scale-codec"
3257version = "1.3.1"3896version = "1.3.5"
3258source = "registry+https://github.com/rust-lang/crates.io-index"3897source = "registry+https://github.com/rust-lang/crates.io-index"
3259checksum = "a74f02beb35d47e0706155c9eac554b50c671e0d868fe8296bcdf44a9a4847bf"3898checksum = "7c740e5fbcb6847058b40ac7e5574766c6388f585e184d769910fe0d3a2ca861"
3260dependencies = [3899dependencies = [
3261 "arrayvec 0.5.1",3900 "arrayvec 0.5.1",
3262 "bitvec",3901 "bitvec",
32673906
3268[[package]]3907[[package]]
3269name = "parity-scale-codec-derive"3908name = "parity-scale-codec-derive"
3270version = "1.2.0"3909version = "1.2.2"
3271source = "registry+https://github.com/rust-lang/crates.io-index"3910source = "registry+https://github.com/rust-lang/crates.io-index"
3272checksum = "5a0ec292e92e8ec7c58e576adacc1e3f399c597c8f263c42f18420abe58e7245"3911checksum = "198db82bb1c18fc00176004462dd809b2a6d851669550aa17af6dacd21ae0c14"
3273dependencies = [3912dependencies = [
3274 "proc-macro-crate",3913 "proc-macro-crate",
3275 "proc-macro2",3914 "proc-macro2",
3276 "quote 1.0.7",3915 "quote",
3277 "syn 1.0.34",3916 "syn",
3278]3917]
32793918
3280[[package]]3919[[package]]
3290checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf"3929checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf"
3291dependencies = [3930dependencies = [
3292 "bytes 0.4.12",3931 "bytes 0.4.12",
3293 "futures 0.1.29",3932 "futures 0.1.30",
3294 "libc",3933 "libc",
3295 "log",3934 "log",
3296 "mio-named-pipes",3935 "mio-named-pipes",
33043943
3305[[package]]3944[[package]]
3306name = "parity-util-mem"3945name = "parity-util-mem"
3307version = "0.6.1"3946version = "0.7.0"
3308source = "registry+https://github.com/rust-lang/crates.io-index"3947source = "registry+https://github.com/rust-lang/crates.io-index"
3309checksum = "2c6e2583649a3ca84894d1d71da249abcfda54d5aca24733d72ca10d0f02361c"3948checksum = "297ff91fa36aec49ce183484b102f6b75b46776822bd81525bfc4cc9b0dd0f5c"
3310dependencies = [3949dependencies = [
3311 "cfg-if",3950 "cfg-if 0.1.10",
3951 "hashbrown 0.8.2",
3312 "impl-trait-for-tuples",3952 "impl-trait-for-tuples",
3313 "parity-util-mem-derive",3953 "parity-util-mem-derive",
3314 "parking_lot 0.10.2",3954 "parking_lot 0.10.2",
3315 "primitive-types",3955 "primitive-types",
3316 "smallvec 1.4.1",3956 "smallvec 1.4.2",
3317 "winapi 0.3.9",3957 "winapi 0.3.9",
3318]3958]
33193959
3324checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2"3964checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2"
3325dependencies = [3965dependencies = [
3326 "proc-macro2",3966 "proc-macro2",
3327 "syn 1.0.34",3967 "syn",
3328 "synstructure",3968 "synstructure",
3329]3969]
33303970
3334source = "registry+https://github.com/rust-lang/crates.io-index"3974source = "registry+https://github.com/rust-lang/crates.io-index"
3335checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865"3975checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865"
3976
3977[[package]]
3978name = "parity-ws"
3979version = "0.10.0"
3980source = "registry+https://github.com/rust-lang/crates.io-index"
3981checksum = "9e02a625dd75084c2a7024f07c575b61b782f729d18702dabb3cdbf31911dc61"
3982dependencies = [
3983 "byteorder 1.3.4",
3984 "bytes 0.4.12",
3985 "httparse",
3986 "log",
3987 "mio",
3988 "mio-extras",
3989 "rand 0.7.3",
3990 "sha-1 0.8.2",
3991 "slab",
3992 "url 2.1.1",
3993]
3994
3995[[package]]
3996name = "parking"
3997version = "2.0.0"
3998source = "registry+https://github.com/rust-lang/crates.io-index"
3999checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
4000
4001[[package]]
4002name = "parking_lot"
4003version = "0.7.1"
4004source = "registry+https://github.com/rust-lang/crates.io-index"
4005checksum = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337"
4006dependencies = [
4007 "lock_api 0.1.5",
4008 "parking_lot_core 0.4.0",
4009]
33364010
3337[[package]]4011[[package]]
3338name = "parking_lot"4012name = "parking_lot"
3339version = "0.9.0"4013version = "0.9.0"
3340source = "registry+https://github.com/rust-lang/crates.io-index"4014source = "registry+https://github.com/rust-lang/crates.io-index"
3341checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"4015checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
3342dependencies = [4016dependencies = [
3343 "lock_api",4017 "lock_api 0.3.4",
3344 "parking_lot_core 0.6.2",4018 "parking_lot_core 0.6.2",
3345 "rustc_version",4019 "rustc_version",
3346]4020]
3351source = "registry+https://github.com/rust-lang/crates.io-index"4025source = "registry+https://github.com/rust-lang/crates.io-index"
3352checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e"4026checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e"
3353dependencies = [4027dependencies = [
3354 "lock_api",4028 "lock_api 0.3.4",
3355 "parking_lot_core 0.7.2",4029 "parking_lot_core 0.7.2",
3356]4030]
4031
4032[[package]]
4033name = "parking_lot"
4034version = "0.11.0"
4035source = "registry+https://github.com/rust-lang/crates.io-index"
4036checksum = "a4893845fa2ca272e647da5d0e46660a314ead9c2fdd9a883aabc32e481a8733"
4037dependencies = [
4038 "instant",
4039 "lock_api 0.4.1",
4040 "parking_lot_core 0.8.0",
4041]
4042
4043[[package]]
4044name = "parking_lot_core"
4045version = "0.4.0"
4046source = "registry+https://github.com/rust-lang/crates.io-index"
4047checksum = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9"
4048dependencies = [
4049 "libc",
4050 "rand 0.6.5",
4051 "rustc_version",
4052 "smallvec 0.6.13",
4053 "winapi 0.3.9",
4054]
33574055
3358[[package]]4056[[package]]
3359name = "parking_lot_core"4057name = "parking_lot_core"
3360version = "0.6.2"4058version = "0.6.2"
3361source = "registry+https://github.com/rust-lang/crates.io-index"4059source = "registry+https://github.com/rust-lang/crates.io-index"
3362checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"4060checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
3363dependencies = [4061dependencies = [
3364 "cfg-if",4062 "cfg-if 0.1.10",
3365 "cloudabi",4063 "cloudabi 0.0.3",
3366 "libc",4064 "libc",
3367 "redox_syscall",4065 "redox_syscall",
3368 "rustc_version",4066 "rustc_version",
3376source = "registry+https://github.com/rust-lang/crates.io-index"4074source = "registry+https://github.com/rust-lang/crates.io-index"
3377checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"4075checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"
3378dependencies = [4076dependencies = [
3379 "cfg-if",4077 "cfg-if 0.1.10",
3380 "cloudabi",4078 "cloudabi 0.0.3",
3381 "libc",4079 "libc",
3382 "redox_syscall",4080 "redox_syscall",
3383 "smallvec 1.4.1",4081 "smallvec 1.4.2",
3384 "winapi 0.3.9",4082 "winapi 0.3.9",
3385]4083]
4084
4085[[package]]
4086name = "parking_lot_core"
4087version = "0.8.0"
4088source = "registry+https://github.com/rust-lang/crates.io-index"
4089checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b"
4090dependencies = [
4091 "cfg-if 0.1.10",
4092 "cloudabi 0.1.0",
4093 "instant",
4094 "libc",
4095 "redox_syscall",
4096 "smallvec 1.4.2",
4097 "winapi 0.3.9",
4098]
33864099
3387[[package]]4100[[package]]
3388name = "paste"4101name = "paste"
3409source = "registry+https://github.com/rust-lang/crates.io-index"4122source = "registry+https://github.com/rust-lang/crates.io-index"
3410checksum = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"4123checksum = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"
3411dependencies = [4124dependencies = [
3412 "byteorder",4125 "byteorder 1.3.4",
3413 "crypto-mac 0.7.0",4126 "crypto-mac 0.7.0",
4127 "rayon",
3414]4128]
34154129
3416[[package]]4130[[package]]
34434157
3444[[package]]4158[[package]]
3445name = "pin-project"4159name = "pin-project"
3446version = "0.4.22"4160version = "0.4.27"
3447source = "registry+https://github.com/rust-lang/crates.io-index"4161source = "registry+https://github.com/rust-lang/crates.io-index"
3448checksum = "12e3a6cdbfe94a5e4572812a0201f8c0ed98c1c452c7b8563ce2276988ef9c17"4162checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15"
3449dependencies = [4163dependencies = [
3450 "pin-project-internal",4164 "pin-project-internal",
3451]4165]
34524166
3453[[package]]4167[[package]]
3454name = "pin-project-internal"4168name = "pin-project-internal"
3455version = "0.4.22"4169version = "0.4.27"
3456source = "registry+https://github.com/rust-lang/crates.io-index"4170source = "registry+https://github.com/rust-lang/crates.io-index"
3457checksum = "6a0ffd45cf79d88737d7cc85bfd5d2894bee1139b356e616fe85dc389c61aaf7"4171checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895"
3458dependencies = [4172dependencies = [
3459 "proc-macro2",4173 "proc-macro2",
3460 "quote 1.0.7",4174 "quote",
3461 "syn 1.0.34",4175 "syn",
3462]4176]
34634177
3464[[package]]4178[[package]]
3465name = "pin-project-lite"4179name = "pin-project-lite"
3466version = "0.1.7"4180version = "0.1.10"
3467source = "registry+https://github.com/rust-lang/crates.io-index"4181source = "registry+https://github.com/rust-lang/crates.io-index"
3468checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715"4182checksum = "e555d9e657502182ac97b539fb3dae8b79cda19e3e4f8ffb5e8de4f18df93c95"
34694183
3470[[package]]4184[[package]]
3471name = "pin-utils"4185name = "pin-utils"
34754189
3476[[package]]4190[[package]]
3477name = "pkg-config"4191name = "pkg-config"
3478version = "0.3.18"4192version = "0.3.19"
3479source = "registry+https://github.com/rust-lang/crates.io-index"4193source = "registry+https://github.com/rust-lang/crates.io-index"
3480checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"4194checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
34814195
3482[[package]]4196[[package]]
3483name = "platforms"4197name = "platforms"
3484version = "0.2.1"4198version = "0.2.1"
3485source = "registry+https://github.com/rust-lang/crates.io-index"4199source = "registry+https://github.com/rust-lang/crates.io-index"
3486checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e"4200checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e"
4201
4202[[package]]
4203name = "polling"
4204version = "2.0.1"
4205source = "registry+https://github.com/rust-lang/crates.io-index"
4206checksum = "ab773feb154f12c49ffcfd66ab8bdcf9a1843f950db48b0d8be9d4393783b058"
4207dependencies = [
4208 "cfg-if 0.1.10",
4209 "libc",
4210 "log",
4211 "wepoll-sys",
4212 "winapi 0.3.9",
4213]
34874214
3488[[package]]4215[[package]]
3489name = "poly1305"4216name = "poly1305"
3490version = "0.6.0"4217version = "0.6.1"
3491source = "registry+https://github.com/rust-lang/crates.io-index"4218source = "registry+https://github.com/rust-lang/crates.io-index"
3492checksum = "d9b42192ab143ed7619bf888a7f9c6733a9a2153b218e2cd557cfdb52fbf9bb1"4219checksum = "22ce46de8e53ee414ca4d02bfefac75d8c12fba948b76622a40b4be34dfce980"
3493dependencies = [4220dependencies = [
3494 "universal-hash",4221 "universal-hash",
3495]4222]
34964223
3497[[package]]4224[[package]]
3498name = "polyval"4225name = "polyval"
3499version = "0.4.0"4226version = "0.4.1"
3500source = "registry+https://github.com/rust-lang/crates.io-index"4227source = "registry+https://github.com/rust-lang/crates.io-index"
3501checksum = "d9a50142b55ab3ed0e9f68dfb3709f1d90d29da24e91033f28b96330643107dc"4228checksum = "a5884790f1ce3553ad55fec37b5aaac5882e0e845a2612df744d6c85c9bf046c"
3502dependencies = [4229dependencies = [
3503 "cfg-if",4230 "cfg-if 0.1.10",
3504 "universal-hash",4231 "universal-hash",
3505]4232]
35064233
3507[[package]]4234[[package]]
3508name = "ppv-lite86"4235name = "ppv-lite86"
3509version = "0.2.8"4236version = "0.2.9"
3510source = "registry+https://github.com/rust-lang/crates.io-index"4237source = "registry+https://github.com/rust-lang/crates.io-index"
3511checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea"4238checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20"
35124239
3513[[package]]4240[[package]]
3514name = "primitive-types"4241name = "primitive-types"
3518dependencies = [4245dependencies = [
3519 "fixed-hash",4246 "fixed-hash",
3520 "impl-codec",4247 "impl-codec",
3521 "impl-serde 0.3.1",4248 "impl-serde",
3522 "uint",4249 "uint",
3523]4250]
35244251
35334260
3534[[package]]4261[[package]]
3535name = "proc-macro-error"4262name = "proc-macro-error"
3536version = "1.0.3"4263version = "1.0.4"
3537source = "registry+https://github.com/rust-lang/crates.io-index"4264source = "registry+https://github.com/rust-lang/crates.io-index"
3538checksum = "fc175e9777c3116627248584e8f8b3e2987405cabe1c0adf7d1dd28f09dc7880"4265checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
3539dependencies = [4266dependencies = [
3540 "proc-macro-error-attr",4267 "proc-macro-error-attr",
3541 "proc-macro2",4268 "proc-macro2",
3542 "quote 1.0.7",4269 "quote",
3543 "syn 1.0.34",4270 "syn",
3544 "version_check",4271 "version_check",
3545]4272]
35464273
3547[[package]]4274[[package]]
3548name = "proc-macro-error-attr"4275name = "proc-macro-error-attr"
3549version = "1.0.3"4276version = "1.0.4"
3550source = "registry+https://github.com/rust-lang/crates.io-index"4277source = "registry+https://github.com/rust-lang/crates.io-index"
3551checksum = "3cc9795ca17eb581285ec44936da7fc2335a3f34f2ddd13118b6f4d515435c50"4278checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
3552dependencies = [4279dependencies = [
3553 "proc-macro2",4280 "proc-macro2",
3554 "quote 1.0.7",4281 "quote",
3555 "syn 1.0.34",
3556 "syn-mid",
3557 "version_check",4282 "version_check",
3558]4283]
35594284
3560[[package]]4285[[package]]
3561name = "proc-macro-hack"4286name = "proc-macro-hack"
3562version = "0.5.16"4287version = "0.5.18"
3563source = "registry+https://github.com/rust-lang/crates.io-index"4288source = "registry+https://github.com/rust-lang/crates.io-index"
3564checksum = "7e0456befd48169b9f13ef0f0ad46d492cf9d2dbb918bcf38e01eed4ce3ec5e4"4289checksum = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598"
35654290
3566[[package]]4291[[package]]
3567name = "proc-macro-nested"4292name = "proc-macro-nested"
35714296
3572[[package]]4297[[package]]
3573name = "proc-macro2"4298name = "proc-macro2"
3574version = "1.0.19"4299version = "1.0.24"
3575source = "registry+https://github.com/rust-lang/crates.io-index"4300source = "registry+https://github.com/rust-lang/crates.io-index"
3576checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12"4301checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
3577dependencies = [4302dependencies = [
3578 "unicode-xid 0.2.1",4303 "unicode-xid",
3579]4304]
3580
3581[[package]]
3582name = "procfs"
3583version = "0.7.9"
3584source = "registry+https://github.com/rust-lang/crates.io-index"
3585checksum = "c434e93ef69c216e68e4f417c927b4f31502c3560b72cfdb6827e2321c5c6b3e"
3586dependencies = [
3587 "bitflags",
3588 "byteorder",
3589 "chrono",
3590 "hex",
3591 "lazy_static",
3592 "libc",
3593 "libflate",
3594]
35954305
3596[[package]]4306[[package]]
3597name = "prometheus"4307name = "prometheus"
3598version = "0.8.0"4308version = "0.10.0"
3599source = "registry+https://github.com/rust-lang/crates.io-index"4309source = "registry+https://github.com/rust-lang/crates.io-index"
3600checksum = "b0575e258dab62268e7236d7307caa38848acbda7ec7ab87bd9093791e999d20"4310checksum = "30d70cf4412832bcac9cffe27906f4a66e450d323525e977168c70d1b36120ae"
3601dependencies = [4311dependencies = [
3602 "cfg-if",4312 "cfg-if 0.1.10",
3603 "fnv",4313 "fnv",
3604 "lazy_static",4314 "lazy_static",
3605 "protobuf",4315 "parking_lot 0.11.0",
3606 "spin",4316 "regex",
3607 "thiserror",4317 "thiserror",
3608]4318]
36094319
3644 "anyhow",4354 "anyhow",
3645 "itertools 0.8.2",4355 "itertools 0.8.2",
3646 "proc-macro2",4356 "proc-macro2",
3647 "quote 1.0.7",4357 "quote",
3648 "syn 1.0.34",4358 "syn",
3649]4359]
36504360
3651[[package]]4361[[package]]
3658 "prost",4368 "prost",
3659]4369]
3660
3661[[package]]
3662name = "protobuf"
3663version = "2.16.2"
3664source = "registry+https://github.com/rust-lang/crates.io-index"
3665checksum = "d883f78645c21b7281d21305181aa1f4dd9e9363e7cf2566c93121552cff003e"
36664370
3667[[package]]4371[[package]]
3668name = "pwasm-utils"4372name = "pwasm-utils"
3669version = "0.12.0"4373version = "0.14.0"
3670source = "registry+https://github.com/rust-lang/crates.io-index"4374source = "registry+https://github.com/rust-lang/crates.io-index"
3671checksum = "4f7a12f176deee919f4ba55326ee17491c8b707d0987aed822682c821b660192"4375checksum = "0f53bc2558e8376358ebdc28301546471d67336584f6438ed4b7c7457a055fd7"
3672dependencies = [4376dependencies = [
3673 "byteorder",4377 "byteorder 1.3.4",
3674 "log",4378 "log",
3675 "parity-wasm",4379 "parity-wasm",
3676]4380]
3692 "pin-project-lite",4396 "pin-project-lite",
3693]4397]
3694
3695[[package]]
3696name = "quote"
3697version = "0.3.15"
3698source = "registry+https://github.com/rust-lang/crates.io-index"
3699checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
37004398
3701[[package]]4399[[package]]
3702name = "quote"4400name = "quote"
3742source = "registry+https://github.com/rust-lang/crates.io-index"4440source = "registry+https://github.com/rust-lang/crates.io-index"
3743checksum = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9"4441checksum = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9"
3744dependencies = [4442dependencies = [
3745 "cloudabi",4443 "cloudabi 0.0.3",
3746 "fuchsia-cprng",4444 "fuchsia-cprng",
3747 "libc",4445 "libc",
3748 "rand_core 0.3.1",4446 "rand_core 0.3.1",
3774source = "registry+https://github.com/rust-lang/crates.io-index"4472source = "registry+https://github.com/rust-lang/crates.io-index"
3775checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"4473checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
3776dependencies = [4474dependencies = [
3777 "getrandom",4475 "getrandom 0.1.15",
3778 "libc",4476 "libc",
3779 "rand_chacha 0.2.2",4477 "rand_chacha 0.2.2",
3780 "rand_core 0.5.1",4478 "rand_core 0.5.1",
3823source = "registry+https://github.com/rust-lang/crates.io-index"4521source = "registry+https://github.com/rust-lang/crates.io-index"
3824checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"4522checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
3825dependencies = [4523dependencies = [
3826 "getrandom",4524 "getrandom 0.1.15",
3827]4525]
38284526
3829[[package]]4527[[package]]
3870source = "registry+https://github.com/rust-lang/crates.io-index"4568source = "registry+https://github.com/rust-lang/crates.io-index"
3871checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"4569checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
3872dependencies = [4570dependencies = [
3873 "cloudabi",4571 "cloudabi 0.0.3",
3874 "fuchsia-cprng",4572 "fuchsia-cprng",
3875 "libc",4573 "libc",
3876 "rand_core 0.4.2",4574 "rand_core 0.4.2",
3906 "rand_core 0.3.1",4604 "rand_core 0.3.1",
3907]4605]
4606
4607[[package]]
4608name = "raw-cpuid"
4609version = "7.0.3"
4610source = "registry+https://github.com/rust-lang/crates.io-index"
4611checksum = "b4a349ca83373cfa5d6dbb66fd76e58b2cca08da71a5f6400de0a0a6a9bceeaf"
4612dependencies = [
4613 "bitflags",
4614 "cc",
4615 "rustc_version",
4616]
39084617
3909[[package]]4618[[package]]
3910name = "rawpointer"4619name = "rawpointer"
39144623
3915[[package]]4624[[package]]
3916name = "rayon"4625name = "rayon"
3917version = "1.3.1"4626version = "1.4.1"
3918source = "registry+https://github.com/rust-lang/crates.io-index"4627source = "registry+https://github.com/rust-lang/crates.io-index"
3919checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"4628checksum = "dcf6960dc9a5b4ee8d3e4c5787b4a112a8818e0290a42ff664ad60692fdf2032"
3920dependencies = [4629dependencies = [
3921 "autocfg 1.0.0",4630 "autocfg 1.0.1",
3922 "crossbeam-deque",4631 "crossbeam-deque",
3923 "either",4632 "either",
3924 "rayon-core",4633 "rayon-core",
3925]4634]
39264635
3927[[package]]4636[[package]]
3928name = "rayon-core"4637name = "rayon-core"
3929version = "1.7.1"4638version = "1.8.1"
3930source = "registry+https://github.com/rust-lang/crates.io-index"4639source = "registry+https://github.com/rust-lang/crates.io-index"
3931checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"4640checksum = "e8c4fec834fb6e6d2dd5eece3c7b432a52f0ba887cf40e595190c4107edc08bf"
3932dependencies = [4641dependencies = [
4642 "crossbeam-channel",
3933 "crossbeam-deque",4643 "crossbeam-deque",
3934 "crossbeam-queue",
3935 "crossbeam-utils",4644 "crossbeam-utils",
3936 "lazy_static",4645 "lazy_static",
3937 "num_cpus",4646 "num_cpus",
39544663
3955[[package]]4664[[package]]
3956name = "redox_users"4665name = "redox_users"
3957version = "0.3.4"4666version = "0.3.5"
3958source = "registry+https://github.com/rust-lang/crates.io-index"4667source = "registry+https://github.com/rust-lang/crates.io-index"
3959checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431"4668checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
3960dependencies = [4669dependencies = [
3961 "getrandom",4670 "getrandom 0.1.15",
3962 "redox_syscall",4671 "redox_syscall",
3963 "rust-argon2",4672 "rust-argon2",
3964]4673]
3979checksum = "7d21b475ab879ef0e315ad99067fa25778c3b0377f57f1b00207448dac1a3144"4688checksum = "7d21b475ab879ef0e315ad99067fa25778c3b0377f57f1b00207448dac1a3144"
3980dependencies = [4689dependencies = [
3981 "proc-macro2",4690 "proc-macro2",
3982 "quote 1.0.7",4691 "quote",
3983 "syn 1.0.34",4692 "syn",
3984]4693]
4694
4695[[package]]
4696name = "regalloc"
4697version = "0.0.27"
4698source = "registry+https://github.com/rust-lang/crates.io-index"
4699checksum = "b9ba8aaf5fe7cf307c6dbdaeed85478961d29e25e3bee5169e11b92fa9f027a8"
4700dependencies = [
4701 "log",
4702 "rustc-hash",
4703 "smallvec 1.4.2",
4704]
39854705
3986[[package]]4706[[package]]
3987name = "regex"4707name = "regex"
3988version = "1.3.9"4708version = "1.4.1"
3989source = "registry+https://github.com/rust-lang/crates.io-index"4709source = "registry+https://github.com/rust-lang/crates.io-index"
3990checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6"4710checksum = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b"
3991dependencies = [4711dependencies = [
3992 "aho-corasick",4712 "aho-corasick",
3993 "memchr",4713 "memchr",
3994 "regex-syntax",4714 "regex-syntax",
3995 "thread_local",4715 "thread_local",
3996]4716]
4717
4718[[package]]
4719name = "regex-automata"
4720version = "0.1.9"
4721source = "registry+https://github.com/rust-lang/crates.io-index"
4722checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4"
4723dependencies = [
4724 "byteorder 1.3.4",
4725 "regex-syntax",
4726]
39974727
3998[[package]]4728[[package]]
3999name = "regex-syntax"4729name = "regex-syntax"
4000version = "0.6.18"4730version = "0.6.20"
4001source = "registry+https://github.com/rust-lang/crates.io-index"4731source = "registry+https://github.com/rust-lang/crates.io-index"
4002checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8"4732checksum = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c"
4733
4734[[package]]
4735name = "region"
4736version = "2.2.0"
4737source = "registry+https://github.com/rust-lang/crates.io-index"
4738checksum = "877e54ea2adcd70d80e9179344c97f93ef0dffd6b03e1f4529e6e83ab2fa9ae0"
4739dependencies = [
4740 "bitflags",
4741 "libc",
4742 "mach",
4743 "winapi 0.3.9",
4744]
40034745
4004[[package]]4746[[package]]
4005name = "remove_dir_all"4747name = "remove_dir_all"
4010 "winapi 0.3.9",4752 "winapi 0.3.9",
4011]4753]
4012
4013[[package]]
4014name = "rental"
4015version = "0.5.5"
4016source = "registry+https://github.com/rust-lang/crates.io-index"
4017checksum = "8545debe98b2b139fb04cad8618b530e9b07c152d99a5de83c860b877d67847f"
4018dependencies = [
4019 "rental-impl",
4020 "stable_deref_trait",
4021]
40224754
4023[[package]]4755[[package]]
4024name = "rental-impl"4756name = "retain_mut"
4025version = "0.5.5"4757version = "0.1.1"
4026source = "registry+https://github.com/rust-lang/crates.io-index"4758source = "registry+https://github.com/rust-lang/crates.io-index"
4027checksum = "475e68978dc5b743f2f40d8e0a8fdc83f1c5e78cbf4b8fa5e74e73beebc340de"4759checksum = "e005d658ad26eacc2b6c506dfde519f4e277e328d0eb3379ca61647d70a8f531"
4028dependencies = [
4029 "proc-macro2",
4030 "quote 1.0.7",
4031 "syn 1.0.34",
4032]
40334760
4034[[package]]4761[[package]]
4035name = "ring"4762name = "ring"
4039dependencies = [4766dependencies = [
4040 "cc",4767 "cc",
4041 "libc",4768 "libc",
4042 "once_cell",4769 "once_cell 1.4.1",
4043 "spin",4770 "spin",
4044 "untrusted",4771 "untrusted",
4045 "web-sys",4772 "web-sys",
4046 "winapi 0.3.9",4773 "winapi 0.3.9",
4047]4774]
4048
4049[[package]]
4050name = "rle-decode-fast"
4051version = "1.0.1"
4052source = "registry+https://github.com/rust-lang/crates.io-index"
4053checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
40544775
4055[[package]]4776[[package]]
4056name = "rocksdb"4777name = "rocksdb"
4057version = "0.14.0"4778version = "0.15.0"
4058source = "registry+https://github.com/rust-lang/crates.io-index"4779source = "registry+https://github.com/rust-lang/crates.io-index"
4059checksum = "61aa17a99a2413cd71c1106691bf59dad7de0cd5099127f90e9d99c429c40d4a"4780checksum = "23d83c02c429044d58474eaf5ae31e062d0de894e21125b47437ec0edc1397e6"
4060dependencies = [4781dependencies = [
4061 "libc",4782 "libc",
4062 "librocksdb-sys",4783 "librocksdb-sys",
40744795
4075[[package]]4796[[package]]
4076name = "rust-argon2"4797name = "rust-argon2"
4077version = "0.7.0"4798version = "0.8.2"
4078source = "registry+https://github.com/rust-lang/crates.io-index"4799source = "registry+https://github.com/rust-lang/crates.io-index"
4079checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017"4800checksum = "9dab61250775933275e84053ac235621dfb739556d5c54a2f2e9313b7cf43a19"
4080dependencies = [4801dependencies = [
4081 "base64",4802 "base64 0.12.3",
4082 "blake2b_simd",4803 "blake2b_simd",
4083 "constant_time_eq",4804 "constant_time_eq",
4084 "crossbeam-utils",4805 "crossbeam-utils",
4085]4806]
40864807
4087[[package]]4808[[package]]
4088name = "rustc-demangle"4809name = "rustc-demangle"
4089version = "0.1.16"4810version = "0.1.17"
4090source = "registry+https://github.com/rust-lang/crates.io-index"4811source = "registry+https://github.com/rust-lang/crates.io-index"
4091checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"4812checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b"
40924813
4093[[package]]4814[[package]]
4094name = "rustc-hash"4815name = "rustc-hash"
41134834
4114[[package]]4835[[package]]
4115name = "rustls"4836name = "rustls"
4116version = "0.17.0"4837version = "0.18.1"
4117source = "registry+https://github.com/rust-lang/crates.io-index"4838source = "registry+https://github.com/rust-lang/crates.io-index"
4118checksum = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1"4839checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
4119dependencies = [4840dependencies = [
4120 "base64",4841 "base64 0.12.3",
4121 "log",4842 "log",
4122 "ring",4843 "ring",
4123 "sct",4844 "sct",
41264847
4127[[package]]4848[[package]]
4128name = "rustls-native-certs"4849name = "rustls-native-certs"
4129version = "0.3.0"4850version = "0.4.0"
4130source = "registry+https://github.com/rust-lang/crates.io-index"4851source = "registry+https://github.com/rust-lang/crates.io-index"
4131checksum = "a75ffeb84a6bd9d014713119542ce415db3a3e4748f0bfce1e1416cd224a23a5"4852checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8"
4132dependencies = [4853dependencies = [
4133 "openssl-probe",4854 "openssl-probe",
4134 "rustls",4855 "rustls",
4142source = "registry+https://github.com/rust-lang/crates.io-index"4863source = "registry+https://github.com/rust-lang/crates.io-index"
4143checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020"4864checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020"
4144dependencies = [4865dependencies = [
4145 "futures 0.3.5",4866 "futures 0.3.6",
4146 "pin-project",4867 "pin-project",
4147 "static_assertions",4868 "static_assertions",
4148]4869]
4162 "rustc_version",4883 "rustc_version",
4163]4884]
4885
4886[[package]]
4887name = "salsa20"
4888version = "0.3.0"
4889source = "registry+https://github.com/rust-lang/crates.io-index"
4890checksum = "2324b0e8c3bb9a586a571fdb3136f70e7e2c748de00a78043f86e0cff91f91fe"
4891dependencies = [
4892 "byteorder 1.3.4",
4893 "salsa20-core",
4894 "stream-cipher 0.3.2",
4895]
4896
4897[[package]]
4898name = "salsa20-core"
4899version = "0.2.3"
4900source = "registry+https://github.com/rust-lang/crates.io-index"
4901checksum = "2fe6cc1b9f5a5867853ade63099de70f042f7679e408d1ffe52821c9248e6e69"
4902dependencies = [
4903 "stream-cipher 0.3.2",
4904]
41644905
4165[[package]]4906[[package]]
4166name = "sc-basic-authorship"4907name = "sc-basic-authorship"
4167version = "0.8.0-rc4"4908version = "0.8.0"
4168source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"4909source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4169dependencies = [4910dependencies = [
4170 "futures 0.3.5",4911 "futures 0.3.6",
4171 "futures-timer 3.0.2",4912 "futures-timer 3.0.2",
4172 "log",4913 "log",
4173 "parity-scale-codec",4914 "parity-scale-codec",
41884929
4189[[package]]4930[[package]]
4190name = "sc-block-builder"4931name = "sc-block-builder"
4191version = "0.8.0-rc4"4932version = "0.8.0"
4192source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"4933source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4193dependencies = [4934dependencies = [
4194 "parity-scale-codec",4935 "parity-scale-codec",
4195 "sc-client-api",4936 "sc-client-api",
4198 "sp-blockchain",4939 "sp-blockchain",
4199 "sp-consensus",4940 "sp-consensus",
4200 "sp-core",4941 "sp-core",
4942 "sp-inherents",
4201 "sp-runtime",4943 "sp-runtime",
4202 "sp-state-machine",4944 "sp-state-machine",
4203]4945]
42044946
4205[[package]]4947[[package]]
4206name = "sc-chain-spec"4948name = "sc-chain-spec"
4207version = "2.0.0-rc4"4949version = "2.0.0"
4208source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"4950source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4209dependencies = [4951dependencies = [
4210 "impl-trait-for-tuples",4952 "impl-trait-for-tuples",
4953 "parity-scale-codec",
4211 "sc-chain-spec-derive",4954 "sc-chain-spec-derive",
4212 "sc-network",4955 "sc-network",
4213 "sc-telemetry",4956 "sc-telemetry",
42204963
4221[[package]]4964[[package]]
4222name = "sc-chain-spec-derive"4965name = "sc-chain-spec-derive"
4223version = "2.0.0-rc4"4966version = "2.0.0"
4224source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"4967source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4225dependencies = [4968dependencies = [
4226 "proc-macro-crate",4969 "proc-macro-crate",
4227 "proc-macro2",4970 "proc-macro2",
4228 "quote 1.0.7",4971 "quote",
4229 "syn 1.0.34",4972 "syn",
4230]4973]
42314974
4232[[package]]4975[[package]]
4233name = "sc-cli"4976name = "sc-cli"
4234version = "0.8.0-rc4"4977version = "0.8.0"
4235source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"4978source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4236dependencies = [4979dependencies = [
4237 "ansi_term 0.12.1",4980 "ansi_term 0.12.1",
4238 "atty",4981 "atty",
4982 "bip39",
4239 "chrono",4983 "chrono",
4240 "derive_more",4984 "derive_more",
4241 "env_logger",
4242 "fdlimit",4985 "fdlimit",
4243 "futures 0.3.5",4986 "futures 0.3.6",
4987 "hex",
4244 "lazy_static",4988 "lazy_static",
4989 "libp2p",
4245 "log",4990 "log",
4246 "names",4991 "names",
4247 "nix",4992 "nix",
4993 "parity-scale-codec",
4248 "parity-util-mem",4994 "parity-util-mem",
4995 "rand 0.7.3",
4249 "regex",4996 "regex",
4250 "rpassword",4997 "rpassword",
4251 "sc-client-api",4998 "sc-client-api",
4252 "sc-informant",4999 "sc-informant",
5000 "sc-keystore",
4253 "sc-network",5001 "sc-network",
4254 "sc-service",5002 "sc-service",
4255 "sc-telemetry",5003 "sc-telemetry",
4256 "sc-tracing",5004 "sc-tracing",
5005 "serde",
4257 "serde_json",5006 "serde_json",
4258 "sp-blockchain",5007 "sp-blockchain",
4259 "sp-core",5008 "sp-core",
4266 "structopt",5015 "structopt",
4267 "substrate-prometheus-endpoint",5016 "substrate-prometheus-endpoint",
4268 "time",5017 "time",
4269 "tokio 0.2.21",5018 "tokio 0.2.22",
5019 "tracing",
5020 "tracing-log",
5021 "tracing-subscriber",
4270]5022]
42715023
4272[[package]]5024[[package]]
4273name = "sc-client-api"5025name = "sc-client-api"
4274version = "2.0.0-rc4"5026version = "2.0.0"
4275source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5027source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4276dependencies = [5028dependencies = [
4277 "derive_more",5029 "derive_more",
4278 "fnv",5030 "fnv",
4279 "futures 0.3.5",5031 "futures 0.3.6",
4280 "hash-db",5032 "hash-db",
4281 "hex-literal",5033 "hex-literal",
4282 "kvdb",5034 "kvdb",
43075059
4308[[package]]5060[[package]]
4309name = "sc-client-db"5061name = "sc-client-db"
4310version = "0.8.0-rc4"5062version = "0.8.0"
4311source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5063source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4312dependencies = [5064dependencies = [
4313 "blake2-rfc",5065 "blake2-rfc",
4314 "hash-db",5066 "hash-db",
4324 "sc-client-api",5076 "sc-client-api",
4325 "sc-executor",5077 "sc-executor",
4326 "sc-state-db",5078 "sc-state-db",
5079 "sp-arithmetic",
4327 "sp-blockchain",5080 "sp-blockchain",
4328 "sp-consensus",5081 "sp-consensus",
4329 "sp-core",5082 "sp-core",
43365089
4337[[package]]5090[[package]]
4338name = "sc-consensus"5091name = "sc-consensus"
4339version = "0.8.0-rc4"5092version = "0.8.0"
4340source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5093source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4341dependencies = [5094dependencies = [
4342 "sc-client-api",5095 "sc-client-api",
4343 "sp-blockchain",5096 "sp-blockchain",
43475100
4348[[package]]5101[[package]]
4349name = "sc-consensus-aura"5102name = "sc-consensus-aura"
4350version = "0.8.0-rc4"5103version = "0.8.0"
4351source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5104source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4352dependencies = [5105dependencies = [
4353 "derive_more",5106 "derive_more",
4354 "futures 0.3.5",5107 "futures 0.3.6",
4355 "futures-timer 3.0.2",5108 "futures-timer 3.0.2",
4356 "log",5109 "log",
4357 "parity-scale-codec",5110 "parity-scale-codec",
43785131
4379[[package]]5132[[package]]
4380name = "sc-consensus-slots"5133name = "sc-consensus-slots"
4381version = "0.8.0-rc4"5134version = "0.8.0"
4382source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5135source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4383dependencies = [5136dependencies = [
4384 "futures 0.3.5",5137 "futures 0.3.6",
4385 "futures-timer 3.0.2",5138 "futures-timer 3.0.2",
4386 "log",5139 "log",
4387 "parity-scale-codec",5140 "parity-scale-codec",
4392 "sp-application-crypto",5145 "sp-application-crypto",
4393 "sp-blockchain",5146 "sp-blockchain",
4394 "sp-consensus",5147 "sp-consensus",
5148 "sp-consensus-slots",
4395 "sp-core",5149 "sp-core",
4396 "sp-inherents",5150 "sp-inherents",
4397 "sp-runtime",5151 "sp-runtime",
44005154
4401[[package]]5155[[package]]
4402name = "sc-executor"5156name = "sc-executor"
4403version = "0.8.0-rc4"5157version = "0.8.0"
4404source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5158source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4405dependencies = [5159dependencies = [
4406 "derive_more",5160 "derive_more",
4407 "lazy_static",5161 "lazy_static",
4412 "parking_lot 0.10.2",5166 "parking_lot 0.10.2",
4413 "sc-executor-common",5167 "sc-executor-common",
4414 "sc-executor-wasmi",5168 "sc-executor-wasmi",
5169 "sc-executor-wasmtime",
4415 "sp-api",5170 "sp-api",
4416 "sp-core",5171 "sp-core",
4417 "sp-externalities",5172 "sp-externalities",
44275182
4428[[package]]5183[[package]]
4429name = "sc-executor-common"5184name = "sc-executor-common"
4430version = "0.8.0-rc4"5185version = "0.8.0"
4431source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5186source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4432dependencies = [5187dependencies = [
4433 "derive_more",5188 "derive_more",
4434 "log",5189 "log",
44445199
4445[[package]]5200[[package]]
4446name = "sc-executor-wasmi"5201name = "sc-executor-wasmi"
4447version = "0.8.0-rc4"5202version = "0.8.0"
4448source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5203source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4449dependencies = [5204dependencies = [
4450 "log",5205 "log",
4451 "parity-scale-codec",5206 "parity-scale-codec",
4457 "wasmi",5212 "wasmi",
4458]5213]
5214
5215[[package]]
5216name = "sc-executor-wasmtime"
5217version = "0.8.0"
5218source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5219dependencies = [
5220 "log",
5221 "parity-scale-codec",
5222 "parity-wasm",
5223 "pwasm-utils",
5224 "sc-executor-common",
5225 "scoped-tls",
5226 "sp-allocator",
5227 "sp-core",
5228 "sp-runtime-interface",
5229 "sp-wasm-interface",
5230 "wasmtime",
5231]
44595232
4460[[package]]5233[[package]]
4461name = "sc-finality-grandpa"5234name = "sc-finality-grandpa"
4462version = "0.8.0-rc4"5235version = "0.8.0"
4463source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5236source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4464dependencies = [5237dependencies = [
4465 "assert_matches",
4466 "derive_more",5238 "derive_more",
4467 "finality-grandpa",5239 "finality-grandpa",
4468 "fork-tree",5240 "fork-tree",
4469 "futures 0.3.5",5241 "futures 0.3.6",
4470 "futures-timer 3.0.2",5242 "futures-timer 3.0.2",
4471 "log",5243 "log",
4472 "parity-scale-codec",5244 "parity-scale-codec",
44975269
4498[[package]]5270[[package]]
4499name = "sc-informant"5271name = "sc-informant"
4500version = "0.8.0-rc4"5272version = "0.8.0"
4501source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5273source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4502dependencies = [5274dependencies = [
4503 "ansi_term 0.12.1",5275 "ansi_term 0.12.1",
4504 "futures 0.3.5",5276 "futures 0.3.6",
4505 "log",5277 "log",
4506 "parity-util-mem",5278 "parity-util-mem",
4507 "parking_lot 0.10.2",
4508 "sc-client-api",5279 "sc-client-api",
4509 "sc-network",5280 "sc-network",
4510 "sp-blockchain",5281 "sp-blockchain",
45165287
4517[[package]]5288[[package]]
4518name = "sc-keystore"5289name = "sc-keystore"
4519version = "2.0.0-rc4"5290version = "2.0.0"
4520source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5291source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4521dependencies = [5292dependencies = [
4522 "derive_more",5293 "derive_more",
4523 "hex",5294 "hex",
4527 "serde_json",5298 "serde_json",
4528 "sp-application-crypto",5299 "sp-application-crypto",
4529 "sp-core",5300 "sp-core",
4530 "subtle 2.2.3",5301 "subtle 2.3.0",
4531]5302]
45325303
4533[[package]]5304[[package]]
4534name = "sc-light"5305name = "sc-light"
4535version = "2.0.0-rc4"5306version = "2.0.0"
4536source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5307source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4537dependencies = [5308dependencies = [
4538 "hash-db",5309 "hash-db",
4539 "lazy_static",5310 "lazy_static",
45515322
4552[[package]]5323[[package]]
4553name = "sc-network"5324name = "sc-network"
4554version = "0.8.0-rc4"5325version = "0.8.0"
4555source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5326source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4556dependencies = [5327dependencies = [
5328 "async-std",
5329 "async-trait",
4557 "bitflags",5330 "bitflags",
4558 "bs58",5331 "bs58",
4559 "bytes 0.5.6",5332 "bytes 0.5.6",
4562 "erased-serde",5335 "erased-serde",
4563 "fnv",5336 "fnv",
4564 "fork-tree",5337 "fork-tree",
4565 "futures 0.3.5",5338 "futures 0.3.6",
4566 "futures-timer 3.0.2",5339 "futures-timer 3.0.2",
4567 "futures_codec 0.3.4",5340 "futures_codec",
4568 "hex",5341 "hex",
4569 "ip_network",5342 "ip_network",
4570 "libp2p",5343 "libp2p",
4571 "linked-hash-map",5344 "linked-hash-map",
4572 "linked_hash_set",5345 "linked_hash_set",
4573 "log",5346 "log",
4574 "lru",5347 "lru 0.4.3",
4575 "nohash-hasher",5348 "nohash-hasher",
4576 "parity-scale-codec",5349 "parity-scale-codec",
4577 "parking_lot 0.10.2",5350 "parking_lot 0.10.2",
4595 "sp-utils",5368 "sp-utils",
4596 "substrate-prometheus-endpoint",5369 "substrate-prometheus-endpoint",
4597 "thiserror",5370 "thiserror",
4598 "unsigned-varint 0.3.3",5371 "unsigned-varint 0.4.0",
4599 "void",5372 "void",
4600 "wasm-timer",5373 "wasm-timer",
4601 "zeroize",5374 "zeroize",
4602]5375]
46035376
4604[[package]]5377[[package]]
4605name = "sc-network-gossip"5378name = "sc-network-gossip"
4606version = "0.8.0-rc4"5379version = "0.8.0"
4607source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5380source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4608dependencies = [5381dependencies = [
4609 "futures 0.3.5",5382 "futures 0.3.6",
4610 "futures-timer 3.0.2",5383 "futures-timer 3.0.2",
4611 "libp2p",5384 "libp2p",
4612 "log",5385 "log",
4613 "lru",5386 "lru 0.4.3",
4614 "sc-network",5387 "sc-network",
4615 "sp-runtime",5388 "sp-runtime",
4616 "wasm-timer",5389 "wasm-timer",
4617]5390]
46185391
4619[[package]]5392[[package]]
4620name = "sc-offchain"5393name = "sc-offchain"
4621version = "2.0.0-rc4"5394version = "2.0.0"
4622source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5395source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4623dependencies = [5396dependencies = [
4624 "bytes 0.5.6",5397 "bytes 0.5.6",
4625 "fnv",5398 "fnv",
4626 "futures 0.3.5",5399 "futures 0.3.6",
4627 "futures-timer 3.0.2",5400 "futures-timer 3.0.2",
4628 "hyper 0.13.7",5401 "hyper 0.13.8",
4629 "hyper-rustls",5402 "hyper-rustls",
4630 "log",5403 "log",
4631 "num_cpus",5404 "num_cpus",
46455418
4646[[package]]5419[[package]]
4647name = "sc-peerset"5420name = "sc-peerset"
4648version = "2.0.0-rc4"5421version = "2.0.0"
4649source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5422source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4650dependencies = [5423dependencies = [
4651 "futures 0.3.5",5424 "futures 0.3.6",
4652 "libp2p",5425 "libp2p",
4653 "log",5426 "log",
4654 "serde_json",5427 "serde_json",
46585431
4659[[package]]5432[[package]]
4660name = "sc-proposer-metrics"5433name = "sc-proposer-metrics"
4661version = "0.8.0-rc4"5434version = "0.8.0"
4662source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5435source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4663dependencies = [5436dependencies = [
4664 "log",5437 "log",
4665 "substrate-prometheus-endpoint",5438 "substrate-prometheus-endpoint",
4666]5439]
46675440
4668[[package]]5441[[package]]
4669name = "sc-rpc"5442name = "sc-rpc"
4670version = "2.0.0-rc4"5443version = "2.0.0"
4671source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5444source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4672dependencies = [5445dependencies = [
4673 "futures 0.3.5",5446 "futures 0.3.6",
4674 "hash-db",5447 "hash-db",
4675 "jsonrpc-core",5448 "jsonrpc-core",
4676 "jsonrpc-pubsub",5449 "jsonrpc-pubsub",
46995472
4700[[package]]5473[[package]]
4701name = "sc-rpc-api"5474name = "sc-rpc-api"
4702version = "0.8.0-rc4"5475version = "0.8.0"
4703source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5476source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4704dependencies = [5477dependencies = [
4705 "derive_more",5478 "derive_more",
4706 "futures 0.3.5",5479 "futures 0.3.6",
4707 "jsonrpc-core",5480 "jsonrpc-core",
4708 "jsonrpc-core-client",5481 "jsonrpc-core-client",
4709 "jsonrpc-derive",5482 "jsonrpc-derive",
47235496
4724[[package]]5497[[package]]
4725name = "sc-rpc-server"5498name = "sc-rpc-server"
4726version = "2.0.0-rc4"5499version = "2.0.0"
4727source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5500source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4728dependencies = [5501dependencies = [
5502 "futures 0.1.30",
4729 "jsonrpc-core",5503 "jsonrpc-core",
4730 "jsonrpc-http-server",5504 "jsonrpc-http-server",
4731 "jsonrpc-ipc-server",5505 "jsonrpc-ipc-server",
4735 "serde",5509 "serde",
4736 "serde_json",5510 "serde_json",
4737 "sp-runtime",5511 "sp-runtime",
5512 "substrate-prometheus-endpoint",
4738]5513]
47395514
4740[[package]]5515[[package]]
4741name = "sc-service"5516name = "sc-service"
4742version = "0.8.0-rc4"5517version = "0.8.0"
4743source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5518source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4744dependencies = [5519dependencies = [
4745 "derive_more",5520 "derive_more",
4746 "directories",5521 "directories",
4747 "exit-future",5522 "exit-future",
4748 "futures 0.1.29",5523 "futures 0.1.30",
4749 "futures 0.3.5",5524 "futures 0.3.6",
4750 "futures-timer 3.0.2",5525 "futures-timer 3.0.2",
4751 "hash-db",5526 "hash-db",
5527 "jsonrpc-core",
4752 "jsonrpc-pubsub",5528 "jsonrpc-pubsub",
4753 "lazy_static",5529 "lazy_static",
4754 "log",5530 "log",
4755 "netstat2",
4756 "parity-multiaddr 0.7.3",
4757 "parity-scale-codec",5531 "parity-scale-codec",
4758 "parity-util-mem",5532 "parity-util-mem",
4759 "parking_lot 0.10.2",5533 "parking_lot 0.10.2",
4760 "pin-project",5534 "pin-project",
4761 "procfs",
4762 "rand 0.7.3",5535 "rand 0.7.3",
4763 "sc-block-builder",5536 "sc-block-builder",
4764 "sc-chain-spec",5537 "sc-chain-spec",
4785 "sp-consensus",5558 "sp-consensus",
4786 "sp-core",5559 "sp-core",
4787 "sp-externalities",5560 "sp-externalities",
5561 "sp-inherents",
4788 "sp-io",5562 "sp-io",
4789 "sp-runtime",5563 "sp-runtime",
4790 "sp-session",5564 "sp-session",
4791 "sp-state-machine",5565 "sp-state-machine",
5566 "sp-tracing",
4792 "sp-transaction-pool",5567 "sp-transaction-pool",
4793 "sp-trie",5568 "sp-trie",
4794 "sp-utils",5569 "sp-utils",
4795 "sp-version",5570 "sp-version",
4796 "substrate-prometheus-endpoint",5571 "substrate-prometheus-endpoint",
4797 "sysinfo",
4798 "tempfile",5572 "tempfile",
4799 "tracing",5573 "tracing",
4800 "wasm-timer",5574 "wasm-timer",
4801]5575]
48025576
4803[[package]]5577[[package]]
4804name = "sc-state-db"5578name = "sc-state-db"
4805version = "0.8.0-rc4"5579version = "0.8.0"
4806source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5580source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4807dependencies = [5581dependencies = [
4808 "log",5582 "log",
4809 "parity-scale-codec",5583 "parity-scale-codec",
48165590
4817[[package]]5591[[package]]
4818name = "sc-telemetry"5592name = "sc-telemetry"
4819version = "2.0.0-rc4"5593version = "2.0.0"
4820source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5594source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4821dependencies = [5595dependencies = [
4822 "bytes 0.5.6",
4823 "futures 0.3.5",5596 "futures 0.3.6",
4824 "futures-timer 3.0.2",5597 "futures-timer 3.0.2",
4825 "libp2p",5598 "libp2p",
4826 "log",5599 "log",
48385611
4839[[package]]5612[[package]]
4840name = "sc-tracing"5613name = "sc-tracing"
4841version = "2.0.0-rc4"5614version = "2.0.0"
4842source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5615source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4843dependencies = [5616dependencies = [
4844 "erased-serde",5617 "erased-serde",
4845 "log",5618 "log",
4850 "serde_json",5623 "serde_json",
4851 "slog",5624 "slog",
4852 "sp-tracing",5625 "sp-tracing",
5626 "tracing",
4853 "tracing-core",5627 "tracing-core",
5628 "tracing-subscriber",
4854]5629]
48555630
4856[[package]]5631[[package]]
4857name = "sc-transaction-graph"5632name = "sc-transaction-graph"
4858version = "2.0.0-rc4"5633version = "2.0.0"
4859source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5634source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4860dependencies = [5635dependencies = [
4861 "derive_more",5636 "derive_more",
4862 "futures 0.3.5",5637 "futures 0.3.6",
4863 "linked-hash-map",5638 "linked-hash-map",
4864 "log",5639 "log",
4865 "parity-util-mem",5640 "parity-util-mem",
4866 "parking_lot 0.10.2",5641 "parking_lot 0.10.2",
5642 "retain_mut",
4867 "serde",5643 "serde",
4868 "sp-blockchain",5644 "sp-blockchain",
4869 "sp-core",5645 "sp-core",
48755651
4876[[package]]5652[[package]]
4877name = "sc-transaction-pool"5653name = "sc-transaction-pool"
4878version = "2.0.0-rc4"5654version = "2.0.0"
4879source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"5655source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
4880dependencies = [5656dependencies = [
4881 "derive_more",5657 "derive_more",
4882 "futures 0.3.5",5658 "futures 0.3.6",
4883 "futures-diagnose",5659 "futures-diagnose",
4884 "intervalier",5660 "intervalier",
4885 "log",5661 "log",
4917dependencies = [5693dependencies = [
4918 "arrayref",5694 "arrayref",
4919 "arrayvec 0.5.1",5695 "arrayvec 0.5.1",
4920 "curve25519-dalek",5696 "curve25519-dalek 2.1.0",
4921 "getrandom",5697 "getrandom 0.1.15",
4922 "merlin",5698 "merlin",
4923 "rand 0.7.3",5699 "rand 0.7.3",
4924 "rand_core 0.5.1",5700 "rand_core 0.5.1",
4925 "sha2 0.8.2",5701 "sha2 0.8.2",
4926 "subtle 2.2.3",5702 "subtle 2.3.0",
4927 "zeroize",5703 "zeroize",
4928]5704]
5705
5706[[package]]
5707name = "scoped-tls"
5708version = "1.0.0"
5709source = "registry+https://github.com/rust-lang/crates.io-index"
5710checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
5711
5712[[package]]
5713name = "scopeguard"
5714version = "0.3.3"
5715source = "registry+https://github.com/rust-lang/crates.io-index"
5716checksum = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
49295717
4930[[package]]5718[[package]]
4931name = "scopeguard"5719name = "scopeguard"
4932version = "1.1.0"5720version = "1.1.0"
4933source = "registry+https://github.com/rust-lang/crates.io-index"5721source = "registry+https://github.com/rust-lang/crates.io-index"
4934checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"5722checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
5723
5724[[package]]
5725name = "scroll"
5726version = "0.10.2"
5727source = "registry+https://github.com/rust-lang/crates.io-index"
5728checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec"
5729dependencies = [
5730 "scroll_derive",
5731]
5732
5733[[package]]
5734name = "scroll_derive"
5735version = "0.10.3"
5736source = "registry+https://github.com/rust-lang/crates.io-index"
5737checksum = "6dfde5d1531034db129e95c76ac857e2baecea3443579d493d02224950b0fb6d"
5738dependencies = [
5739 "proc-macro2",
5740 "quote",
5741 "syn",
5742]
49355743
4936[[package]]5744[[package]]
4937name = "sct"5745name = "sct"
4943 "untrusted",5751 "untrusted",
4944]5752]
5753
5754[[package]]
5755name = "secrecy"
5756version = "0.6.0"
5757source = "registry+https://github.com/rust-lang/crates.io-index"
5758checksum = "9182278ed645df3477a9c27bfee0621c621aa16f6972635f7f795dae3d81070f"
5759dependencies = [
5760 "zeroize",
5761]
49455762
4946[[package]]5763[[package]]
4947name = "security-framework"5764name = "security-framework"
4948version = "0.4.4"5765version = "1.0.0"
4949source = "registry+https://github.com/rust-lang/crates.io-index"5766source = "registry+https://github.com/rust-lang/crates.io-index"
4950checksum = "64808902d7d99f78eaddd2b4e2509713babc3dc3c85ad6f4c447680f3c01e535"5767checksum = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b"
4951dependencies = [5768dependencies = [
4952 "bitflags",5769 "bitflags",
4953 "core-foundation",5770 "core-foundation",
49585775
4959[[package]]5776[[package]]
4960name = "security-framework-sys"5777name = "security-framework-sys"
4961version = "0.4.3"5778version = "1.0.0"
4962source = "registry+https://github.com/rust-lang/crates.io-index"5779source = "registry+https://github.com/rust-lang/crates.io-index"
4963checksum = "17bf11d99252f512695eb468de5516e5cf75455521e69dfe343f3b74e4748405"5780checksum = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7"
4964dependencies = [5781dependencies = [
4965 "core-foundation-sys",5782 "core-foundation-sys",
4966 "libc",5783 "libc",
4981source = "registry+https://github.com/rust-lang/crates.io-index"5798source = "registry+https://github.com/rust-lang/crates.io-index"
4982checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"5799checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
4983
4984[[package]]
4985name = "send_wrapper"
4986version = "0.2.0"
4987source = "registry+https://github.com/rust-lang/crates.io-index"
4988checksum = "a0eddf2e8f50ced781f288c19f18621fa72a3779e3cb58dbf23b07469b0abeb4"
49895800
4990[[package]]5801[[package]]
4991name = "serde"5802name = "serde"
4992version = "1.0.114"5803version = "1.0.117"
4993source = "registry+https://github.com/rust-lang/crates.io-index"5804source = "registry+https://github.com/rust-lang/crates.io-index"
4994checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3"5805checksum = "b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a"
4995dependencies = [5806dependencies = [
4996 "serde_derive",5807 "serde_derive",
4997]5808]
49985809
4999[[package]]5810[[package]]
5000name = "serde_derive"5811name = "serde_derive"
5001version = "1.0.114"5812version = "1.0.117"
5002source = "registry+https://github.com/rust-lang/crates.io-index"5813source = "registry+https://github.com/rust-lang/crates.io-index"
5003checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e"5814checksum = "cbd1ae72adb44aab48f325a02444a5fc079349a8d804c1fc922aed3f7454c74e"
5004dependencies = [5815dependencies = [
5005 "proc-macro2",5816 "proc-macro2",
5006 "quote 1.0.7",5817 "quote",
5007 "syn 1.0.34",5818 "syn",
5008]5819]
50095820
5010[[package]]5821[[package]]
5011name = "serde_json"5822name = "serde_json"
5012version = "1.0.56"5823version = "1.0.59"
5013source = "registry+https://github.com/rust-lang/crates.io-index"5824source = "registry+https://github.com/rust-lang/crates.io-index"
5014checksum = "3433e879a558dde8b5e8feb2a04899cf34fdde1fafb894687e52105fc1162ac3"5825checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95"
5015dependencies = [5826dependencies = [
5016 "itoa",5827 "itoa",
5017 "ryu",5828 "ryu",
5031]5842]
50325843
5033[[package]]5844[[package]]
5034name = "sha1"5845name = "sha-1"
5035version = "0.6.0"5846version = "0.9.1"
5036source = "registry+https://github.com/rust-lang/crates.io-index"5847source = "registry+https://github.com/rust-lang/crates.io-index"
5037checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d"5848checksum = "170a36ea86c864a3f16dd2687712dd6646f7019f301e57537c7f4dc9f5916770"
5849dependencies = [
5850 "block-buffer 0.9.0",
5851 "cfg-if 0.1.10",
5852 "cpuid-bool",
5853 "digest 0.9.0",
5854 "opaque-debug 0.3.0",
5855]
50385856
5039[[package]]5857[[package]]
5040name = "sha2"5858name = "sha2"
5055checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1"5873checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1"
5056dependencies = [5874dependencies = [
5057 "block-buffer 0.9.0",5875 "block-buffer 0.9.0",
5058 "cfg-if",5876 "cfg-if 0.1.10",
5059 "cpuid-bool",5877 "cpuid-bool",
5060 "digest 0.9.0",5878 "digest 0.9.0",
5061 "opaque-debug 0.3.0",5879 "opaque-debug 0.3.0",
5074 "opaque-debug 0.2.3",5892 "opaque-debug 0.2.3",
5075]5893]
5894
5895[[package]]
5896name = "sha3"
5897version = "0.9.1"
5898source = "registry+https://github.com/rust-lang/crates.io-index"
5899checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809"
5900dependencies = [
5901 "block-buffer 0.9.0",
5902 "digest 0.9.0",
5903 "keccak",
5904 "opaque-debug 0.3.0",
5905]
5906
5907[[package]]
5908name = "sharded-slab"
5909version = "0.0.9"
5910source = "registry+https://github.com/rust-lang/crates.io-index"
5911checksum = "06d5a3f5166fb5b42a5439f2eee8b9de149e235961e3eb21c5808fc3ea17ff3e"
5912dependencies = [
5913 "lazy_static",
5914]
50765915
5077[[package]]5916[[package]]
5078name = "shlex"5917name = "shlex"
50825921
5083[[package]]5922[[package]]
5084name = "signal-hook-registry"5923name = "signal-hook-registry"
5085version = "1.2.0"5924version = "1.2.1"
5086source = "registry+https://github.com/rust-lang/crates.io-index"5925source = "registry+https://github.com/rust-lang/crates.io-index"
5087checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41"5926checksum = "a3e12110bc539e657a646068aaf5eb5b63af9d0c1f7b29c97113fad80e15f035"
5088dependencies = [5927dependencies = [
5089 "arc-swap",5928 "arc-swap",
5090 "libc",5929 "libc",
5091]5930]
5931
5932[[package]]
5933name = "signature"
5934version = "1.2.2"
5935source = "registry+https://github.com/rust-lang/crates.io-index"
5936checksum = "29f060a7d147e33490ec10da418795238fd7545bba241504d6b31a409f2e6210"
50925937
5093[[package]]5938[[package]]
5094name = "slab"5939name = "slab"
5136checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b"5981checksum = "a945ec7f7ce853e89ffa36be1e27dce9a43e82ff9093bf3461c30d5da74ed11b"
5137dependencies = [5982dependencies = [
5138 "proc-macro2",5983 "proc-macro2",
5139 "quote 1.0.7",5984 "quote",
5140 "syn 1.0.34",5985 "syn",
5141]5986]
51425987
5143[[package]]5988[[package]]
51515996
5152[[package]]5997[[package]]
5153name = "smallvec"5998name = "smallvec"
5154version = "1.4.1"5999version = "1.4.2"
5155source = "registry+https://github.com/rust-lang/crates.io-index"6000source = "registry+https://github.com/rust-lang/crates.io-index"
5156checksum = "3757cb9d89161a2f24e1cf78efa0c1fcff485d18e3f55e0aa3480824ddaa0f3f"6001checksum = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252"
51576002
5158[[package]]6003[[package]]
5159name = "snow"6004name = "snow"
5160version = "0.7.1"6005version = "0.7.2"
5161source = "registry+https://github.com/rust-lang/crates.io-index"6006source = "registry+https://github.com/rust-lang/crates.io-index"
5162checksum = "32bf8474159a95551661246cda4976e89356999e3cbfef36f493dacc3fae1e8e"6007checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50"
5163dependencies = [6008dependencies = [
5164 "aes-gcm",6009 "aes-gcm",
5165 "blake2 0.9.0",6010 "blake2",
5166 "chacha20poly1305",6011 "chacha20poly1305",
5167 "rand 0.7.3",6012 "rand 0.7.3",
5168 "rand_core 0.5.1",6013 "rand_core 0.5.1",
5169 "ring",6014 "ring",
5170 "rustc_version",6015 "rustc_version",
5171 "sha2 0.9.1",6016 "sha2 0.9.1",
5172 "subtle 2.2.3",6017 "subtle 2.3.0",
5173 "x25519-dalek",6018 "x25519-dalek 1.1.0",
5174]6019]
51756020
5176[[package]]6021[[package]]
5177name = "socket2"6022name = "socket2"
5178version = "0.3.12"6023version = "0.3.15"
5179source = "registry+https://github.com/rust-lang/crates.io-index"6024source = "registry+https://github.com/rust-lang/crates.io-index"
5180checksum = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918"6025checksum = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44"
5181dependencies = [6026dependencies = [
5182 "cfg-if",6027 "cfg-if 0.1.10",
5183 "libc",6028 "libc",
5184 "redox_syscall",6029 "redox_syscall",
5185 "winapi 0.3.9",6030 "winapi 0.3.9",
5186]6031]
51876032
5188[[package]]6033[[package]]
5189name = "soketto"6034name = "soketto"
5190version = "0.3.2"6035version = "0.4.2"
5191source = "registry+https://github.com/rust-lang/crates.io-index"6036source = "registry+https://github.com/rust-lang/crates.io-index"
5192checksum = "1c9dab3f95c9ebdf3a88268c19af668f637a3c5039c2c56ff2d40b1b2d64a25b"6037checksum = "b5c71ed3d54db0a699f4948e1bb3e45b450fa31fe602621dee6680361d569c88"
5193dependencies = [6038dependencies = [
5194 "base64",6039 "base64 0.12.3",
5195 "bytes 0.5.6",6040 "bytes 0.5.6",
5196 "flate2",6041 "flate2",
5197 "futures 0.3.5",6042 "futures 0.3.6",
5198 "http 0.2.1",
5199 "httparse",6043 "httparse",
5200 "log",6044 "log",
5201 "rand 0.7.3",6045 "rand 0.7.3",
5202 "sha1",
5203 "smallvec 1.4.1",6046 "sha-1 0.9.1",
5204 "static_assertions",
5205 "thiserror",
5206]6047]
52076048
5208[[package]]6049[[package]]
5209name = "sp-allocator"6050name = "sp-allocator"
5210version = "2.0.0-rc4"6051version = "2.0.0"
5211source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6052source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5212dependencies = [6053dependencies = [
5213 "derive_more",6054 "derive_more",
5214 "log",6055 "log",
52196060
5220[[package]]6061[[package]]
5221name = "sp-api"6062name = "sp-api"
5222version = "2.0.0-rc4"6063version = "2.0.0"
5223source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6064source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5224dependencies = [6065dependencies = [
5225 "hash-db",6066 "hash-db",
5226 "parity-scale-codec",6067 "parity-scale-codec",
52346075
5235[[package]]6076[[package]]
5236name = "sp-api-proc-macro"6077name = "sp-api-proc-macro"
5237version = "2.0.0-rc4"6078version = "2.0.0"
5238source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6079source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5239dependencies = [6080dependencies = [
5240 "blake2-rfc",6081 "blake2-rfc",
5241 "proc-macro-crate",6082 "proc-macro-crate",
5242 "proc-macro2",6083 "proc-macro2",
5243 "quote 1.0.7",6084 "quote",
5244 "syn 1.0.34",6085 "syn",
5245]6086]
52466087
5247[[package]]6088[[package]]
5248name = "sp-application-crypto"6089name = "sp-application-crypto"
5249version = "2.0.0-rc4"6090version = "2.0.0"
5250source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6091source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5251dependencies = [6092dependencies = [
5252 "parity-scale-codec",6093 "parity-scale-codec",
5253 "serde",6094 "serde",
52586099
5259[[package]]6100[[package]]
5260name = "sp-arithmetic"6101name = "sp-arithmetic"
5261version = "2.0.0-rc4"6102version = "2.0.0"
5262source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6103source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5263dependencies = [6104dependencies = [
5264 "integer-sqrt",6105 "integer-sqrt",
5265 "num-traits 0.2.12",6106 "num-traits",
5266 "parity-scale-codec",6107 "parity-scale-codec",
5267 "serde",6108 "serde",
5268 "sp-debug-derive",6109 "sp-debug-derive",
5269 "sp-std",6110 "sp-std",
5270]6111]
6112
6113[[package]]
6114name = "sp-authorship"
6115version = "2.0.0"
6116source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
6117dependencies = [
6118 "parity-scale-codec",
6119 "sp-inherents",
6120 "sp-runtime",
6121 "sp-std",
6122]
52716123
5272[[package]]6124[[package]]
5273name = "sp-block-builder"6125name = "sp-block-builder"
5274version = "2.0.0-rc4"6126version = "2.0.0"
5275source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6127source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5276dependencies = [6128dependencies = [
5277 "parity-scale-codec",6129 "parity-scale-codec",
5278 "sp-api",6130 "sp-api",
52836135
5284[[package]]6136[[package]]
5285name = "sp-blockchain"6137name = "sp-blockchain"
5286version = "2.0.0-rc4"6138version = "2.0.0"
5287source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6139source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5288dependencies = [6140dependencies = [
5289 "derive_more",6141 "derive_more",
5290 "log",6142 "log",
5291 "lru",6143 "lru 0.4.3",
5292 "parity-scale-codec",6144 "parity-scale-codec",
5293 "parking_lot 0.10.2",6145 "parking_lot 0.10.2",
5294 "sp-block-builder",6146 "sp-block-builder",
5295 "sp-consensus",6147 "sp-consensus",
6148 "sp-database",
5296 "sp-runtime",6149 "sp-runtime",
5297 "sp-state-machine",6150 "sp-state-machine",
5298]6151]
52996152
5300[[package]]6153[[package]]
5301name = "sp-chain-spec"6154name = "sp-chain-spec"
5302version = "2.0.0-rc4"6155version = "2.0.0"
5303source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6156source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5304dependencies = [6157dependencies = [
5305 "serde",6158 "serde",
5306 "serde_json",6159 "serde_json",
5307]6160]
53086161
5309[[package]]6162[[package]]
5310name = "sp-consensus"6163name = "sp-consensus"
5311version = "0.8.0-rc4"6164version = "0.8.0"
5312source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6165source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5313dependencies = [6166dependencies = [
5314 "derive_more",6167 "derive_more",
5315 "futures 0.3.5",6168 "futures 0.3.6",
5316 "futures-timer 3.0.2",6169 "futures-timer 3.0.2",
5317 "libp2p",6170 "libp2p",
5318 "log",6171 "log",
5319 "parity-scale-codec",6172 "parity-scale-codec",
5320 "parking_lot 0.10.2",6173 "parking_lot 0.10.2",
5321 "serde",6174 "serde",
6175 "sp-api",
5322 "sp-core",6176 "sp-core",
5323 "sp-inherents",6177 "sp-inherents",
5324 "sp-runtime",6178 "sp-runtime",
5325 "sp-state-machine",6179 "sp-state-machine",
5326 "sp-std",6180 "sp-std",
6181 "sp-trie",
5327 "sp-utils",6182 "sp-utils",
5328 "sp-version",6183 "sp-version",
5329 "substrate-prometheus-endpoint",6184 "substrate-prometheus-endpoint",
53326187
5333[[package]]6188[[package]]
5334name = "sp-consensus-aura"6189name = "sp-consensus-aura"
5335version = "0.8.0-rc4"6190version = "0.8.0"
5336source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6191source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5337dependencies = [6192dependencies = [
5338 "parity-scale-codec",6193 "parity-scale-codec",
5339 "sp-api",6194 "sp-api",
5344 "sp-timestamp",6199 "sp-timestamp",
5345]6200]
6201
6202[[package]]
6203name = "sp-consensus-slots"
6204version = "0.8.0"
6205source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
6206dependencies = [
6207 "parity-scale-codec",
6208 "sp-runtime",
6209]
53466210
5347[[package]]6211[[package]]
5348name = "sp-core"6212name = "sp-core"
5349version = "2.0.0-rc4"6213version = "2.0.0"
5350source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6214source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5351dependencies = [6215dependencies = [
5352 "base58",6216 "base58",
5353 "blake2-rfc",6217 "blake2-rfc",
5354 "byteorder",6218 "byteorder 1.3.4",
5355 "derive_more",6219 "derive_more",
6220 "dyn-clonable",
5356 "ed25519-dalek",6221 "ed25519-dalek",
5357 "futures 0.3.5",6222 "futures 0.3.6",
5358 "hash-db",6223 "hash-db",
5359 "hash256-std-hasher",6224 "hash256-std-hasher",
5360 "hex",6225 "hex",
5361 "impl-serde 0.3.1",6226 "impl-serde",
5362 "lazy_static",6227 "lazy_static",
5363 "libsecp256k1",6228 "libsecp256k1",
5364 "log",6229 "log",
5365 "merlin",6230 "merlin",
5366 "num-traits 0.2.12",6231 "num-traits",
5367 "parity-scale-codec",6232 "parity-scale-codec",
5368 "parity-util-mem",6233 "parity-util-mem",
5369 "parking_lot 0.10.2",6234 "parking_lot 0.10.2",
5370 "primitive-types",6235 "primitive-types",
5371 "rand 0.7.3",6236 "rand 0.7.3",
5372 "regex",6237 "regex",
5373 "schnorrkel",6238 "schnorrkel",
6239 "secrecy",
5374 "serde",6240 "serde",
5375 "sha2 0.8.2",6241 "sha2 0.8.2",
5376 "sp-debug-derive",6242 "sp-debug-derive",
53886254
5389[[package]]6255[[package]]
5390name = "sp-database"6256name = "sp-database"
5391version = "2.0.0-rc4"6257version = "2.0.0"
5392source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6258source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5393dependencies = [6259dependencies = [
5394 "kvdb",6260 "kvdb",
5395 "parking_lot 0.10.2",6261 "parking_lot 0.10.2",
5396]6262]
53976263
5398[[package]]6264[[package]]
5399name = "sp-debug-derive"6265name = "sp-debug-derive"
5400version = "2.0.0-rc4"6266version = "2.0.0"
5401source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6267source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5402dependencies = [6268dependencies = [
5403 "proc-macro2",6269 "proc-macro2",
5404 "quote 1.0.7",6270 "quote",
5405 "syn 1.0.34",6271 "syn",
5406]6272]
54076273
5408[[package]]6274[[package]]
5409name = "sp-externalities"6275name = "sp-externalities"
5410version = "0.8.0-rc4"6276version = "0.8.0"
5411source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6277source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5412dependencies = [6278dependencies = [
5413 "environmental",6279 "environmental",
5414 "parity-scale-codec",6280 "parity-scale-codec",
54186284
5419[[package]]6285[[package]]
5420name = "sp-finality-grandpa"6286name = "sp-finality-grandpa"
5421version = "2.0.0-rc4"6287version = "2.0.0"
5422source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6288source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5423dependencies = [6289dependencies = [
5424 "finality-grandpa",6290 "finality-grandpa",
5425 "log",6291 "log",
54346300
5435[[package]]6301[[package]]
5436name = "sp-finality-tracker"6302name = "sp-finality-tracker"
5437version = "2.0.0-rc4"6303version = "2.0.0"
5438source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6304source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5439dependencies = [6305dependencies = [
5440 "parity-scale-codec",6306 "parity-scale-codec",
5441 "sp-inherents",6307 "sp-inherents",
54446310
5445[[package]]6311[[package]]
5446name = "sp-inherents"6312name = "sp-inherents"
5447version = "2.0.0-rc4"6313version = "2.0.0"
5448source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6314source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5449dependencies = [6315dependencies = [
5450 "derive_more",6316 "derive_more",
5451 "parity-scale-codec",6317 "parity-scale-codec",
54566322
5457[[package]]6323[[package]]
5458name = "sp-io"6324name = "sp-io"
5459version = "2.0.0-rc4"6325version = "2.0.0"
5460source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6326source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5461dependencies = [6327dependencies = [
5462 "futures 0.3.5",6328 "futures 0.3.6",
5463 "hash-db",6329 "hash-db",
5464 "libsecp256k1",6330 "libsecp256k1",
5465 "log",6331 "log",
5473 "sp-tracing",6339 "sp-tracing",
5474 "sp-trie",6340 "sp-trie",
5475 "sp-wasm-interface",6341 "sp-wasm-interface",
6342 "tracing",
6343 "tracing-core",
5476]6344]
54776345
5478[[package]]6346[[package]]
5479name = "sp-keyring"6347name = "sp-keyring"
5480version = "2.0.0-rc4"6348version = "2.0.0"
5481source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6349source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5482dependencies = [6350dependencies = [
5483 "lazy_static",6351 "lazy_static",
5484 "sp-core",6352 "sp-core",
54886356
5489[[package]]6357[[package]]
5490name = "sp-offchain"6358name = "sp-offchain"
5491version = "2.0.0-rc4"6359version = "2.0.0"
5492source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6360source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5493dependencies = [6361dependencies = [
5494 "sp-api",6362 "sp-api",
5495 "sp-core",6363 "sp-core",
54986366
5499[[package]]6367[[package]]
5500name = "sp-panic-handler"6368name = "sp-panic-handler"
5501version = "2.0.0-rc4"6369version = "2.0.0"
5502source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6370source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5503dependencies = [6371dependencies = [
5504 "backtrace",6372 "backtrace",
5505 "log",6373 "log",
5506]6374]
55076375
5508[[package]]6376[[package]]
5509name = "sp-rpc"6377name = "sp-rpc"
5510version = "2.0.0-rc4"6378version = "2.0.0"
5511source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6379source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5512dependencies = [6380dependencies = [
5513 "serde",6381 "serde",
5514 "sp-core",6382 "sp-core",
5515]6383]
55166384
5517[[package]]6385[[package]]
5518name = "sp-runtime"6386name = "sp-runtime"
5519version = "2.0.0-rc4"6387version = "2.0.0"
5520source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6388source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5521dependencies = [6389dependencies = [
5522 "either",6390 "either",
5523 "hash256-std-hasher",6391 "hash256-std-hasher",
55386406
5539[[package]]6407[[package]]
5540name = "sp-runtime-interface"6408name = "sp-runtime-interface"
5541version = "2.0.0-rc4"6409version = "2.0.0"
5542source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6410source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5543dependencies = [6411dependencies = [
5544 "parity-scale-codec",6412 "parity-scale-codec",
5545 "primitive-types",6413 "primitive-types",
5546 "sp-externalities",6414 "sp-externalities",
5547 "sp-runtime-interface-proc-macro",6415 "sp-runtime-interface-proc-macro",
5548 "sp-std",6416 "sp-std",
6417 "sp-storage",
5549 "sp-tracing",6418 "sp-tracing",
5550 "sp-wasm-interface",6419 "sp-wasm-interface",
5551 "static_assertions",6420 "static_assertions",
5552]6421]
55536422
5554[[package]]6423[[package]]
5555name = "sp-runtime-interface-proc-macro"6424name = "sp-runtime-interface-proc-macro"
5556version = "2.0.0-rc4"6425version = "2.0.0"
5557source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6426source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5558dependencies = [6427dependencies = [
5559 "Inflector",6428 "Inflector",
5560 "proc-macro-crate",6429 "proc-macro-crate",
5561 "proc-macro2",6430 "proc-macro2",
5562 "quote 1.0.7",6431 "quote",
5563 "syn 1.0.34",6432 "syn",
5564]6433]
55656434
5566[[package]]6435[[package]]
5567name = "sp-sandbox"6436name = "sp-sandbox"
5568version = "0.8.0-rc4"6437version = "0.8.0"
5569source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6438source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5570dependencies = [6439dependencies = [
5571 "parity-scale-codec",6440 "parity-scale-codec",
5572 "sp-core",6441 "sp-core",
55786447
5579[[package]]6448[[package]]
5580name = "sp-serializer"6449name = "sp-serializer"
5581version = "2.0.0-rc4"6450version = "2.0.0"
5582source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6451source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5583dependencies = [6452dependencies = [
5584 "serde",6453 "serde",
5585 "serde_json",6454 "serde_json",
5586]6455]
55876456
5588[[package]]6457[[package]]
5589name = "sp-session"6458name = "sp-session"
5590version = "2.0.0-rc4"6459version = "2.0.0"
5591source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6460source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5592dependencies = [6461dependencies = [
5593 "parity-scale-codec",6462 "parity-scale-codec",
5594 "sp-api",6463 "sp-api",
56006469
5601[[package]]6470[[package]]
5602name = "sp-staking"6471name = "sp-staking"
5603version = "2.0.0-rc4"6472version = "2.0.0"
5604source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6473source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5605dependencies = [6474dependencies = [
5606 "parity-scale-codec",6475 "parity-scale-codec",
5607 "sp-runtime",6476 "sp-runtime",
56106479
5611[[package]]6480[[package]]
5612name = "sp-state-machine"6481name = "sp-state-machine"
5613version = "0.8.0-rc4"6482version = "0.8.0"
5614source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6483source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5615dependencies = [6484dependencies = [
5616 "hash-db",6485 "hash-db",
5617 "itertools 0.9.0",
5618 "log",6486 "log",
5619 "num-traits 0.2.12",6487 "num-traits",
5620 "parity-scale-codec",6488 "parity-scale-codec",
5621 "parking_lot 0.10.2",6489 "parking_lot 0.10.2",
5622 "rand 0.7.3",6490 "rand 0.7.3",
5623 "smallvec 1.4.1",6491 "smallvec 1.4.2",
5624 "sp-core",6492 "sp-core",
5625 "sp-externalities",6493 "sp-externalities",
5626 "sp-panic-handler",6494 "sp-panic-handler",
6495 "sp-std",
5627 "sp-trie",6496 "sp-trie",
5628 "trie-db",6497 "trie-db",
5629 "trie-root",6498 "trie-root",
5630]6499]
56316500
5632[[package]]6501[[package]]
5633name = "sp-std"6502name = "sp-std"
5634version = "2.0.0-rc4"6503version = "2.0.0"
5635source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6504source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
56366505
5637[[package]]6506[[package]]
5638name = "sp-storage"6507name = "sp-storage"
5639version = "2.0.0-rc4"6508version = "2.0.0"
5640source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6509source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5641dependencies = [6510dependencies = [
5642 "impl-serde 0.2.3",6511 "impl-serde",
6512 "parity-scale-codec",
5643 "ref-cast",6513 "ref-cast",
5644 "serde",6514 "serde",
5645 "sp-debug-derive",6515 "sp-debug-derive",
56486518
5649[[package]]6519[[package]]
5650name = "sp-timestamp"6520name = "sp-timestamp"
5651version = "2.0.0-rc4"6521version = "2.0.0"
5652source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6522source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5653dependencies = [6523dependencies = [
5654 "impl-trait-for-tuples",6524 "impl-trait-for-tuples",
5655 "parity-scale-codec",6525 "parity-scale-codec",
56626532
5663[[package]]6533[[package]]
5664name = "sp-tracing"6534name = "sp-tracing"
5665version = "2.0.0-rc4"6535version = "2.0.0"
5666source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6536source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5667dependencies = [6537dependencies = [
5668 "log",6538 "log",
5669 "rental",6539 "parity-scale-codec",
6540 "sp-std",
5670 "tracing",6541 "tracing",
6542 "tracing-core",
6543 "tracing-subscriber",
5671]6544]
56726545
5673[[package]]6546[[package]]
5674name = "sp-transaction-pool"6547name = "sp-transaction-pool"
5675version = "2.0.0-rc4"6548version = "2.0.0"
5676source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6549source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5677dependencies = [6550dependencies = [
5678 "derive_more",6551 "derive_more",
5679 "futures 0.3.5",6552 "futures 0.3.6",
5680 "log",6553 "log",
5681 "parity-scale-codec",6554 "parity-scale-codec",
5682 "serde",6555 "serde",
5683 "sp-api",6556 "sp-api",
5684 "sp-blockchain",6557 "sp-blockchain",
5685 "sp-runtime",6558 "sp-runtime",
5686 "sp-utils",
5687]6559]
56886560
5689[[package]]6561[[package]]
5690name = "sp-trie"6562name = "sp-trie"
5691version = "2.0.0-rc4"6563version = "2.0.0"
5692source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6564source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5693dependencies = [6565dependencies = [
5694 "hash-db",6566 "hash-db",
5695 "memory-db",6567 "memory-db",
57026574
5703[[package]]6575[[package]]
5704name = "sp-utils"6576name = "sp-utils"
5705version = "2.0.0-rc4"6577version = "2.0.0"
5706source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6578source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5707dependencies = [6579dependencies = [
5708 "futures 0.3.5",6580 "futures 0.3.6",
5709 "futures-core",6581 "futures-core",
5710 "futures-timer 3.0.2",6582 "futures-timer 3.0.2",
5711 "lazy_static",6583 "lazy_static",
57146586
5715[[package]]6587[[package]]
5716name = "sp-version"6588name = "sp-version"
5717version = "2.0.0-rc4"6589version = "2.0.0"
5718source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6590source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5719dependencies = [6591dependencies = [
5720 "impl-serde 0.2.3",6592 "impl-serde",
5721 "parity-scale-codec",6593 "parity-scale-codec",
5722 "serde",6594 "serde",
5723 "sp-runtime",6595 "sp-runtime",
57266598
5727[[package]]6599[[package]]
5728name = "sp-wasm-interface"6600name = "sp-wasm-interface"
5729version = "2.0.0-rc4"6601version = "2.0.0"
5730source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6602source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5731dependencies = [6603dependencies = [
5732 "impl-trait-for-tuples",6604 "impl-trait-for-tuples",
5733 "parity-scale-codec",6605 "parity-scale-codec",
5762 "rand 0.5.6",6634 "rand 0.5.6",
5763]6635]
6636
6637[[package]]
6638name = "stream-cipher"
6639version = "0.3.2"
6640source = "registry+https://github.com/rust-lang/crates.io-index"
6641checksum = "8131256a5896cabcf5eb04f4d6dacbe1aefda854b0d9896e09cb58829ec5638c"
6642dependencies = [
6643 "generic-array 0.12.3",
6644]
57646645
5765[[package]]6646[[package]]
5766name = "stream-cipher"6647name = "stream-cipher"
5767version = "0.4.1"6648version = "0.7.1"
5768source = "registry+https://github.com/rust-lang/crates.io-index"6649source = "registry+https://github.com/rust-lang/crates.io-index"
5769checksum = "09f8ed9974042b8c3672ff3030a69fcc03b74c47c3d1ecb7755e8a3626011e88"6650checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89"
5770dependencies = [6651dependencies = [
6652 "block-cipher",
5771 "generic-array 0.14.3",6653 "generic-array 0.14.4",
5772]6654]
57736655
5774[[package]]6656[[package]]
57886670
5789[[package]]6671[[package]]
5790name = "structopt"6672name = "structopt"
5791version = "0.3.15"6673version = "0.3.20"
5792source = "registry+https://github.com/rust-lang/crates.io-index"6674source = "registry+https://github.com/rust-lang/crates.io-index"
5793checksum = "de2f5e239ee807089b62adce73e48c625e0ed80df02c7ab3f068f5db5281065c"6675checksum = "126d630294ec449fae0b16f964e35bf3c74f940da9dca17ee9b905f7b3112eb8"
5794dependencies = [6676dependencies = [
5795 "clap",6677 "clap",
5796 "lazy_static",6678 "lazy_static",
57996681
5800[[package]]6682[[package]]
5801name = "structopt-derive"6683name = "structopt-derive"
5802version = "0.4.8"6684version = "0.4.13"
5803source = "registry+https://github.com/rust-lang/crates.io-index"6685source = "registry+https://github.com/rust-lang/crates.io-index"
5804checksum = "510413f9de616762a4fbeab62509bf15c729603b72d7cd71280fbca431b1c118"6686checksum = "65e51c492f9e23a220534971ff5afc14037289de430e3c83f9daf6a1b6ae91e8"
5805dependencies = [6687dependencies = [
5806 "heck",6688 "heck",
5807 "proc-macro-error",6689 "proc-macro-error",
5808 "proc-macro2",6690 "proc-macro2",
5809 "quote 1.0.7",6691 "quote",
5810 "syn 1.0.34",6692 "syn",
5811]6693]
58126694
5813[[package]]6695[[package]]
5827dependencies = [6709dependencies = [
5828 "heck",6710 "heck",
5829 "proc-macro2",6711 "proc-macro2",
5830 "quote 1.0.7",6712 "quote",
5831 "syn 1.0.34",6713 "syn",
5832]6714]
58336715
5834[[package]]6716[[package]]
5835name = "substrate-bip39"6717name = "substrate-bip39"
5836version = "0.4.1"6718version = "0.4.2"
5837source = "registry+https://github.com/rust-lang/crates.io-index"6719source = "registry+https://github.com/rust-lang/crates.io-index"
5838checksum = "c004e8166d6e0aa3a9d5fa673e5b7098ff25f930de1013a21341988151e681bb"6720checksum = "bed6646a0159b9935b5d045611560eeef842b78d7adc3ba36f5ca325a13a0236"
5839dependencies = [6721dependencies = [
5840 "hmac",6722 "hmac",
5841 "pbkdf2",6723 "pbkdf2",
5842 "schnorrkel",6724 "schnorrkel",
5843 "sha2 0.8.2",6725 "sha2 0.8.2",
6726 "zeroize",
5844]6727]
58456728
5846[[package]]6729[[package]]
5847name = "substrate-build-script-utils"6730name = "substrate-build-script-utils"
5848version = "2.0.0-rc4"6731version = "2.0.0"
5849source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6732source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5850dependencies = [6733dependencies = [
5851 "platforms",6734 "platforms",
5852]6735]
6736
6737[[package]]
6738name = "substrate-frame-rpc-system"
6739version = "2.0.0"
6740source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
6741dependencies = [
6742 "frame-system-rpc-runtime-api",
6743 "futures 0.3.6",
6744 "jsonrpc-core",
6745 "jsonrpc-core-client",
6746 "jsonrpc-derive",
6747 "log",
6748 "parity-scale-codec",
6749 "sc-client-api",
6750 "sc-rpc-api",
6751 "serde",
6752 "sp-api",
6753 "sp-block-builder",
6754 "sp-blockchain",
6755 "sp-core",
6756 "sp-runtime",
6757 "sp-transaction-pool",
6758]
58536759
5854[[package]]6760[[package]]
5855name = "substrate-prometheus-endpoint"6761name = "substrate-prometheus-endpoint"
5856version = "0.8.0-rc4"6762version = "0.8.0"
5857source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6763source = "git+https://github.com/usetech-llc/substrate.git?branch=v2.0.0_release#a200cdb93c6af5763b9c7bf313fa708764ac88ca"
5858dependencies = [6764dependencies = [
5859 "async-std",6765 "async-std",
5860 "derive_more",6766 "derive_more",
5861 "futures-util",6767 "futures-util",
5862 "hyper 0.13.7",6768 "hyper 0.13.8",
5863 "log",6769 "log",
5864 "prometheus",6770 "prometheus",
5865 "tokio 0.2.21",6771 "tokio 0.2.22",
5866]6772]
58676773
5868[[package]]6774[[package]]
5869name = "substrate-wasm-builder-runner"6775name = "substrate-wasm-builder-runner"
5870version = "1.0.6"6776version = "1.0.6"
5871source = "git+https://github.com/usetech-llc/substrate.git?branch=rc4_ext_dispatch_reenabled#b161460bf73e4cc73e29b8e01ab0323bb3d95e84"6777source = "registry+https://github.com/rust-lang/crates.io-index"
6778checksum = "d2a965994514ab35d3893e9260245f2947fd1981cdd4fffd2c6e6d1a9ce02e6a"
58726779
5873[[package]]6780[[package]]
5874name = "subtle"6781name = "subtle"
58786785
5879[[package]]6786[[package]]
5880name = "subtle"6787name = "subtle"
5881version = "2.2.3"6788version = "2.3.0"
5882source = "registry+https://github.com/rust-lang/crates.io-index"6789source = "registry+https://github.com/rust-lang/crates.io-index"
5883checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1"6790checksum = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd"
5884
5885[[package]]
5886name = "syn"
5887version = "0.11.11"
5888source = "registry+https://github.com/rust-lang/crates.io-index"
5889checksum = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
5890dependencies = [
5891 "quote 0.3.15",
5892 "synom",
5893 "unicode-xid 0.0.4",
5894]
58956791
5896[[package]]6792[[package]]
5897name = "syn"6793name = "syn"
5898version = "1.0.34"6794version = "1.0.44"
5899source = "registry+https://github.com/rust-lang/crates.io-index"6795source = "registry+https://github.com/rust-lang/crates.io-index"
5900checksum = "936cae2873c940d92e697597c5eee105fb570cd5689c695806f672883653349b"6796checksum = "e03e57e4fcbfe7749842d53e24ccb9aa12b7252dbe5e91d2acad31834c8b8fdd"
5901dependencies = [6797dependencies = [
5902 "proc-macro2",6798 "proc-macro2",
5903 "quote 1.0.7",6799 "quote",
5904 "unicode-xid 0.2.1",6800 "unicode-xid",
5905]6801]
5906
5907[[package]]
5908name = "syn-mid"
5909version = "0.5.0"
5910source = "registry+https://github.com/rust-lang/crates.io-index"
5911checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a"
5912dependencies = [
5913 "proc-macro2",
5914 "quote 1.0.7",
5915 "syn 1.0.34",
5916]
5917
5918[[package]]
5919name = "synom"
5920version = "0.11.3"
5921source = "registry+https://github.com/rust-lang/crates.io-index"
5922checksum = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
5923dependencies = [
5924 "unicode-xid 0.0.4",
5925]
59266802
5927[[package]]6803[[package]]
5928name = "synstructure"6804name = "synstructure"
5931checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"6807checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
5932dependencies = [6808dependencies = [
5933 "proc-macro2",6809 "proc-macro2",
5934 "quote 1.0.7",6810 "quote",
5935 "syn 1.0.34",6811 "syn",
5936 "unicode-xid 0.2.1",6812 "unicode-xid",
5937]6813]
5938
5939[[package]]
5940name = "sysinfo"
5941version = "0.13.4"
5942source = "registry+https://github.com/rust-lang/crates.io-index"
5943checksum = "1cac193374347e7c263c5f547524f36ff8ec6702d56c8799c8331d26dffe8c1e"
5944dependencies = [
5945 "cfg-if",
5946 "doc-comment",
5947 "libc",
5948 "ntapi",
5949 "once_cell",
5950 "rayon",
5951 "winapi 0.3.9",
5952]
59536814
5954[[package]]6815[[package]]
5955name = "take_mut"6816name = "take_mut"
5956version = "0.2.2"6817version = "0.2.2"
5957source = "registry+https://github.com/rust-lang/crates.io-index"6818source = "registry+https://github.com/rust-lang/crates.io-index"
5958checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"6819checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
6820
6821[[package]]
6822name = "target-lexicon"
6823version = "0.10.0"
6824source = "registry+https://github.com/rust-lang/crates.io-index"
6825checksum = "ab0e7238dcc7b40a7be719a25365910f6807bd864f4cce6b2e6b873658e2b19d"
59596826
5960[[package]]6827[[package]]
5961name = "tempfile"6828name = "tempfile"
5962version = "3.1.0"6829version = "3.1.0"
5963source = "registry+https://github.com/rust-lang/crates.io-index"6830source = "registry+https://github.com/rust-lang/crates.io-index"
5964checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"6831checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
5965dependencies = [6832dependencies = [
5966 "cfg-if",6833 "cfg-if 0.1.10",
5967 "libc",6834 "libc",
5968 "rand 0.7.3",6835 "rand 0.7.3",
5969 "redox_syscall",6836 "redox_syscall",
59916858
5992[[package]]6859[[package]]
5993name = "thiserror"6860name = "thiserror"
5994version = "1.0.20"6861version = "1.0.21"
5995source = "registry+https://github.com/rust-lang/crates.io-index"6862source = "registry+https://github.com/rust-lang/crates.io-index"
5996checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08"6863checksum = "318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42"
5997dependencies = [6864dependencies = [
5998 "thiserror-impl",6865 "thiserror-impl",
5999]6866]
60006867
6001[[package]]6868[[package]]
6002name = "thiserror-impl"6869name = "thiserror-impl"
6003version = "1.0.20"6870version = "1.0.21"
6004source = "registry+https://github.com/rust-lang/crates.io-index"6871source = "registry+https://github.com/rust-lang/crates.io-index"
6005checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793"6872checksum = "cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab"
6006dependencies = [6873dependencies = [
6007 "proc-macro2",6874 "proc-macro2",
6008 "quote 1.0.7",6875 "quote",
6009 "syn 1.0.34",6876 "syn",
6010]6877]
60116878
6012[[package]]6879[[package]]
60296896
6030[[package]]6897[[package]]
6031name = "time"6898name = "time"
6032version = "0.1.43"6899version = "0.1.44"
6033source = "registry+https://github.com/rust-lang/crates.io-index"6900source = "registry+https://github.com/rust-lang/crates.io-index"
6034checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"6901checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
6035dependencies = [6902dependencies = [
6036 "libc",6903 "libc",
6904 "wasi 0.10.0+wasi-snapshot-preview1",
6037 "winapi 0.3.9",6905 "winapi 0.3.9",
6038]6906]
60396907
6045dependencies = [6913dependencies = [
6046 "failure",6914 "failure",
6047 "hmac",6915 "hmac",
6048 "once_cell",6916 "once_cell 1.4.1",
6049 "pbkdf2",6917 "pbkdf2",
6050 "rand 0.7.3",6918 "rand 0.7.3",
6051 "rustc-hash",6919 "rustc-hash",
60646932
6065[[package]]6933[[package]]
6066name = "tinyvec"6934name = "tinyvec"
6067version = "0.3.3"6935version = "0.3.4"
6068source = "registry+https://github.com/rust-lang/crates.io-index"6936source = "registry+https://github.com/rust-lang/crates.io-index"
6069checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed"6937checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
60706938
6071[[package]]6939[[package]]
6072name = "tokio"6940name = "tokio"
6075checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"6943checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
6076dependencies = [6944dependencies = [
6077 "bytes 0.4.12",6945 "bytes 0.4.12",
6078 "futures 0.1.29",6946 "futures 0.1.30",
6079 "mio",6947 "mio",
6080 "num_cpus",6948 "num_cpus",
6081 "tokio-codec",6949 "tokio-codec",
60946962
6095[[package]]6963[[package]]
6096name = "tokio"6964name = "tokio"
6097version = "0.2.21"6965version = "0.2.22"
6098source = "registry+https://github.com/rust-lang/crates.io-index"6966source = "registry+https://github.com/rust-lang/crates.io-index"
6099checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58"6967checksum = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd"
6100dependencies = [6968dependencies = [
6101 "bytes 0.5.6",6969 "bytes 0.5.6",
6102 "fnv",6970 "fnv",
6122dependencies = [6990dependencies = [
6123 "bytes 0.4.12",6991 "bytes 0.4.12",
6124 "either",6992 "either",
6125 "futures 0.1.29",6993 "futures 0.1.30",
6126]6994]
61276995
6128[[package]]6996[[package]]
6132checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"7000checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"
6133dependencies = [7001dependencies = [
6134 "bytes 0.4.12",7002 "bytes 0.4.12",
6135 "futures 0.1.29",7003 "futures 0.1.30",
6136 "tokio-io",7004 "tokio-io",
6137]7005]
61387006
6142source = "registry+https://github.com/rust-lang/crates.io-index"7010source = "registry+https://github.com/rust-lang/crates.io-index"
6143checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"7011checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
6144dependencies = [7012dependencies = [
6145 "futures 0.1.29",7013 "futures 0.1.30",
6146 "tokio-executor 0.1.10",7014 "tokio-executor 0.1.10",
6147]7015]
61487016
6153checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"7021checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
6154dependencies = [7022dependencies = [
6155 "crossbeam-utils",7023 "crossbeam-utils",
6156 "futures 0.1.29",7024 "futures 0.1.30",
6157]7025]
61587026
6159[[package]]7027[[package]]
6173source = "registry+https://github.com/rust-lang/crates.io-index"7041source = "registry+https://github.com/rust-lang/crates.io-index"
6174checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"7042checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"
6175dependencies = [7043dependencies = [
6176 "futures 0.1.29",7044 "futures 0.1.30",
6177 "tokio-io",7045 "tokio-io",
6178 "tokio-threadpool",7046 "tokio-threadpool",
6179]7047]
6185checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"7053checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
6186dependencies = [7054dependencies = [
6187 "bytes 0.4.12",7055 "bytes 0.4.12",
6188 "futures 0.1.29",7056 "futures 0.1.30",
6189 "log",7057 "log",
6190]7058]
61917059
6196checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae"7064checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae"
6197dependencies = [7065dependencies = [
6198 "bytes 0.4.12",7066 "bytes 0.4.12",
6199 "futures 0.1.29",7067 "futures 0.1.30",
6200 "mio",7068 "mio",
6201 "mio-named-pipes",7069 "mio-named-pipes",
6202 "tokio 0.1.22",7070 "tokio 0.1.22",
6209checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"7077checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
6210dependencies = [7078dependencies = [
6211 "crossbeam-utils",7079 "crossbeam-utils",
6212 "futures 0.1.29",7080 "futures 0.1.30",
6213 "lazy_static",7081 "lazy_static",
6214 "log",7082 "log",
6215 "mio",7083 "mio",
62237091
6224[[package]]7092[[package]]
6225name = "tokio-rustls"7093name = "tokio-rustls"
6226version = "0.13.1"7094version = "0.14.1"
6227source = "registry+https://github.com/rust-lang/crates.io-index"7095source = "registry+https://github.com/rust-lang/crates.io-index"
6228checksum = "15cb62a0d2770787abc96e99c1cd98fcf17f94959f3af63ca85bdfb203f051b4"7096checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a"
6229dependencies = [7097dependencies = [
6230 "futures-core",7098 "futures-core",
6231 "rustls",7099 "rustls",
6232 "tokio 0.2.21",7100 "tokio 0.2.22",
6233 "webpki",7101 "webpki",
6234]7102]
62357103
6239source = "registry+https://github.com/rust-lang/crates.io-index"7107source = "registry+https://github.com/rust-lang/crates.io-index"
6240checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"7108checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"
6241dependencies = [7109dependencies = [
6242 "futures 0.1.29",7110 "futures 0.1.30",
6243]7111]
62447112
6245[[package]]7113[[package]]
6249checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"7117checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
6250dependencies = [7118dependencies = [
6251 "fnv",7119 "fnv",
6252 "futures 0.1.29",7120 "futures 0.1.30",
6253]7121]
62547122
6255[[package]]7123[[package]]
6270checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"7138checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
6271dependencies = [7139dependencies = [
6272 "bytes 0.4.12",7140 "bytes 0.4.12",
6273 "futures 0.1.29",7141 "futures 0.1.30",
6274 "iovec",7142 "iovec",
6275 "mio",7143 "mio",
6276 "tokio-io",7144 "tokio-io",
6286 "crossbeam-deque",7154 "crossbeam-deque",
6287 "crossbeam-queue",7155 "crossbeam-queue",
6288 "crossbeam-utils",7156 "crossbeam-utils",
6289 "futures 0.1.29",7157 "futures 0.1.30",
6290 "lazy_static",7158 "lazy_static",
6291 "log",7159 "log",
6292 "num_cpus",7160 "num_cpus",
6301checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"7169checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
6302dependencies = [7170dependencies = [
6303 "crossbeam-utils",7171 "crossbeam-utils",
6304 "futures 0.1.29",7172 "futures 0.1.30",
6305 "slab",7173 "slab",
6306 "tokio-executor 0.1.10",7174 "tokio-executor 0.1.10",
6307]7175]
6313checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"7181checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"
6314dependencies = [7182dependencies = [
6315 "bytes 0.4.12",7183 "bytes 0.4.12",
6316 "futures 0.1.29",7184 "futures 0.1.30",
6317 "log",7185 "log",
6318 "mio",7186 "mio",
6319 "tokio-codec",7187 "tokio-codec",
6328checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0"7196checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0"
6329dependencies = [7197dependencies = [
6330 "bytes 0.4.12",7198 "bytes 0.4.12",
6331 "futures 0.1.29",7199 "futures 0.1.30",
6332 "iovec",7200 "iovec",
6333 "libc",7201 "libc",
6334 "log",7202 "log",
6350 "futures-sink",7218 "futures-sink",
6351 "log",7219 "log",
6352 "pin-project-lite",7220 "pin-project-lite",
6353 "tokio 0.2.21",7221 "tokio 0.2.22",
6354]7222]
63557223
6356[[package]]7224[[package]]
6357name = "toml"7225name = "toml"
6358version = "0.5.6"7226version = "0.5.7"
6359source = "registry+https://github.com/rust-lang/crates.io-index"7227source = "registry+https://github.com/rust-lang/crates.io-index"
6360checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a"7228checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645"
6361dependencies = [7229dependencies = [
6362 "serde",7230 "serde",
6363]7231]
63707238
6371[[package]]7239[[package]]
6372name = "tracing"7240name = "tracing"
6373version = "0.1.16"7241version = "0.1.21"
6374source = "registry+https://github.com/rust-lang/crates.io-index"7242source = "registry+https://github.com/rust-lang/crates.io-index"
6375checksum = "c2e2a2de6b0d5cbb13fc21193a2296888eaab62b6044479aafb3c54c01c29fcd"7243checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27"
6376dependencies = [7244dependencies = [
6377 "cfg-if",7245 "cfg-if 0.1.10",
6378 "log",7246 "log",
7247 "pin-project-lite",
6379 "tracing-attributes",7248 "tracing-attributes",
6380 "tracing-core",7249 "tracing-core",
6381]7250]
63827251
6383[[package]]7252[[package]]
6384name = "tracing-attributes"7253name = "tracing-attributes"
6385version = "0.1.9"7254version = "0.1.11"
6386source = "registry+https://github.com/rust-lang/crates.io-index"7255source = "registry+https://github.com/rust-lang/crates.io-index"
6387checksum = "f0693bf8d6f2bf22c690fc61a9d21ac69efdbb894a17ed596b9af0f01e64b84b"7256checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada"
6388dependencies = [7257dependencies = [
6389 "proc-macro2",7258 "proc-macro2",
6390 "quote 1.0.7",7259 "quote",
6391 "syn 1.0.34",7260 "syn",
6392]7261]
63937262
6394[[package]]7263[[package]]
6395name = "tracing-core"7264name = "tracing-core"
6396version = "0.1.11"7265version = "0.1.17"
6397source = "registry+https://github.com/rust-lang/crates.io-index"7266source = "registry+https://github.com/rust-lang/crates.io-index"
6398checksum = "94ae75f0d28ae10786f3b1895c55fe72e79928fd5ccdebb5438c75e93fec178f"7267checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f"
6399dependencies = [7268dependencies = [
6400 "lazy_static",7269 "lazy_static",
6401]7270]
7271
7272[[package]]
7273name = "tracing-log"
7274version = "0.1.1"
7275source = "registry+https://github.com/rust-lang/crates.io-index"
7276checksum = "5e0f8c7178e13481ff6765bd169b33e8d554c5d2bbede5e32c356194be02b9b9"
7277dependencies = [
7278 "lazy_static",
7279 "log",
7280 "tracing-core",
7281]
7282
7283[[package]]
7284name = "tracing-serde"
7285version = "0.1.2"
7286source = "registry+https://github.com/rust-lang/crates.io-index"
7287checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b"
7288dependencies = [
7289 "serde",
7290 "tracing-core",
7291]
7292
7293[[package]]
7294name = "tracing-subscriber"
7295version = "0.2.13"
7296source = "registry+https://github.com/rust-lang/crates.io-index"
7297checksum = "4ef0a5e15477aa303afbfac3a44cba9b6430fdaad52423b1e6c0dbbe28c3eedd"
7298dependencies = [
7299 "ansi_term 0.12.1",
7300 "chrono",
7301 "lazy_static",
7302 "matchers",
7303 "regex",
7304 "serde",
7305 "serde_json",
7306 "sharded-slab",
7307 "smallvec 1.4.2",
7308 "thread_local",
7309 "tracing",
7310 "tracing-core",
7311 "tracing-log",
7312 "tracing-serde",
7313]
64027314
6403[[package]]7315[[package]]
6404name = "trie-db"7316name = "trie-db"
6405version = "0.21.0"7317version = "0.22.1"
6406source = "registry+https://github.com/rust-lang/crates.io-index"7318source = "registry+https://github.com/rust-lang/crates.io-index"
6407checksum = "cb230c24c741993b04cfccbabb45acff6f6480c5f00d3ed8794ea43db3a9d727"7319checksum = "9e55f7ace33d6237e14137e386f4e1672e2a5c6bbc97fef9f438581a143971f0"
6408dependencies = [7320dependencies = [
6409 "hash-db",7321 "hash-db",
6410 "hashbrown 0.6.3",7322 "hashbrown 0.8.2",
6411 "log",7323 "log",
6412 "rustc-hex",7324 "rustc-hex",
6413 "smallvec 1.4.1",7325 "smallvec 1.4.2",
6414]7326]
64157327
6416[[package]]7328[[package]]
64307342
6431[[package]]7343[[package]]
6432name = "twox-hash"7344name = "twox-hash"
6433version = "1.5.0"7345version = "1.6.0"
6434source = "registry+https://github.com/rust-lang/crates.io-index"7346source = "registry+https://github.com/rust-lang/crates.io-index"
6435checksum = "3bfd5b7557925ce778ff9b9ef90e3ade34c524b5ff10e239c69a42d546d2af56"7347checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59"
6436dependencies = [7348dependencies = [
7349 "cfg-if 0.1.10",
6437 "rand 0.7.3",7350 "rand 0.7.3",
7351 "static_assertions",
6438]7352]
64397353
6440[[package]]7354[[package]]
64457359
6446[[package]]7360[[package]]
6447name = "uint"7361name = "uint"
6448version = "0.8.3"7362version = "0.8.5"
6449source = "registry+https://github.com/rust-lang/crates.io-index"7363source = "registry+https://github.com/rust-lang/crates.io-index"
6450checksum = "173cd16430c206dc1a430af8a89a0e9c076cf15cb42b4aedb10e8cc8fee73681"7364checksum = "9db035e67dfaf7edd9aebfe8676afcd63eed53c8a4044fed514c8cccf1835177"
6451dependencies = [7365dependencies = [
6452 "byteorder",7366 "byteorder 1.3.4",
6453 "crunchy",7367 "crunchy",
6454 "rustc-hex",7368 "rustc-hex",
6455 "static_assertions",7369 "static_assertions",
6494source = "registry+https://github.com/rust-lang/crates.io-index"7408source = "registry+https://github.com/rust-lang/crates.io-index"
6495checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"7409checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
6496
6497[[package]]
6498name = "unicode-xid"
6499version = "0.0.4"
6500source = "registry+https://github.com/rust-lang/crates.io-index"
6501checksum = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
65027410
6503[[package]]7411[[package]]
6504name = "unicode-xid"7412name = "unicode-xid"
6512source = "registry+https://github.com/rust-lang/crates.io-index"7420source = "registry+https://github.com/rust-lang/crates.io-index"
6513checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402"7421checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402"
6514dependencies = [7422dependencies = [
6515 "generic-array 0.14.3",7423 "generic-array 0.14.4",
6516 "subtle 2.2.3",7424 "subtle 2.3.0",
6517]7425]
65187426
6519[[package]]7427[[package]]
6520name = "unsigned-varint"7428name = "unsigned-varint"
6521version = "0.3.3"7429version = "0.4.0"
6522source = "registry+https://github.com/rust-lang/crates.io-index"7430source = "registry+https://github.com/rust-lang/crates.io-index"
6523checksum = "f67332660eb59a6f1eb24ff1220c9e8d01738a8503c6002e30bcfe4bd9f2b4a9"7431checksum = "669d776983b692a906c881fcd0cfb34271a48e197e4d6cb8df32b05bfc3d3fa5"
6524dependencies = [7432dependencies = [
6525 "bytes 0.5.6",7433 "bytes 0.5.6",
6526 "futures-io",7434 "futures-io",
6527 "futures-util",7435 "futures-util",
6528 "futures_codec 0.3.4",7436 "futures_codec",
6529]7437]
65307438
6531[[package]]7439[[package]]
6532name = "unsigned-varint"7440name = "unsigned-varint"
6533version = "0.4.0"7441version = "0.5.1"
6534source = "registry+https://github.com/rust-lang/crates.io-index"7442source = "registry+https://github.com/rust-lang/crates.io-index"
6535checksum = "669d776983b692a906c881fcd0cfb34271a48e197e4d6cb8df32b05bfc3d3fa5"7443checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35"
6536dependencies = [7444dependencies = [
6537 "bytes 0.5.6",7445 "futures-io",
6538 "futures_codec 0.4.1",7446 "futures-util",
6539]7447]
65407448
6541[[package]]7449[[package]]
6572source = "registry+https://github.com/rust-lang/crates.io-index"7480source = "registry+https://github.com/rust-lang/crates.io-index"
6573checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"7481checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
7482
7483[[package]]
7484name = "vec-arena"
7485version = "1.0.0"
7486source = "registry+https://github.com/rust-lang/crates.io-index"
7487checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d"
65747488
6575[[package]]7489[[package]]
6576name = "vec_map"7490name = "vec_map"
6590source = "registry+https://github.com/rust-lang/crates.io-index"7504source = "registry+https://github.com/rust-lang/crates.io-index"
6591checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"7505checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
7506
7507[[package]]
7508name = "waker-fn"
7509version = "1.1.0"
7510source = "registry+https://github.com/rust-lang/crates.io-index"
7511checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
65927512
6593[[package]]7513[[package]]
6594name = "want"7514name = "want"
6595version = "0.2.0"7515version = "0.2.0"
6596source = "registry+https://github.com/rust-lang/crates.io-index"7516source = "registry+https://github.com/rust-lang/crates.io-index"
6597checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"7517checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
6598dependencies = [7518dependencies = [
6599 "futures 0.1.29",7519 "futures 0.1.30",
6600 "log",7520 "log",
6601 "try-lock",7521 "try-lock",
6602]7522]
6617source = "registry+https://github.com/rust-lang/crates.io-index"7537source = "registry+https://github.com/rust-lang/crates.io-index"
6618checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"7538checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
7539
7540[[package]]
7541name = "wasi"
7542version = "0.10.0+wasi-snapshot-preview1"
7543source = "registry+https://github.com/rust-lang/crates.io-index"
7544checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
66197545
6620[[package]]7546[[package]]
6621name = "wasm-bindgen"7547name = "wasm-bindgen"
6622version = "0.2.65"7548version = "0.2.68"
6623source = "registry+https://github.com/rust-lang/crates.io-index"7549source = "registry+https://github.com/rust-lang/crates.io-index"
6624checksum = "f3edbcc9536ab7eababcc6d2374a0b7bfe13a2b6d562c5e07f370456b1a8f33d"7550checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42"
6625dependencies = [7551dependencies = [
6626 "cfg-if",7552 "cfg-if 0.1.10",
6627 "wasm-bindgen-macro",7553 "wasm-bindgen-macro",
6628]7554]
66297555
6630[[package]]7556[[package]]
6631name = "wasm-bindgen-backend"7557name = "wasm-bindgen-backend"
6632version = "0.2.65"7558version = "0.2.68"
6633source = "registry+https://github.com/rust-lang/crates.io-index"7559source = "registry+https://github.com/rust-lang/crates.io-index"
6634checksum = "89ed2fb8c84bfad20ea66b26a3743f3e7ba8735a69fe7d95118c33ec8fc1244d"7560checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68"
6635dependencies = [7561dependencies = [
6636 "bumpalo",7562 "bumpalo",
6637 "lazy_static",7563 "lazy_static",
6638 "log",7564 "log",
6639 "proc-macro2",7565 "proc-macro2",
6640 "quote 1.0.7",7566 "quote",
6641 "syn 1.0.34",7567 "syn",
6642 "wasm-bindgen-shared",7568 "wasm-bindgen-shared",
6643]7569]
66447570
6645[[package]]7571[[package]]
6646name = "wasm-bindgen-futures"7572name = "wasm-bindgen-futures"
6647version = "0.4.15"7573version = "0.4.18"
6648source = "registry+https://github.com/rust-lang/crates.io-index"7574source = "registry+https://github.com/rust-lang/crates.io-index"
6649checksum = "41ad6e4e8b2b7f8c90b6e09a9b590ea15cb0d1dbe28502b5a405cd95d1981671"7575checksum = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da"
6650dependencies = [7576dependencies = [
6651 "cfg-if",7577 "cfg-if 0.1.10",
6652 "js-sys",7578 "js-sys",
6653 "wasm-bindgen",7579 "wasm-bindgen",
6654 "web-sys",7580 "web-sys",
6655]7581]
66567582
6657[[package]]7583[[package]]
6658name = "wasm-bindgen-macro"7584name = "wasm-bindgen-macro"
6659version = "0.2.65"7585version = "0.2.68"
6660source = "registry+https://github.com/rust-lang/crates.io-index"7586source = "registry+https://github.com/rust-lang/crates.io-index"
6661checksum = "eb071268b031a64d92fc6cf691715ca5a40950694d8f683c5bb43db7c730929e"7587checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038"
6662dependencies = [7588dependencies = [
6663 "quote 1.0.7",7589 "quote",
6664 "wasm-bindgen-macro-support",7590 "wasm-bindgen-macro-support",
6665]7591]
66667592
6667[[package]]7593[[package]]
6668name = "wasm-bindgen-macro-support"7594name = "wasm-bindgen-macro-support"
6669version = "0.2.65"7595version = "0.2.68"
6670source = "registry+https://github.com/rust-lang/crates.io-index"7596source = "registry+https://github.com/rust-lang/crates.io-index"
6671checksum = "cf592c807080719d1ff2f245a687cbadb3ed28b2077ed7084b47aba8b691f2c6"7597checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe"
6672dependencies = [7598dependencies = [
6673 "proc-macro2",7599 "proc-macro2",
6674 "quote 1.0.7",7600 "quote",
6675 "syn 1.0.34",7601 "syn",
6676 "wasm-bindgen-backend",7602 "wasm-bindgen-backend",
6677 "wasm-bindgen-shared",7603 "wasm-bindgen-shared",
6678]7604]
66797605
6680[[package]]7606[[package]]
6681name = "wasm-bindgen-shared"7607name = "wasm-bindgen-shared"
6682version = "0.2.65"7608version = "0.2.68"
6683source = "registry+https://github.com/rust-lang/crates.io-index"7609source = "registry+https://github.com/rust-lang/crates.io-index"
6684checksum = "72b6c0220ded549d63860c78c38f3bcc558d1ca3f4efa74942c536ddbbb55e87"7610checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307"
66857611
6686[[package]]7612[[package]]
6687name = "wasm-timer"7613name = "wasm-timer"
6688version = "0.2.4"7614version = "0.2.5"
6689source = "registry+https://github.com/rust-lang/crates.io-index"7615source = "registry+https://github.com/rust-lang/crates.io-index"
6690checksum = "324c5e65a08699c9c4334ba136597ab22b85dccd4b65dd1e36ccf8f723a95b54"7616checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
6691dependencies = [7617dependencies = [
6692 "futures 0.3.5",7618 "futures 0.3.6",
6693 "js-sys",7619 "js-sys",
6694 "parking_lot 0.9.0",7620 "parking_lot 0.11.0",
6695 "pin-utils",7621 "pin-utils",
6696 "send_wrapper",
6697 "wasm-bindgen",7622 "wasm-bindgen",
6698 "wasm-bindgen-futures",7623 "wasm-bindgen-futures",
6699 "web-sys",7624 "web-sys",
6708 "libc",7633 "libc",
6709 "memory_units",7634 "memory_units",
6710 "num-rational",7635 "num-rational",
6711 "num-traits 0.2.12",7636 "num-traits",
6712 "parity-wasm",7637 "parity-wasm",
6713 "wasmi-validation",7638 "wasmi-validation",
6714]7639]
6722 "parity-wasm",7647 "parity-wasm",
6723]7648]
7649
7650[[package]]
7651name = "wasmparser"
7652version = "0.57.0"
7653source = "registry+https://github.com/rust-lang/crates.io-index"
7654checksum = "32fddd575d477c6e9702484139cf9f23dcd554b06d185ed0f56c857dd3a47aa6"
7655
7656[[package]]
7657name = "wasmparser"
7658version = "0.59.0"
7659source = "registry+https://github.com/rust-lang/crates.io-index"
7660checksum = "a950e6a618f62147fd514ff445b2a0b53120d382751960797f85f058c7eda9b9"
7661
7662[[package]]
7663name = "wasmtime"
7664version = "0.19.0"
7665source = "registry+https://github.com/rust-lang/crates.io-index"
7666checksum = "1cd3c4f449382779ef6e0a7c3ec6752ae614e20a42e4100000c3efdc973100e2"
7667dependencies = [
7668 "anyhow",
7669 "backtrace",
7670 "cfg-if 0.1.10",
7671 "lazy_static",
7672 "libc",
7673 "log",
7674 "region",
7675 "rustc-demangle",
7676 "smallvec 1.4.2",
7677 "target-lexicon",
7678 "wasmparser 0.59.0",
7679 "wasmtime-environ",
7680 "wasmtime-jit",
7681 "wasmtime-profiling",
7682 "wasmtime-runtime",
7683 "wat",
7684 "winapi 0.3.9",
7685]
7686
7687[[package]]
7688name = "wasmtime-debug"
7689version = "0.19.0"
7690source = "registry+https://github.com/rust-lang/crates.io-index"
7691checksum = "6e634af9067a3af6cf2c7d33dc3b84767ddaf5d010ba68e80eecbcea73d4a349"
7692dependencies = [
7693 "anyhow",
7694 "gimli 0.21.0",
7695 "more-asserts",
7696 "object 0.20.0",
7697 "target-lexicon",
7698 "thiserror",
7699 "wasmparser 0.59.0",
7700 "wasmtime-environ",
7701]
7702
7703[[package]]
7704name = "wasmtime-environ"
7705version = "0.19.0"
7706source = "registry+https://github.com/rust-lang/crates.io-index"
7707checksum = "08f85619a94ee4034bd5bb87fc3dcf71fd2237b81c840809da1201061eec9ab3"
7708dependencies = [
7709 "anyhow",
7710 "base64 0.12.3",
7711 "bincode",
7712 "cfg-if 0.1.10",
7713 "cranelift-codegen",
7714 "cranelift-entity",
7715 "cranelift-frontend",
7716 "cranelift-wasm",
7717 "directories",
7718 "errno",
7719 "file-per-thread-logger",
7720 "indexmap",
7721 "libc",
7722 "log",
7723 "more-asserts",
7724 "rayon",
7725 "serde",
7726 "sha2 0.8.2",
7727 "thiserror",
7728 "toml",
7729 "wasmparser 0.59.0",
7730 "winapi 0.3.9",
7731 "zstd",
7732]
7733
7734[[package]]
7735name = "wasmtime-jit"
7736version = "0.19.0"
7737source = "registry+https://github.com/rust-lang/crates.io-index"
7738checksum = "e914c013c7a9f15f4e429d5431f2830fb8adb56e40567661b69c5ec1d645be23"
7739dependencies = [
7740 "anyhow",
7741 "cfg-if 0.1.10",
7742 "cranelift-codegen",
7743 "cranelift-entity",
7744 "cranelift-frontend",
7745 "cranelift-native",
7746 "cranelift-wasm",
7747 "gimli 0.21.0",
7748 "log",
7749 "more-asserts",
7750 "object 0.20.0",
7751 "region",
7752 "target-lexicon",
7753 "thiserror",
7754 "wasmparser 0.59.0",
7755 "wasmtime-debug",
7756 "wasmtime-environ",
7757 "wasmtime-obj",
7758 "wasmtime-profiling",
7759 "wasmtime-runtime",
7760 "winapi 0.3.9",
7761]
7762
7763[[package]]
7764name = "wasmtime-obj"
7765version = "0.19.0"
7766source = "registry+https://github.com/rust-lang/crates.io-index"
7767checksum = "e81d8e02e9bc9fe2da9b6d48bbc217f96e089f7df613f11a28a3958abc44641e"
7768dependencies = [
7769 "anyhow",
7770 "more-asserts",
7771 "object 0.20.0",
7772 "target-lexicon",
7773 "wasmtime-debug",
7774 "wasmtime-environ",
7775]
7776
7777[[package]]
7778name = "wasmtime-profiling"
7779version = "0.19.0"
7780source = "registry+https://github.com/rust-lang/crates.io-index"
7781checksum = "1e8d4d1af8dd5f7096cfcc89dd668d358e52980c38cce199643372ffd6590e27"
7782dependencies = [
7783 "anyhow",
7784 "cfg-if 0.1.10",
7785 "gimli 0.21.0",
7786 "lazy_static",
7787 "libc",
7788 "object 0.19.0",
7789 "scroll",
7790 "serde",
7791 "target-lexicon",
7792 "wasmtime-environ",
7793 "wasmtime-runtime",
7794]
7795
7796[[package]]
7797name = "wasmtime-runtime"
7798version = "0.19.0"
7799source = "registry+https://github.com/rust-lang/crates.io-index"
7800checksum = "3a25f140bbbaadb07c531cba99ce1a966dba216138dc1b2a0ddecec851a01a93"
7801dependencies = [
7802 "backtrace",
7803 "cc",
7804 "cfg-if 0.1.10",
7805 "indexmap",
7806 "lazy_static",
7807 "libc",
7808 "log",
7809 "memoffset",
7810 "more-asserts",
7811 "region",
7812 "thiserror",
7813 "wasmtime-environ",
7814 "winapi 0.3.9",
7815]
7816
7817[[package]]
7818name = "wast"
7819version = "26.0.0"
7820source = "registry+https://github.com/rust-lang/crates.io-index"
7821checksum = "d54b3678343bfdf1768c16308a4b53823b70f7bb148d3d38225123d4306ec731"
7822dependencies = [
7823 "leb128",
7824]
7825
7826[[package]]
7827name = "wat"
7828version = "1.0.27"
7829source = "registry+https://github.com/rust-lang/crates.io-index"
7830checksum = "26b2dccbce4d0e14875091846e110a2369267b18ddd0d6423479b88dad914d71"
7831dependencies = [
7832 "wast",
7833]
67247834
6725[[package]]7835[[package]]
6726name = "web-sys"7836name = "web-sys"
6727version = "0.3.42"7837version = "0.3.45"
6728source = "registry+https://github.com/rust-lang/crates.io-index"7838source = "registry+https://github.com/rust-lang/crates.io-index"
6729checksum = "8be2398f326b7ba09815d0b403095f34dd708579220d099caae89be0b32137b2"7839checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d"
6730dependencies = [7840dependencies = [
6731 "js-sys",7841 "js-sys",
6732 "wasm-bindgen",7842 "wasm-bindgen",
6760 "webpki",7870 "webpki",
6761]7871]
7872
7873[[package]]
7874name = "wepoll-sys"
7875version = "3.0.0"
7876source = "registry+https://github.com/rust-lang/crates.io-index"
7877checksum = "142bc2cba3fe88be1a8fcb55c727fa4cd5b0cf2d7438722792e22f26f04bc1e0"
7878dependencies = [
7879 "cc",
7880]
67627881
6763[[package]]7882[[package]]
6764name = "which"7883name = "which"
6812source = "registry+https://github.com/rust-lang/crates.io-index"7931source = "registry+https://github.com/rust-lang/crates.io-index"
6813checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"7932checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
6814
6815[[package]]
6816name = "ws"
6817version = "0.9.1"
6818source = "registry+https://github.com/rust-lang/crates.io-index"
6819checksum = "c51a2c47b5798ccc774ffb93ff536aec7c4275d722fd9c740c83cdd1af1f2d94"
6820dependencies = [
6821 "byteorder",
6822 "bytes 0.4.12",
6823 "httparse",
6824 "log",
6825 "mio",
6826 "mio-extras",
6827 "rand 0.7.3",
6828 "sha-1",
6829 "slab",
6830 "url 2.1.1",
6831]
68327933
6833[[package]]7934[[package]]
6834name = "ws2_32-sys"7935name = "ws2_32-sys"
6846source = "registry+https://github.com/rust-lang/crates.io-index"7947source = "registry+https://github.com/rust-lang/crates.io-index"
6847checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217"7948checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217"
6848dependencies = [7949dependencies = [
6849 "curve25519-dalek",7950 "curve25519-dalek 2.1.0",
6850 "rand_core 0.5.1",7951 "rand_core 0.5.1",
6851 "zeroize",7952 "zeroize",
6852]7953]
7954
7955[[package]]
7956name = "x25519-dalek"
7957version = "1.1.0"
7958source = "registry+https://github.com/rust-lang/crates.io-index"
7959checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088"
7960dependencies = [
7961 "curve25519-dalek 3.0.0",
7962 "rand_core 0.5.1",
7963 "zeroize",
7964]
68537965
6854[[package]]7966[[package]]
6855name = "yamux"7967name = "yamux"
6856version = "0.4.7"7968version = "0.8.0"
6857source = "registry+https://github.com/rust-lang/crates.io-index"7969source = "registry+https://github.com/rust-lang/crates.io-index"
6858checksum = "cd37e58a1256a0b328ce9c67d8b62ecdd02f4803ba443df478835cb1a41a637c"7970checksum = "9aeb8c4043cac71c3c299dff107171c220d179492350ea198e109a414981b83c"
6859dependencies = [7971dependencies = [
6860 "futures 0.3.5",7972 "futures 0.3.6",
6861 "log",7973 "log",
6862 "nohash-hasher",7974 "nohash-hasher",
6863 "parking_lot 0.10.2",7975 "parking_lot 0.11.0",
6864 "rand 0.7.3",7976 "rand 0.7.3",
6865 "static_assertions",7977 "static_assertions",
6866]7978]
68677979
6868[[package]]7980[[package]]
6869name = "zeroize"7981name = "zeroize"
6870version = "1.1.0"7982version = "1.1.1"
6871source = "registry+https://github.com/rust-lang/crates.io-index"7983source = "registry+https://github.com/rust-lang/crates.io-index"
6872checksum = "3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8"7984checksum = "05f33972566adbd2d3588b0491eb94b98b43695c4ef897903470ede4f3f5a28a"
6873dependencies = [7985dependencies = [
6874 "zeroize_derive",7986 "zeroize_derive",
6875]7987]
68767988
6877[[package]]7989[[package]]
6878name = "zeroize_derive"7990name = "zeroize_derive"
6879version = "1.0.0"7991version = "1.0.1"
6880source = "registry+https://github.com/rust-lang/crates.io-index"7992source = "registry+https://github.com/rust-lang/crates.io-index"
6881checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2"7993checksum = "c3f369ddb18862aba61aa49bf31e74d29f0f162dec753063200e1dc084345d16"
6882dependencies = [7994dependencies = [
6883 "proc-macro2",7995 "proc-macro2",
6884 "quote 1.0.7",7996 "quote",
6885 "syn 1.0.34",7997 "syn",
6886 "synstructure",7998 "synstructure",
6887]7999]
8000
8001[[package]]
8002name = "zstd"
8003version = "0.5.3+zstd.1.4.5"
8004source = "registry+https://github.com/rust-lang/crates.io-index"
8005checksum = "01b32eaf771efa709e8308605bbf9319bf485dc1503179ec0469b611937c0cd8"
8006dependencies = [
8007 "zstd-safe",
8008]
8009
8010[[package]]
8011name = "zstd-safe"
8012version = "2.0.5+zstd.1.4.5"
8013source = "registry+https://github.com/rust-lang/crates.io-index"
8014checksum = "1cfb642e0d27f64729a639c52db457e0ae906e7bc6f5fe8f5c453230400f1055"
8015dependencies = [
8016 "libc",
8017 "zstd-sys",
8018]
8019
8020[[package]]
8021name = "zstd-sys"
8022version = "1.4.17+zstd.1.4.5"
8023source = "registry+https://github.com/rust-lang/crates.io-index"
8024checksum = "b89249644df056b522696b1bb9e7c18c87e8ffa3e2f0dc3b0155875d6498f01b"
8025dependencies = [
8026 "cc",
8027 "glob",
8028 "itertools 0.9.0",
8029 "libc",
8030]
68888031
modifiedDockerfilediffbeforeafterboth
3FROM phusion/baseimage:0.10.2 as builder3FROM phusion/baseimage:0.10.2 as builder
4LABEL maintainer="gz@usetech.com"4LABEL maintainer="gz@usetech.com"
55
6ENV WASM_TOOLCHAIN=nightly-2020-05-016ENV WASM_TOOLCHAIN=nightly-2020-10-01
77
8ARG PROFILE=release8ARG PROFILE=release
99
17WORKDIR /nft_parachain17WORKDIR /nft_parachain
18COPY . .18COPY . .
1919
20RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \20RUN export CARGO_HOME="/cargo-home" && curl https://sh.rustup.rs -sSf | sh -s -- -y
21RUN export PATH="/cargo-home/bin:$PATH" && \
22 export CARGO_HOME="/cargo-home" && \
21 export PATH="$PATH:$HOME/.cargo/bin" && \23 cargo fetch
24RUN export PATH="/cargo-home/bin:$PATH" && \
25 export CARGO_HOME="/cargo-home" && \
22 rustup toolchain uninstall $(rustup toolchain list) && \26 rustup toolchain uninstall $(rustup toolchain list) && \
23 rustup default 1.44.0 && \
24 rustup toolchain install $WASM_TOOLCHAIN && \27 rustup toolchain install $WASM_TOOLCHAIN && \
25 rustup target add wasm32-unknown-unknown --toolchain $WASM_TOOLCHAIN && \28 rustup target add wasm32-unknown-unknown --toolchain $WASM_TOOLCHAIN && \
26 rustup target list --installed && \29 rustup target list --installed && \
27 rustup show && \30 rustup show
31
32RUN export PATH="/cargo-home/bin:$PATH" && \
33 export CARGO_HOME="/cargo-home" && \
28 cargo build "--$PROFILE" 34 cargo +$WASM_TOOLCHAIN build "--$PROFILE"
29 # && \35 # && \
30 # cargo test36 # cargo test
31
32RUN cd target/release && ls -la
3337
34# ===== RUN ======38# ===== RUN ======
3539
modifiedREADME.mddiffbeforeafterboth
115115
116Additional CLI usage options are available and may be shown by running `cargo run -- --help`.116Additional CLI usage options are available and may be shown by running `cargo run -- --help`.
117117
118## Benchmarks
118119
120First of all, add rust toolchain and make it default.
121```bash
122rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01
123```
124
125Then in "/node/src" run build command below
126```bash
127cargo +nightly-2020-10-01 build --release --features runtime-benchmarks
128```
129
130Run benchmark
131```bash
132target/release/nft benchmark --chain dev --pallet "pallet_nft" --extrinsic "*" --repeat 1
133```
134
119## UI custom types135## UI custom types
120```136```
121{137{
addeddoc/milestone_1.mddiffbeforeafterboth

no changes

modifiednode/Cargo.tomldiffbeforeafterboth
1[build-dependencies.substrate-build-script-utils]1[build-dependencies.substrate-build-script-utils]
2git = 'https://github.com/usetech-llc/substrate.git'2git = 'https://github.com/usetech-llc/substrate.git'
3branch = 'rc4_ext_dispatch_reenabled'3branch = 'v2.0.0_release'
4version = '2.0.0-rc4'4version = '2.0.0'
55
6[[bin]]6[[bin]]
7name = 'nft'7name = 'nft'
15license = 'Unlicense'15license = 'Unlicense'
16name = 'nft'16name = 'nft'
17repository = 'https://github.com/substrate-developer-hub/nft/'17repository = 'https://github.com/substrate-developer-hub/nft/'
18version = '2.0.0-rc4'18version = '2.0.0'
1919
20[package.metadata.docs.rs]20[package.metadata.docs.rs]
21targets = ['x86_64-unknown-linux-gnu']21targets = ['x86_64-unknown-linux-gnu']
25log = '0.4.8'25log = '0.4.8'
26parking_lot = '0.10.0'26parking_lot = '0.10.0'
27structopt = '0.3.8'27structopt = '0.3.8'
28jsonrpc-core = '14.0.5'28jsonrpc-core = '15.0.0'
2929
30# Substrate dependencies
30[dependencies.nft-runtime]31nft-runtime = { path = '../runtime', version = '2.0.0' }
31path = '../runtime'
32version = '2.0.0-rc4'
33
34[dependencies.sc-basic-authorship]
35git = 'https://github.com/usetech-llc/substrate.git'32frame-benchmarking = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
36branch = 'rc4_ext_dispatch_reenabled'
37version = '0.8.0-rc4'33frame-benchmarking-cli = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
38
39[dependencies.sc-cli]
40git = 'https://github.com/usetech-llc/substrate.git'
41branch = 'rc4_ext_dispatch_reenabled'
42version = '0.8.0-rc4'34pallet-transaction-payment-rpc = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
43
44[dependencies.sc-client-api]
45git = 'https://github.com/usetech-llc/substrate.git'
46branch = 'rc4_ext_dispatch_reenabled'
47version = '2.0.0-rc4'35sc-basic-authorship = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
48
49[dependencies.sc-consensus]
50git = 'https://github.com/usetech-llc/substrate.git'
51branch = 'rc4_ext_dispatch_reenabled'
52version = '0.8.0-rc4'36sc-cli = { features = ['wasmtime'], version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
53
54[dependencies.pallet-contracts-rpc]
55git = 'https://github.com/usetech-llc/substrate.git'
56version = '0.8.0-rc4'37sc-client-api = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
57branch = 'rc4_ext_dispatch_reenabled'
58
59[dependencies.sc-rpc]
60git = 'https://github.com/usetech-llc/substrate.git'38sc-consensus = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
61branch = 'rc4_ext_dispatch_reenabled'
62
63[dependencies.sc-consensus-aura]39sc-consensus-aura = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
64git = 'https://github.com/usetech-llc/substrate.git'
65branch = 'rc4_ext_dispatch_reenabled'
66version = '0.8.0-rc4'40sc-executor = { features = ['wasmtime'], version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
67
68[dependencies.sc-executor]
69git = 'https://github.com/usetech-llc/substrate.git'
70branch = 'rc4_ext_dispatch_reenabled'
71version = '0.8.0-rc4'41sc-finality-grandpa = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
72
73[dependencies.sc-finality-grandpa]
74git = 'https://github.com/usetech-llc/substrate.git'
75branch = 'rc4_ext_dispatch_reenabled'
76version = '0.8.0-rc4'42sc-rpc = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
77
78[dependencies.sc-network]
79git = 'https://github.com/usetech-llc/substrate.git'
80branch = 'rc4_ext_dispatch_reenabled'
81version = '0.8.0-rc4'43sc-rpc-api = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
82
83[dependencies.sc-service]
84git = 'https://github.com/usetech-llc/substrate.git'
85branch = 'rc4_ext_dispatch_reenabled'
86version = '0.8.0-rc4'44sc-service = { features = ['wasmtime'], version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
87
88[dependencies.sc-transaction-pool]45sc-transaction-pool = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
89git = 'https://github.com/usetech-llc/substrate.git'46sp-api = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
90branch = 'rc4_ext_dispatch_reenabled'
91version = '2.0.0-rc4'47sp-block-builder = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
92
93[dependencies.sp-consensus]
94git = 'https://github.com/usetech-llc/substrate.git'48sp-blockchain = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
95branch = 'rc4_ext_dispatch_reenabled'
96version = '0.8.0-rc4'49sp-consensus = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
97
98[dependencies.sp-consensus-aura]
99git = 'https://github.com/usetech-llc/substrate.git'
100branch = 'rc4_ext_dispatch_reenabled'
101version = '0.8.0-rc4'50sp-consensus-aura = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
102
103[dependencies.sp-core]51sp-core = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
104git = 'https://github.com/usetech-llc/substrate.git'
105branch = 'rc4_ext_dispatch_reenabled'
106version = '2.0.0-rc4'52sp-finality-grandpa = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
107
108[dependencies.sp-finality-grandpa]
109git = 'https://github.com/usetech-llc/substrate.git'
110branch = 'rc4_ext_dispatch_reenabled'
111version = '2.0.0-rc4'53sp-inherents = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
112
113[dependencies.sp-inherents]
114git = 'https://github.com/usetech-llc/substrate.git'54sp-runtime = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
115branch = 'rc4_ext_dispatch_reenabled'
116version = '2.0.0-rc4'55sp-transaction-pool = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
117
118[dependencies.sp-runtime]
119git = 'https://github.com/usetech-llc/substrate.git'56sc-network = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
120branch = 'rc4_ext_dispatch_reenabled'
121version = '2.0.0-rc4'57substrate-frame-rpc-system = {version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
122
123[dependencies.sp-transaction-pool]
124git = 'https://github.com/usetech-llc/substrate.git'
125branch = 'rc4_ext_dispatch_reenabled'
126version = '2.0.0-rc4'58pallet-contracts-rpc = {version = '0.8.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release'}
59
60[features]
61default = []
62runtime-benchmarks = ['nft-runtime/runtime-benchmarks']
12763
modifiednode/src/chain_spec.rsdiffbeforeafterboth
38 (get_from_seed::<AuraId>(s), get_from_seed::<GrandpaId>(s))38 (get_from_seed::<AuraId>(s), get_from_seed::<GrandpaId>(s))
39}39}
4040
41pub fn development_config() -> ChainSpec {41pub fn development_config() -> Result<ChainSpec, String> {
42 let wasm_binary = WASM_BINARY.ok_or("Development wasm binary not available".to_string())?;
43
42 ChainSpec::from_genesis(44 Ok(ChainSpec::from_genesis(
45 // Name
43 "Development",46 "Development",
47 // ID
44 "dev",48 "dev",
45 ChainType::Development,49 ChainType::Development,
46 || {50 move || testnet_genesis(
47 testnet_genesis(51 wasm_binary,
52 // Initial PoA authorities
48 vec![authority_keys_from_seed("Alice")],53 vec![
54 authority_keys_from_seed("Alice"),
55 ],
56 // Sudo account
49 get_account_id_from_seed::<sr25519::Public>("Alice"),57 get_account_id_from_seed::<sr25519::Public>("Alice"),
58 // Pre-funded accounts
50 vec![59 vec![
51 get_account_id_from_seed::<sr25519::Public>("Alice"),60 get_account_id_from_seed::<sr25519::Public>("Alice"),
52 get_account_id_from_seed::<sr25519::Public>("Bob"),61 get_account_id_from_seed::<sr25519::Public>("Bob"),
55 ],64 ],
56 true,65 true,
57 )66 ),
58 },67 // Bootnodes
59 vec![],68 vec![],
69 // Telemetry
60 None,70 None,
71 // Protocol ID
61 None,72 None,
73 // Properties
62 None,74 None,
75 // Extensions
63 None,76 None,
64 )77 ))
65}78}
6679
67pub fn local_testnet_config() -> ChainSpec {80pub fn local_testnet_config() -> Result<ChainSpec, String> {
81 let wasm_binary = WASM_BINARY.ok_or("Development wasm binary not available".to_string())?;
82
68 ChainSpec::from_genesis(83 Ok(ChainSpec::from_genesis(
84 // Name
69 "Local Testnet",85 "Local Testnet",
86 // ID
70 "local_testnet",87 "local_testnet",
71 ChainType::Local,88 ChainType::Local,
72 || {89 move || testnet_genesis(
73 testnet_genesis(90 wasm_binary,
91 // Initial PoA authorities
74 vec![92 vec![
75 authority_keys_from_seed("Alice"),93 authority_keys_from_seed("Alice"),
76 authority_keys_from_seed("Bob"),94 authority_keys_from_seed("Bob"),
77 ],95 ],
96 // Sudo account
78 get_account_id_from_seed::<sr25519::Public>("Alice"),97 get_account_id_from_seed::<sr25519::Public>("Alice"),
98 // Pre-funded accounts
79 vec![99 vec![
80 get_account_id_from_seed::<sr25519::Public>("Alice"),100 get_account_id_from_seed::<sr25519::Public>("Alice"),
81 get_account_id_from_seed::<sr25519::Public>("Bob"),101 get_account_id_from_seed::<sr25519::Public>("Bob"),
92 ],112 ],
93 true,113 true,
94 )114 ),
95 },115 // Bootnodes
96 vec![],116 vec![],
117 // Telemetry
97 None,118 None,
119 // Protocol ID
98 None,120 None,
121 // Properties
99 None,122 None,
123 // Extensions
100 None,124 None,
101 )125 ))
102}126}
103127
104fn testnet_genesis(128fn testnet_genesis(
129 wasm_binary: &[u8],
105 initial_authorities: Vec<(AuraId, GrandpaId)>,130 initial_authorities: Vec<(AuraId, GrandpaId)>,
106 root_key: AccountId,131 root_key: AccountId,
107 endowed_accounts: Vec<AccountId>,132 endowed_accounts: Vec<AccountId>,
108 enable_println: bool,133 enable_println: bool,
109) -> GenesisConfig {134) -> GenesisConfig {
110 GenesisConfig {135 GenesisConfig {
111 system: Some(SystemConfig {136 system: Some(SystemConfig {
112 code: WASM_BINARY.to_vec(),137 code: wasm_binary.to_vec(),
113 changes_trie_config: Default::default(),138 changes_trie_config: Default::default(),
114 }),139 }),
115 balances: Some(BalancesConfig {140 pallet_balances: Some(BalancesConfig {
116 balances: endowed_accounts141 balances: endowed_accounts
117 .iter()142 .iter()
118 .cloned()143 .cloned()
119 .map(|k| (k, 1 << 100))144 .map(|k| (k, 1 << 100))
120 .collect(),145 .collect(),
121 }),146 }),
122 aura: Some(AuraConfig {147 pallet_aura: Some(AuraConfig {
123 authorities: initial_authorities.iter().map(|x| (x.0.clone())).collect(),148 authorities: initial_authorities.iter().map(|x| (x.0.clone())).collect(),
124 }),149 }),
125 grandpa: Some(GrandpaConfig {150 pallet_grandpa: Some(GrandpaConfig {
126 authorities: initial_authorities151 authorities: initial_authorities
127 .iter()152 .iter()
128 .map(|x| (x.1.clone(), 1))153 .map(|x| (x.1.clone(), 1))
129 .collect(),154 .collect(),
130 }),155 }),
131 sudo: Some(SudoConfig { key: root_key }),156 pallet_sudo: Some(SudoConfig { key: root_key }),
132 nft: Some(NftConfig {157 pallet_nft: Some(NftConfig {
133 collection: vec![(158 collection: vec![(
134 1,159 1,
135 CollectionType {160 CollectionType {
160 refungible_sponsor_transfer_timeout: 15,185 refungible_sponsor_transfer_timeout: 15,
161 },186 },
162 }),187 }),
163 contracts: Some(ContractsConfig {188 pallet_contracts: Some(ContractsConfig {
164 current_schedule: ContractsSchedule {189 current_schedule: ContractsSchedule {
165 enable_println,190 enable_println,
166 ..Default::default()191 ..Default::default()
modifiednode/src/cli.rsdiffbeforeafterboth
1use sc_cli::{RunCmd, Subcommand};1use structopt::StructOpt;
2use structopt::StructOpt;2use sc_cli::RunCmd;
33
4#[derive(Debug, StructOpt)]4#[derive(Debug, StructOpt)]
5pub struct Cli {5pub struct Cli {
10 pub run: RunCmd,10 pub run: RunCmd,
11}11}
12
13#[derive(Debug, StructOpt)]
14pub enum Subcommand {
15 /// Build a chain specification.
16 BuildSpec(sc_cli::BuildSpecCmd),
17
18 /// Validate blocks.
19 CheckBlock(sc_cli::CheckBlockCmd),
20
21 /// Export blocks.
22 ExportBlocks(sc_cli::ExportBlocksCmd),
23
24 /// Export the state of a given block into a chain spec.
25 ExportState(sc_cli::ExportStateCmd),
26
27 /// Import blocks.
28 ImportBlocks(sc_cli::ImportBlocksCmd),
29
30 /// Remove the whole chain.
31 PurgeChain(sc_cli::PurgeChainCmd),
32
33 /// Revert the chain to a previous state.
34 Revert(sc_cli::RevertCmd),
35
36 // The custom benchmark subcommmand benchmarking runtime pallets.
37 #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
38 Benchmark(frame_benchmarking_cli::BenchmarkCmd),
39}
1240
modifiednode/src/command.rsdiffbeforeafterboth
15// See the License for the specific language governing permissions and15// See the License for the specific language governing permissions and
16// limitations under the License.16// limitations under the License.
1717
18use crate::chain_spec;18use crate::{chain_spec, service};
19use crate::cli::Cli;19use crate::cli::{Cli, Subcommand};
20use crate::service;20use sc_cli::{SubstrateCli, RuntimeVersion, Role, ChainSpec};
21use sc_cli::SubstrateCli;21use sc_service::PartialComponents;
22use nft_runtime::Block;
2223
23impl SubstrateCli for Cli {24impl SubstrateCli for Cli {
24 fn impl_name() -> &'static str {25 fn impl_name() -> String {
25 "Substrate Node"26 "Substrate Node".into()
26 }27 }
2728
28 fn impl_version() -> &'static str {29 fn impl_version() -> String {
29 env!("SUBSTRATE_CLI_IMPL_VERSION")30 env!("SUBSTRATE_CLI_IMPL_VERSION").into()
30 }31 }
3132
32 fn description() -> &'static str {33 fn description() -> String {
33 env!("CARGO_PKG_DESCRIPTION")34 env!("CARGO_PKG_DESCRIPTION").into()
34 }35 }
3536
36 fn author() -> &'static str {37 fn author() -> String {
37 env!("CARGO_PKG_AUTHORS")38 env!("CARGO_PKG_AUTHORS").into()
38 }39 }
3940
40 fn support_url() -> &'static str {41 fn support_url() -> String {
41 "support.anonymous.an"42 "support.anonymous.an".into()
42 }43 }
4344
44 fn copyright_start_year() -> i32 {45 fn copyright_start_year() -> i32 {
45 201746 2017
46 }47 }
47
48 fn executable_name() -> &'static str {
49 env!("CARGO_PKG_NAME")
50 }
5148
52 fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> {49 fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> {
53 Ok(match id {50 Ok(match id {
54 "dev" => Box::new(chain_spec::development_config()),51 "dev" => Box::new(chain_spec::development_config()?),
55 "" | "local" => Box::new(chain_spec::local_testnet_config()),52 "" | "local" => Box::new(chain_spec::local_testnet_config()?),
56 path => Box::new(chain_spec::ChainSpec::from_json_file(53 path => Box::new(chain_spec::ChainSpec::from_json_file(
57 std::path::PathBuf::from(path),54 std::path::PathBuf::from(path),
58 )?),55 )?),
59 })56 })
60 }57 }
58
59 fn native_runtime_version(_: &Box<dyn ChainSpec>) -> &'static RuntimeVersion {
60 &nft_runtime::VERSION
61 }
61}62}
6263
63/// Parse and run command line arguments64/// Parse and run command line arguments
64pub fn run() -> sc_cli::Result<()> {65pub fn run() -> sc_cli::Result<()> {
65 let cli = Cli::from_args();66 let cli = Cli::from_args();
6667
67 match &cli.subcommand {68 match &cli.subcommand {
69 Some(Subcommand::BuildSpec(cmd)) => {
70 let runner = cli.create_runner(cmd)?;
71 runner.sync_run(|config| cmd.run(config.chain_spec, config.network))
72 },
73 Some(Subcommand::CheckBlock(cmd)) => {
74 let runner = cli.create_runner(cmd)?;
75 runner.async_run(|config| {
76 let PartialComponents { client, task_manager, import_queue, ..}
77 = service::new_partial(&config)?;
78 Ok((cmd.run(client, import_queue), task_manager))
79 })
80 },
81 Some(Subcommand::ExportBlocks(cmd)) => {
82 let runner = cli.create_runner(cmd)?;
83 runner.async_run(|config| {
84 let PartialComponents { client, task_manager, ..}
85 = service::new_partial(&config)?;
86 Ok((cmd.run(client, config.database), task_manager))
87 })
88 },
68 Some(subcommand) => {89 Some(Subcommand::ExportState(cmd)) => {
69 let runner = cli.create_runner(subcommand)?;90 let runner = cli.create_runner(cmd)?;
70 runner.run_subcommand(subcommand, |config| Ok(new_full_start!(config).0))91 runner.async_run(|config| {
92 let PartialComponents { client, task_manager, ..}
93 = service::new_partial(&config)?;
94 Ok((cmd.run(client, config.chain_spec), task_manager))
95 })
71 }96 },
97 Some(Subcommand::ImportBlocks(cmd)) => {
98 let runner = cli.create_runner(cmd)?;
99 runner.async_run(|config| {
100 let PartialComponents { client, task_manager, import_queue, ..}
101 = service::new_partial(&config)?;
102 Ok((cmd.run(client, import_queue), task_manager))
103 })
104 },
105 Some(Subcommand::PurgeChain(cmd)) => {
106 let runner = cli.create_runner(cmd)?;
107 runner.sync_run(|config| cmd.run(config.database))
108 },
109 Some(Subcommand::Revert(cmd)) => {
110 let runner = cli.create_runner(cmd)?;
111 runner.async_run(|config| {
112 let PartialComponents { client, task_manager, backend, ..}
113 = service::new_partial(&config)?;
114 Ok((cmd.run(client, backend), task_manager))
115 })
116 },
117 Some(Subcommand::Benchmark(cmd)) => {
118 if cfg!(feature = "runtime-benchmarks") {
119 let runner = cli.create_runner(cmd)?;
120
121 runner.sync_run(|config| cmd.run::<Block, service::Executor>(config))
122 } else {
123 Err("Benchmarking wasn't enabled when building the node. \
124 You can enable it with `--features runtime-benchmarks`.".into())
125 }
126 },
72 None => {127 None => {
73 let runner = cli.create_runner(&cli.run)?;128 let runner = cli.create_runner(&cli.run)?;
74 runner.run_node(service::new_light, service::new_full, nft_runtime::VERSION)129 runner.run_node_until_exit(|config| match config.role {
130 Role::Light => service::new_light(config),
131 _ => service::new_full(config),
132 })
75 }133 }
76 }134 }
77}135}
addednode/src/lib.rsdiffbeforeafterboth

no changes

modifiednode/src/main.rsdiffbeforeafterboth
6mod service;6mod service;
7mod cli;7mod cli;
8mod command;8mod command;
9mod rpc;
910
10fn main() -> sc_cli::Result<()> {11fn main() -> sc_cli::Result<()> {
11 command::run()12 command::run()
addednode/src/rpc.rsdiffbeforeafterboth

no changes

modifiednode/src/service.rsdiffbeforeafterboth
1//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.1//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.
22
3use std::sync::Arc;
4use std::time::Duration;
5use sc_client_api::{ExecutorProvider, RemoteBackend};
3use nft_runtime::{self, opaque::Block, RuntimeApi};6use nft_runtime::{self, opaque::Block, RuntimeApi};
4use sc_client_api::ExecutorProvider;7use sc_service::{error::Error as ServiceError, Configuration, TaskManager};
5use sc_consensus::LongestChain;8use sp_inherents::InherentDataProviders;
6use sc_executor::native_executor_instance;9use sc_executor::native_executor_instance;
7pub use sc_executor::NativeExecutor;10pub use sc_executor::NativeExecutor;
8use sc_finality_grandpa::{
9 FinalityProofProvider as GrandpaFinalityProofProvider, SharedVoterState,
10 StorageAndProofProvider,
11};
12use sc_service::{error::Error as ServiceError, AbstractService, Configuration, ServiceBuilder};
13use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;11use sp_consensus_aura::sr25519::{AuthorityPair as AuraPair};
14use sp_inherents::InherentDataProviders;12use sc_finality_grandpa::{FinalityProofProvider as GrandpaFinalityProofProvider, SharedVoterState};
15use std::sync::Arc;
16use std::time::Duration;
1713
18// Our native executor instance.14// Our native executor instance.
19native_executor_instance!(15native_executor_instance!(
20 pub Executor,16 pub Executor,
21 nft_runtime::api::dispatch,17 nft_runtime::api::dispatch,
22 nft_runtime::native_version,18 nft_runtime::native_version,
19 frame_benchmarking::benchmarking::HostFunctions,
23);20);
2421
25/// Starts a `ServiceBuilder` for a full service.22type FullClient = sc_service::TFullClient<Block, RuntimeApi, Executor>;
26///23type FullBackend = sc_service::TFullBackend<Block>;
27/// Use this macro if you don't actually need the full service, but just the builder in order to24type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
28/// be able to perform chain operations.25
29macro_rules! new_full_start {
30 ($config:expr) => {{26pub fn new_partial(config: &Configuration) -> Result<sc_service::PartialComponents<
31 use jsonrpc_core::IoHandler;27 FullClient, FullBackend, FullSelectChain,
32 use sp_consensus_aura::sr25519::AuthorityPair as AuraPair;28 sp_consensus::DefaultImportQueue<Block, FullClient>,
29 sc_transaction_pool::FullPool<Block, FullClient>,
30 (
31 sc_consensus_aura::AuraBlockImport<
32 Block,
33 FullClient,
34 sc_finality_grandpa::GrandpaBlockImport<FullBackend, Block, FullClient, FullSelectChain>,
35 AuraPair
36 >,
33 use std::sync::Arc;37 sc_finality_grandpa::LinkHalf<Block, FullClient, FullSelectChain>
3438 )
35 let mut import_setup = None;39>, ServiceError> {
36 let inherent_data_providers = sp_inherents::InherentDataProviders::new();40 let inherent_data_providers = sp_inherents::InherentDataProviders::new();
3741
38 let builder = sc_service::ServiceBuilder::new_full::<42 let (client, backend, keystore, task_manager) =
39 nft_runtime::opaque::Block,43 sc_service::new_full_parts::<Block, RuntimeApi, Executor>(&config)?;
40 nft_runtime::RuntimeApi,
41 crate::service::Executor,
42 >($config)?
43 .with_select_chain(|_config, backend| Ok(sc_consensus::LongestChain::new(backend.clone())))?44 let client = Arc::new(client);
44 .with_transaction_pool(|builder| {45
45 let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone());46 let select_chain = sc_consensus::LongestChain::new(backend.clone());
47
46 Ok(sc_transaction_pool::BasicPool::new(48 let transaction_pool = sc_transaction_pool::BasicPool::new_full(
47 builder.config().transaction_pool.clone(),49 config.transaction_pool.clone(),
48 std::sync::Arc::new(pool_api),
49 builder.prometheus_registry(),50 config.prometheus_registry(),
50 ))
51 })?
52 .with_import_queue(51 task_manager.spawn_handle(),
53 |_config, client, mut select_chain, _transaction_pool, spawn_task_handle, registry| {52 client.clone(),
54 let select_chain = select_chain
55 .take()
56 .ok_or_else(|| sc_service::Error::SelectChainRequired)?;53 );
5754
58 let (grandpa_block_import, grandpa_link) = sc_finality_grandpa::block_import(55 let (grandpa_block_import, grandpa_link) = sc_finality_grandpa::block_import(
59 client.clone(),56 client.clone(), &(client.clone() as Arc<_>), select_chain.clone(),
60 &(client.clone() as Arc<_>),
61 select_chain,
62 )?;57 )?;
6358
64 let aura_block_import =59 let aura_block_import = sc_consensus_aura::AuraBlockImport::<_, _, _, AuraPair>::new(
65 sc_consensus_aura::AuraBlockImport::<_, _, _, AuraPair>::new(
66 grandpa_block_import.clone(),60 grandpa_block_import.clone(), client.clone(),
67 client.clone(),
68 );61 );
6962
70 let import_queue = sc_consensus_aura::import_queue::<_, _, _, AuraPair, _>(63 let import_queue = sc_consensus_aura::import_queue::<_, _, _, AuraPair, _, _>(
71 sc_consensus_aura::slot_duration(&*client)?,64 sc_consensus_aura::slot_duration(&*client)?,
72 aura_block_import,65 aura_block_import.clone(),
73 Some(Box::new(grandpa_block_import.clone())),66 Some(Box::new(grandpa_block_import.clone())),
74 None,67 None,
75 client,68 client.clone(),
76 inherent_data_providers.clone(),69 inherent_data_providers.clone(),
77 spawn_task_handle,
78 registry,
79 )?;
80
81 import_setup = Some((grandpa_block_import, grandpa_link));70 &task_manager.spawn_handle(),
82
83 Ok(import_queue)
84 },
85 )?
86 .with_rpc_extensions(|builder| -> Result<IoHandler<sc_rpc::Metadata>, _> {71 config.prometheus_registry(),
87 let handler = pallet_contracts_rpc::Contracts::new(builder.client().clone());72 sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()),
88 let delegate = pallet_contracts_rpc::ContractsApi::to_delegate(handler);
89
90 let mut io = IoHandler::default();
91 io.extend_with(delegate);
92 Ok(io)
93 })?;73 )?;
9474
95 (builder, import_setup, inherent_data_providers)75 Ok(sc_service::PartialComponents {
96 }};76 client, backend, task_manager, import_queue, keystore, select_chain, transaction_pool,
97}77 inherent_data_providers,
78 other: (aura_block_import, grandpa_link),
79 })
80}
9881
99/// Builds a new service for a full client.82/// Builds a new service for a full client.
100pub fn new_full(config: Configuration) -> Result<impl AbstractService, ServiceError> {83pub fn new_full(config: Configuration) -> Result<TaskManager, ServiceError> {
84 let sc_service::PartialComponents {
85 client, backend, mut task_manager, import_queue, keystore, select_chain, transaction_pool,
86 inherent_data_providers,
87 other: (block_import, grandpa_link),
88 } = new_partial(&config)?;
89
90 let finality_proof_provider =
91 GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone());
92
93 let (network, network_status_sinks, system_rpc_tx, network_starter) =
94 sc_service::build_network(sc_service::BuildNetworkParams {
95 config: &config,
96 client: client.clone(),
97 transaction_pool: transaction_pool.clone(),
98 spawn_handle: task_manager.spawn_handle(),
99 import_queue,
100 on_demand: None,
101 block_announce_validator_builder: None,
102 finality_proof_request_builder: None,
103 finality_proof_provider: Some(finality_proof_provider.clone()),
104 })?;
105
106 if config.offchain_worker.enabled {
107 sc_service::build_offchain_workers(
108 &config, backend.clone(), task_manager.spawn_handle(), client.clone(), network.clone(),
109 );
110 }
111
101 let role = config.role.clone();112 let role = config.role.clone();
102 let force_authoring = config.force_authoring;113 let force_authoring = config.force_authoring;
103 let name = config.network.node_name.clone();114 let name = config.network.node_name.clone();
104 let disable_grandpa = config.disable_grandpa;115 let enable_grandpa = !config.disable_grandpa;
105
106 let (builder, mut import_setup, inherent_data_providers) = new_full_start!(config);116 let prometheus_registry = config.prometheus_registry().cloned();
107
108 let (block_import, grandpa_link) = import_setup.take().expect(117 let telemetry_connection_sinks = sc_service::TelemetryConnectionSinks::default();
109 "Link Half and Block Import are present for Full Services or setup failed before. qed",
110 );
111118
112 let service = builder119 let rpc_extensions_builder = {
120 let client = client.clone();
121 let pool = transaction_pool.clone();
122
113 .with_finality_proof_provider(|client, backend| {123 Box::new(move |deny_unsafe, _| {
114 // GenesisAuthoritySetProvider is implemented for StorageAndProofProvider
115 let provider = client as Arc<dyn StorageAndProofProvider<_, _>>;124 let deps = crate::rpc::FullDeps {
125 client: client.clone(),
126 pool: pool.clone(),
127 deny_unsafe,
128 };
129
116 Ok(Arc::new(GrandpaFinalityProofProvider::new(backend, provider)) as _)130 crate::rpc::create_full(deps)
117 })?131 })
118 .build_full()?;132 };
133
134 sc_service::spawn_tasks(sc_service::SpawnTasksParams {
135 network: network.clone(),
136 client: client.clone(),
137 keystore: keystore.clone(),
138 task_manager: &mut task_manager,
139 transaction_pool: transaction_pool.clone(),
140 telemetry_connection_sinks: telemetry_connection_sinks.clone(),
141 rpc_extensions_builder: rpc_extensions_builder,
142 on_demand: None,
143 remote_blockchain: None,
144 backend, network_status_sinks, system_rpc_tx, config,
145 })?;
119146
120 if role.is_authority() {147 if role.is_authority() {
121 let proposer = sc_basic_authorship::ProposerFactory::new(148 let proposer = sc_basic_authorship::ProposerFactory::new(
122 service.client(),149 client.clone(),
123 service.transaction_pool(),150 transaction_pool,
124 service.prometheus_registry().as_ref(),151 prometheus_registry.as_ref(),
125 );152 );
126
127 let client = service.client();
128 let select_chain = service
129 .select_chain()
130 .ok_or(ServiceError::SelectChainRequired)?;
131153
132 let can_author_with =154 let can_author_with =
133 sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone());155 sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone());
134156
135 let aura = sc_consensus_aura::start_aura::<_, _, _, _, _, AuraPair, _, _, _>(157 let aura = sc_consensus_aura::start_aura::<_, _, _, _, _, AuraPair, _, _, _>(
136 sc_consensus_aura::slot_duration(&*client)?,158 sc_consensus_aura::slot_duration(&*client)?,
137 client,159 client.clone(),
138 select_chain,160 select_chain,
139 block_import,161 block_import,
140 proposer,162 proposer,
141 service.network(),163 network.clone(),
142 inherent_data_providers.clone(),164 inherent_data_providers.clone(),
143 force_authoring,165 force_authoring,
144 service.keystore(),166 keystore.clone(),
145 can_author_with,167 can_author_with,
146 )?;168 )?;
147169
148 // the AURA authoring task is considered essential, i.e. if it170 // the AURA authoring task is considered essential, i.e. if it
149 // fails we take down the service with it.171 // fails we take down the service with it.
150 service
151 .spawn_essential_task_handle()172 task_manager.spawn_essential_handle().spawn_blocking("aura", aura);
152 .spawn_blocking("aura", aura);
153 }173 }
154174
155 // if the node isn't actively participating in consensus then it doesn't175 // if the node isn't actively participating in consensus then it doesn't
156 // need a keystore, regardless of which protocol we use below.176 // need a keystore, regardless of which protocol we use below.
157 let keystore = if role.is_authority() {177 let keystore = if role.is_authority() {
158 Some(service.keystore() as sp_core::traits::BareCryptoStorePtr)178 Some(keystore as sp_core::traits::BareCryptoStorePtr)
159 } else {179 } else {
160 None180 None
161 };181 };
170 is_authority: role.is_network_authority(),190 is_authority: role.is_network_authority(),
171 };191 };
172192
173 let enable_grandpa = !disable_grandpa;
174 if enable_grandpa {193 if enable_grandpa {
175 // start the full GRANDPA voter194 // start the full GRANDPA voter
176 // NOTE: non-authorities could run the GRANDPA observer protocol, but at195 // NOTE: non-authorities could run the GRANDPA observer protocol, but at
181 let grandpa_config = sc_finality_grandpa::GrandpaParams {200 let grandpa_config = sc_finality_grandpa::GrandpaParams {
182 config: grandpa_config,201 config: grandpa_config,
183 link: grandpa_link,202 link: grandpa_link,
184 network: service.network(),203 network,
185 inherent_data_providers: inherent_data_providers.clone(),204 inherent_data_providers,
186 telemetry_on_connect: Some(service.telemetry_on_connect_stream()),205 telemetry_on_connect: Some(telemetry_connection_sinks.on_connect_stream()),
187 voting_rule: sc_finality_grandpa::VotingRulesBuilder::default().build(),206 voting_rule: sc_finality_grandpa::VotingRulesBuilder::default().build(),
188 prometheus_registry: service.prometheus_registry(),207 prometheus_registry,
189 shared_voter_state: SharedVoterState::empty(),208 shared_voter_state: SharedVoterState::empty(),
190 };209 };
191210
192 // the GRANDPA voter task is considered infallible, i.e.211 // the GRANDPA voter task is considered infallible, i.e.
193 // if it fails we take down the service with it.212 // if it fails we take down the service with it.
194 service.spawn_essential_task_handle().spawn_blocking(213 task_manager.spawn_essential_handle().spawn_blocking(
195 "grandpa-voter",214 "grandpa-voter",
196 sc_finality_grandpa::run_grandpa_voter(grandpa_config)?,215 sc_finality_grandpa::run_grandpa_voter(grandpa_config)?
197 );216 );
198 } else {217 } else {
199 sc_finality_grandpa::setup_disabled_grandpa(218 sc_finality_grandpa::setup_disabled_grandpa(
200 service.client(),219 client,
201 &inherent_data_providers,220 &inherent_data_providers,
202 service.network(),221 network,
203 )?;222 )?;
204 }223 }
205224
225 network_starter.start_network();
206 Ok(service)226 Ok(task_manager)
207}227}
208228
209/// Builds a new service for a light client.229/// Builds a new service for a light client.
210pub fn new_light(config: Configuration) -> Result<impl AbstractService, ServiceError> {230pub fn new_light(config: Configuration) -> Result<TaskManager, ServiceError> {
211 let inherent_data_providers = InherentDataProviders::new();231 let (client, backend, keystore, mut task_manager, on_demand) =
212
213 ServiceBuilder::new_light::<Block, RuntimeApi, Executor>(config)?
214 .with_select_chain(|_config, backend| Ok(LongestChain::new(backend.clone())))?
215 .with_transaction_pool(|builder| {
216 let fetcher = builder
217 .fetcher()
218 .ok_or_else(|| "Trying to start light transaction pool without active fetcher")?;
219
220 let pool_api =
221 sc_transaction_pool::LightChainApi::new(builder.client().clone(), fetcher.clone());232 sc_service::new_light_parts::<Block, RuntimeApi, Executor>(&config)?;
233
222 let pool = sc_transaction_pool::BasicPool::with_revalidation_type(234 let transaction_pool = Arc::new(sc_transaction_pool::BasicPool::new_light(
223 builder.config().transaction_pool.clone(),235 config.transaction_pool.clone(),
224 Arc::new(pool_api),236 config.prometheus_registry(),
225 builder.prometheus_registry(),237 task_manager.spawn_handle(),
226 sc_transaction_pool::RevalidationType::Light,238 client.clone(),
239 on_demand.clone(),
227 );240 ));
228 Ok(pool)241
229 })?
230 .with_import_queue_and_fprb(
231 |_config,
232 client,
233 backend,
234 fetcher,
235 _select_chain,
236 _tx_pool,
237 spawn_task_handle,
238 prometheus_registry| {
239 let fetch_checker = fetcher
240 .map(|fetcher| fetcher.checker().clone())
241 .ok_or_else(|| {
242 "Trying to start light import queue without active fetch checker"
243 })?;
244 let grandpa_block_import = sc_finality_grandpa::light_block_import(242 let grandpa_block_import = sc_finality_grandpa::light_block_import(
245 client.clone(),243 client.clone(), backend.clone(), &(client.clone() as Arc<_>),
246 backend,
247 &(client.clone() as Arc<_>),
248 Arc::new(fetch_checker),244 Arc::new(on_demand.checker().clone()) as Arc<_>,
249 )?;245 )?;
250 let finality_proof_import = grandpa_block_import.clone();246 let finality_proof_import = grandpa_block_import.clone();
251 let finality_proof_request_builder =247 let finality_proof_request_builder =
252 finality_proof_import.create_finality_proof_request_builder();248 finality_proof_import.create_finality_proof_request_builder();
253249
254 let import_queue = sc_consensus_aura::import_queue::<_, _, _, AuraPair, _>(250 let import_queue = sc_consensus_aura::import_queue::<_, _, _, AuraPair, _, _>(
255 sc_consensus_aura::slot_duration(&*client)?,251 sc_consensus_aura::slot_duration(&*client)?,
256 grandpa_block_import,252 grandpa_block_import,
257 None,253 None,
258 Some(Box::new(finality_proof_import)),254 Some(Box::new(finality_proof_import)),
259 client,255 client.clone(),
256 InherentDataProviders::new(),
260 inherent_data_providers.clone(),257 &task_manager.spawn_handle(),
261 spawn_task_handle,
262 prometheus_registry,258 config.prometheus_registry(),
259 sp_consensus::NeverCanAuthor,
263 )?;260 )?;
264261
262 let finality_proof_provider =
265 Ok((import_queue, finality_proof_request_builder))263 GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone());
266 },264
267 )?
268 .with_finality_proof_provider(|client, backend| {
269 // GenesisAuthoritySetProvider is implemented for StorageAndProofProvider
270 let provider = client as Arc<dyn StorageAndProofProvider<_, _>>;265 let (network, network_status_sinks, system_rpc_tx, network_starter) =
266 sc_service::build_network(sc_service::BuildNetworkParams {
267 config: &config,
268 client: client.clone(),
269 transaction_pool: transaction_pool.clone(),
270 spawn_handle: task_manager.spawn_handle(),
271 import_queue,
272 on_demand: Some(on_demand.clone()),
273 block_announce_validator_builder: None,
274 finality_proof_request_builder: Some(finality_proof_request_builder),
275 finality_proof_provider: Some(finality_proof_provider),
276 })?;
277
278 if config.offchain_worker.enabled {
279 sc_service::build_offchain_workers(
280 &config, backend.clone(), task_manager.spawn_handle(), client.clone(), network.clone(),
281 );
282 }
283
271 Ok(Arc::new(GrandpaFinalityProofProvider::new(backend, provider)) as _)284 sc_service::spawn_tasks(sc_service::SpawnTasksParams {
285 remote_blockchain: Some(backend.remote_blockchain()),
286 transaction_pool,
287 task_manager: &mut task_manager,
288 on_demand: Some(on_demand),
289 rpc_extensions_builder: Box::new(|_, _| ()),
290 telemetry_connection_sinks: sc_service::TelemetryConnectionSinks::default(),
291 config,
292 client,
293 keystore,
294 backend,
295 network,
296 network_status_sinks,
297 system_rpc_tx,
272 })?298 })?;
299
273 .build_light()300 network_starter.start_network();
301
302 Ok(task_manager)
274}303}
275304
modifiedpallets/nft/Cargo.tomldiffbeforeafterboth
1[package]
2authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
3description = 'FRAME pallet nft'
4edition = '2018'
5homepage = 'https://substrate.io'
6license = 'Unlicense'
7name = 'pallet-nft'
8repository = 'https://github.com/substrate-developer-hub/nft/'
9version = '2.0.0'
10
11[package.metadata.docs.rs]
12targets = ['x86_64-unknown-linux-gnu']
13
14# alias "parity-scale-code" to "codec"
1[dependencies.codec]15[dependencies.codec]
2default-features = false16default-features = false
3features = ['derive']17features = ['derive']
4package = 'parity-scale-codec'18package = 'parity-scale-codec'
5version = '1.3.0'19version = '1.3.4'
620
7[dependencies.frame-support]21[dependencies.frame-support]
8default-features = false22default-features = false
9git = 'https://github.com/usetech-llc/substrate.git'23git = 'https://github.com/usetech-llc/substrate.git'
10branch = 'rc4_ext_dispatch_reenabled'24branch = 'v2.0.0_release'
11version = '2.0.0-rc4'25version = '2.0.0'
1226
13[dependencies.frame-system]27[dependencies.frame-system]
14default-features = false28default-features = false
15git = 'https://github.com/usetech-llc/substrate.git'29git = 'https://github.com/usetech-llc/substrate.git'
16branch = 'rc4_ext_dispatch_reenabled'30branch = 'v2.0.0_release'
17version = '2.0.0-rc4'31version = '2.0.0'
32
18[dev-dependencies.sp-core]33[dev-dependencies.sp-core]
19default-features = false34default-features = false
20git = 'https://github.com/usetech-llc/substrate.git'35git = 'https://github.com/usetech-llc/substrate.git'
21branch = 'rc4_ext_dispatch_reenabled'36branch = 'v2.0.0_release'
22version = '2.0.0-rc4'37version = '2.0.0'
2338
24[dev-dependencies.sp-io]39[dev-dependencies.sp-io]
25default-features = false40default-features = false
26git = 'https://github.com/usetech-llc/substrate.git'41git = 'https://github.com/usetech-llc/substrate.git'
27branch = 'rc4_ext_dispatch_reenabled'42branch = 'v2.0.0_release'
28version = '2.0.0-rc4'43version = '2.0.0'
2944
30[dependencies.sp-runtime]45[dependencies.sp-runtime]
31default-features = false46default-features = false
32git = 'https://github.com/usetech-llc/substrate.git'47git = 'https://github.com/usetech-llc/substrate.git'
33branch = 'rc4_ext_dispatch_reenabled'48branch = 'v2.0.0_release'
34version = '2.0.0-rc4'49version = '2.0.0'
35 50
36[dependencies]51[dependencies]
37# third-party dependencies52# third-party dependencies
41[dependencies.sp-std]56[dependencies.sp-std]
42default-features = false57default-features = false
43git = 'https://github.com/usetech-llc/substrate.git'58git = 'https://github.com/usetech-llc/substrate.git'
44branch = 'rc4_ext_dispatch_reenabled'59branch = 'v2.0.0_release'
45version = '2.0.0-rc4'60version = '2.0.0'
4661
47[dependencies.transaction-payment]62[dependencies.transaction-payment]
48default-features = false63default-features = false
49git = 'https://github.com/usetech-llc/substrate.git'64git = 'https://github.com/usetech-llc/substrate.git'
50package = 'pallet-transaction-payment'65package = 'pallet-transaction-payment'
51branch = 'rc4_ext_dispatch_reenabled'66branch = 'v2.0.0_release'
52version = '2.0.0-rc4'67version = '2.0.0'
5368
54[package]69[dependencies.frame-benchmarking]
55authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']70version = "2.0.0"
56description = 'FRAME pallet nft'71default-features = false
57edition = '2018'
58homepage = 'https://substrate.io'72git = 'https://github.com/usetech-llc/substrate.git'
59license = 'Unlicense'73branch = 'v2.0.0_release'
60name = 'pallet-nft'74optional = true
61repository = 'https://github.com/substrate-developer-hub/nft/'
62version = '2.0.0-rc4'
63[package.metadata.docs.rs]
64targets = ['x86_64-unknown-linux-gnu']
6575
66[features]76[features]
67default = ['std']77default = ['std']
70 "serde/std",80 "serde/std",
71 'frame-support/std',81 'frame-support/std',
72 'frame-system/std',82 'frame-system/std',
83 'sp-std/std',
73 'sp-runtime/std',84 'sp-runtime/std',
74 'sp-std/std',85 'frame-benchmarking/std',
75]86]
87runtime-benchmarks = ["frame-benchmarking"]
7688
addedpallets/nft/src/benchmarking.rsdiffbeforeafterboth

no changes

addedpallets/nft/src/default_weights.rsdiffbeforeafterboth

no changes

modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
22 },22 },
23 IsSubType, StorageValue,23 IsSubType, StorageValue,
24};24};
25// use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight};
2526
26use frame_system::{self as system, ensure_signed, ensure_root};27use frame_system::{self as system, ensure_signed, ensure_root};
27use sp_runtime::sp_std::prelude::Vec;28use sp_runtime::sp_std::prelude::Vec;
43#[cfg(test)]44#[cfg(test)]
44mod tests;45mod tests;
46
47mod default_weights;
4548
46// Structs49// Structs
47// #region50// #region
181 pub refungible_sponsor_transfer_timeout: u32,184 pub refungible_sponsor_transfer_timeout: u32,
182}185}
186
187pub trait WeightInfo {
188 fn create_collection() -> Weight;
189 fn destroy_collection() -> Weight;
190 fn add_to_white_list() -> Weight;
191 fn remove_from_white_list() -> Weight;
192 fn set_public_access_mode() -> Weight;
193 fn set_mint_permission() -> Weight;
194 fn change_collection_owner() -> Weight;
195 fn add_collection_admin() -> Weight;
196 fn remove_collection_admin() -> Weight;
197 fn set_collection_sponsor() -> Weight;
198 fn confirm_sponsorship() -> Weight;
199 fn remove_collection_sponsor() -> Weight;
200 fn create_item(s: usize, ) -> Weight;
201 fn burn_item() -> Weight;
202 fn transfer() -> Weight;
203 fn approve() -> Weight;
204 fn transfer_from() -> Weight;
205 fn set_offchain_schema() -> Weight;
206}
183207
184pub trait Trait: system::Trait {208pub trait Trait: system::Trait + Sized {
185 type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;209 type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;
210
211 /// Weight information for extrinsics in this pallet.
212 type WeightInfo: WeightInfo;
186}213}
214
215#[cfg(feature = "runtime-benchmarks")]
216mod benchmarking;
187217
188// #endregion218// #endregion
189219
322 /// 352 ///
323 /// * mode: [CollectionMode] collection type and type dependent data.353 /// * mode: [CollectionMode] collection type and type dependent data.
324 // returns collection ID354 // returns collection ID
325 #[weight = 0]355 #[weight = T::WeightInfo::create_collection()]
326 pub fn create_collection(origin,356 pub fn create_collection(origin,
327 collection_name: Vec<u16>,357 collection_name: Vec<u16>,
328 collection_description: Vec<u16>,358 collection_description: Vec<u16>,
418 /// # Arguments448 /// # Arguments
419 /// 449 ///
420 /// * collection_id: collection to destroy.450 /// * collection_id: collection to destroy.
421 #[weight = 0]451 #[weight = T::WeightInfo::destroy_collection()]
422 pub fn destroy_collection(origin, collection_id: u64) -> DispatchResult {452 pub fn destroy_collection(origin, collection_id: u64) -> DispatchResult {
423453
424 let sender = ensure_signed(origin)?;454 let sender = ensure_signed(origin)?;
465 /// * collection_id.495 /// * collection_id.
466 /// 496 ///
467 /// * address.497 /// * address.
468 #[weight = 0]498 #[weight = T::WeightInfo::add_to_white_list()]
469 pub fn add_to_white_list(origin, collection_id: u64, address: T::AccountId) -> DispatchResult{499 pub fn add_to_white_list(origin, collection_id: u64, address: T::AccountId) -> DispatchResult{
470500
471 let sender = ensure_signed(origin)?;501 let sender = ensure_signed(origin)?;
500 /// * collection_id.530 /// * collection_id.
501 /// 531 ///
502 /// * address.532 /// * address.
503 #[weight = 0]533 #[weight = T::WeightInfo::remove_from_white_list()]
504 pub fn remove_from_white_list(origin, collection_id: u64, address: T::AccountId) -> DispatchResult{534 pub fn remove_from_white_list(origin, collection_id: u64, address: T::AccountId) -> DispatchResult{
505535
506 let sender = ensure_signed(origin)?;536 let sender = ensure_signed(origin)?;
529 /// * collection_id.559 /// * collection_id.
530 /// 560 ///
531 /// * mode: [AccessMode]561 /// * mode: [AccessMode]
532 #[weight = 0]562 #[weight = T::WeightInfo::set_public_access_mode()]
533 pub fn set_public_access_mode(origin, collection_id: u64, mode: AccessMode) -> DispatchResult563 pub fn set_public_access_mode(origin, collection_id: u64, mode: AccessMode) -> DispatchResult
534 {564 {
535 let sender = ensure_signed(origin)?;565 let sender = ensure_signed(origin)?;
555 /// * collection_id.585 /// * collection_id.
556 /// 586 ///
557 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.587 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.
558 #[weight = 0]588 #[weight = T::WeightInfo::set_mint_permission()]
559 pub fn set_mint_permission(origin, collection_id: u64, mint_permission: bool) -> DispatchResult589 pub fn set_mint_permission(origin, collection_id: u64, mint_permission: bool) -> DispatchResult
560 {590 {
561 let sender = ensure_signed(origin)?;591 let sender = ensure_signed(origin)?;
579 /// * collection_id.609 /// * collection_id.
580 /// 610 ///
581 /// * new_owner.611 /// * new_owner.
582 #[weight = 0]612 #[weight = T::WeightInfo::change_collection_owner()]
583 pub fn change_collection_owner(origin, collection_id: u64, new_owner: T::AccountId) -> DispatchResult {613 pub fn change_collection_owner(origin, collection_id: u64, new_owner: T::AccountId) -> DispatchResult {
584614
585 let sender = ensure_signed(origin)?;615 let sender = ensure_signed(origin)?;
604 /// * collection_id: ID of the Collection to add admin for.634 /// * collection_id: ID of the Collection to add admin for.
605 /// 635 ///
606 /// * new_admin_id: Address of new admin to add.636 /// * new_admin_id: Address of new admin to add.
607 #[weight = 0]637 #[weight = T::WeightInfo::add_collection_admin()]
608 pub fn add_collection_admin(origin, collection_id: u64, new_admin_id: T::AccountId) -> DispatchResult {638 pub fn add_collection_admin(origin, collection_id: u64, new_admin_id: T::AccountId) -> DispatchResult {
609639
610 let sender = ensure_signed(origin)?;640 let sender = ensure_signed(origin)?;
638 /// * collection_id: ID of the Collection to remove admin for.668 /// * collection_id: ID of the Collection to remove admin for.
639 /// 669 ///
640 /// * account_id: Address of admin to remove.670 /// * account_id: Address of admin to remove.
641 #[weight = 0]671 #[weight = T::WeightInfo::remove_collection_admin()]
642 pub fn remove_collection_admin(origin, collection_id: u64, account_id: T::AccountId) -> DispatchResult {672 pub fn remove_collection_admin(origin, collection_id: u64, account_id: T::AccountId) -> DispatchResult {
643673
644 let sender = ensure_signed(origin)?;674 let sender = ensure_signed(origin)?;
663 /// * collection_id.693 /// * collection_id.
664 /// 694 ///
665 /// * new_sponsor.695 /// * new_sponsor.
666 #[weight = 0]696 #[weight = T::WeightInfo::set_collection_sponsor()]
667 pub fn set_collection_sponsor(origin, collection_id: u64, new_sponsor: T::AccountId) -> DispatchResult {697 pub fn set_collection_sponsor(origin, collection_id: u64, new_sponsor: T::AccountId) -> DispatchResult {
668698
669 let sender = ensure_signed(origin)?;699 let sender = ensure_signed(origin)?;
685 /// # Arguments715 /// # Arguments
686 /// 716 ///
687 /// * collection_id.717 /// * collection_id.
688 #[weight = 0]718 #[weight = T::WeightInfo::confirm_sponsorship()]
689 pub fn confirm_sponsorship(origin, collection_id: u64) -> DispatchResult {719 pub fn confirm_sponsorship(origin, collection_id: u64) -> DispatchResult {
690720
691 let sender = ensure_signed(origin)?;721 let sender = ensure_signed(origin)?;
710 /// # Arguments740 /// # Arguments
711 /// 741 ///
712 /// * collection_id.742 /// * collection_id.
713 #[weight = 0]743 #[weight = T::WeightInfo::remove_collection_sponsor()]
714 pub fn remove_collection_sponsor(origin, collection_id: u64) -> DispatchResult {744 pub fn remove_collection_sponsor(origin, collection_id: u64) -> DispatchResult {
715745
716 let sender = ensure_signed(origin)?;746 let sender = ensure_signed(origin)?;
743 /// * properties: Array of bytes that contains NFT properties. Since NFT Module is agnostic of properties meaning, it is treated purely as an array of bytes.773 /// * properties: Array of bytes that contains NFT properties. Since NFT Module is agnostic of properties meaning, it is treated purely as an array of bytes.
744 /// 774 ///
745 /// * owner: Address, initial owner of the NFT.775 /// * owner: Address, initial owner of the NFT.
776 // #[weight =
777 // (130_000_000 as Weight)
778 // .saturating_add((2135 as Weight).saturating_mul((properties.len() as u64) as Weight))
779 // .saturating_add(RocksDbWeight::get().reads(10 as Weight))
780 // .saturating_add(RocksDbWeight::get().writes(8 as Weight))]
781
746 #[weight = 0]782 #[weight = T::WeightInfo::create_item(properties.len())]
747 pub fn create_item(origin, collection_id: u64, properties: Vec<u8>, owner: T::AccountId) -> DispatchResult {783 pub fn create_item(origin, collection_id: u64, properties: Vec<u8>, owner: T::AccountId) -> DispatchResult {
748784
749 let sender = ensure_signed(origin)?;785 let sender = ensure_signed(origin)?;
811 /// * collection_id: ID of the collection.847 /// * collection_id: ID of the collection.
812 /// 848 ///
813 /// * item_id: ID of NFT to burn.849 /// * item_id: ID of NFT to burn.
814 #[weight = 0]850 #[weight = T::WeightInfo::burn_item()]
815 pub fn burn_item(origin, collection_id: u64, item_id: u64) -> DispatchResult {851 pub fn burn_item(origin, collection_id: u64, item_id: u64) -> DispatchResult {
816852
817 let sender = ensure_signed(origin)?;853 let sender = ensure_signed(origin)?;
864 /// * Non-Fungible Mode: Ignored900 /// * Non-Fungible Mode: Ignored
865 /// * Fungible Mode: Must specify transferred amount901 /// * Fungible Mode: Must specify transferred amount
866 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)902 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)
867 #[weight = 0]903 #[weight = T::WeightInfo::transfer()]
868 pub fn transfer(origin, recipient: T::AccountId, collection_id: u64, item_id: u64, value: u64) -> DispatchResult {904 pub fn transfer(origin, recipient: T::AccountId, collection_id: u64, item_id: u64, value: u64) -> DispatchResult {
869905
870 let sender = ensure_signed(origin)?;906 let sender = ensure_signed(origin)?;
906 /// * collection_id.942 /// * collection_id.
907 /// 943 ///
908 /// * item_id: ID of the item.944 /// * item_id: ID of the item.
909 #[weight = 0]945 #[weight = T::WeightInfo::approve()]
910 pub fn approve(origin, approved: T::AccountId, collection_id: u64, item_id: u64) -> DispatchResult {946 pub fn approve(origin, approved: T::AccountId, collection_id: u64, item_id: u64) -> DispatchResult {
911947
912 let sender = ensure_signed(origin)?;948 let sender = ensure_signed(origin)?;
964 /// * item_id: ID of the item.1000 /// * item_id: ID of the item.
965 /// 1001 ///
966 /// * value: Amount to transfer.1002 /// * value: Amount to transfer.
967 #[weight = 0]1003 #[weight = T::WeightInfo::transfer_from()]
968 pub fn transfer_from(origin, from: T::AccountId, recipient: T::AccountId, collection_id: u64, item_id: u64, value: u64 ) -> DispatchResult {1004 pub fn transfer_from(origin, from: T::AccountId, recipient: T::AccountId, collection_id: u64, item_id: u64, value: u64 ) -> DispatchResult {
9691005
970 let sender = ensure_signed(origin)?;1006 let sender = ensure_signed(origin)?;
974 if <ApprovedList<T>>::contains_key(collection_id, (item_id, from.clone())) {1010 if <ApprovedList<T>>::contains_key(collection_id, (item_id, from.clone())) {
975 let list_itm = <ApprovedList<T>>::get(collection_id, (item_id, from.clone()));1011 let list_itm = <ApprovedList<T>>::get(collection_id, (item_id, from.clone()));
976 let opt_item = list_itm.iter().find(|i| i.approved == sender.clone());1012 let opt_item = list_itm.iter().find(|i| i.approved == sender.clone());
977 appoved_transfer = opt_item.is_some();1013 if opt_item.is_some()
1014 {
1015 appoved_transfer = true;
978 ensure!(opt_item.unwrap().amount >= value, "Requested value more than approved");1016 ensure!(opt_item.unwrap().amount >= value, "Requested value more than approved");
1017 }
979 }1018 }
9801019
981 // Transfer permissions check1020 // Transfer permissions check
1033 /// * collection_id.1072 /// * collection_id.
1034 /// 1073 ///
1035 /// * schema: String representing the offchain data schema.1074 /// * schema: String representing the offchain data schema.
1036 #[weight = 0]1075 #[weight = T::WeightInfo::set_offchain_schema()]
1037 pub fn set_offchain_schema(1076 pub fn set_offchain_schema(
1038 origin,1077 origin,
1039 collection_id: u64,1078 collection_id: u64,
1791impl<T: Trait + transaction_payment::Trait + Send + Sync> ChargeTransactionPayment<T>1830impl<T: Trait + transaction_payment::Trait + Send + Sync> ChargeTransactionPayment<T>
1792where1831where
1793 T::Call:1832 T::Call:
1794 Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + IsSubType<Module<T>, T>,1833 Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + IsSubType<Call<T>>,
1795 BalanceOf<T>: Send + Sync + FixedPointOperand,1834 BalanceOf<T>: Send + Sync + FixedPointOperand,
1796{1835{
1797 /// utility constructor. Used only in client/factory code.1836 /// utility constructor. Used only in client/factory code.
1928 for ChargeTransactionPayment<T>1967 for ChargeTransactionPayment<T>
1929where1968where
1930 BalanceOf<T>: Send + Sync + From<u64> + FixedPointOperand,1969 BalanceOf<T>: Send + Sync + From<u64> + FixedPointOperand,
1931 T::Call:1970 T::Call: Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + IsSubType<Call<T>>,
1932 Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + IsSubType<Module<T>, T>,
1933{1971{
1934 const IDENTIFIER: &'static str = "ChargeTransactionPayment";1972 const IDENTIFIER: &'static str = "ChargeTransactionPayment";
1935 type AccountId = T::AccountId;1973 type AccountId = T::AccountId;
modifiedpallets/nft/src/mock.rsdiffbeforeafterboth
35}35}
3636
37impl system::Trait for Test {37impl system::Trait for Test {
38 type BaseCallFilter = ();
38 type Origin = Origin;39 type Origin = Origin;
39 type Call = ();40 type Call = ();
40 type Index = u64;41 type Index = u64;
47 type Event = ();48 type Event = ();
48 type BlockHashCount = BlockHashCount;49 type BlockHashCount = BlockHashCount;
49 type MaximumBlockWeight = MaximumBlockWeight;50 type MaximumBlockWeight = MaximumBlockWeight;
50 type MaximumBlockLength = MaximumBlockLength;51 type DbWeight = ();
51 type AvailableBlockRatio = AvailableBlockRatio;52 type BlockExecutionWeight = ();
52 type BaseCallFilter = ();53 type ExtrinsicBaseWeight = ();
53 type DbWeight = RocksDbWeight;54 type MaximumExtrinsicWeight = MaximumBlockWeight;
54 type BlockExecutionWeight = BlockExecutionWeight;55 type MaximumBlockLength = MaximumBlockLength;
55 type ExtrinsicBaseWeight = ExtrinsicBaseWeight;56 type AvailableBlockRatio = AvailableBlockRatio;
56 type MaximumExtrinsicWeight = MaximumExtrinsicWeight;
57 type Version = ();57 type Version = ();
58 type ModuleToIndex = ();58 type PalletInfo = ();
59 type AccountData = ();59 type AccountData = ();
60 type OnNewAccount = ();60 type OnNewAccount = ();
61 type OnKilledAccount = ();61 type OnKilledAccount = ();
62 type SystemWeightInfo = ();
62}63}
63impl Trait for Test {64impl Trait for Test {
64 type Event = ();65 type Event = ();
modifiedpallets/nft/src/tests.rsdiffbeforeafterboth
315 assert_eq!(TemplateModule::fungible_item_id(1, 1).value, 1000);315 assert_eq!(TemplateModule::fungible_item_id(1, 1).value, 1000);
316 assert_eq!(TemplateModule::balance_count(1, 1), 0);316 assert_eq!(TemplateModule::balance_count(1, 1), 0);
317 assert_eq!(TemplateModule::balance_count(1, 2), 1000);317 assert_eq!(TemplateModule::balance_count(1, 2), 1000);
318 assert_eq!(TemplateModule::address_tokens(1, 1), []);318 // assert_eq!(TemplateModule::address_tokens(1, 1), []);
319 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);319 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);
320320
321 // split item scenario321 // split item scenario
398 );398 );
399 assert_eq!(TemplateModule::balance_count(1, 1), 0);399 assert_eq!(TemplateModule::balance_count(1, 1), 0);
400 assert_eq!(TemplateModule::balance_count(1, 2), 1000);400 assert_eq!(TemplateModule::balance_count(1, 2), 1000);
401 assert_eq!(TemplateModule::address_tokens(1, 1), []);401 // assert_eq!(TemplateModule::address_tokens(1, 1), []);
402 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);402 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);
403403
404 // split item scenario404 // split item scenario
488 assert_eq!(TemplateModule::nft_item_id(1, 1).owner, 2);488 assert_eq!(TemplateModule::nft_item_id(1, 1).owner, 2);
489 assert_eq!(TemplateModule::balance_count(1, 1), 0);489 assert_eq!(TemplateModule::balance_count(1, 1), 0);
490 assert_eq!(TemplateModule::balance_count(1, 2), 1);490 assert_eq!(TemplateModule::balance_count(1, 2), 1);
491 assert_eq!(TemplateModule::address_tokens(1, 1), []);491 // assert_eq!(TemplateModule::address_tokens(1, 1), []);
492 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);492 assert_eq!(TemplateModule::address_tokens(1, 2), [1]);
493 });493 });
494}494}
770 ));770 ));
771 assert_eq!(TemplateModule::balance_count(1, 1), 0);771 assert_eq!(TemplateModule::balance_count(1, 1), 0);
772 assert_eq!(TemplateModule::balance_count(1, 3), 1000);772 assert_eq!(TemplateModule::balance_count(1, 3), 1000);
773 assert_eq!(TemplateModule::address_tokens(1, 1), []);773 // assert_eq!(TemplateModule::address_tokens(1, 1), []);
774 assert_eq!(TemplateModule::address_tokens(1, 3), [2]);774 assert_eq!(TemplateModule::address_tokens(1, 3), [2]);
775775
776 assert_eq!(TemplateModule::approved(1, (1, 1)).len(), 0);776 assert_eq!(TemplateModule::approved(1, (1, 1)).len(), 0);
23002300
2301 assert_noop!(2301 assert_noop!(
2302 TemplateModule::create_item(origin2.clone(), 1, [1, 2, 3].to_vec(), 2),2302 TemplateModule::create_item(origin2.clone(), 1, [1, 2, 3].to_vec(), 2),
2303 "Collection is not in mint mode"2303 "Public minting is not allowed for this collection"
2304 );2304 );
2305 });2305 });
2306}2306}
23472347
2348 assert_noop!(2348 assert_noop!(
2349 TemplateModule::create_item(origin2.clone(), 1, [1, 2, 3].to_vec(), 2),2349 TemplateModule::create_item(origin2.clone(), 1, [1, 2, 3].to_vec(), 2),
2350 "Collection is not in mint mode"2350 "Public minting is not allowed for this collection"
2351 );2351 );
2352 });2352 });
2353}2353}
modifiedruntime/Cargo.tomldiffbeforeafterboth
1[dependencies.aura]
2default-features = false
3git = 'https://github.com/usetech-llc/substrate.git'
4package = 'pallet-aura'
5branch = 'rc4_ext_dispatch_reenabled'
6version = '2.0.0-rc4'
7
8[dependencies.balances]
9default-features = false
10git = 'https://github.com/usetech-llc/substrate.git'
11package = 'pallet-balances'
12branch = 'rc4_ext_dispatch_reenabled'
13version = '2.0.0-rc4'
14
15[dependencies.codec]
16default-features = false
17features = ['derive']
18package = 'parity-scale-codec'
19version = '1.3.0'
20
21[dependencies.contracts]
22git = 'https://github.com/usetech-llc/substrate.git'
23default-features = false
24package = 'pallet-contracts'
25branch = 'rc4_ext_dispatch_reenabled'
26version = '2.0.0-rc4'
27
28[dependencies.contracts-primitives]
29git = 'https://github.com/usetech-llc/substrate.git'
30default-features = false
31package = 'pallet-contracts-primitives'
32branch = 'rc4_ext_dispatch_reenabled'
33version = '2.0.0-rc4'
34
35[dependencies.contracts-rpc-runtime-api]
36git = 'https://github.com/usetech-llc/substrate.git'
37default-features = false
38package = 'pallet-contracts-rpc-runtime-api'
39version = '0.8.0-rc4'
40branch = 'rc4_ext_dispatch_reenabled'
41
42[dependencies.frame-executive]
43default-features = false
44git = 'https://github.com/usetech-llc/substrate.git'
45branch = 'rc4_ext_dispatch_reenabled'
46version = '2.0.0-rc4'
47
48[dependencies.frame-support]
49default-features = false
50git = 'https://github.com/usetech-llc/substrate.git'
51branch = 'rc4_ext_dispatch_reenabled'
52version = '2.0.0-rc4'
53
54[dependencies.grandpa]
55default-features = false
56git = 'https://github.com/usetech-llc/substrate.git'
57package = 'pallet-grandpa'
58branch = 'rc4_ext_dispatch_reenabled'
59version = '2.0.0-rc4'
60
61[dependencies.randomness-collective-flip]
62default-features = false
63git = 'https://github.com/usetech-llc/substrate.git'
64package = 'pallet-randomness-collective-flip'
65branch = 'rc4_ext_dispatch_reenabled'
66version = '2.0.0-rc4'
67
68[dependencies.serde]
69features = ['derive']
70optional = true
71version = '1.0.101'
72
73[dependencies.sp-api]
74default-features = false
75git = 'https://github.com/usetech-llc/substrate.git'
76branch = 'rc4_ext_dispatch_reenabled'
77version = '2.0.0-rc4'
78
79[dependencies.sp-block-builder]
80default-features = false
81git = 'https://github.com/usetech-llc/substrate.git'
82branch = 'rc4_ext_dispatch_reenabled'
83version = '2.0.0-rc4'
84
85[dependencies.sp-consensus-aura]
86default-features = false
87git = 'https://github.com/usetech-llc/substrate.git'
88branch = 'rc4_ext_dispatch_reenabled'
89version = '0.8.0-rc4'
90
91[dependencies.sp-core]
92default-features = false
93git = 'https://github.com/usetech-llc/substrate.git'
94branch = 'rc4_ext_dispatch_reenabled'
95version = '2.0.0-rc4'
96
97[dependencies.sp-inherents]
98default-features = false
99git = 'https://github.com/usetech-llc/substrate.git'
100branch = 'rc4_ext_dispatch_reenabled'
101version = '2.0.0-rc4'
102
103[dependencies.sp-io]
104default-features = false
105git = 'https://github.com/usetech-llc/substrate.git'
106branch = 'rc4_ext_dispatch_reenabled'
107version = '2.0.0-rc4'
108
109[dependencies.sp-offchain]
110default-features = false
111git = 'https://github.com/usetech-llc/substrate.git'
112branch = 'rc4_ext_dispatch_reenabled'
113version = '2.0.0-rc4'
114
115[dependencies.sp-runtime]
116default-features = false
117git = 'https://github.com/usetech-llc/substrate.git'
118branch = 'rc4_ext_dispatch_reenabled'
119version = '2.0.0-rc4'
120
121[dependencies.sp-session]
122default-features = false
123git = 'https://github.com/usetech-llc/substrate.git'
124branch = 'rc4_ext_dispatch_reenabled'
125version = '2.0.0-rc4'
126
127[dependencies.sp-std]
128default-features = false
129git = 'https://github.com/usetech-llc/substrate.git'
130branch = 'rc4_ext_dispatch_reenabled'
131version = '2.0.0-rc4'
132
133[dependencies.sp-transaction-pool]
134default-features = false
135git = 'https://github.com/usetech-llc/substrate.git'
136branch = 'rc4_ext_dispatch_reenabled'
137version = '2.0.0-rc4'
138
139[dependencies.sp-version]
140default-features = false
141git = 'https://github.com/usetech-llc/substrate.git'
142branch = 'rc4_ext_dispatch_reenabled'
143version = '2.0.0-rc4'
144
145[dependencies.sudo]
146default-features = false
147git = 'https://github.com/usetech-llc/substrate.git'
148package = 'pallet-sudo'
149branch = 'rc4_ext_dispatch_reenabled'
150version = '2.0.0-rc4'
151
152[dependencies.system]
153default-features = false
154git = 'https://github.com/usetech-llc/substrate.git'
155package = 'frame-system'
156branch = 'rc4_ext_dispatch_reenabled'
157version = '2.0.0-rc4'
158
159[dependencies.nft]
160default-features = false
161package = 'pallet-nft'
162path = '../pallets/nft'
163version = '2.0.0-rc4'
164
165[dependencies.timestamp]
166default-features = false
167git = 'https://github.com/usetech-llc/substrate.git'
168package = 'pallet-timestamp'
169branch = 'rc4_ext_dispatch_reenabled'
170version = '2.0.0-rc4'
171
172[dependencies.transaction-payment]
173default-features = false
174git = 'https://github.com/usetech-llc/substrate.git'
175package = 'pallet-transaction-payment'
176branch = 'rc4_ext_dispatch_reenabled'
177version = '2.0.0-rc4'
178[build-dependencies.wasm-builder-runner]
179git = 'https://github.com/usetech-llc/substrate.git'
180package = 'substrate-wasm-builder-runner'
181branch = 'rc4_ext_dispatch_reenabled'
182version = '1.0.5'
183
184[package]1[package]
185authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']2authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
188license = 'Unlicense'5license = 'Unlicense'
189name = 'nft-runtime'6name = 'nft-runtime'
190repository = 'https://github.com/usetech-llc/nft_parachain/'7repository = 'https://github.com/usetech-llc/nft_parachain/'
191version = '2.0.0-rc4'8version = '2.0.0'
9
192[package.metadata.docs.rs]10[package.metadata.docs.rs]
193targets = ['x86_64-unknown-linux-gnu']11targets = ['x86_64-unknown-linux-gnu']
12
13[build-dependencies]
14wasm-builder-runner = { package = 'substrate-wasm-builder-runner', version = '1.0.5' }
15
16# alias "parity-scale-code" to "codec"
17[dependencies.codec]
18default-features = false
19features = ['derive']
20package = 'parity-scale-codec'
21version = '1.3.4'
22
23[dependencies]
24hex-literal = { optional = true, version = '0.3.1' }
25serde = { features = ['derive'], optional = true, version = '1.0.101' }
26
27# local dependencies
28pallet-nft = { path = '../pallets/nft', default-features = false, version = '2.0.0' }
29
30# Substrate dependencies
31frame-benchmarking = { default-features = false, optional = true, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
32frame-executive = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
33frame-support = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
34frame-system = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
35frame-system-benchmarking = { default-features = false, optional = true, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
36frame-system-rpc-runtime-api = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
37pallet-aura = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
38pallet-balances = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
39pallet-contracts = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
40pallet-contracts-primitives = { default-features = false, version = '2.0.0', git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
41pallet-contracts-rpc-runtime-api = { default-features = false, version = '0.8.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
42pallet-grandpa = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
43pallet-randomness-collective-flip = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
44pallet-sudo = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
45pallet-timestamp = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
46pallet-transaction-payment = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
47pallet-transaction-payment-rpc-runtime-api = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
48sp-api = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
49sp-block-builder = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
50sp-consensus-aura = { default-features = false, version = '0.8.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
51sp-core = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
52sp-inherents = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
53sp-offchain = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
54sp-runtime = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
55sp-session = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
56sp-std = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
57sp-transaction-pool = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
58sp-version = { default-features = false, version = '2.0.0' , git = 'https://github.com/usetech-llc/substrate.git', branch = 'v2.0.0_release' }
19459
195[features]60[features]
196default = ['std']61default = ['std']
62runtime-benchmarks = [
63 'hex-literal',
64 'frame-benchmarking',
65 'frame-support/runtime-benchmarks',
66 'frame-system-benchmarking',
67 'frame-system/runtime-benchmarks',
68 'pallet-balances/runtime-benchmarks',
69 'pallet-timestamp/runtime-benchmarks',
70 'pallet-nft/runtime-benchmarks',
71 'sp-runtime/runtime-benchmarks',
72]
197std = [73std = [
198 'aura/std',74 'codec/std',
75 'serde',
76 'frame-executive/std',
77 'frame-support/std',
199 'balances/std',78 'frame-system/std',
79 'frame-system-rpc-runtime-api/std',
200 'codec/std',80 'pallet-aura/std',
81 'pallet-balances/std',
201 'contracts/std',82 'pallet-contracts/std',
202 'contracts-primitives/std',83 'pallet-contracts-primitives/std',
203 'contracts-rpc-runtime-api/std',84 'pallet-contracts-rpc-runtime-api/std',
85 'pallet-grandpa/std',
204 'frame-executive/std',86 'pallet-randomness-collective-flip/std',
205 'frame-support/std',87 'pallet-sudo/std',
88 'pallet-timestamp/std',
206 'grandpa/std',89 'pallet-transaction-payment/std',
207 'randomness-collective-flip/std',90 'pallet-transaction-payment-rpc-runtime-api/std',
208 'serde',91 'pallet-nft/std',
209 'sp-api/std',92 'sp-api/std',
210 'sp-block-builder/std',93 'sp-block-builder/std',
211 'sp-consensus-aura/std',94 'sp-consensus-aura/std',
212 'sp-core/std',95 'sp-core/std',
213 'sp-inherents/std',96 'sp-inherents/std',
214 'sp-io/std',
215 'sp-offchain/std',97 'sp-offchain/std',
216 'sp-runtime/std',98 'sp-runtime/std',
217 'sp-session/std',99 'sp-session/std',
218 'sp-std/std',100 'sp-std/std',
219 'sp-transaction-pool/std',101 'sp-transaction-pool/std',
220 'sp-version/std',102 'sp-version/std',
221 'sudo/std',
222 'system/std',
223 'timestamp/std',
224 'transaction-payment/std',
225 'nft/std',
226]103]
227104
modifiedruntime/build.rsdiffbeforeafterboth
3fn main() {3fn main() {
4 WasmBuilder::new()4 WasmBuilder::new()
5 .with_current_project()5 .with_current_project()
6 .with_wasm_builder_from_crates("1.0.11")6 .with_wasm_builder_from_crates("2.0.0")
7 .export_heap_base()7 .export_heap_base()
8 .import_memory()8 .import_memory()
9 .build()9 .build()
modifiedruntime/src/lib.rsdiffbeforeafterboth
8#[cfg(feature = "std")]8#[cfg(feature = "std")]
9include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));9include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
1010
11use contracts_rpc_runtime_api::ContractExecResult;11use pallet_contracts_rpc_runtime_api::ContractExecResult;
12use grandpa::fg_primitives;12use pallet_grandpa::fg_primitives;
13use grandpa::{AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList};13use pallet_grandpa::{AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList};
14use sp_api::impl_runtime_apis;14use sp_api::impl_runtime_apis;
15use sp_consensus_aura::sr25519::AuthorityId as AuraId;15use sp_consensus_aura::sr25519::AuthorityId as AuraId;
16use sp_core::{crypto::KeyTypeId, OpaqueMetadata};16use sp_core::{crypto::KeyTypeId, OpaqueMetadata};
29use sp_version::RuntimeVersion;29use sp_version::RuntimeVersion;
3030
31// A few exports that help ease life for downstream crates.31// A few exports that help ease life for downstream crates.
32pub use balances::Call as BalancesCall;32pub use pallet_balances::Call as BalancesCall;
33pub use contracts::Schedule as ContractsSchedule;33pub use pallet_contracts::Schedule as ContractsSchedule;
34pub use frame_support::{34pub use frame_support::{
35 construct_runtime,35 construct_runtime,
36 dispatch::DispatchResult,36 dispatch::DispatchResult,
49#[cfg(any(feature = "std", test))]49#[cfg(any(feature = "std", test))]
50pub use sp_runtime::BuildStorage;50pub use sp_runtime::BuildStorage;
51use sp_runtime::Perbill;51use sp_runtime::Perbill;
52use system::{self as system};52use frame_system::{self as system};
5353
54pub use timestamp::Call as TimestampCall;54pub use pallet_timestamp::Call as TimestampCall;
5555
56/// Re-export a nft pallet56/// Re-export a nft pallet
57/// TODO: Check this re-export. Is this safe and good style?57/// TODO: Check this re-export. Is this safe and good style?
58extern crate nft;58extern crate pallet_nft;
59pub use nft::*;59pub use pallet_nft::*;
6060
61/// An index to a block.61/// An index to a block.
62pub type BlockNumber = u32;62pub type BlockNumber = u32;
84/// Digest item type.84/// Digest item type.
85pub type DigestItem = generic::DigestItem<Hash>;85pub type DigestItem = generic::DigestItem<Hash>;
86
87mod nft_weights;
8688
87/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know89/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know
88/// the specifics of the runtime. They can then be made to be agnostic over specific formats90/// the specifics of the runtime. They can then be made to be agnostic over specific formats
194 type AvailableBlockRatio = AvailableBlockRatio;196 type AvailableBlockRatio = AvailableBlockRatio;
195 /// Version of the runtime.197 /// Version of the runtime.
196 type Version = Version;198 type Version = Version;
197 /// Converts a module to the index of the module in `construct_runtime!`.
198 /// This type is being generated by `construct_runtime!`.199 /// This type is being generated by `construct_runtime!`.
199 type ModuleToIndex = ModuleToIndex;200 type PalletInfo = PalletInfo;
200 /// What to do if a new account is created.201 /// What to do if a new account is created.
201 type OnNewAccount = ();202 type OnNewAccount = ();
202 /// What to do if an account is fully reaped from the system.203 /// What to do if an account is fully reaped from the system.
203 type OnKilledAccount = ();204 type OnKilledAccount = ();
204 /// The data to be stored in an account.205 /// The data to be stored in an account.
205 type AccountData = balances::AccountData<Balance>;206 type AccountData = pallet_balances::AccountData<Balance>;
207 /// Weight information for the extrinsics of this pallet.
208 type SystemWeightInfo = ();
206}209}
207210
208impl aura::Trait for Runtime {211impl pallet_aura::Trait for Runtime {
209 type AuthorityId = AuraId;212 type AuthorityId = AuraId;
210}213}
211214
212impl grandpa::Trait for Runtime {215impl pallet_grandpa::Trait for Runtime {
213 type Event = Event;216 type Event = Event;
214 type Call = Call;217 type Call = Call;
215218
225228
226 type HandleEquivocation = ();229 type HandleEquivocation = ();
230
231 type WeightInfo = ();
227}232}
228233
229parameter_types! {234parameter_types! {
230 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;235 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;
231}236}
232237
233impl timestamp::Trait for Runtime {238impl pallet_timestamp::Trait for Runtime {
234 /// A timestamp: milliseconds since the unix epoch.239 /// A timestamp: milliseconds since the unix epoch.
235 type Moment = u64;240 type Moment = u64;
236 type OnTimestampSet = Aura;241 type OnTimestampSet = Aura;
237 type MinimumPeriod = MinimumPeriod;242 type MinimumPeriod = MinimumPeriod;
243 type WeightInfo = ();
238}244}
239245
240parameter_types! {246parameter_types! {
241 // pub const ExistentialDeposit: u128 = 500;247 // pub const ExistentialDeposit: u128 = 500;
242 pub const ExistentialDeposit: u128 = 0;248 pub const ExistentialDeposit: u128 = 0;
249 pub const MaxLocks: u32 = 50;
243}250}
244251
245impl balances::Trait for Runtime {252impl pallet_balances::Trait for Runtime {
253 type MaxLocks = MaxLocks;
246 /// The type for recording an account's balance.254 /// The type for recording an account's balance.
247 type Balance = Balance;255 type Balance = Balance;
248 /// The ubiquitous event type.256 /// The ubiquitous event type.
249 type Event = Event;257 type Event = Event;
250 type DustRemoval = ();258 type DustRemoval = ();
251 type ExistentialDeposit = ExistentialDeposit;259 type ExistentialDeposit = ExistentialDeposit;
252 type AccountStore = System;260 type AccountStore = System;
261 type WeightInfo = ();
253}262}
254263
255pub const MILLICENTS: Balance = 1_000_000_000;264pub const MILLICENTS: Balance = 1_000_000_000;
263 pub const SurchargeReward: Balance = 150 * MILLICENTS;272 pub const SurchargeReward: Balance = 150 * MILLICENTS;
264}273}
265274
266impl contracts::Trait for Runtime {275impl pallet_contracts::Trait for Runtime {
267 type Call = Call;
268 type Time = Timestamp;276 type Time = Timestamp;
269 type Randomness = RandomnessCollectiveFlip;277 type Randomness = RandomnessCollectiveFlip;
270 type Currency = Balances;278 type Currency = Balances;
271 type Event = Event;279 type Event = Event;
272 type DetermineContractAddress = contracts::SimpleAddressDeterminer<Runtime>;280 type DetermineContractAddress = pallet_contracts::SimpleAddressDeterminer<Runtime>;
273 type TrieIdGenerator = contracts::TrieIdFromParentCounter<Runtime>;281 type TrieIdGenerator = pallet_contracts::TrieIdFromParentCounter<Runtime>;
274 type RentPayment = ();282 type RentPayment = ();
275 type SignedClaimHandicap = contracts::DefaultSignedClaimHandicap;283 type SignedClaimHandicap = pallet_contracts::DefaultSignedClaimHandicap;
276 type TombstoneDeposit = TombstoneDeposit;284 type TombstoneDeposit = TombstoneDeposit;
277 type StorageSizeOffset = contracts::DefaultStorageSizeOffset;285 type StorageSizeOffset = pallet_contracts::DefaultStorageSizeOffset;
278 type RentByteFee = RentByteFee;286 type RentByteFee = RentByteFee;
279 type RentDepositOffset = RentDepositOffset;287 type RentDepositOffset = RentDepositOffset;
280 type SurchargeReward = SurchargeReward;288 type SurchargeReward = SurchargeReward;
281 type MaxDepth = contracts::DefaultMaxDepth;289 type MaxDepth = pallet_contracts::DefaultMaxDepth;
282 type MaxValueSize = contracts::DefaultMaxValueSize;290 type MaxValueSize = pallet_contracts::DefaultMaxValueSize;
283 type WeightPrice = transaction_payment::Module<Self>;291 type WeightPrice = pallet_transaction_payment::Module<Self>;
284}292}
285293
286parameter_types! {294parameter_types! {
287 pub const TransactionByteFee: Balance = 1;295 pub const TransactionByteFee: Balance = 10 * MILLICENTS;
288}296}
289297
290impl transaction_payment::Trait for Runtime {298impl pallet_transaction_payment::Trait for Runtime {
291 type Currency = balances::Module<Runtime>;299 type Currency = pallet_balances::Module<Runtime>;
292 type OnTransactionPayment = ();300 type OnTransactionPayment = ();
293 type TransactionByteFee = TransactionByteFee;301 type TransactionByteFee = TransactionByteFee;
294 type WeightToFee = IdentityFee<Balance>;302 type WeightToFee = IdentityFee<Balance>;
295 type FeeMultiplierUpdate = ();303 type FeeMultiplierUpdate = ();
296}304}
297305
298impl sudo::Trait for Runtime {306impl pallet_sudo::Trait for Runtime {
299 type Event = Event;307 type Event = Event;
300 type Call = Call;308 type Call = Call;
301}309}
302310
303/// Used for the module nft in `./nft.rs`311/// Used for the module nft in `./nft.rs`
304impl nft::Trait for Runtime {312impl pallet_nft::Trait for Runtime {
305 type Event = Event;313 type Event = Event;
314 type WeightInfo = nft_weights::WeightInfo;
306}315}
307316
308construct_runtime!(317construct_runtime!(
312 UncheckedExtrinsic = UncheckedExtrinsic321 UncheckedExtrinsic = UncheckedExtrinsic
313 {322 {
314 System: system::{Module, Call, Config, Storage, Event<T>},323 System: system::{Module, Call, Config, Storage, Event<T>},
315 RandomnessCollectiveFlip: randomness_collective_flip::{Module, Call, Storage},324 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage},
316 Contracts: contracts::{Module, Call, Config, Storage, Event<T>},325 Contracts: pallet_contracts::{Module, Call, Config, Storage, Event<T>},
317 Timestamp: timestamp::{Module, Call, Storage, Inherent},326 Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent},
318 Aura: aura::{Module, Config<T>, Inherent(Timestamp)},327 Aura: pallet_aura::{Module, Config<T>, Inherent},
319 Grandpa: grandpa::{Module, Call, Storage, Config, Event},328 Grandpa: pallet_grandpa::{Module, Call, Storage, Config, Event},
320 Balances: balances::{Module, Call, Storage, Config<T>, Event<T>},329 Balances: pallet_balances::{Module, Call, Storage, Config<T>, Event<T>},
321 TransactionPayment: transaction_payment::{Module, Storage},330 TransactionPayment: pallet_transaction_payment::{Module, Storage},
322 Sudo: sudo::{Module, Call, Config<T>, Storage, Event<T>},331 Sudo: pallet_sudo::{Module, Call, Config<T>, Storage, Event<T>},
323 Nft: nft::{Module, Call, Config<T>, Storage, Event<T>},332 Nft: pallet_nft::{Module, Call, Config<T>, Storage, Event<T>},
324 }333 }
325);334);
326335
342 system::CheckEra<Runtime>,351 system::CheckEra<Runtime>,
343 system::CheckNonce<Runtime>,352 system::CheckNonce<Runtime>,
344 system::CheckWeight<Runtime>,353 system::CheckWeight<Runtime>,
345 nft::ChargeTransactionPayment<Runtime>,354 pallet_nft::ChargeTransactionPayment<Runtime>,
346);355);
347/// Unchecked extrinsic type as expected by this runtime.356/// Unchecked extrinsic type as expected by this runtime.
348pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;357pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;
354363
355impl_runtime_apis! {364impl_runtime_apis! {
356365
357 impl contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, BlockNumber>366 impl pallet_contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, BlockNumber>
358 for Runtime367 for Runtime
359 {368 {
360 fn call(369 fn call(
364 gas_limit: u64,373 gas_limit: u64,
365 input_data: Vec<u8>,374 input_data: Vec<u8>,
366 ) -> ContractExecResult {375 ) -> ContractExecResult {
367 let exec_result =376 let (exec_result, gas_consumed) =
368 Contracts::bare_call(origin, dest.into(), value, gas_limit, input_data);377 Contracts::bare_call(origin, dest.into(), value, gas_limit, input_data);
369 match exec_result {378 match exec_result {
370 Ok(v) => ContractExecResult::Success {379 Ok(v) => ContractExecResult::Success {
371 status: v.status,380 flags: v.flags.bits(),
372 data: v.data,381 data: v.data,
382 gas_consumed: gas_consumed,
373 },383 },
374 Err(_) => ContractExecResult::Error,384 Err(_) => ContractExecResult::Error,
375 }385 }
378 fn get_storage(388 fn get_storage(
379 address: AccountId,389 address: AccountId,
380 key: [u8; 32],390 key: [u8; 32],
381 ) -> contracts_primitives::GetStorageResult {391 ) -> pallet_contracts_primitives::GetStorageResult {
382 Contracts::get_storage(address, key)392 Contracts::get_storage(address, key)
383 }393 }
384394
385 fn rent_projection(395 fn rent_projection(
386 address: AccountId,396 address: AccountId,
387 ) -> contracts_primitives::RentProjectionResult<BlockNumber> {397 ) -> pallet_contracts_primitives::RentProjectionResult<BlockNumber> {
388 Contracts::rent_projection(address)398 Contracts::rent_projection(address)
389 }399 }
390 }400 }
476 Grandpa::grandpa_authorities()486 Grandpa::grandpa_authorities()
477 }487 }
478488
479 fn submit_report_equivocation_extrinsic(489 fn submit_report_equivocation_unsigned_extrinsic(
480 _equivocation_proof: fg_primitives::EquivocationProof<490 _equivocation_proof: fg_primitives::EquivocationProof<
481 <Block as BlockT>::Hash,491 <Block as BlockT>::Hash,
482 NumberFor<Block>,492 NumberFor<Block>,
497 }507 }
498 }508 }
509
510 impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
511 fn account_nonce(account: AccountId) -> Index {
512 System::account_nonce(account)
513 }
514 }
515
516 impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
517 fn query_info(
518 uxt: <Block as BlockT>::Extrinsic,
519 len: u32,
520 ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo<Balance> {
521 TransactionPayment::query_info(uxt, len)
522 }
523 }
524
525 #[cfg(feature = "runtime-benchmarks")]
526 impl frame_benchmarking::Benchmark<Block> for Runtime {
527 fn dispatch_benchmark(
528 config: frame_benchmarking::BenchmarkConfig
529 ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
530 use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey};
531
532 let whitelist: Vec<TrackedStorageKey> = vec![
533 // Alice account
534 hex_literal::hex!("d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d").to_vec().into(),
535 // // Total Issuance
536 // hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(),
537 // // Execution Phase
538 // hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),
539 // // Event Count
540 // hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),
541 // // System Events
542 // hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),
543 ];
544
545 let mut batches = Vec::<BenchmarkBatch>::new();
546 let params = (&config, &whitelist);
547
548 add_benchmark!(params, batches, pallet_nft, Nft);
549
550 if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
551 Ok(batches)
552 }
553 }
499}554}
500555
addedruntime/src/nft_weights.rsdiffbeforeafterboth

no changes

modifiedtests/flipper-src/.gitignorediffbeforeafterboth
66
7# Remove Cargo.lock when creating an executable, leave it for libraries7# Remove Cargo.lock when creating an executable, leave it for libraries
8# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock8# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
9Cargo.lock9Cargo.lock
10
deletedtests/flipper-src/.ink/abi_gen/Cargo.tomldiffbeforeafterboth

no changes

deletedtests/flipper-src/.ink/abi_gen/main.rsdiffbeforeafterboth

no changes

modifiedtests/flipper-src/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "flipper"2name = "flipper"
3version = "0.1.0"3version = "3.0.0-rc1"
4authors = ["[your_name] <[your_email]>"]4authors = ["Parity Technologies <admin@parity.io>"]
5edition = "2018"5edition = "2018"
66
7[dependencies]7[dependencies]
8ink_primitives = { version = "3.0.0-rc1", git = "https://github.com/paritytech/ink", tag = "v3.0.0-rc1", default-features = false }
8ink_abi = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_abi", default-features = false, features = ["derive"], optional = true }9ink_metadata = { version = "3.0.0-rc1", git = "https://github.com/paritytech/ink", tag = "v3.0.0-rc1", default-features = false, features = ["derive"], optional = true }
9ink_primitives = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_primitives", default-features = false }10ink_env = { version = "3.0.0-rc1", git = "https://github.com/paritytech/ink", tag = "v3.0.0-rc1", default-features = false }
10ink_core = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_core", default-features = false }11ink_storage = { version = "3.0.0-rc1", git = "https://github.com/paritytech/ink", tag = "v3.0.0-rc1", default-features = false }
11ink_lang = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_lang", default-features = false }12ink_lang = { version = "3.0.0-rc1", git = "https://github.com/paritytech/ink", tag = "v3.0.0-rc1", default-features = false }
1213
13scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }14scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
1415scale-info = { version = "0.4", default-features = false, features = ["derive"], optional = true }
15[dependencies.type-metadata]
16git = "https://github.com/type-metadata/type-metadata.git"
17rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
18default-features = false
19features = ["derive"]
20optional = true
2116
22[lib]17[lib]
23name = "flipper"18name = "flipper"
24path = "lib.rs"19path = "lib.rs"
25crate-type = [20crate-type = ["cdylib"]
26 # Used for normal contract Wasm blobs.
27 "cdylib",
28 # Required for ABI generation, and using this contract as a dependency.
29 # If using `cargo contract build`, it will be automatically disabled to produce a smaller Wasm binary
30 "rlib",
31]
3221
33[features]22[features]
34default = ["test-env"]23default = ["std"]
35std = [24std = [
25 "ink_primitives/std",
26 "ink_metadata",
27 "ink_metadata/std",
36 "ink_abi/std",28 "ink_env/std",
37 "ink_core/std",29 "ink_storage/std",
38 "ink_primitives/std",30 "ink_lang/std",
39 "scale/std",31 "scale/std",
32 "scale-info",
40 "type-metadata/std",33 "scale-info/std",
41]34]
42test-env = [
43 "std",
44 "ink_lang/test-env",
45]
46ink-generate-abi = [
47 "std",
48 "ink_abi",
49 "type-metadata",
50 "ink_core/ink-generate-abi",
51 "ink_lang/ink-generate-abi",
52]
53ink-as-dependency = []35ink-as-dependency = []
54
55[profile.release]
56panic = "abort"
57lto = true
58opt-level = "z"
59overflow-checks = true
60
61[workspace]
62members = [
63 ".ink/abi_gen"
64]
65exclude = [
66 ".ink"
67]
68
modifiedtests/flipper-src/build.shdiffbeforeafterboth
1rustup component add rust-src --toolchain nightly
1cargo +nightly contract build2cargo +nightly contract build
2cargo +nightly contract generate-metadata3cargo +nightly contract generate-metadata
34
modifiedtests/flipper-src/lib.rsdiffbeforeafterboth
1// Copyright 2018-2020 Parity Technologies (UK) Ltd.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
1#![cfg_attr(not(feature = "std"), no_std)]15#![cfg_attr(not(feature = "std"), no_std)]
216
3use ink_lang as ink;17use ink_lang as ink;
418
5#[ink::contract(version = "0.1.0")]19#[ink::contract]
6mod flipper {20pub mod flipper {
7 use ink_core::storage;
8
9 /// Defines the storage of your contract.
10 /// Add new fields to the below struct in order
11 /// to add new static storage fields to your contract.
12 #[ink(storage)]21 #[ink(storage)]
13 struct Flipper {22 pub struct Flipper {
14 /// Stores a single `bool` value on the storage.
15 value: storage::Value<bool>,23 value: bool,
16 }24 }
1725
18 impl Flipper {26 impl Flipper {
19 /// Constructor that initializes the `bool` value to the given `init_value`.27 /// Creates a new flipper smart contract initialized with the given value.
20 #[ink(constructor)]28 #[ink(constructor)]
21 fn new(&mut self, init_value: bool) {29 pub fn new(init_value: bool) -> Self {
22 self.value.set(init_value);30 Self { value: init_value }
23 }31 }
2432
25 /// Constructor that initializes the `bool` value to `false`.33 /// Creates a new flipper smart contract initialized to `false`.
26 ///
27 /// Constructors can delegate to other constructors.
28 #[ink(constructor)]34 #[ink(constructor)]
29 fn default(&mut self) {35 pub fn default() -> Self {
30 self.new(false)36 Self::new(Default::default())
31 }37 }
3238
33 /// A message that can be called on instantiated contracts.39 /// Flips the current value of the Flipper's bool.
34 /// This one flips the value of the stored `bool` from `true`
35 /// to `false` and vice versa.
36 #[ink(message)]40 #[ink(message)]
37 fn flip(&mut self) {41 pub fn flip(&mut self) {
38 *self.value = !self.get();42 self.value = !self.value;
39 }43 }
4044
41 /// Simply returns the current value of our `bool`.45 /// Returns the current value of the Flipper's bool.
42 #[ink(message)]46 #[ink(message)]
43 fn get(&self) -> bool {47 pub fn get(&self) -> bool {
44 *self.value48 self.value
45 }49 }
46 }50 }
4751
48 /// Unit tests in Rust are normally defined within such a `#[cfg(test)]`
49 /// module and test functions are marked with a `#[test]` attribute.
50 /// The below code is technically just normal Rust code.
51 #[cfg(test)]52 #[cfg(test)]
52 mod tests {53 mod tests {
53 /// Imports all the definitions from the outer scope so we can use them here.
54 use super::*;54 use super::*;
5555
56 /// We test if the default constructor does its job.
57 #[test]56 #[test]
58 fn default_works() {57 fn default_works() {
59 // Note that even though we defined our `#[ink(constructor)]`
60 // above as `&mut self` functions that return nothing we can call
61 // them in test code as if they were normal Rust constructors
62 // that take no `self` argument but return `Self`.
63 let flipper = Flipper::default();58 let flipper = Flipper::default();
64 assert_eq!(flipper.get(), false);59 assert_eq!(flipper.get(), false);
65 }60 }
6661
67 /// We test a simple use case of our contract.
68 #[test]62 #[test]
69 fn it_works() {63 fn it_works() {
70 let mut flipper = Flipper::new(false);64 let mut flipper = Flipper::new(false);
modifiedtests/package-lock.jsondiffbeforeafterboth
3916 }3916 }
3917 },3917 },
3918 "@polkadot/api": {3918 "@polkadot/api": {
3919 "version": "1.34.1",3919 "version": "2.3.1",
3920 "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-1.34.1.tgz",3920 "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-2.3.1.tgz",
3921 "integrity": "sha512-3gCibNRchH+XbEdULS1bwiV1RgarZW1PDw1Y1mAQBVqPrUpkYqntp1D52SQOpAbRzldkwk296Sj+mx9/IeDRXA==",3921 "integrity": "sha512-B9ZOb1PiPaAlke4wQHoivVQ5ZCQWn5bgLjhVIGdcEZ4WjIcxApmzTV4ruSfqVoRKpRiVOyV3Dx/VUQDD/WgBFw==",
3922 "requires": {3922 "requires": {
3923 "@babel/runtime": "^7.11.2",3923 "@babel/runtime": "^7.12.1",
3924 "@polkadot/api-derive": "1.34.1",3924 "@polkadot/api-derive": "2.3.1",
3925 "@polkadot/keyring": "^3.4.1",3925 "@polkadot/keyring": "^3.6.1",
3926 "@polkadot/metadata": "1.34.1",3926 "@polkadot/metadata": "2.3.1",
3927 "@polkadot/rpc-core": "1.34.1",3927 "@polkadot/rpc-core": "2.3.1",
3928 "@polkadot/rpc-provider": "1.34.1",3928 "@polkadot/rpc-provider": "2.3.1",
3929 "@polkadot/types": "1.34.1",3929 "@polkadot/types": "2.3.1",
3930 "@polkadot/types-known": "1.34.1",3930 "@polkadot/types-known": "2.3.1",
3931 "@polkadot/util": "^3.4.1",3931 "@polkadot/util": "^3.6.1",
3932 "@polkadot/util-crypto": "^3.4.1",3932 "@polkadot/util-crypto": "^3.6.1",
3933 "bn.js": "^5.1.3",3933 "bn.js": "^5.1.3",
3934 "eventemitter3": "^4.0.7",3934 "eventemitter3": "^4.0.7",
3935 "rxjs": "^6.6.3"3935 "rxjs": "^6.6.3"
3936 },3936 },
3937 "dependencies": {3937 "dependencies": {
3938 "@polkadot/metadata": {3938 "@babel/runtime": {
3939 "version": "1.34.1",3939 "version": "7.12.1",
3940 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",3940 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
3941 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",3941 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
3942 "requires": {3942 "requires": {
3943 "@babel/runtime": "^7.11.2",3943 "regenerator-runtime": "^0.13.4"
3944 "@polkadot/types": "1.34.1",
3945 "@polkadot/types-known": "1.34.1",
3946 "@polkadot/util": "^3.4.1",
3947 "@polkadot/util-crypto": "^3.4.1",
3948 "bn.js": "^5.1.3"
3949 }3944 }
3950 },3945 },
3951 "@polkadot/types": {3946 "@polkadot/util": {
3952 "version": "1.34.1",3947 "version": "3.6.1",
3953 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",3948 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
3954 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",3949 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
3955 "requires": {3950 "requires": {
3956 "@babel/runtime": "^7.11.2",3951 "@babel/runtime": "^7.12.1",
3957 "@polkadot/metadata": "1.34.1",
3958 "@polkadot/util": "^3.4.1",3952 "@polkadot/x-textdecoder": "^0.3.3",
3959 "@polkadot/util-crypto": "^3.4.1",3953 "@polkadot/x-textencoder": "^0.3.3",
3960 "@types/bn.js": "^4.11.6",3954 "@types/bn.js": "^4.11.6",
3961 "bn.js": "^5.1.3",3955 "bn.js": "^5.1.3",
3962 "memoizee": "^0.4.14",3956 "camelcase": "^5.3.1",
3957 "chalk": "^4.1.0",
3963 "rxjs": "^6.6.3"3958 "ip-regex": "^4.2.0"
3964 }3959 }
3965 },3960 },
3966 "@polkadot/types-known": {
3967 "version": "1.34.1",
3968 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
3969 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
3970 "requires": {
3971 "@babel/runtime": "^7.11.2",
3972 "@polkadot/types": "1.34.1",
3973 "@polkadot/util": "^3.4.1",
3974 "bn.js": "^5.1.3"
3975 }
3976 },
3977 "@polkadot/util": {3961 "ip-regex": {
3978 "version": "3.4.1",3962 "version": "4.2.0",
3979 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",3963 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
3980 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",3964 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
3981 "requires": {
3982 "@babel/runtime": "^7.11.2",
3983 "@types/bn.js": "^4.11.6",
3984 "bn.js": "^5.1.3",
3985 "camelcase": "^5.3.1",
3986 "chalk": "^4.1.0",
3987 "ip-regex": "^4.1.0"
3988 }
3989 }3965 }
3990 }3966 }
3991 },3967 },
3992 "@polkadot/api-contract": {3968 "@polkadot/api-contract": {
3993 "version": "1.34.1",3969 "version": "2.3.1",
3994 "resolved": "https://registry.npmjs.org/@polkadot/api-contract/-/api-contract-1.34.1.tgz",3970 "resolved": "https://registry.npmjs.org/@polkadot/api-contract/-/api-contract-2.3.1.tgz",
3995 "integrity": "sha512-oXh7An6E9wdbczXQhw+TfIkoKLQr4t0j3OwxubrhS5Qn6f99xGoAkk0BIKjsHPGIbMHEJoywmmLrDUAeTxExgg==",3971 "integrity": "sha512-hqRU2mGkHK84dtqZSX71tFCuBmBiV/6H7pJwj5E7UPcd124LM2ETXYJ9T0ElxbAHmZQD7yv+2ZM/ncvGC/A68Q==",
3996 "requires": {3972 "requires": {
3997 "@babel/runtime": "^7.11.2",3973 "@babel/runtime": "^7.12.1",
3998 "@polkadot/api": "1.34.1",3974 "@polkadot/api": "2.3.1",
3999 "@polkadot/rpc-core": "1.34.1",3975 "@polkadot/rpc-core": "2.3.1",
4000 "@polkadot/types": "1.34.1",3976 "@polkadot/types": "2.3.1",
4001 "@polkadot/util": "^3.4.1",3977 "@polkadot/util": "^3.6.1",
4002 "bn.js": "^5.1.3",3978 "bn.js": "^5.1.3",
4003 "rxjs": "^6.6.3"3979 "rxjs": "^6.6.3"
4004 },3980 },
4005 "dependencies": {3981 "dependencies": {
4006 "@polkadot/api": {
4007 "version": "1.34.1",
4008 "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-1.34.1.tgz",
4009 "integrity": "sha512-3gCibNRchH+XbEdULS1bwiV1RgarZW1PDw1Y1mAQBVqPrUpkYqntp1D52SQOpAbRzldkwk296Sj+mx9/IeDRXA==",
4010 "requires": {
4011 "@babel/runtime": "^7.11.2",
4012 "@polkadot/api-derive": "1.34.1",
4013 "@polkadot/keyring": "^3.4.1",
4014 "@polkadot/metadata": "1.34.1",
4015 "@polkadot/rpc-core": "1.34.1",
4016 "@polkadot/rpc-provider": "1.34.1",
4017 "@polkadot/types": "1.34.1",
4018 "@polkadot/types-known": "1.34.1",
4019 "@polkadot/util": "^3.4.1",
4020 "@polkadot/util-crypto": "^3.4.1",
4021 "bn.js": "^5.1.3",
4022 "eventemitter3": "^4.0.7",
4023 "rxjs": "^6.6.3"
4024 }
4025 },
4026 "@polkadot/api-derive": {
4027 "version": "1.34.1",
4028 "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-1.34.1.tgz",
4029 "integrity": "sha512-LMlCkNJRp29MwKa36crYuY6cZpnkHCFrPCv9dmJEuDbMqrK+EAhXM9/6sTDYJ4uKNhyetJKe9rXslkXdI6pidA==",
4030 "requires": {
4031 "@babel/runtime": "^7.11.2",
4032 "@polkadot/api": "1.34.1",
4033 "@polkadot/rpc-core": "1.34.1",
4034 "@polkadot/rpc-provider": "1.34.1",
4035 "@polkadot/types": "1.34.1",
4036 "@polkadot/util": "^3.4.1",
4037 "@polkadot/util-crypto": "^3.4.1",
4038 "bn.js": "^5.1.3",
4039 "memoizee": "^0.4.14",
4040 "rxjs": "^6.6.3"
4041 }
4042 },
4043 "@polkadot/metadata": {
4044 "version": "1.34.1",
4045 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",
4046 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",
4047 "requires": {
4048 "@babel/runtime": "^7.11.2",
4049 "@polkadot/types": "1.34.1",
4050 "@polkadot/types-known": "1.34.1",
4051 "@polkadot/util": "^3.4.1",
4052 "@polkadot/util-crypto": "^3.4.1",
4053 "bn.js": "^5.1.3"
4054 }
4055 },
4056 "@polkadot/rpc-core": {3982 "@babel/runtime": {
4057 "version": "1.34.1",3983 "version": "7.12.1",
4058 "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-1.34.1.tgz",3984 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4059 "integrity": "sha512-BVQDyBEkbRe5b/u8p9UPpTCj0sDZ32sTmPEP43Klc4s9+oHtiNvOFYvkjK5oyW9dlcOwXi8HpLsQxGAeMtM7Tw==",3985 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4060 "requires": {3986 "requires": {
4061 "@babel/runtime": "^7.11.2",3987 "regenerator-runtime": "^0.13.4"
4062 "@polkadot/metadata": "1.34.1",
4063 "@polkadot/rpc-provider": "1.34.1",
4064 "@polkadot/types": "1.34.1",
4065 "@polkadot/util": "^3.4.1",
4066 "memoizee": "^0.4.14",
4067 "rxjs": "^6.6.3"
4068 }3988 }
4069 },3989 },
4070 "@polkadot/rpc-provider": {
4071 "version": "1.34.1",
4072 "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-1.34.1.tgz",
4073 "integrity": "sha512-bebeis9mB4LS9Spk1WSHoadZHsyHmK4gyyC6uKSLZxHZmnopWna6zWnOBIrYHRz7qDHSZC5eNTseuU8NJXtscA==",
4074 "requires": {
4075 "@babel/runtime": "^7.11.2",
4076 "@polkadot/metadata": "1.34.1",
4077 "@polkadot/types": "1.34.1",
4078 "@polkadot/util": "^3.4.1",
4079 "@polkadot/util-crypto": "^3.4.1",
4080 "@polkadot/x-fetch": "^0.3.2",
4081 "@polkadot/x-ws": "^0.3.2",
4082 "bn.js": "^5.1.3",
4083 "eventemitter3": "^4.0.7"
4084 }
4085 },
4086 "@polkadot/types": {3990 "@polkadot/util": {
4087 "version": "1.34.1",3991 "version": "3.6.1",
4088 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",3992 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4089 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",3993 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4090 "requires": {3994 "requires": {
4091 "@babel/runtime": "^7.11.2",3995 "@babel/runtime": "^7.12.1",
4092 "@polkadot/metadata": "1.34.1",
4093 "@polkadot/util": "^3.4.1",3996 "@polkadot/x-textdecoder": "^0.3.3",
4094 "@polkadot/util-crypto": "^3.4.1",3997 "@polkadot/x-textencoder": "^0.3.3",
4095 "@types/bn.js": "^4.11.6",3998 "@types/bn.js": "^4.11.6",
4096 "bn.js": "^5.1.3",3999 "bn.js": "^5.1.3",
4097 "memoizee": "^0.4.14",4000 "camelcase": "^5.3.1",
4001 "chalk": "^4.1.0",
4098 "rxjs": "^6.6.3"4002 "ip-regex": "^4.2.0"
4099 }4003 }
4100 },4004 },
4101 "@polkadot/types-known": {
4102 "version": "1.34.1",
4103 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
4104 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
4105 "requires": {
4106 "@babel/runtime": "^7.11.2",
4107 "@polkadot/types": "1.34.1",
4108 "@polkadot/util": "^3.4.1",
4109 "bn.js": "^5.1.3"
4110 }
4111 },
4112 "@polkadot/util": {4005 "ip-regex": {
4113 "version": "3.4.1",4006 "version": "4.2.0",
4114 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4007 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4115 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4008 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4116 "requires": {
4117 "@babel/runtime": "^7.11.2",
4118 "@types/bn.js": "^4.11.6",
4119 "bn.js": "^5.1.3",
4120 "camelcase": "^5.3.1",
4121 "chalk": "^4.1.0",
4122 "ip-regex": "^4.1.0"
4123 }
4124 }4009 }
4125 }4010 }
4126 },4011 },
4127 "@polkadot/api-derive": {4012 "@polkadot/api-derive": {
4128 "version": "1.34.1",4013 "version": "2.3.1",
4129 "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-1.34.1.tgz",4014 "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-2.3.1.tgz",
4130 "integrity": "sha512-LMlCkNJRp29MwKa36crYuY6cZpnkHCFrPCv9dmJEuDbMqrK+EAhXM9/6sTDYJ4uKNhyetJKe9rXslkXdI6pidA==",4015 "integrity": "sha512-FcDEx+/1Io7zOHPjbQAEzXB0KenA9emgY+96aHS4yPV/OVmAifU0IAxudZdMVp7uVC2dWq9iFvjxx84yCXgVRA==",
4131 "requires": {4016 "requires": {
4132 "@babel/runtime": "^7.11.2",4017 "@babel/runtime": "^7.12.1",
4133 "@polkadot/api": "1.34.1",4018 "@polkadot/api": "2.3.1",
4134 "@polkadot/rpc-core": "1.34.1",4019 "@polkadot/rpc-core": "2.3.1",
4135 "@polkadot/rpc-provider": "1.34.1",4020 "@polkadot/rpc-provider": "2.3.1",
4136 "@polkadot/types": "1.34.1",4021 "@polkadot/types": "2.3.1",
4137 "@polkadot/util": "^3.4.1",4022 "@polkadot/util": "^3.6.1",
4138 "@polkadot/util-crypto": "^3.4.1",4023 "@polkadot/util-crypto": "^3.6.1",
4139 "bn.js": "^5.1.3",4024 "bn.js": "^5.1.3",
4140 "memoizee": "^0.4.14",4025 "memoizee": "^0.4.14",
4141 "rxjs": "^6.6.3"4026 "rxjs": "^6.6.3"
4142 },4027 },
4143 "dependencies": {4028 "dependencies": {
4144 "@polkadot/metadata": {4029 "@babel/runtime": {
4145 "version": "1.34.1",4030 "version": "7.12.1",
4146 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",4031 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4147 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",4032 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4148 "requires": {4033 "requires": {
4149 "@babel/runtime": "^7.11.2",4034 "regenerator-runtime": "^0.13.4"
4150 "@polkadot/types": "1.34.1",
4151 "@polkadot/types-known": "1.34.1",
4152 "@polkadot/util": "^3.4.1",
4153 "@polkadot/util-crypto": "^3.4.1",
4154 "bn.js": "^5.1.3"
4155 }4035 }
4156 },4036 },
4157 "@polkadot/types": {4037 "@polkadot/util": {
4158 "version": "1.34.1",4038 "version": "3.6.1",
4159 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",4039 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4160 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",4040 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4161 "requires": {4041 "requires": {
4162 "@babel/runtime": "^7.11.2",4042 "@babel/runtime": "^7.12.1",
4163 "@polkadot/metadata": "1.34.1",
4164 "@polkadot/util": "^3.4.1",4043 "@polkadot/x-textdecoder": "^0.3.3",
4165 "@polkadot/util-crypto": "^3.4.1",4044 "@polkadot/x-textencoder": "^0.3.3",
4166 "@types/bn.js": "^4.11.6",4045 "@types/bn.js": "^4.11.6",
4167 "bn.js": "^5.1.3",4046 "bn.js": "^5.1.3",
4168 "memoizee": "^0.4.14",4047 "camelcase": "^5.3.1",
4048 "chalk": "^4.1.0",
4169 "rxjs": "^6.6.3"4049 "ip-regex": "^4.2.0"
4170 }4050 }
4171 },4051 },
4172 "@polkadot/types-known": {
4173 "version": "1.34.1",
4174 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
4175 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
4176 "requires": {
4177 "@babel/runtime": "^7.11.2",
4178 "@polkadot/types": "1.34.1",
4179 "@polkadot/util": "^3.4.1",
4180 "bn.js": "^5.1.3"
4181 }
4182 },
4183 "@polkadot/util": {4052 "ip-regex": {
4184 "version": "3.4.1",4053 "version": "4.2.0",
4185 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4054 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4186 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4055 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4187 "requires": {
4188 "@babel/runtime": "^7.11.2",
4189 "@types/bn.js": "^4.11.6",
4190 "bn.js": "^5.1.3",
4191 "camelcase": "^5.3.1",
4192 "chalk": "^4.1.0",
4193 "ip-regex": "^4.1.0"
4194 }
4195 }4056 }
4196 }4057 }
4197 },4058 },
4277 }4138 }
4278 },4139 },
4279 "@polkadot/keyring": {4140 "@polkadot/keyring": {
4280 "version": "3.4.1",4141 "version": "3.6.1",
4281 "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-3.4.1.tgz",4142 "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-3.6.1.tgz",
4282 "integrity": "sha512-x8FxzDzyFX5ai+tnPaxAFUBV/2Mw/om8sRoMh+fT6Jzh3nC7pXfecH5ticJPKe73v/y42hn9xM0tiAI5P8Ohcw==",4143 "integrity": "sha512-JbW4M5Ct3HaX3vgoa/UWAQVF/0sc1PbbA2D6v0KKaJkXl+EYVP9uyOYAoRCppB6ENZThz7CUJVQp8trs8WTrFQ==",
4283 "requires": {4144 "requires": {
4284 "@babel/runtime": "^7.11.2",4145 "@babel/runtime": "^7.12.1",
4285 "@polkadot/util": "3.4.1",4146 "@polkadot/util": "3.6.1",
4286 "@polkadot/util-crypto": "3.4.1"4147 "@polkadot/util-crypto": "3.6.1"
4287 },4148 },
4288 "dependencies": {4149 "dependencies": {
4150 "@babel/runtime": {
4151 "version": "7.12.1",
4152 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4153 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4154 "requires": {
4155 "regenerator-runtime": "^0.13.4"
4156 }
4157 },
4289 "@polkadot/util": {4158 "@polkadot/util": {
4290 "version": "3.4.1",4159 "version": "3.6.1",
4291 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4160 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4292 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4161 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4293 "requires": {4162 "requires": {
4294 "@babel/runtime": "^7.11.2",4163 "@babel/runtime": "^7.12.1",
4164 "@polkadot/x-textdecoder": "^0.3.3",
4165 "@polkadot/x-textencoder": "^0.3.3",
4295 "@types/bn.js": "^4.11.6",4166 "@types/bn.js": "^4.11.6",
4296 "bn.js": "^5.1.3",4167 "bn.js": "^5.1.3",
4297 "camelcase": "^5.3.1",4168 "camelcase": "^5.3.1",
4298 "chalk": "^4.1.0",4169 "chalk": "^4.1.0",
4299 "ip-regex": "^4.1.0"4170 "ip-regex": "^4.2.0"
4300 }4171 }
4301 }4172 },
4173 "ip-regex": {
4174 "version": "4.2.0",
4175 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4176 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4177 }
4302 }4178 }
4303 },4179 },
4304 "@polkadot/metadata": {4180 "@polkadot/metadata": {
4305 "version": "1.34.1",4181 "version": "2.3.1",
4306 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",4182 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-2.3.1.tgz",
4307 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",4183 "integrity": "sha512-F/QwDDR/d9mcqToDqndRTUYvMt/GYzjQ+kNGjQYBOIDRqF9zDbPHAXruqcHd0Y5MMpPMRBZGNaqPOb3BMrIdOQ==",
4308 "requires": {4184 "requires": {
4309 "@babel/runtime": "^7.11.2",4185 "@babel/runtime": "^7.12.1",
4310 "@polkadot/types": "1.34.1",4186 "@polkadot/types": "2.3.1",
4311 "@polkadot/types-known": "1.34.1",4187 "@polkadot/types-known": "2.3.1",
4312 "@polkadot/util": "^3.4.1",4188 "@polkadot/util": "^3.6.1",
4313 "@polkadot/util-crypto": "^3.4.1",4189 "@polkadot/util-crypto": "^3.6.1",
4314 "bn.js": "^5.1.3"4190 "bn.js": "^5.1.3"
4315 },4191 },
4316 "dependencies": {4192 "dependencies": {
4193 "@babel/runtime": {
4194 "version": "7.12.1",
4195 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4196 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4197 "requires": {
4198 "regenerator-runtime": "^0.13.4"
4199 }
4200 },
4317 "@polkadot/util": {4201 "@polkadot/util": {
4318 "version": "3.4.1",4202 "version": "3.6.1",
4319 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4203 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4320 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4204 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4321 "requires": {4205 "requires": {
4322 "@babel/runtime": "^7.11.2",4206 "@babel/runtime": "^7.12.1",
4207 "@polkadot/x-textdecoder": "^0.3.3",
4208 "@polkadot/x-textencoder": "^0.3.3",
4323 "@types/bn.js": "^4.11.6",4209 "@types/bn.js": "^4.11.6",
4324 "bn.js": "^5.1.3",4210 "bn.js": "^5.1.3",
4325 "camelcase": "^5.3.1",4211 "camelcase": "^5.3.1",
4326 "chalk": "^4.1.0",4212 "chalk": "^4.1.0",
4327 "ip-regex": "^4.1.0"4213 "ip-regex": "^4.2.0"
4328 }4214 }
4329 }4215 },
4216 "ip-regex": {
4217 "version": "4.2.0",
4218 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4219 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4220 }
4330 }4221 }
4331 },4222 },
4223 "@polkadot/networks": {
4224 "version": "3.6.1",
4225 "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-3.6.1.tgz",
4226 "integrity": "sha512-PEEw/vTZaKf32vuAUeFXYNJei+b/s3hr7msMKfvoYeKDU/otgt9Mgkqrh6VCaE6+lHHgX8vLbH70pCqQrGG/uA==",
4227 "requires": {
4228 "@babel/runtime": "^7.12.1"
4229 },
4230 "dependencies": {
4231 "@babel/runtime": {
4232 "version": "7.12.1",
4233 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4234 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4235 "requires": {
4236 "regenerator-runtime": "^0.13.4"
4237 }
4238 }
4239 }
4240 },
4332 "@polkadot/rpc-core": {4241 "@polkadot/rpc-core": {
4333 "version": "1.34.1",4242 "version": "2.3.1",
4334 "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-1.34.1.tgz",4243 "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-2.3.1.tgz",
4335 "integrity": "sha512-BVQDyBEkbRe5b/u8p9UPpTCj0sDZ32sTmPEP43Klc4s9+oHtiNvOFYvkjK5oyW9dlcOwXi8HpLsQxGAeMtM7Tw==",4244 "integrity": "sha512-SWYU6azxNwWkhz6bm/wpRPQZ/5KJ2hnEXPS4EN77q7EFH4c4k9mNtVyjUQFkKJsG7T85vxaCCWwhx60aYCZVeA==",
4336 "requires": {4245 "requires": {
4337 "@babel/runtime": "^7.11.2",4246 "@babel/runtime": "^7.12.1",
4338 "@polkadot/metadata": "1.34.1",4247 "@polkadot/metadata": "2.3.1",
4339 "@polkadot/rpc-provider": "1.34.1",4248 "@polkadot/rpc-provider": "2.3.1",
4340 "@polkadot/types": "1.34.1",4249 "@polkadot/types": "2.3.1",
4341 "@polkadot/util": "^3.4.1",4250 "@polkadot/util": "^3.6.1",
4342 "memoizee": "^0.4.14",4251 "memoizee": "^0.4.14",
4343 "rxjs": "^6.6.3"4252 "rxjs": "^6.6.3"
4344 },4253 },
4345 "dependencies": {4254 "dependencies": {
4346 "@polkadot/metadata": {4255 "@babel/runtime": {
4347 "version": "1.34.1",4256 "version": "7.12.1",
4348 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",4257 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4349 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",4258 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4350 "requires": {4259 "requires": {
4351 "@babel/runtime": "^7.11.2",4260 "regenerator-runtime": "^0.13.4"
4352 "@polkadot/types": "1.34.1",
4353 "@polkadot/types-known": "1.34.1",
4354 "@polkadot/util": "^3.4.1",
4355 "@polkadot/util-crypto": "^3.4.1",
4356 "bn.js": "^5.1.3"
4357 }4261 }
4358 },4262 },
4359 "@polkadot/types": {4263 "@polkadot/util": {
4360 "version": "1.34.1",4264 "version": "3.6.1",
4361 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",4265 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4362 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",4266 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4363 "requires": {4267 "requires": {
4364 "@babel/runtime": "^7.11.2",4268 "@babel/runtime": "^7.12.1",
4365 "@polkadot/metadata": "1.34.1",
4366 "@polkadot/util": "^3.4.1",4269 "@polkadot/x-textdecoder": "^0.3.3",
4367 "@polkadot/util-crypto": "^3.4.1",4270 "@polkadot/x-textencoder": "^0.3.3",
4368 "@types/bn.js": "^4.11.6",4271 "@types/bn.js": "^4.11.6",
4369 "bn.js": "^5.1.3",4272 "bn.js": "^5.1.3",
4370 "memoizee": "^0.4.14",4273 "camelcase": "^5.3.1",
4274 "chalk": "^4.1.0",
4371 "rxjs": "^6.6.3"4275 "ip-regex": "^4.2.0"
4372 }4276 }
4373 },4277 },
4374 "@polkadot/types-known": {
4375 "version": "1.34.1",
4376 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
4377 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
4378 "requires": {
4379 "@babel/runtime": "^7.11.2",
4380 "@polkadot/types": "1.34.1",
4381 "@polkadot/util": "^3.4.1",
4382 "bn.js": "^5.1.3"
4383 }
4384 },
4385 "@polkadot/util": {4278 "ip-regex": {
4386 "version": "3.4.1",4279 "version": "4.2.0",
4387 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4280 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4388 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4281 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4389 "requires": {
4390 "@babel/runtime": "^7.11.2",
4391 "@types/bn.js": "^4.11.6",
4392 "bn.js": "^5.1.3",
4393 "camelcase": "^5.3.1",
4394 "chalk": "^4.1.0",
4395 "ip-regex": "^4.1.0"
4396 }
4397 }4282 }
4398 }4283 }
4399 },4284 },
4400 "@polkadot/rpc-provider": {4285 "@polkadot/rpc-provider": {
4401 "version": "1.34.1",4286 "version": "2.3.1",
4402 "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-1.34.1.tgz",4287 "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-2.3.1.tgz",
4403 "integrity": "sha512-bebeis9mB4LS9Spk1WSHoadZHsyHmK4gyyC6uKSLZxHZmnopWna6zWnOBIrYHRz7qDHSZC5eNTseuU8NJXtscA==",4288 "integrity": "sha512-lRN68RosWvtBA844PWqhYEV2ifT3T9SUyAP2WvRYyWVPiMmXjw57qG1zHKQWgZk5aFzeaHKSYgsKTmkWz9IM4g==",
4404 "requires": {4289 "requires": {
4405 "@babel/runtime": "^7.11.2",4290 "@babel/runtime": "^7.12.1",
4406 "@polkadot/metadata": "1.34.1",4291 "@polkadot/metadata": "2.3.1",
4407 "@polkadot/types": "1.34.1",4292 "@polkadot/types": "2.3.1",
4408 "@polkadot/util": "^3.4.1",4293 "@polkadot/util": "^3.6.1",
4409 "@polkadot/util-crypto": "^3.4.1",4294 "@polkadot/util-crypto": "^3.6.1",
4410 "@polkadot/x-fetch": "^0.3.2",4295 "@polkadot/x-fetch": "^0.3.3",
4411 "@polkadot/x-ws": "^0.3.2",4296 "@polkadot/x-ws": "^0.3.3",
4412 "bn.js": "^5.1.3",4297 "bn.js": "^5.1.3",
4413 "eventemitter3": "^4.0.7"4298 "eventemitter3": "^4.0.7"
4414 },4299 },
4415 "dependencies": {4300 "dependencies": {
4416 "@polkadot/metadata": {4301 "@babel/runtime": {
4417 "version": "1.34.1",4302 "version": "7.12.1",
4418 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",4303 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4419 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",4304 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4420 "requires": {4305 "requires": {
4421 "@babel/runtime": "^7.11.2",4306 "regenerator-runtime": "^0.13.4"
4422 "@polkadot/types": "1.34.1",
4423 "@polkadot/types-known": "1.34.1",
4424 "@polkadot/util": "^3.4.1",
4425 "@polkadot/util-crypto": "^3.4.1",
4426 "bn.js": "^5.1.3"
4427 }4307 }
4428 },4308 },
4429 "@polkadot/types": {4309 "@polkadot/util": {
4430 "version": "1.34.1",4310 "version": "3.6.1",
4431 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",4311 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4432 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",4312 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4433 "requires": {4313 "requires": {
4434 "@babel/runtime": "^7.11.2",4314 "@babel/runtime": "^7.12.1",
4435 "@polkadot/metadata": "1.34.1",
4436 "@polkadot/util": "^3.4.1",4315 "@polkadot/x-textdecoder": "^0.3.3",
4437 "@polkadot/util-crypto": "^3.4.1",4316 "@polkadot/x-textencoder": "^0.3.3",
4438 "@types/bn.js": "^4.11.6",4317 "@types/bn.js": "^4.11.6",
4439 "bn.js": "^5.1.3",4318 "bn.js": "^5.1.3",
4440 "memoizee": "^0.4.14",4319 "camelcase": "^5.3.1",
4320 "chalk": "^4.1.0",
4441 "rxjs": "^6.6.3"4321 "ip-regex": "^4.2.0"
4442 }4322 }
4443 },4323 },
4444 "@polkadot/types-known": {
4445 "version": "1.34.1",
4446 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
4447 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
4448 "requires": {
4449 "@babel/runtime": "^7.11.2",
4450 "@polkadot/types": "1.34.1",
4451 "@polkadot/util": "^3.4.1",
4452 "bn.js": "^5.1.3"
4453 }
4454 },
4455 "@polkadot/util": {4324 "ip-regex": {
4456 "version": "3.4.1",4325 "version": "4.2.0",
4457 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4326 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4458 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4327 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4459 "requires": {
4460 "@babel/runtime": "^7.11.2",
4461 "@types/bn.js": "^4.11.6",
4462 "bn.js": "^5.1.3",
4463 "camelcase": "^5.3.1",
4464 "chalk": "^4.1.0",
4465 "ip-regex": "^4.1.0"
4466 }
4467 }4328 }
4468 }4329 }
4469 },4330 },
4477 }4338 }
4478 },4339 },
4479 "@polkadot/types": {4340 "@polkadot/types": {
4480 "version": "1.34.1",4341 "version": "2.3.1",
4481 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",4342 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-2.3.1.tgz",
4482 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",4343 "integrity": "sha512-G3cyYYV+vYmpkMjPirwOA/zLreb1uBrKpEMWTvtTuCz/sNwcbCT5hI/KZCzNo1PueOQAowroKPe4yQ793dqVPw==",
4483 "requires": {4344 "requires": {
4484 "@babel/runtime": "^7.11.2",4345 "@babel/runtime": "^7.12.1",
4485 "@polkadot/metadata": "1.34.1",4346 "@polkadot/metadata": "2.3.1",
4486 "@polkadot/util": "^3.4.1",4347 "@polkadot/util": "^3.6.1",
4487 "@polkadot/util-crypto": "^3.4.1",4348 "@polkadot/util-crypto": "^3.6.1",
4488 "@types/bn.js": "^4.11.6",4349 "@types/bn.js": "^4.11.6",
4489 "bn.js": "^5.1.3",4350 "bn.js": "^5.1.3",
4490 "memoizee": "^0.4.14",4351 "memoizee": "^0.4.14",
4491 "rxjs": "^6.6.3"4352 "rxjs": "^6.6.3"
4492 },4353 },
4493 "dependencies": {4354 "dependencies": {
4355 "@babel/runtime": {
4356 "version": "7.12.1",
4357 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4358 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4359 "requires": {
4360 "regenerator-runtime": "^0.13.4"
4361 }
4362 },
4494 "@polkadot/util": {4363 "@polkadot/util": {
4495 "version": "3.4.1",4364 "version": "3.6.1",
4496 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4365 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4497 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4366 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4498 "requires": {4367 "requires": {
4499 "@babel/runtime": "^7.11.2",4368 "@babel/runtime": "^7.12.1",
4369 "@polkadot/x-textdecoder": "^0.3.3",
4370 "@polkadot/x-textencoder": "^0.3.3",
4500 "@types/bn.js": "^4.11.6",4371 "@types/bn.js": "^4.11.6",
4501 "bn.js": "^5.1.3",4372 "bn.js": "^5.1.3",
4502 "camelcase": "^5.3.1",4373 "camelcase": "^5.3.1",
4503 "chalk": "^4.1.0",4374 "chalk": "^4.1.0",
4504 "ip-regex": "^4.1.0"4375 "ip-regex": "^4.2.0"
4505 }4376 }
4506 }4377 },
4378 "ip-regex": {
4379 "version": "4.2.0",
4380 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4381 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4382 }
4507 }4383 }
4508 },4384 },
4509 "@polkadot/types-known": {4385 "@polkadot/types-known": {
4510 "version": "1.34.1",4386 "version": "2.3.1",
4511 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",4387 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-2.3.1.tgz",
4512 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",4388 "integrity": "sha512-34yuvDraW9Sjy5ookQZf55sBKLOsTqos+WQdTu6DUxtRuwvMP9DEAGcs2m6AFvWxwZps+3zFGUvzn6SMHsSJ5Q==",
4513 "requires": {4389 "requires": {
4514 "@babel/runtime": "^7.11.2",4390 "@babel/runtime": "^7.12.1",
4515 "@polkadot/types": "1.34.1",4391 "@polkadot/types": "2.3.1",
4516 "@polkadot/util": "^3.4.1",4392 "@polkadot/util": "^3.6.1",
4517 "bn.js": "^5.1.3"4393 "bn.js": "^5.1.3"
4518 },4394 },
4519 "dependencies": {4395 "dependencies": {
4396 "@babel/runtime": {
4397 "version": "7.12.1",
4398 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4399 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4400 "requires": {
4401 "regenerator-runtime": "^0.13.4"
4402 }
4403 },
4520 "@polkadot/util": {4404 "@polkadot/util": {
4521 "version": "3.4.1",4405 "version": "3.6.1",
4522 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4406 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4523 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4407 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4524 "requires": {4408 "requires": {
4525 "@babel/runtime": "^7.11.2",4409 "@babel/runtime": "^7.12.1",
4410 "@polkadot/x-textdecoder": "^0.3.3",
4411 "@polkadot/x-textencoder": "^0.3.3",
4526 "@types/bn.js": "^4.11.6",4412 "@types/bn.js": "^4.11.6",
4527 "bn.js": "^5.1.3",4413 "bn.js": "^5.1.3",
4528 "camelcase": "^5.3.1",4414 "camelcase": "^5.3.1",
4529 "chalk": "^4.1.0",4415 "chalk": "^4.1.0",
4530 "ip-regex": "^4.1.0"4416 "ip-regex": "^4.2.0"
4531 }4417 }
4532 }4418 },
4419 "ip-regex": {
4420 "version": "4.2.0",
4421 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4422 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4423 }
4533 }4424 }
4534 },4425 },
4535 "@polkadot/util": {4426 "@polkadot/util": {
4546 }4437 }
4547 },4438 },
4548 "@polkadot/util-crypto": {4439 "@polkadot/util-crypto": {
4549 "version": "3.4.1",4440 "version": "3.6.1",
4550 "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-3.4.1.tgz",4441 "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-3.6.1.tgz",
4551 "integrity": "sha512-RdTAiJ6dFE8nQJ7/wQkvYa6aNZG3Lusf/r7UmPJ56dZldvDTP3OdekzcfYdogU8hSJrE/xX84ii4DrHLnXXfAQ==",4442 "integrity": "sha512-mRCijOXrxTa2JD5vpNvr1MHSj3NaSGaImg1yzAf3l7nw7zNGjLy1K3qQNcFgr8+0NHyPKk5lCIehtwGTRZYsiA==",
4552 "requires": {4443 "requires": {
4553 "@babel/runtime": "^7.11.2",4444 "@babel/runtime": "^7.12.1",
4445 "@polkadot/networks": "3.6.1",
4554 "@polkadot/util": "3.4.1",4446 "@polkadot/util": "3.6.1",
4555 "@polkadot/wasm-crypto": "^1.4.1",4447 "@polkadot/wasm-crypto": "^1.4.1",
4556 "base-x": "^3.0.8",4448 "base-x": "^3.0.8",
4557 "bip39": "^3.0.2",4449 "bip39": "^3.0.2",
4565 "xxhashjs": "^0.2.2"4457 "xxhashjs": "^0.2.2"
4566 },4458 },
4567 "dependencies": {4459 "dependencies": {
4460 "@babel/runtime": {
4461 "version": "7.12.1",
4462 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4463 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4464 "requires": {
4465 "regenerator-runtime": "^0.13.4"
4466 }
4467 },
4568 "@polkadot/util": {4468 "@polkadot/util": {
4569 "version": "3.4.1",4469 "version": "3.6.1",
4570 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",4470 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.6.1.tgz",
4571 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",4471 "integrity": "sha512-ToGVghmTtC8s8cg8mCGG3I88UasrCg9VNm5JoUvBH4nTZCxc/dQEkU24nULXwHUpmd7d39p3RLpVbkLCVYIMZw==",
4572 "requires": {4472 "requires": {
4573 "@babel/runtime": "^7.11.2",4473 "@babel/runtime": "^7.12.1",
4474 "@polkadot/x-textdecoder": "^0.3.3",
4475 "@polkadot/x-textencoder": "^0.3.3",
4574 "@types/bn.js": "^4.11.6",4476 "@types/bn.js": "^4.11.6",
4575 "bn.js": "^5.1.3",4477 "bn.js": "^5.1.3",
4576 "camelcase": "^5.3.1",4478 "camelcase": "^5.3.1",
4577 "chalk": "^4.1.0",4479 "chalk": "^4.1.0",
4578 "ip-regex": "^4.1.0"4480 "ip-regex": "^4.2.0"
4579 }4481 }
4580 }4482 },
4483 "ip-regex": {
4484 "version": "4.2.0",
4485 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
4486 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
4487 }
4581 }4488 }
4582 },4489 },
4583 "@polkadot/wasm-crypto": {4490 "@polkadot/wasm-crypto": {
4586 "integrity": "sha512-GPBCh8YvQmA5bobI4rqRkUhrEHkEWU1+lcJVPbZYsa7jiHFaZpzCLrGQfiqW/vtbU1aBS2wmJ0x1nlt33B9QqQ=="4493 "integrity": "sha512-GPBCh8YvQmA5bobI4rqRkUhrEHkEWU1+lcJVPbZYsa7jiHFaZpzCLrGQfiqW/vtbU1aBS2wmJ0x1nlt33B9QqQ=="
4587 },4494 },
4588 "@polkadot/x-fetch": {4495 "@polkadot/x-fetch": {
4589 "version": "0.3.2",4496 "version": "0.3.3",
4590 "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-0.3.2.tgz",4497 "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-0.3.3.tgz",
4591 "integrity": "sha512-lk9M8ql/kBBqiZ8KOWj7LFK7P9OxDgVn2fZPNELJzQbfFZwFF8umBPDIWlQIK7wTnlRsQlzOuf6MGEyMK5p42w==",4498 "integrity": "sha512-Osa+ifkqlndIW5U5jLnuugLYTd6q/cHkjdfisyYgNev/etsEtXkqesbGvF/UKw5FgZBxhK8sj6jjfProfh2NZw==",
4592 "requires": {4499 "requires": {
4593 "@babel/runtime": "^7.11.2",4500 "@babel/runtime": "^7.12.1",
4594 "@types/node-fetch": "^2.5.7",4501 "@types/node-fetch": "^2.5.7",
4595 "node-fetch": "^2.6.1"4502 "node-fetch": "^2.6.1"
4596 },4503 },
4597 "dependencies": {4504 "dependencies": {
4598 "node-fetch": {4505 "@babel/runtime": {
4599 "version": "2.6.1",4506 "version": "7.12.1",
4600 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",4507 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4601 "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="4508 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4509 "requires": {
4510 "regenerator-runtime": "^0.13.4"
4511 }
4602 }4512 }
4603 }4513 }
4604 },4514 },
4515 "@polkadot/x-textdecoder": {
4516 "version": "0.3.3",
4517 "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-0.3.3.tgz",
4518 "integrity": "sha512-ehbPUUNn34kJh/RV8eQwyLnAFcMQSbtGPKqGRB7GSa/bL7P6hh1QGxB4DwvtlFU//bDTlofsv44ydpjDNmfWLg==",
4519 "requires": {
4520 "@babel/runtime": "^7.12.1"
4521 },
4522 "dependencies": {
4523 "@babel/runtime": {
4524 "version": "7.12.1",
4525 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4526 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4527 "requires": {
4528 "regenerator-runtime": "^0.13.4"
4529 }
4530 }
4531 }
4532 },
4533 "@polkadot/x-textencoder": {
4534 "version": "0.3.3",
4535 "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-0.3.3.tgz",
4536 "integrity": "sha512-klbz82L5LxDJTFoCO64G/EFfY1mKXHDlteJMDGFTOim/1oK1ypLOG8/7BmncmQAw2BevA0r1YkvWN+F3muJSag==",
4537 "requires": {
4538 "@babel/runtime": "^7.12.1"
4539 },
4540 "dependencies": {
4541 "@babel/runtime": {
4542 "version": "7.12.1",
4543 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4544 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4545 "requires": {
4546 "regenerator-runtime": "^0.13.4"
4547 }
4548 }
4549 }
4550 },
4605 "@polkadot/x-ws": {4551 "@polkadot/x-ws": {
4606 "version": "0.3.2",4552 "version": "0.3.3",
4607 "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-0.3.2.tgz",4553 "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-0.3.3.tgz",
4608 "integrity": "sha512-1aiG11Py8sgzJsz19melMzvBOn5zeMmfjCPoMryX4//063E0mcfnkujg4O6pTMygxJdFGAV1INB9wvMU9Dg9Wg==",4554 "integrity": "sha512-t06ID5QLYi5B8bzlT2fcYsQ09yfLf5Uq9idunKRZj13EwSELaqvZFfn2UmiDFiIB1H5u7c2y+VDWbIdqE8ZxKw==",
4609 "requires": {4555 "requires": {
4610 "@babel/runtime": "^7.11.2",4556 "@babel/runtime": "^7.12.1",
4611 "@types/websocket": "^1.0.1",4557 "@types/websocket": "^1.0.1",
4612 "websocket": "^1.0.32"4558 "websocket": "^1.0.32"
4613 }4559 },
4560 "dependencies": {
4561 "@babel/runtime": {
4562 "version": "7.12.1",
4563 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
4564 "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
4565 "requires": {
4566 "regenerator-runtime": "^0.13.4"
4567 }
4568 }
4569 }
4614 },4570 },
4615 "@sindresorhus/is": {4571 "@sindresorhus/is": {
4616 "version": "0.14.0",4572 "version": "0.14.0",
16840 "lower-case": "^1.1.1"16796 "lower-case": "^1.1.1"
16841 }16797 }
16842 },16798 },
16799 "node-fetch": {
16800 "version": "2.6.1",
16801 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
16802 "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
16803 },
16843 "node-fetch-npm": {16804 "node-fetch-npm": {
16844 "version": "2.0.4",16805 "version": "2.0.4",
16845 "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.4.tgz",16806 "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.4.tgz",
modifiedtests/package.jsondiffbeforeafterboth
23 "license": "Apache 2.0",23 "license": "Apache 2.0",
24 "homepage": "",24 "homepage": "",
25 "dependencies": {25 "dependencies": {
26 "@polkadot/api": "^1.34.1",26 "@polkadot/api": "^2.3.1",
27 "@polkadot/api-contract": "^1.34.1",27 "@polkadot/api-contract": "^2.3.1",
28 "@polkadot/types": "^1.34.1",28 "@polkadot/types": "^2.3.1",
29 "@polkadot/util": "^3.4.1",29 "@polkadot/util": "^3.4.1",
30 "@types/bn.js": "^4.11.6",30 "@types/bn.js": "^4.11.6",
31 "chai-as-promised": "^7.1.1"31 "chai-as-promised": "^7.1.1"
modifiedtests/src/contracts.test.tsdiffbeforeafterboth
1import { expect } from "chai";1import { expect } from "chai";
2import usingApi from "./substrate/substrate-api";2import usingApi from "./substrate/substrate-api";
3import promisifySubstrate from "./substrate/promisify-substrate";
4import fs from "fs";3import fs from "fs";
5import privateKey from "./substrate/privateKey";
6import { compactAddLength, u8aToU8a } from '@polkadot/util';
7import { Hash, AccountId } from "@polkadot/types/interfaces";
8import { Abi, PromiseContract } from "@polkadot/api-contract";4import { Abi, BlueprintPromise, CodePromise } from "@polkadot/api-contract";
9import { ISubmittableResult, IKeyringPair } from "@polkadot/types/types";5import { IKeyringPair } from "@polkadot/types/types";
10import BN from "bn.js";
11import { alicesPublicKey, bobsPublicKey } from "./accounts";
12import { ApiPromise } from "@polkadot/api";6import { Keyring } from "@polkadot/api";
13import { GenericAccountId, u128 } from "@polkadot/types";7import { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types";
8
14import getBalance from "./substrate/get-balance";9const value = 0;
1510const gasLimit = 3000n * 1000000n;
1611
17function deployContract(api: ApiPromise, contract: Uint8Array, privateKey: IKeyringPair): Promise<Hash> {12function deployBlueprint(alice: IKeyringPair, code: CodePromise): Promise<BlueprintPromise> {
18 return promisifySubstrate(api, () => {13 return new Promise<BlueprintPromise>(async (resolve, reject) => {
19 return new Promise<Hash>(async (resolve, reject) => {
20 const unsubscribe = api.tx.contracts.putCode(contract).signAndSend(privateKey, async result => {14 const unsub = await code
15 .createBlueprint()
16 .signAndSend(alice, (result) => {
21 if(!result.isInBlock){17 if (result.status.isInBlock || result.status.isFinalized) {
22 return;18 // here we have an additional field in the result, containing the blueprint
23 }
24
25 const record = result.findRecord('contracts', 'CodeStored');
26
27 if(record) {
28 (await unsubscribe)();
29 resolve(record.event.data[0] as unknown as Hash);19 resolve(result.blueprint);
30 } else {
31 reject('Failed to find contract hash in putCode transaction result.');20 unsub();
32 }21 }
33 });22 })
34 })23 });
35 })();
36}24}
3725
38function instantiateContract(api: ApiPromise, contractHash: Hash, args: Uint8Array, privateKey: IKeyringPair): Promise<AccountId> {26function deployContract(alice: IKeyringPair, blueprint: BlueprintPromise) : Promise<any> {
39 return promisifySubstrate(api, () => {27 return new Promise<any>(async (resolve, reject) => {
40 return new Promise<AccountId>((resolve, reject) => {28 const endowment = 1000000000000000n;
29 const initValue = true;
30
41 const unsubscribe = api.tx.contracts.instantiate(1000000000000000n, 1000000000000n, contractHash, args)31 const unsub = await blueprint.tx
32 .new(endowment, gasLimit, initValue)
42 .signAndSend(privateKey, async (result:ISubmittableResult) => {33 .signAndSend(alice, (result) => {
43 if(!result.isInBlock) {
44 return;
45 }
46 const record = result.findRecord('contracts', 'Instantiated');
47 if(record) {34 if (result.status.isInBlock || result.status.isFinalized) {
48 (await unsubscribe)();
49 expect(alicesPublicKey).to.be.equal(record.event.data[0].toString());
50 resolve(record.event.data[1] as AccountId);35 unsub();
51 } else {
52 reject('Failed to find instantiated event.');36 resolve(result);
53 }37 }
54 });38 });
55 });39 });
56 })();
57}40}
5841
59function txContractCall(api: ApiPromise, privateKey: IKeyringPair, address: string, call: Uint8Array): Promise<void> {42function runTransaction(privateKey: IKeyringPair, extrinsic: SubmittableExtrinsic<ApiTypes>) {
60 return promisifySubstrate(api, async () => {43 return new Promise<void>(async (resolve, reject) => {
61 return new Promise<void>(async (resolve, reject) => {
62 api.tx.contracts.call(address, 0, 1000000000000n, call)
63 .signAndSend(privateKey, async result => {44 extrinsic.signAndSend(privateKey, async result => {
64 if(!result.isInBlock) {45 if(!result.isInBlock) {
65 return;46 return;
66 }47 }
69 resolve();50 resolve();
70 }51 }
71 else {52 else {
72 reject('Failed to execute tx call.');53 reject('Failed to flip value.');
73 }54 }
74 })55 })
75 });56 });
76 })();
77}57}
7858
79describe('Contracts', () => {59describe('Contracts', () => {
80 it(`Can deploy smart contract Flipper, instantiate it and call it's get and flip messages.`, async () => {60 it(`Can deploy smart contract Flipper, instantiate it and call it's get and flip messages.`, async () => {
81 await usingApi(async api => {61 await usingApi(async api => {
62 const keyring = new Keyring({ type: 'sr25519' });
82 const wasm = fs.readFileSync('./src/flipper/flipper.wasm');63 const alice = keyring.addFromUri("//Alice");
64
83 const contract = compactAddLength(u8aToU8a(wasm));65 const wasm = fs.readFileSync('./src/flipper/flipper.wasm');
8466
85 const metadata = JSON.parse(fs.readFileSync('./src/flipper/metadata.json').toString('utf-8'));67 const metadata = JSON.parse(fs.readFileSync('./src/flipper/metadata.json').toString('utf-8'));
86 const abi = new Abi(api.registry as any, metadata);68 const abi = new Abi(metadata);
87
88 const alicesPrivateKey = privateKey('//Alice');
8969
90 const contractHash = await deployContract(api, contract, alicesPrivateKey);70 const code = new CodePromise(api, abi, wasm);
9171
92 const args = abi.constructors[0](true);
93 const instanceAccountId = await instantiateContract(api, contractHash, args, alicesPrivateKey);72 const blueprint = await deployBlueprint(alice, code);
94
95 const contractInstance = new PromiseContract(api, abi, instanceAccountId);73 const contract = (await deployContract(alice, blueprint))['contract'];
74
96 const getFlipValue = async () => {75 const getFlipValue = async () => {
97 return await promisifySubstrate(api, async () => {
98 const result = await contractInstance.call('rpc', 'get', 0, new BN('1000000000000'))76 const result = await contract.query.get(alice.address, value, gasLimit);
99 .send(alicesPublicKey);77
100 if(!result.isSuccess) {78 if(!result.result.isSuccess) {
101 throw 'Failed to get flipper value';79 throw `Failed to get flipper value`;
102 }80 }
103 return result.output && result.output.valueOf && result.output.valueOf();
104 })();81 return (result.result.asSuccess.data[0] == 0x00) ? false : true;
105 }82 }
10683
107 const initialGetResponse = await getFlipValue();84 const initialGetResponse = await getFlipValue();
108 expect(initialGetResponse).to.be.true;85 expect(initialGetResponse).to.be.true;
10986
110 await promisifySubstrate(api, async () => {
111 return new Promise<void>(async (resolve, reject) => {
112 api.tx.contracts.call(contractInstance.address.toString(), 0, 1000000000000n, contractInstance.getMessage('flip').fn())87 const flip = contract.exec('flip', value, gasLimit);
113 .signAndSend(alicesPrivateKey, async result => {88 await runTransaction(alice, flip);
114 if(!result.isInBlock) {
115 return;
116 }
117
118 if(result.findRecord('system', 'ExtrinsicSuccess')) {
119 resolve();
120 }
121 else {
122 reject('Failed to flip value.');
123 }
124 })
125 });
126 })();
12789
128 const afterFlipGetResponse = await getFlipValue();90 const afterFlipGetResponse = await getFlipValue();
12991
130 expect(afterFlipGetResponse).to.be.false;92 expect(afterFlipGetResponse).to.be.false;
131 });93 });
132 });94 });
13395
134 it('Can transfer balance using smart contract.', async () => {96 it.skip('Can transfer balance using smart contract.', async () => {
135 await usingApi(async api => {97 await usingApi(async api => {
136 const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alicesPublicKey, bobsPublicKey]);98 // const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alicesPublicKey, bobsPublicKey]);
137 const wasm = fs.readFileSync('./src/balance-transfer-contract/calls.wasm');99 // const wasm = fs.readFileSync('./src/balance-transfer-contract/calls.wasm');
138 const contract = compactAddLength(u8aToU8a(wasm));100 // const contract = compactAddLength(u8aToU8a(wasm));
139101
140 const metadata = JSON.parse(fs.readFileSync('./src/balance-transfer-contract/metadata.json').toString('utf-8'));102 // const metadata = JSON.parse(fs.readFileSync('./src/balance-transfer-contract/metadata.json').toString('utf-8'));
141 const abi = new Abi(api.registry as any, metadata);103 // const abi = new Abi(api.registry as any, metadata);
142104
143 const alicesPrivateKey = privateKey('//Alice');105 // const alicesPrivateKey = privateKey('//Alice');
144106
145 const contractHash = await deployContract(api, contract, alicesPrivateKey);107 // const contractHash = await deployContract(api, contract, alicesPrivateKey);
146108
147 const args = abi.constructors[0]();109 // // const args = abi.constructors[0]();
148 const instanceAccountId = await instantiateContract(api, contractHash, args, alicesPrivateKey);110 // const instanceAccountId = await instantiateContract(api, contractHash, /*args,*/ alicesPrivateKey);
149 const contractInstance = new PromiseContract(api, abi, instanceAccountId);111 // const contractInstance = new ContractPromise(api, abi, instanceAccountId);
150 const bob = new GenericAccountId(api.registry, bobsPublicKey);112 // const bob = new GenericAccountId(api.registry, bobsPublicKey);
151 const call = contractInstance.getMessage('balance_transfer').fn(bob, new u128(api.registry, 1000000));113
152 await txContractCall(api, alicesPrivateKey, contractInstance.address.toString(), call);114 // const transfer = contractInstance.exec('balance_transfer', 0, 1000000000000n, [bob, new u128(api.registry, 1000000)]);
153115 // await runTransaction(alicesPrivateKey, transfer);
154 const [alicesBalanceAfter, bobsBalanceAfter] = await getBalance(api, [alicesPublicKey, bobsPublicKey]);116
155117 // const [alicesBalanceAfter, bobsBalanceAfter] = await getBalance(api, [alicesPublicKey, bobsPublicKey]);
156 expect(alicesBalanceAfter < alicesBalanceBefore).to.be.true;118
157 expect(bobsBalanceAfter > bobsBalanceBefore).to.be.true;119 // expect(alicesBalanceAfter < alicesBalanceBefore).to.be.true;
120 // expect(bobsBalanceAfter > bobsBalanceBefore).to.be.true;
158 });121 });
159 })122 })
160});123});
modifiedtests/src/flipper/flipper.wasmdiffbeforeafterboth

binary blob — no preview

modifiedtests/src/flipper/metadata.jsondiffbeforeafterboth
1{1{
2 "metadataVersion": "0.1.0",
2 "registry": {3 "source": {
3 "strings": [4 "hash": "0x36431d9da78a6bb099474e49c9e35a9c3a04272b58815634082626109826cac6",
4 "Storage",5 "language": "ink! 3.0.0-rc1",
5 "flipper",6 "compiler": "rustc 1.49.0-nightly"
6 "__ink_private",
7 "__ink_storage",
8 "value",
9 "Value",
10 "ink_core",
11 "storage",
12 "cell",
13 "SyncCell",
14 "sync_cell",
15 "Key",
16 "ink_primitives",
17 "new",
18 "init_value",
19 "bool",
20 "default",
21 "flip",
22 "get"
23 ],7 },
24 "types": [8 "contract": {
25 {
26 "id": {
27 "custom.name": 1,
28 "custom.namespace": [
29 2,
30 2,
31 3,
32 4
33 ],
34 "custom.params": []
35 },
36 "def": {
37 "struct.fields": [9 "name": "flipper",
38 {
39 "name": 5,10 "version": "3.0.0-rc1",
40 "type": 211 "authors": [
41 }12 "Parity Technologies <admin@parity.io>"
42 ]13 ]
43 }
44 },14 },
15 "spec": {
16 "constructors": [
45 {17 {
46 "id": {18 "args": [
19 {
47 "custom.name": 6,20 "name": "init_value",
21 "type": {
48 "custom.namespace": [22 "displayName": [
49 7,23 "bool"
50 8,
51 5
52 ],24 ],
53 "custom.params": [25 "type": 1
54 326 }
55 ]
56 },27 }
28 ],
57 "def": {29 "docs": [
58 "struct.fields": [30 " Creates a new flipper smart contract initialized with the given value."
59 {31 ],
60 "name": 9,32 "name": [
33 "new"
34 ],
61 "type": 435 "selector": "0xd183512b"
62 }
63 ]
64 }
65 },36 },
66 {
67 "id": "bool",
68 "def": "builtin"
69 },
70 {37 {
71 "id": {
72 "custom.name": 10,
73 "custom.namespace": [38 "args": [],
74 7,
75 8,
76 9,
77 11
78 ],
79 "custom.params": [39 "docs": [
80 340 " Creates a new flipper smart contract initialized to `false`."
81 ]41 ],
82 },
83 "def": {
84 "struct.fields": [
85 {
86 "name": 9,42 "name": [
43 "default"
44 ],
87 "type": 545 "selector": "0x6a3712e2"
88 }
89 ]
90 }
91 },46 }
92 {47 ],
93 "id": {
94 "custom.name": 12,
95 "custom.namespace": [48 "docs": [],
96 13
97 ],
98 "custom.params": []49 "events": [],
99 },
100 "def": {50 "messages": [
51 {
52 "args": [],
101 "tuple_struct.types": [53 "docs": [
102 654 " Flips the current value of the Flipper's bool."
103 ]55 ],
56 "mutates": true,
57 "name": [
58 "flip"
59 ],
60 "payable": false,
61 "returnType": null,
62 "selector": "0xc096a5f3"
104 }63 },
105 },64 {
106 {
107 "id": {
108 "array.len": 32,
109 "array.type": 7
110 },
111 "def": "builtin"
112 },
113 {
114 "id": "u8",
115 "def": "builtin"
116 }
117 ]
118 },
119 "storage": {65 "args": [],
120 "struct.type": 1,66 "docs": [
121 "struct.fields": [67 " Returns the current value of the Flipper's bool."
122 {68 ],
123 "name": 5,69 "mutates": false,
124 "layout": {
125 "struct.type": 2,70 "name": [
126 "struct.fields": [71 "get"
127 {72 ],
128 "name": 9,73 "payable": false,
129 "layout": {74 "returnType": {
130 "range.offset": "0x0000000000000000000000000000000000000000000000000000000000000000",75 "displayName": [
76 "bool"
77 ],
131 "range.len": 1,78 "type": 1
132 "range.elem_type": 3
133 }79 },
134 }
135 ]
136 }
137 }
138 ]
139 },
140 "contract": {
141 "name": 2,80 "selector": "0x1e5ca456"
81 }
82 ]
83 },
142 "constructors": [84 "storage": {
143 {
144 "name": 14,
145 "selector": "[\"0x5E\",\"0xBD\",\"0x88\",\"0xD6\"]",85 "struct": {
146 "args": [86 "fields": [
147 {87 {
148 "name": 15,88 "layout": {
149 "type": {89 "cell": {
150 "ty": 3,90 "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
151 "display_name": [91 "ty": 1
152 16
153 ]
154 }92 }
93 },
94 "name": "value"
155 }95 }
156 ],96 ]
157 "docs": [97 }
158 "Constructor that initializes the `bool` value to the given `init_value`."
159 ]
160 },98 },
161 {
162 "name": 17,
163 "selector": "[\"0x02\",\"0x22\",\"0xFF\",\"0x18\"]",
164 "args": [],
165 "docs": [
166 "Constructor that initializes the `bool` value to `false`.",
167 "",
168 "Constructors can delegate to other constructors."
169 ]
170 }
171 ],
172 "messages": [99 "types": [
173 {
174 "name": 18,
175 "selector": "[\"0x8C\",\"0x97\",\"0xDB\",\"0x39\"]",
176 "mutates": true,
177 "args": [],
178 "return_type": null,
179 "docs": [
180 "A message that can be called on instantiated contracts.",
181 "This one flips the value of the stored `bool` from `true`",
182 "to `false` and vice versa."
183 ]
184 },
185 {100 {
186 "name": 19,
187 "selector": "[\"0x25\",\"0x44\",\"0x4A\",\"0xFE\"]",
188 "mutates": false,
189 "args": [],
190 "return_type": {101 "def": {
191 "ty": 3,
192 "display_name": [102 "primitive": "bool"
193 16
194 ]
195 },103 }
196 "docs": [
197 "Simply returns the current value of our `bool`."
198 ]
199 }104 }
200 ],105 ]
201 "events": [],
202 "docs": []
203 }
204}106}