Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • nodes/rust/duniter-v2s
  • llaq/lc-core-substrate
  • pini-gh/duniter-v2s
  • vincentux/duniter-v2s
  • mildred/duniter-v2s
  • d0p1/duniter-v2s
  • bgallois/duniter-v2s
  • Nicolas80/duniter-v2s
8 results
Show changes
Commits on Source (18)
Showing
with 1189 additions and 1132 deletions
...@@ -3,5 +3,6 @@ cucumber = "test -p duniter-end2end-tests --test cucumber_tests --" ...@@ -3,5 +3,6 @@ cucumber = "test -p duniter-end2end-tests --test cucumber_tests --"
sanity-gdev = "test -p duniter-live-tests --test sanity_gdev -- --nocapture" sanity-gdev = "test -p duniter-live-tests --test sanity_gdev -- --nocapture"
tu = "test --workspace --exclude duniter-end2end-tests --exclude duniter-live-tests" tu = "test --workspace --exclude duniter-end2end-tests --exclude duniter-live-tests"
tb = "test --features runtime-benchmarks -p" tb = "test --features runtime-benchmarks -p"
rbp = "run --release --features runtime-benchmarks -- benchmark pallet --chain=dev --steps=50 --repeat=20 --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=. --pallet"
xtask = "run --package xtask --" xtask = "run --package xtask --"
...@@ -129,9 +129,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" ...@@ -129,9 +129,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]] [[package]]
name = "arrayvec" name = "arrayvec"
version = "0.7.1" version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]] [[package]]
name = "ascii" name = "ascii"
...@@ -319,15 +319,6 @@ dependencies = [ ...@@ -319,15 +319,6 @@ dependencies = [
"pin-project-lite 0.2.7", "pin-project-lite 0.2.7",
] ]
[[package]]
name = "atomic"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3410529e8288c463bedb5930f82833bc0c90e5d2fe639a56582a4d09220b281"
dependencies = [
"autocfg",
]
[[package]] [[package]]
name = "atomic-waker" name = "atomic-waker"
version = "1.0.0" version = "1.0.0"
...@@ -414,53 +405,22 @@ dependencies = [ ...@@ -414,53 +405,22 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "bindgen"
version = "0.59.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "453c49e5950bb0eb63bb3df640e31618846c89d5b7faa54040d76e98e0134375"
dependencies = [
"bitflags",
"cexpr",
"clang-sys",
"lazy_static",
"lazycell",
"peeking_take_while",
"proc-macro2",
"quote",
"regex",
"rustc-hash",
"shlex",
]
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "1.3.2" version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitvec"
version = "0.19.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321"
dependencies = [
"funty 1.1.0",
"radium 0.5.3",
"tap",
"wyz 0.2.0",
]
[[package]] [[package]]
name = "bitvec" name = "bitvec"
version = "1.0.1" version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
dependencies = [ dependencies = [
"funty 2.0.0", "funty",
"radium 0.7.0", "radium",
"tap", "tap",
"wyz 0.5.0", "wyz",
] ]
[[package]] [[package]]
...@@ -489,7 +449,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -489,7 +449,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72936ee4afc7f8f736d1c38383b56480b5497b4617b4a77bdbf1d2ababc76127" checksum = "72936ee4afc7f8f736d1c38383b56480b5497b4617b4a77bdbf1d2ababc76127"
dependencies = [ dependencies = [
"arrayref", "arrayref",
"arrayvec 0.7.1", "arrayvec 0.7.2",
"constant_time_eq", "constant_time_eq",
] ]
...@@ -500,7 +460,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -500,7 +460,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4" checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4"
dependencies = [ dependencies = [
"arrayref", "arrayref",
"arrayvec 0.7.1", "arrayvec 0.7.2",
"constant_time_eq", "constant_time_eq",
] ]
...@@ -511,7 +471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -511,7 +471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f" checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f"
dependencies = [ dependencies = [
"arrayref", "arrayref",
"arrayvec 0.7.1", "arrayvec 0.7.2",
"cc", "cc",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"constant_time_eq", "constant_time_eq",
...@@ -637,17 +597,6 @@ version = "1.1.0" ...@@ -637,17 +597,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"
[[package]]
name = "bzip2-sys"
version = "0.1.11+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]] [[package]]
name = "cache-padded" name = "cache-padded"
version = "1.1.1" version = "1.1.1"
...@@ -694,15 +643,6 @@ dependencies = [ ...@@ -694,15 +643,6 @@ dependencies = [
"jobserver", "jobserver",
] ]
[[package]]
name = "cexpr"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db507a7679252d2276ed0dd8113c6875ec56d3089f9225b2b42c30cc1f8e5c89"
dependencies = [
"nom 6.1.2",
]
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
version = "0.1.10" version = "0.1.10"
...@@ -784,17 +724,6 @@ dependencies = [ ...@@ -784,17 +724,6 @@ dependencies = [
"generic-array 0.14.4", "generic-array 0.14.4",
] ]
[[package]]
name = "clang-sys"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c"
dependencies = [
"glob",
"libc",
"libloading 0.7.0",
]
[[package]] [[package]]
name = "clap" name = "clap"
version = "3.1.18" version = "3.1.18"
...@@ -843,6 +772,15 @@ dependencies = [ ...@@ -843,6 +772,15 @@ dependencies = [
"os_str_bytes", "os_str_bytes",
] ]
[[package]]
name = "cmake"
version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7b858541263efe664aead4a5209a4ae5c5d2811167d4ed4ee0944503f8d2089"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "combine" name = "combine"
version = "3.8.1" version = "3.8.1"
...@@ -887,6 +825,7 @@ dependencies = [ ...@@ -887,6 +825,7 @@ dependencies = [
"pallet-identity", "pallet-identity",
"pallet-membership", "pallet-membership",
"pallet-multisig", "pallet-multisig",
"pallet-oneshot-account",
"pallet-provide-randomness", "pallet-provide-randomness",
"pallet-proxy", "pallet-proxy",
"pallet-scheduler", "pallet-scheduler",
...@@ -999,59 +938,60 @@ dependencies = [ ...@@ -999,59 +938,60 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-bforest" name = "cranelift-bforest"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38faa2a16616c8e78a18d37b4726b98bfd2de192f2fdc8a39ddf568a408a0f75" checksum = "749d0d6022c9038dccf480bdde2a38d435937335bf2bb0f14e815d94517cdce8"
dependencies = [ dependencies = [
"cranelift-entity", "cranelift-entity",
] ]
[[package]] [[package]]
name = "cranelift-codegen" name = "cranelift-codegen"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26f192472a3ba23860afd07d2b0217dc628f21fcc72617aa1336d98e1671f33b" checksum = "e94370cc7b37bf652ccd8bb8f09bd900997f7ccf97520edfc75554bb5c4abbea"
dependencies = [ dependencies = [
"cranelift-bforest", "cranelift-bforest",
"cranelift-codegen-meta", "cranelift-codegen-meta",
"cranelift-codegen-shared", "cranelift-codegen-shared",
"cranelift-entity", "cranelift-entity",
"cranelift-isle",
"gimli", "gimli",
"log", "log",
"regalloc", "regalloc2",
"smallvec", "smallvec",
"target-lexicon", "target-lexicon",
] ]
[[package]] [[package]]
name = "cranelift-codegen-meta" name = "cranelift-codegen-meta"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f32ddb89e9b89d3d9b36a5b7d7ea3261c98235a76ac95ba46826b8ec40b1a24" checksum = "e0a3cea8fdab90e44018c5b9a1dfd460d8ee265ac354337150222a354628bdb6"
dependencies = [ dependencies = [
"cranelift-codegen-shared", "cranelift-codegen-shared",
] ]
[[package]] [[package]]
name = "cranelift-codegen-shared" name = "cranelift-codegen-shared"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01fd0d9f288cc1b42d9333b7a776b17e278fc888c28e6a0f09b5573d45a150bc" checksum = "5ac72f76f2698598951ab26d8c96eaa854810e693e7dd52523958b5909fde6b2"
[[package]] [[package]]
name = "cranelift-entity" name = "cranelift-entity"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e3bfe172b83167604601faf9dc60453e0d0a93415b57a9c4d1a7ae6849185cf" checksum = "09eaeacfcd2356fe0e66b295e8f9d59fdd1ac3ace53ba50de14d628ec902f72d"
dependencies = [ dependencies = [
"serde", "serde",
] ]
[[package]] [[package]]
name = "cranelift-frontend" name = "cranelift-frontend"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce" checksum = "dba69c9980d5ffd62c18a2bde927855fcd7c8dc92f29feaf8636052662cbd99c"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"log", "log",
...@@ -1059,11 +999,17 @@ dependencies = [ ...@@ -1059,11 +999,17 @@ dependencies = [
"target-lexicon", "target-lexicon",
] ]
[[package]]
name = "cranelift-isle"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2920dc1e05cac40304456ed3301fde2c09bd6a9b0210bcfa2f101398d628d5b"
[[package]] [[package]]
name = "cranelift-native" name = "cranelift-native"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "501241b0cdf903412ec9075385ac9f2b1eb18a89044d1538e97fab603231f70c" checksum = "f04dfa45f9b2a6f587c564d6b63388e00cd6589d2df6ea2758cf79e1a13285e6"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"libc", "libc",
...@@ -1072,9 +1018,9 @@ dependencies = [ ...@@ -1072,9 +1018,9 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-wasm" name = "cranelift-wasm"
version = "0.82.3" version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16d9e4211bbc3268042a96dd4de5bd979cda22434991d035f5f8eacba987fad2" checksum = "31a46513ae6f26f3f267d8d75b5373d555fbbd1e68681f348d99df43f747ec54"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
...@@ -1277,7 +1223,7 @@ checksum = "68a512c03bf9dbe0abcd486181027bddf2cc2153b8cb258b3b27e29dee621daa" ...@@ -1277,7 +1223,7 @@ checksum = "68a512c03bf9dbe0abcd486181027bddf2cc2153b8cb258b3b27e29dee621daa"
dependencies = [ dependencies = [
"derive_more", "derive_more",
"either", "either",
"nom 7.1.0", "nom",
"nom_locate", "nom_locate",
"regex", "regex",
] ]
...@@ -1507,7 +1453,7 @@ checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6" ...@@ -1507,7 +1453,7 @@ checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6"
[[package]] [[package]]
name = "duniter" name = "duniter"
version = "0.1.0" version = "0.3.0"
dependencies = [ dependencies = [
"async-io", "async-io",
"clap", "clap",
...@@ -1520,7 +1466,7 @@ dependencies = [ ...@@ -1520,7 +1466,7 @@ dependencies = [
"gdev-runtime", "gdev-runtime",
"gtest-runtime", "gtest-runtime",
"hex", "hex",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"lazy_static", "lazy_static",
"log", "log",
"maplit", "maplit",
...@@ -1585,6 +1531,7 @@ dependencies = [ ...@@ -1585,6 +1531,7 @@ dependencies = [
"ctrlc", "ctrlc",
"cucumber", "cucumber",
"env_logger", "env_logger",
"hex",
"notify", "notify",
"parity-scale-codec", "parity-scale-codec",
"portpicker", "portpicker",
...@@ -1869,21 +1816,21 @@ dependencies = [ ...@@ -1869,21 +1816,21 @@ dependencies = [
[[package]] [[package]]
name = "filetime" name = "filetime"
version = "0.2.15" version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "975ccf83d8d9d0d84682850a38c8169027be83368805971cc4f238c2b245bc98" checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"libc", "libc",
"redox_syscall", "redox_syscall",
"winapi 0.3.9", "windows-sys",
] ]
[[package]] [[package]]
name = "finality-grandpa" name = "finality-grandpa"
version = "0.15.0" version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9def033d8505edf199f6a5d07aa7e6d2d6185b164293b77f0efd108f4f3e11d" checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5"
dependencies = [ dependencies = [
"either", "either",
"futures 0.3.21", "futures 0.3.21",
...@@ -1891,7 +1838,7 @@ dependencies = [ ...@@ -1891,7 +1838,7 @@ dependencies = [
"log", "log",
"num-traits", "num-traits",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.11.2", "parking_lot 0.12.0",
"scale-info", "scale-info",
] ]
...@@ -1950,7 +1897,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" ...@@ -1950,7 +1897,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]] [[package]]
name = "fork-tree" name = "fork-tree"
version = "3.0.0" version = "3.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
] ]
...@@ -1968,7 +1915,7 @@ dependencies = [ ...@@ -1968,7 +1915,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-benchmarking" name = "frame-benchmarking"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -1990,7 +1937,7 @@ dependencies = [ ...@@ -1990,7 +1937,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-benchmarking-cli" name = "frame-benchmarking-cli"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"chrono", "chrono",
...@@ -1999,6 +1946,7 @@ dependencies = [ ...@@ -1999,6 +1946,7 @@ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
"frame-system", "frame-system",
"gethostname",
"handlebars", "handlebars",
"hash-db", "hash-db",
"hex", "hex",
...@@ -2040,7 +1988,7 @@ dependencies = [ ...@@ -2040,7 +1988,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-executive" name = "frame-executive"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -2068,7 +2016,7 @@ dependencies = [ ...@@ -2068,7 +2016,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support" name = "frame-support"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"frame-metadata", "frame-metadata",
...@@ -2098,7 +2046,7 @@ dependencies = [ ...@@ -2098,7 +2046,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural" name = "frame-support-procedural"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"frame-support-procedural-tools", "frame-support-procedural-tools",
...@@ -2110,7 +2058,7 @@ dependencies = [ ...@@ -2110,7 +2058,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural-tools" name = "frame-support-procedural-tools"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support-procedural-tools-derive", "frame-support-procedural-tools-derive",
"proc-macro-crate", "proc-macro-crate",
...@@ -2122,7 +2070,7 @@ dependencies = [ ...@@ -2122,7 +2070,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-support-procedural-tools-derive" name = "frame-support-procedural-tools-derive"
version = "3.0.0" version = "3.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
...@@ -2132,7 +2080,7 @@ dependencies = [ ...@@ -2132,7 +2080,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-system" name = "frame-system"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"log", "log",
...@@ -2149,7 +2097,7 @@ dependencies = [ ...@@ -2149,7 +2097,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-system-benchmarking" name = "frame-system-benchmarking"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -2164,7 +2112,7 @@ dependencies = [ ...@@ -2164,7 +2112,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-system-rpc-runtime-api" name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
...@@ -2173,7 +2121,7 @@ dependencies = [ ...@@ -2173,7 +2121,7 @@ dependencies = [
[[package]] [[package]]
name = "frame-try-runtime" name = "frame-try-runtime"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"sp-api", "sp-api",
...@@ -2181,18 +2129,6 @@ dependencies = [ ...@@ -2181,18 +2129,6 @@ dependencies = [
"sp-std", "sp-std",
] ]
[[package]]
name = "fs-swap"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03d47dad3685eceed8488986cad3d5027165ea5edb164331770e2059555f10a5"
dependencies = [
"lazy_static",
"libc",
"libloading 0.5.2",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "fs2" name = "fs2"
version = "0.4.3" version = "0.4.3"
...@@ -2203,12 +2139,6 @@ dependencies = [ ...@@ -2203,12 +2139,6 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "fs_extra"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
[[package]] [[package]]
name = "fsevent" name = "fsevent"
version = "0.4.0" version = "0.4.0"
...@@ -2254,12 +2184,6 @@ version = "0.3.3" ...@@ -2254,12 +2184,6 @@ version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
[[package]]
name = "funty"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
[[package]] [[package]]
name = "funty" name = "funty"
version = "2.0.0" version = "2.0.0"
...@@ -2395,6 +2319,15 @@ dependencies = [ ...@@ -2395,6 +2319,15 @@ dependencies = [
"slab", "slab",
] ]
[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
"byteorder",
]
[[package]] [[package]]
name = "g1-runtime" name = "g1-runtime"
version = "3.0.0" version = "3.0.0"
...@@ -2426,6 +2359,7 @@ dependencies = [ ...@@ -2426,6 +2359,7 @@ dependencies = [
"pallet-membership", "pallet-membership",
"pallet-multisig", "pallet-multisig",
"pallet-offences", "pallet-offences",
"pallet-oneshot-account",
"pallet-preimage", "pallet-preimage",
"pallet-provide-randomness", "pallet-provide-randomness",
"pallet-proxy", "pallet-proxy",
...@@ -2494,6 +2428,7 @@ dependencies = [ ...@@ -2494,6 +2428,7 @@ dependencies = [
"pallet-membership", "pallet-membership",
"pallet-multisig", "pallet-multisig",
"pallet-offences", "pallet-offences",
"pallet-oneshot-account",
"pallet-preimage", "pallet-preimage",
"pallet-provide-randomness", "pallet-provide-randomness",
"pallet-proxy", "pallet-proxy",
...@@ -2551,6 +2486,16 @@ dependencies = [ ...@@ -2551,6 +2486,16 @@ dependencies = [
"version_check", "version_check",
] ]
[[package]]
name = "gethostname"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1ebd34e35c46e00bb73e81363248d627782724609fe1b6396f553f68fe3862e"
dependencies = [
"libc",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "getopts" name = "getopts"
version = "0.2.21" version = "0.2.21"
...@@ -2633,12 +2578,6 @@ dependencies = [ ...@@ -2633,12 +2578,6 @@ dependencies = [
"stable_deref_trait", "stable_deref_trait",
] ]
[[package]]
name = "glob"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]] [[package]]
name = "globset" name = "globset"
version = "0.4.8" version = "0.4.8"
...@@ -2776,6 +2715,7 @@ dependencies = [ ...@@ -2776,6 +2715,7 @@ dependencies = [
"pallet-membership", "pallet-membership",
"pallet-multisig", "pallet-multisig",
"pallet-offences", "pallet-offences",
"pallet-oneshot-account",
"pallet-preimage", "pallet-preimage",
"pallet-provide-randomness", "pallet-provide-randomness",
"pallet-proxy", "pallet-proxy",
...@@ -3149,12 +3089,12 @@ dependencies = [ ...@@ -3149,12 +3089,12 @@ dependencies = [
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "1.7.0" version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [ dependencies = [
"autocfg", "autocfg",
"hashbrown 0.11.2", "hashbrown 0.12.2",
"serde", "serde",
] ]
...@@ -3218,6 +3158,12 @@ version = "0.5.3" ...@@ -3218,6 +3158,12 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6" checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6"
[[package]]
name = "io-lifetimes"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ea37f355c05dde75b84bba2d767906ad522e97cd9e2eef2be7a4ab7fb442c06"
[[package]] [[package]]
name = "iovec" name = "iovec"
version = "0.1.4" version = "0.1.4"
...@@ -3292,14 +3238,14 @@ dependencies = [ ...@@ -3292,14 +3238,14 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee" name = "jsonrpsee"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f2ab5a60e558e74ea93bcf5164ebc47939a7fff8938fa9b5233bbc63e16061" checksum = "11e017217fcd18da0a25296d3693153dd19c8a6aadab330b3595285d075385d1"
dependencies = [ dependencies = [
"jsonrpsee-core 0.13.1", "jsonrpsee-core 0.14.0",
"jsonrpsee-http-server", "jsonrpsee-http-server",
"jsonrpsee-proc-macros", "jsonrpsee-proc-macros",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
"jsonrpsee-ws-client", "jsonrpsee-ws-client",
"jsonrpsee-ws-server", "jsonrpsee-ws-server",
"tracing", "tracing",
...@@ -3307,25 +3253,25 @@ dependencies = [ ...@@ -3307,25 +3253,25 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee" name = "jsonrpsee"
version = "0.14.0" version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11e017217fcd18da0a25296d3693153dd19c8a6aadab330b3595285d075385d1" checksum = "8bd0d559d5e679b1ab2f869b486a11182923863b1b3ee8b421763cdd707b783a"
dependencies = [ dependencies = [
"jsonrpsee-client-transport 0.14.0", "jsonrpsee-client-transport 0.15.1",
"jsonrpsee-core 0.14.0", "jsonrpsee-core 0.15.1",
] ]
[[package]] [[package]]
name = "jsonrpsee-client-transport" name = "jsonrpsee-client-transport"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26d682f4a55081a2be3e639280c640523070e4aeb8ee2fd8dd9168fdae57a9db" checksum = "ce395539a14d3ad4ec1256fde105abd36a2da25d578a291cabe98f45adfdb111"
dependencies = [ dependencies = [
"futures-util", "futures-util",
"http", "http",
"jsonrpsee-core 0.13.1", "jsonrpsee-core 0.14.0",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
"pin-project 1.0.10", "pin-project",
"rustls-native-certs", "rustls-native-certs",
"soketto", "soketto",
"thiserror", "thiserror",
...@@ -3338,15 +3284,15 @@ dependencies = [ ...@@ -3338,15 +3284,15 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee-client-transport" name = "jsonrpsee-client-transport"
version = "0.14.0" version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce395539a14d3ad4ec1256fde105abd36a2da25d578a291cabe98f45adfdb111" checksum = "8752740ecd374bcbf8b69f3e80b0327942df76f793f8d4e60d3355650c31fb74"
dependencies = [ dependencies = [
"futures-util", "futures-util",
"http", "http",
"jsonrpsee-core 0.14.0", "jsonrpsee-core 0.15.1",
"jsonrpsee-types 0.14.0", "jsonrpsee-types 0.15.1",
"pin-project 1.0.10", "pin-project",
"rustls-native-certs", "rustls-native-certs",
"soketto", "soketto",
"thiserror", "thiserror",
...@@ -3359,20 +3305,22 @@ dependencies = [ ...@@ -3359,20 +3305,22 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee-core" name = "jsonrpsee-core"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e27462b21279edf9a6a91f46ffbe125e9cdc58b901d2e08bf59b31a47d7d0ab" checksum = "16efcd4477de857d4a2195a45769b2fe9ebb54f3ef5a4221d3b014a4fe33ec0b"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.1", "arrayvec 0.7.2",
"async-lock", "async-lock",
"async-trait", "async-trait",
"beef", "beef",
"futures-channel", "futures-channel",
"futures-timer", "futures-timer",
"futures-util", "futures-util",
"globset",
"hyper", "hyper",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
"lazy_static",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"rand 0.8.4", "rand 0.8.4",
"rustc-hash", "rustc-hash",
...@@ -3382,13 +3330,14 @@ dependencies = [ ...@@ -3382,13 +3330,14 @@ dependencies = [
"thiserror", "thiserror",
"tokio", "tokio",
"tracing", "tracing",
"unicase",
] ]
[[package]] [[package]]
name = "jsonrpsee-core" name = "jsonrpsee-core"
version = "0.14.0" version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16efcd4477de857d4a2195a45769b2fe9ebb54f3ef5a4221d3b014a4fe33ec0b" checksum = "f3dc3e9cf2ba50b7b1d7d76a667619f82846caa39e8e8daa8a4962d74acaddca"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-lock", "async-lock",
...@@ -3397,39 +3346,38 @@ dependencies = [ ...@@ -3397,39 +3346,38 @@ dependencies = [
"futures-channel", "futures-channel",
"futures-timer", "futures-timer",
"futures-util", "futures-util",
"jsonrpsee-types 0.14.0", "jsonrpsee-types 0.15.1",
"rustc-hash", "rustc-hash",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror",
"tokio", "tokio",
"tracing", "tracing",
"tracing-futures",
] ]
[[package]] [[package]]
name = "jsonrpsee-http-server" name = "jsonrpsee-http-server"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7178f16eabd7154c094e24d295b9ee355ec1e5f24c328759c56255ff7bbd4548" checksum = "bdd69efeb3ce2cba767f126872f4eeb4624038a29098e75d77608b2b4345ad03"
dependencies = [ dependencies = [
"futures-channel", "futures-channel",
"futures-util", "futures-util",
"globset",
"hyper", "hyper",
"jsonrpsee-core 0.13.1", "jsonrpsee-core 0.14.0",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
"lazy_static", "serde",
"serde_json", "serde_json",
"tokio", "tokio",
"tracing", "tracing",
"unicase",
] ]
[[package]] [[package]]
name = "jsonrpsee-proc-macros" name = "jsonrpsee-proc-macros"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b8d7f449cab3b747f12c3efc27f5cad537f3b597c6a3838b0fac628f4bf730a" checksum = "874cf3f6a027cebf36cae767feca9aa2e8a8f799880e49eb5540819fcbd8eada"
dependencies = [ dependencies = [
"proc-macro-crate", "proc-macro-crate",
"proc-macro2", "proc-macro2",
...@@ -3439,9 +3387,9 @@ dependencies = [ ...@@ -3439,9 +3387,9 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee-types" name = "jsonrpsee-types"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fd11763134104122ddeb0f97e4bbe393058017dfb077db63fbf44b4dd0dd86e" checksum = "3bcf76cd316f5d3ad48138085af1f45e2c58c98e02f0779783dbb034d43f7c86"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"beef", "beef",
...@@ -3453,9 +3401,9 @@ dependencies = [ ...@@ -3453,9 +3401,9 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee-types" name = "jsonrpsee-types"
version = "0.14.0" version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bcf76cd316f5d3ad48138085af1f45e2c58c98e02f0779783dbb034d43f7c86" checksum = "e290bba767401b646812f608c099b922d8142603c9e73a50fb192d3ac86f4a0d"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"beef", "beef",
...@@ -3467,28 +3415,29 @@ dependencies = [ ...@@ -3467,28 +3415,29 @@ dependencies = [
[[package]] [[package]]
name = "jsonrpsee-ws-client" name = "jsonrpsee-ws-client"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76f15180afb3761c7a3a32c0a8b680788176dcfdfe725b24c1758c90b1d1595b" checksum = "ee043cb5dd0d51d3eb93432e998d5bae797691a7b10ec4a325e036bcdb48c48a"
dependencies = [ dependencies = [
"jsonrpsee-client-transport 0.13.1", "jsonrpsee-client-transport 0.14.0",
"jsonrpsee-core 0.13.1", "jsonrpsee-core 0.14.0",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
] ]
[[package]] [[package]]
name = "jsonrpsee-ws-server" name = "jsonrpsee-ws-server"
version = "0.13.1" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfb6c21556c551582b56e4e8e6e6249b0bbdb69bb7fa39efe9b9a6b54af9f206" checksum = "2bd2e4d266774a671f8def3794255b28eddd09b18d76e0b913fa439f34588c0a"
dependencies = [ dependencies = [
"futures-channel", "futures-channel",
"futures-util", "futures-util",
"jsonrpsee-core 0.13.1", "jsonrpsee-core 0.14.0",
"jsonrpsee-types 0.13.1", "jsonrpsee-types 0.14.0",
"serde_json", "serde_json",
"soketto", "soketto",
"tokio", "tokio",
"tokio-stream",
"tokio-util 0.7.3", "tokio-util 0.7.3",
"tracing", "tracing",
] ]
...@@ -3551,24 +3500,6 @@ dependencies = [ ...@@ -3551,24 +3500,6 @@ dependencies = [
"parking_lot 0.12.0", "parking_lot 0.12.0",
] ]
[[package]]
name = "kvdb-rocksdb"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca7fbdfd71cd663dceb0faf3367a99f8cf724514933e9867cec4995b6027cbc1"
dependencies = [
"fs-swap",
"kvdb",
"log",
"num_cpus",
"owning_ref",
"parity-util-mem",
"parking_lot 0.12.0",
"regex",
"rocksdb",
"smallvec",
]
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"
version = "1.4.0" version = "1.4.0"
...@@ -3587,26 +3518,6 @@ version = "0.2.126" ...@@ -3587,26 +3518,6 @@ version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "libloading"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753"
dependencies = [
"cc",
"winapi 0.3.9",
]
[[package]]
name = "libloading"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a"
dependencies = [
"cfg-if 1.0.0",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "libm" name = "libm"
version = "0.2.1" version = "0.2.1"
...@@ -3615,11 +3526,10 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" ...@@ -3615,11 +3526,10 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
[[package]] [[package]]
name = "libp2p" name = "libp2p"
version = "0.44.0" version = "0.46.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "475ce2ac4a9727e53a519f6ee05b38abfcba8f0d39c4d24f103d184e36fd5b0f" checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d"
dependencies = [ dependencies = [
"atomic",
"bytes", "bytes",
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
...@@ -3653,16 +3563,16 @@ dependencies = [ ...@@ -3653,16 +3563,16 @@ dependencies = [
"libp2p-yamux", "libp2p-yamux",
"multiaddr", "multiaddr",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"pin-project 1.0.10", "pin-project",
"rand 0.7.3", "rand 0.7.3",
"smallvec", "smallvec",
] ]
[[package]] [[package]]
name = "libp2p-autonat" name = "libp2p-autonat"
version = "0.3.0" version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a13b690e65046af6a09c0b27bd9508fa1cab0efce889de74b0b643b9d2a98f9a" checksum = "4decc51f3573653a9f4ecacb31b1b922dd20c25a6322bb15318ec04287ec46f9"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -3672,16 +3582,16 @@ dependencies = [ ...@@ -3672,16 +3582,16 @@ dependencies = [
"libp2p-request-response", "libp2p-request-response",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.8.4", "rand 0.8.4",
] ]
[[package]] [[package]]
name = "libp2p-core" name = "libp2p-core"
version = "0.32.1" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db5b02602099fb75cb2d16f9ea860a320d6eb82ce41e95ab680912c454805cd5" checksum = "fbf9b94cefab7599b2d3dff2f93bee218c6621d68590b23ede4485813cbcece6"
dependencies = [ dependencies = [
"asn1_der", "asn1_der",
"bs58", "bs58",
...@@ -3698,8 +3608,8 @@ dependencies = [ ...@@ -3698,8 +3608,8 @@ dependencies = [
"multihash", "multihash",
"multistream-select", "multistream-select",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"pin-project 1.0.10", "pin-project",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.8.4", "rand 0.8.4",
"ring", "ring",
...@@ -3714,9 +3624,9 @@ dependencies = [ ...@@ -3714,9 +3624,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-deflate" name = "libp2p-deflate"
version = "0.32.0" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b1d37f042f748e224f04785d0e987ae09a2aa518d6401d82d412dad83e360ed" checksum = "d0183dc2a3da1fbbf85e5b6cf51217f55b14f5daea0c455a9536eef646bfec71"
dependencies = [ dependencies = [
"flate2", "flate2",
"futures 0.3.21", "futures 0.3.21",
...@@ -3725,23 +3635,24 @@ dependencies = [ ...@@ -3725,23 +3635,24 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-dns" name = "libp2p-dns"
version = "0.32.1" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "066e33e854e10b5c93fc650458bf2179c7e0d143db260b0963e44a94859817f1" checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5"
dependencies = [ dependencies = [
"async-std-resolver", "async-std-resolver",
"futures 0.3.21", "futures 0.3.21",
"libp2p-core", "libp2p-core",
"log", "log",
"parking_lot 0.12.0",
"smallvec", "smallvec",
"trust-dns-resolver", "trust-dns-resolver",
] ]
[[package]] [[package]]
name = "libp2p-floodsub" name = "libp2p-floodsub"
version = "0.35.0" version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "733d3ea6ebe7a7a85df2bc86678b93f24b015fae5fe3b3acc4c400e795a55d2d" checksum = "98a4b6ffd53e355775d24b76f583fdda54b3284806f678499b57913adb94f231"
dependencies = [ dependencies = [
"cuckoofilter", "cuckoofilter",
"fnv", "fnv",
...@@ -3749,7 +3660,7 @@ dependencies = [ ...@@ -3749,7 +3660,7 @@ dependencies = [
"libp2p-core", "libp2p-core",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.7.3", "rand 0.7.3",
"smallvec", "smallvec",
...@@ -3757,9 +3668,9 @@ dependencies = [ ...@@ -3757,9 +3668,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-gossipsub" name = "libp2p-gossipsub"
version = "0.37.0" version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a90c989a7c0969c2ab63e898da9bc735e3be53fb4f376e9c045ce516bcc9f928" checksum = "74b4b888cfbeb1f5551acd3aa1366e01bf88ede26cc3c4645d0d2d004d5ca7b0"
dependencies = [ dependencies = [
"asynchronous-codec", "asynchronous-codec",
"base64", "base64",
...@@ -3773,7 +3684,7 @@ dependencies = [ ...@@ -3773,7 +3684,7 @@ dependencies = [
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"prometheus-client", "prometheus-client",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.7.3", "rand 0.7.3",
"regex", "regex",
...@@ -3785,28 +3696,32 @@ dependencies = [ ...@@ -3785,28 +3696,32 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-identify" name = "libp2p-identify"
version = "0.35.0" version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5ef5a5b57904c7c33d6713ef918d239dc6b7553458f3475d87f8a18e9c651c8" checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06"
dependencies = [ dependencies = [
"asynchronous-codec",
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
"libp2p-core", "libp2p-core",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"lru", "lru",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"prost-codec",
"smallvec", "smallvec",
"thiserror",
"void",
] ]
[[package]] [[package]]
name = "libp2p-kad" name = "libp2p-kad"
version = "0.36.0" version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "564e6bd64d177446399ed835b9451a8825b07929d6daa6a94e6405592974725e" checksum = "740862893bb5f06ac24acc9d49bdeadc3a5e52e51818a30a25c1f3519da2c851"
dependencies = [ dependencies = [
"arrayvec 0.5.2", "arrayvec 0.7.2",
"asynchronous-codec", "asynchronous-codec",
"bytes", "bytes",
"either", "either",
...@@ -3817,7 +3732,7 @@ dependencies = [ ...@@ -3817,7 +3732,7 @@ dependencies = [
"libp2p-core", "libp2p-core",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.7.3", "rand 0.7.3",
"sha2 0.10.2", "sha2 0.10.2",
...@@ -3830,9 +3745,9 @@ dependencies = [ ...@@ -3830,9 +3745,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-mdns" name = "libp2p-mdns"
version = "0.36.0" version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "611ae873c8e280ccfab0d57c7a13cac5644f364529e233114ff07863946058b0" checksum = "66e5e5919509603281033fd16306c61df7a4428ce274b67af5e14b07de5cdcb2"
dependencies = [ dependencies = [
"async-io", "async-io",
"data-encoding", "data-encoding",
...@@ -3851,9 +3766,9 @@ dependencies = [ ...@@ -3851,9 +3766,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-metrics" name = "libp2p-metrics"
version = "0.5.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "985be799bb3796e0c136c768208c3c06604a38430571906a13dcfeda225a3b9d" checksum = "ef8aff4a1abef42328fbb30b17c853fff9be986dc39af17ee39f9c5f755c5e0c"
dependencies = [ dependencies = [
"libp2p-core", "libp2p-core",
"libp2p-gossipsub", "libp2p-gossipsub",
...@@ -3867,9 +3782,9 @@ dependencies = [ ...@@ -3867,9 +3782,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-mplex" name = "libp2p-mplex"
version = "0.32.0" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "442eb0c9fff0bf22a34f015724b4143ce01877e079ed0963c722d94c07c72160" checksum = "61fd1b20638ec209c5075dfb2e8ce6a7ea4ec3cd3ad7b77f7a477c06d53322e2"
dependencies = [ dependencies = [
"asynchronous-codec", "asynchronous-codec",
"bytes", "bytes",
...@@ -3885,9 +3800,9 @@ dependencies = [ ...@@ -3885,9 +3800,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-noise" name = "libp2p-noise"
version = "0.35.0" version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9dd7e0c94051cda67123be68cf6b65211ba3dde7277be9068412de3e7ffd63ef" checksum = "762408cb5d84b49a600422d7f9a42c18012d8da6ebcd570f9a4a4290ba41fb6f"
dependencies = [ dependencies = [
"bytes", "bytes",
"curve25519-dalek 3.2.0", "curve25519-dalek 3.2.0",
...@@ -3895,7 +3810,7 @@ dependencies = [ ...@@ -3895,7 +3810,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libp2p-core", "libp2p-core",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.8.4", "rand 0.8.4",
"sha2 0.10.2", "sha2 0.10.2",
...@@ -3907,9 +3822,9 @@ dependencies = [ ...@@ -3907,9 +3822,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-ping" name = "libp2p-ping"
version = "0.35.0" version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf57a3c2e821331dda9fe612d4654d676ab6e33d18d9434a18cced72630df6ad" checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
...@@ -3923,16 +3838,16 @@ dependencies = [ ...@@ -3923,16 +3838,16 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-plaintext" name = "libp2p-plaintext"
version = "0.32.0" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "962c0fb0e7212fb96a69b87f2d09bcefd317935239bdc79cda900e7a8897a3fe" checksum = "be27bf0820a6238a4e06365b096d428271cce85a129cf16f2fe9eb1610c4df86"
dependencies = [ dependencies = [
"asynchronous-codec", "asynchronous-codec",
"bytes", "bytes",
"futures 0.3.21", "futures 0.3.21",
"libp2p-core", "libp2p-core",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"unsigned-varint", "unsigned-varint",
"void", "void",
...@@ -3946,7 +3861,7 @@ checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" ...@@ -3946,7 +3861,7 @@ checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"log", "log",
"pin-project 1.0.10", "pin-project",
"rand 0.7.3", "rand 0.7.3",
"salsa20", "salsa20",
"sha3 0.9.1", "sha3 0.9.1",
...@@ -3954,9 +3869,9 @@ dependencies = [ ...@@ -3954,9 +3869,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-relay" name = "libp2p-relay"
version = "0.8.0" version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3aa754cb7bccef51ebc3c458c6bbcef89d83b578a9925438389be841527d408f" checksum = "4931547ee0cce03971ccc1733ff05bb0c4349fd89120a39e9861e2bbe18843c3"
dependencies = [ dependencies = [
"asynchronous-codec", "asynchronous-codec",
"bytes", "bytes",
...@@ -3967,22 +3882,22 @@ dependencies = [ ...@@ -3967,22 +3882,22 @@ dependencies = [
"libp2p-core", "libp2p-core",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"pin-project 1.0.10", "pin-project",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"prost-codec",
"rand 0.8.4", "rand 0.8.4",
"smallvec", "smallvec",
"static_assertions", "static_assertions",
"thiserror", "thiserror",
"unsigned-varint",
"void", "void",
] ]
[[package]] [[package]]
name = "libp2p-rendezvous" name = "libp2p-rendezvous"
version = "0.5.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbd0baab894c5b84da510b915d53264d566c3c35889f09931fe9edbd2a773bee" checksum = "9511c9672ba33284838e349623319c8cad2d18cfad243ae46c6b7e8a2982ea4e"
dependencies = [ dependencies = [
"asynchronous-codec", "asynchronous-codec",
"bimap", "bimap",
...@@ -3992,7 +3907,7 @@ dependencies = [ ...@@ -3992,7 +3907,7 @@ dependencies = [
"libp2p-core", "libp2p-core",
"libp2p-swarm", "libp2p-swarm",
"log", "log",
"prost 0.9.0", "prost",
"prost-build", "prost-build",
"rand 0.8.4", "rand 0.8.4",
"sha2 0.10.2", "sha2 0.10.2",
...@@ -4003,9 +3918,9 @@ dependencies = [ ...@@ -4003,9 +3918,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-request-response" name = "libp2p-request-response"
version = "0.17.0" version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6a6fc6c9ad95661f46989473b34bd2993d14a4de497ff3b2668a910d4b869" checksum = "508a189e2795d892c8f5c1fa1e9e0b1845d32d7b0b249dbf7b05b18811361843"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"bytes", "bytes",
...@@ -4021,9 +3936,9 @@ dependencies = [ ...@@ -4021,9 +3936,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-swarm" name = "libp2p-swarm"
version = "0.35.0" version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f0c69ad9e8f7c5fc50ad5ad9c7c8b57f33716532a2b623197f69f93e374d14c" checksum = "95ac5be6c2de2d1ff3f7693fda6faf8a827b1f3e808202277783fea9f527d114"
dependencies = [ dependencies = [
"either", "either",
"fnv", "fnv",
...@@ -4032,7 +3947,7 @@ dependencies = [ ...@@ -4032,7 +3947,7 @@ dependencies = [
"instant", "instant",
"libp2p-core", "libp2p-core",
"log", "log",
"pin-project 1.0.10", "pin-project",
"rand 0.7.3", "rand 0.7.3",
"smallvec", "smallvec",
"thiserror", "thiserror",
...@@ -4041,9 +3956,9 @@ dependencies = [ ...@@ -4041,9 +3956,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-swarm-derive" name = "libp2p-swarm-derive"
version = "0.27.2" version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f693c8c68213034d472cbb93a379c63f4f307d97c06f1c41e4985de481687a5" checksum = "9f54a64b6957249e0ce782f8abf41d97f69330d02bf229f0672d864f0650cc76"
dependencies = [ dependencies = [
"quote", "quote",
"syn", "syn",
...@@ -4051,9 +3966,9 @@ dependencies = [ ...@@ -4051,9 +3966,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-tcp" name = "libp2p-tcp"
version = "0.32.0" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "193447aa729c85aac2376828df76d171c1a589c9e6b58fcc7f9d9a020734122c" checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b"
dependencies = [ dependencies = [
"async-io", "async-io",
"futures 0.3.21", "futures 0.3.21",
...@@ -4068,9 +3983,9 @@ dependencies = [ ...@@ -4068,9 +3983,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-uds" name = "libp2p-uds"
version = "0.32.0" version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24bdab114f7f2701757d6541266e1131b429bbae382008f207f2114ee4222dcb" checksum = "d125e3e5f0d58f3c6ac21815b20cf4b6a88b8db9dc26368ea821838f4161fd4d"
dependencies = [ dependencies = [
"async-std", "async-std",
"futures 0.3.21", "futures 0.3.21",
...@@ -4080,9 +3995,9 @@ dependencies = [ ...@@ -4080,9 +3995,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-wasm-ext" name = "libp2p-wasm-ext"
version = "0.32.0" version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f6ea0f84a967ef59a16083f222c18115ae2e91db69809dce275df62e101b279" checksum = "ec894790eec3c1608f8d1a8a0bdf0dbeb79ed4de2dce964222011c2896dfa05a"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"js-sys", "js-sys",
...@@ -4094,15 +4009,16 @@ dependencies = [ ...@@ -4094,15 +4009,16 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-websocket" name = "libp2p-websocket"
version = "0.34.0" version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c932834c3754501c368d1bf3d0fb458487a642b90fc25df082a3a2f3d3b32e37" checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818"
dependencies = [ dependencies = [
"either", "either",
"futures 0.3.21", "futures 0.3.21",
"futures-rustls", "futures-rustls",
"libp2p-core", "libp2p-core",
"log", "log",
"parking_lot 0.12.0",
"quicksink", "quicksink",
"rw-stream-sink", "rw-stream-sink",
"soketto", "soketto",
...@@ -4112,9 +4028,9 @@ dependencies = [ ...@@ -4112,9 +4028,9 @@ dependencies = [
[[package]] [[package]]
name = "libp2p-yamux" name = "libp2p-yamux"
version = "0.36.0" version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be902ebd89193cd020e89e89107726a38cfc0d16d18f613f4a37d046e92c7517" checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"libp2p-core", "libp2p-core",
...@@ -4123,21 +4039,6 @@ dependencies = [ ...@@ -4123,21 +4039,6 @@ dependencies = [
"yamux", "yamux",
] ]
[[package]]
name = "librocksdb-sys"
version = "0.6.1+6.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81bc587013734dadb7cf23468e531aa120788b87243648be42e2d3a072186291"
dependencies = [
"bindgen",
"bzip2-sys",
"cc",
"glob",
"libc",
"libz-sys",
"tikv-jemalloc-sys",
]
[[package]] [[package]]
name = "libsecp256k1" name = "libsecp256k1"
version = "0.7.0" version = "0.7.0"
...@@ -4228,6 +4129,12 @@ version = "0.0.42" ...@@ -4228,6 +4129,12 @@ version = "0.0.42"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7"
[[package]]
name = "linux-raw-sys"
version = "0.0.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
[[package]] [[package]]
name = "lock_api" name = "lock_api"
version = "0.4.7" version = "0.4.7"
...@@ -4569,7 +4476,7 @@ dependencies = [ ...@@ -4569,7 +4476,7 @@ dependencies = [
"bytes", "bytes",
"futures 0.3.21", "futures 0.3.21",
"log", "log",
"pin-project 1.0.10", "pin-project",
"smallvec", "smallvec",
"unsigned-varint", "unsigned-varint",
] ]
...@@ -4736,18 +4643,6 @@ version = "0.2.0" ...@@ -4736,18 +4643,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]]
name = "nom"
version = "6.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
dependencies = [
"bitvec 0.19.5",
"funty 1.1.0",
"memchr",
"version_check",
]
[[package]] [[package]]
name = "nom" name = "nom"
version = "7.1.0" version = "7.1.0"
...@@ -4767,7 +4662,7 @@ checksum = "37794436ca3029a3089e0b95d42da1f0b565ad271e4d3bb4bad0c7bb70b10605" ...@@ -4767,7 +4662,7 @@ checksum = "37794436ca3029a3089e0b95d42da1f0b565ad271e4d3bb4bad0c7bb70b10605"
dependencies = [ dependencies = [
"bytecount", "bytecount",
"memchr", "memchr",
"nom 7.1.0", "nom",
] ]
[[package]] [[package]]
...@@ -4893,11 +4788,12 @@ dependencies = [ ...@@ -4893,11 +4788,12 @@ dependencies = [
[[package]] [[package]]
name = "object" name = "object"
version = "0.27.1" version = "0.28.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
dependencies = [ dependencies = [
"crc32fast", "crc32fast",
"hashbrown 0.11.2",
"indexmap", "indexmap",
"memchr", "memchr",
] ]
...@@ -4995,7 +4891,7 @@ dependencies = [ ...@@ -4995,7 +4891,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-atomic-swap" name = "pallet-atomic-swap"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5010,7 +4906,7 @@ dependencies = [ ...@@ -5010,7 +4906,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-authority-discovery" name = "pallet-authority-discovery"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5047,7 +4943,7 @@ dependencies = [ ...@@ -5047,7 +4943,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-authorship" name = "pallet-authorship"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5062,7 +4958,7 @@ dependencies = [ ...@@ -5062,7 +4958,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-babe" name = "pallet-babe"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5086,7 +4982,7 @@ dependencies = [ ...@@ -5086,7 +4982,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-balances" name = "pallet-balances"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5118,7 +5014,7 @@ dependencies = [ ...@@ -5118,7 +5014,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-collective" name = "pallet-collective"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5202,7 +5098,7 @@ dependencies = [ ...@@ -5202,7 +5098,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-grandpa" name = "pallet-grandpa"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5242,7 +5138,7 @@ dependencies = [ ...@@ -5242,7 +5138,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-im-online" name = "pallet-im-online"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5280,7 +5176,7 @@ dependencies = [ ...@@ -5280,7 +5176,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-multisig" name = "pallet-multisig"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5295,7 +5191,7 @@ dependencies = [ ...@@ -5295,7 +5191,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-offences" name = "pallet-offences"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5309,10 +5205,28 @@ dependencies = [ ...@@ -5309,10 +5205,28 @@ dependencies = [
"sp-std", "sp-std",
] ]
[[package]]
name = "pallet-oneshot-account"
version = "3.0.0"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"pallet-balances",
"pallet-transaction-payment",
"parity-scale-codec",
"scale-info",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
]
[[package]] [[package]]
name = "pallet-preimage" name = "pallet-preimage"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5343,7 +5257,7 @@ dependencies = [ ...@@ -5343,7 +5257,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-proxy" name = "pallet-proxy"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5358,7 +5272,7 @@ dependencies = [ ...@@ -5358,7 +5272,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-scheduler" name = "pallet-scheduler"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5374,7 +5288,7 @@ dependencies = [ ...@@ -5374,7 +5288,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-session" name = "pallet-session"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5395,7 +5309,7 @@ dependencies = [ ...@@ -5395,7 +5309,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-sudo" name = "pallet-sudo"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5409,7 +5323,7 @@ dependencies = [ ...@@ -5409,7 +5323,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-timestamp" name = "pallet-timestamp"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5427,7 +5341,7 @@ dependencies = [ ...@@ -5427,7 +5341,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-transaction-payment" name = "pallet-transaction-payment"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",
...@@ -5443,9 +5357,9 @@ dependencies = [ ...@@ -5443,9 +5357,9 @@ dependencies = [
[[package]] [[package]]
name = "pallet-transaction-payment-rpc" name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"pallet-transaction-payment-rpc-runtime-api", "pallet-transaction-payment-rpc-runtime-api",
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
...@@ -5458,7 +5372,7 @@ dependencies = [ ...@@ -5458,7 +5372,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-transaction-payment-rpc-runtime-api" name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"pallet-transaction-payment", "pallet-transaction-payment",
"parity-scale-codec", "parity-scale-codec",
...@@ -5469,7 +5383,7 @@ dependencies = [ ...@@ -5469,7 +5383,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-treasury" name = "pallet-treasury"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5518,7 +5432,7 @@ dependencies = [ ...@@ -5518,7 +5432,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-utility" name = "pallet-utility"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
...@@ -5556,8 +5470,8 @@ version = "3.1.5" ...@@ -5556,8 +5470,8 @@ version = "3.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0"
dependencies = [ dependencies = [
"arrayvec 0.7.1", "arrayvec 0.7.2",
"bitvec 1.0.1", "bitvec",
"byte-slice-cast", "byte-slice-cast",
"impl-trait-for-tuples", "impl-trait-for-tuples",
"parity-scale-codec-derive", "parity-scale-codec-derive",
...@@ -5594,7 +5508,6 @@ dependencies = [ ...@@ -5594,7 +5508,6 @@ dependencies = [
"parity-util-mem-derive", "parity-util-mem-derive",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"primitive-types", "primitive-types",
"smallvec",
"winapi 0.3.9", "winapi 0.3.9",
] ]
...@@ -5702,12 +5615,6 @@ dependencies = [ ...@@ -5702,12 +5615,6 @@ dependencies = [
"crypto-mac 0.11.1", "crypto-mac 0.11.1",
] ]
[[package]]
name = "peeking_take_while"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]] [[package]]
name = "peg" name = "peg"
version = "0.6.3" version = "0.6.3"
...@@ -5794,33 +5701,13 @@ dependencies = [ ...@@ -5794,33 +5701,13 @@ dependencies = [
"indexmap", "indexmap",
] ]
[[package]]
name = "pin-project"
version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ef0f924a5ee7ea9cbcea77529dba45f8a9ba9f622419fe3386ca581a3ae9d5a"
dependencies = [
"pin-project-internal 0.4.30",
]
[[package]] [[package]]
name = "pin-project" name = "pin-project"
version = "1.0.10" version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e"
dependencies = [ dependencies = [
"pin-project-internal 1.0.10", "pin-project-internal",
]
[[package]]
name = "pin-project-internal"
version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e"
dependencies = [
"proc-macro2",
"quote",
"syn",
] ]
[[package]] [[package]]
...@@ -5997,9 +5884,9 @@ dependencies = [ ...@@ -5997,9 +5884,9 @@ dependencies = [
[[package]] [[package]]
name = "prometheus-client" name = "prometheus-client"
version = "0.15.1" version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9a896938cc6018c64f279888b8c7559d3725210d5db9a3a1ee6bc7188d51d34" checksum = "ac1abe0255c04d15f571427a2d1e00099016506cf3297b53853acd2b7eb87825"
dependencies = [ dependencies = [
"dtoa", "dtoa",
"itoa 1.0.1", "itoa 1.0.1",
...@@ -6018,16 +5905,6 @@ dependencies = [ ...@@ -6018,16 +5905,6 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "prost"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001"
dependencies = [
"bytes",
"prost-derive 0.9.0",
]
[[package]] [[package]]
name = "prost" name = "prost"
version = "0.10.4" version = "0.10.4"
...@@ -6035,23 +5912,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -6035,23 +5912,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e"
dependencies = [ dependencies = [
"bytes", "bytes",
"prost-derive 0.10.1", "prost-derive",
] ]
[[package]] [[package]]
name = "prost-build" name = "prost-build"
version = "0.9.0" version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" checksum = "8ae5a4388762d5815a9fc0dea33c56b021cdc8dde0c55e0c9ca57197254b0cab"
dependencies = [ dependencies = [
"bytes", "bytes",
"heck 0.3.3", "cfg-if 1.0.0",
"cmake",
"heck 0.4.0",
"itertools", "itertools",
"lazy_static", "lazy_static",
"log", "log",
"multimap", "multimap",
"petgraph", "petgraph",
"prost 0.9.0", "prost",
"prost-types", "prost-types",
"regex", "regex",
"tempfile", "tempfile",
...@@ -6059,16 +5938,16 @@ dependencies = [ ...@@ -6059,16 +5938,16 @@ dependencies = [
] ]
[[package]] [[package]]
name = "prost-derive" name = "prost-codec"
version = "0.9.0" version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" checksum = "00af1e92c33b4813cc79fda3f2dbf56af5169709be0202df730e9ebc3e4cd007"
dependencies = [ dependencies = [
"anyhow", "asynchronous-codec",
"itertools", "bytes",
"proc-macro2", "prost",
"quote", "thiserror",
"syn", "unsigned-varint",
] ]
[[package]] [[package]]
...@@ -6086,12 +5965,12 @@ dependencies = [ ...@@ -6086,12 +5965,12 @@ dependencies = [
[[package]] [[package]]
name = "prost-types" name = "prost-types"
version = "0.9.0" version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" checksum = "2d0a014229361011dc8e69c8a1ec6c2e8d0f2af7c91e3ea3f5b2170298461e68"
dependencies = [ dependencies = [
"bytes", "bytes",
"prost 0.9.0", "prost",
] ]
[[package]] [[package]]
...@@ -6129,12 +6008,6 @@ dependencies = [ ...@@ -6129,12 +6008,6 @@ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]]
name = "radium"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
[[package]] [[package]]
name = "radium" name = "radium"
version = "0.7.0" version = "0.7.0"
...@@ -6321,13 +6194,14 @@ dependencies = [ ...@@ -6321,13 +6194,14 @@ dependencies = [
] ]
[[package]] [[package]]
name = "regalloc" name = "regalloc2"
version = "0.0.34" version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" checksum = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c"
dependencies = [ dependencies = [
"fxhash",
"log", "log",
"rustc-hash", "slice-group-by",
"smallvec", "smallvec",
] ]
...@@ -6372,10 +6246,10 @@ dependencies = [ ...@@ -6372,10 +6246,10 @@ dependencies = [
[[package]] [[package]]
name = "remote-externalities" name = "remote-externalities"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"env_logger", "env_logger",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"serde", "serde",
...@@ -6474,16 +6348,6 @@ dependencies = [ ...@@ -6474,16 +6348,6 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "rocksdb"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "620f4129485ff1a7128d184bc687470c21c7951b64779ebc9cfdad3dcd920290"
dependencies = [
"libc",
"librocksdb-sys",
]
[[package]] [[package]]
name = "rpassword" name = "rpassword"
version = "5.0.1" version = "5.0.1"
...@@ -6553,12 +6417,26 @@ checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0" ...@@ -6553,12 +6417,26 @@ checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"errno", "errno",
"io-lifetimes", "io-lifetimes 0.5.3",
"libc", "libc",
"linux-raw-sys", "linux-raw-sys 0.0.42",
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "rustix"
version = "0.35.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72c825b8aa8010eb9ee99b75f05e10180b9278d161583034d7574c9d617aeada"
dependencies = [
"bitflags",
"errno",
"io-lifetimes 0.7.3",
"libc",
"linux-raw-sys 0.0.46",
"windows-sys",
]
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.20.2" version = "0.20.2"
...@@ -6612,12 +6490,12 @@ dependencies = [ ...@@ -6612,12 +6490,12 @@ dependencies = [
[[package]] [[package]]
name = "rw-stream-sink" name = "rw-stream-sink"
version = "0.2.1" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"pin-project 0.4.30", "pin-project",
"static_assertions", "static_assertions",
] ]
...@@ -6648,7 +6526,7 @@ dependencies = [ ...@@ -6648,7 +6526,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-allocator" name = "sc-allocator"
version = "4.1.0-dev" version = "4.1.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"sp-core", "sp-core",
...@@ -6659,7 +6537,7 @@ dependencies = [ ...@@ -6659,7 +6537,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-basic-authorship" name = "sc-basic-authorship"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
...@@ -6682,7 +6560,7 @@ dependencies = [ ...@@ -6682,7 +6560,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-block-builder" name = "sc-block-builder"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sc-client-api", "sc-client-api",
...@@ -6698,7 +6576,7 @@ dependencies = [ ...@@ -6698,7 +6576,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-chain-spec" name = "sc-chain-spec"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"memmap2 0.5.0", "memmap2 0.5.0",
...@@ -6715,7 +6593,7 @@ dependencies = [ ...@@ -6715,7 +6593,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-chain-spec-derive" name = "sc-chain-spec-derive"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"proc-macro-crate", "proc-macro-crate",
"proc-macro2", "proc-macro2",
...@@ -6726,7 +6604,7 @@ dependencies = [ ...@@ -6726,7 +6604,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-cli" name = "sc-cli"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",
...@@ -6765,7 +6643,7 @@ dependencies = [ ...@@ -6765,7 +6643,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-client-api" name = "sc-client-api"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"fnv", "fnv",
"futures 0.3.21", "futures 0.3.21",
...@@ -6793,12 +6671,11 @@ dependencies = [ ...@@ -6793,12 +6671,11 @@ dependencies = [
[[package]] [[package]]
name = "sc-client-db" name = "sc-client-db"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"kvdb", "kvdb",
"kvdb-memorydb", "kvdb-memorydb",
"kvdb-rocksdb",
"linked-hash-map", "linked-hash-map",
"log", "log",
"parity-db", "parity-db",
...@@ -6818,7 +6695,7 @@ dependencies = [ ...@@ -6818,7 +6695,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus" name = "sc-consensus"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -6842,7 +6719,7 @@ dependencies = [ ...@@ -6842,7 +6719,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-aura" name = "sc-consensus-aura"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -6871,7 +6748,7 @@ dependencies = [ ...@@ -6871,7 +6748,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-babe" name = "sc-consensus-babe"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"fork-tree", "fork-tree",
...@@ -6914,7 +6791,7 @@ dependencies = [ ...@@ -6914,7 +6791,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-epochs" name = "sc-consensus-epochs"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"fork-tree", "fork-tree",
"parity-scale-codec", "parity-scale-codec",
...@@ -6927,12 +6804,12 @@ dependencies = [ ...@@ -6927,12 +6804,12 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-manual-seal" name = "sc-consensus-manual-seal"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"assert_matches", "assert_matches",
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"sc-client-api", "sc-client-api",
...@@ -6961,7 +6838,7 @@ dependencies = [ ...@@ -6961,7 +6838,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-slots" name = "sc-consensus-slots"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -6986,7 +6863,7 @@ dependencies = [ ...@@ -6986,7 +6863,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-consensus-uncles" name = "sc-consensus-uncles"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"sc-client-api", "sc-client-api",
"sp-authorship", "sp-authorship",
...@@ -6997,7 +6874,7 @@ dependencies = [ ...@@ -6997,7 +6874,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor" name = "sc-executor"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"lru", "lru",
...@@ -7024,7 +6901,7 @@ dependencies = [ ...@@ -7024,7 +6901,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor-common" name = "sc-executor-common"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
...@@ -7041,7 +6918,7 @@ dependencies = [ ...@@ -7041,7 +6918,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor-wasmi" name = "sc-executor-wasmi"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"parity-scale-codec", "parity-scale-codec",
...@@ -7056,13 +6933,15 @@ dependencies = [ ...@@ -7056,13 +6933,15 @@ dependencies = [
[[package]] [[package]]
name = "sc-executor-wasmtime" name = "sc-executor-wasmtime"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"libc", "libc",
"log", "log",
"once_cell",
"parity-scale-codec", "parity-scale-codec",
"parity-wasm 0.42.2", "parity-wasm 0.42.2",
"rustix 0.35.9",
"sc-allocator", "sc-allocator",
"sc-executor-common", "sc-executor-common",
"sp-runtime-interface", "sp-runtime-interface",
...@@ -7074,7 +6953,7 @@ dependencies = [ ...@@ -7074,7 +6953,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-finality-grandpa" name = "sc-finality-grandpa"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"ahash", "ahash",
"async-trait", "async-trait",
...@@ -7114,7 +6993,7 @@ dependencies = [ ...@@ -7114,7 +6993,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-informant" name = "sc-informant"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"futures 0.3.21", "futures 0.3.21",
...@@ -7131,7 +7010,7 @@ dependencies = [ ...@@ -7131,7 +7010,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-keystore" name = "sc-keystore"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"hex", "hex",
...@@ -7146,7 +7025,7 @@ dependencies = [ ...@@ -7146,7 +7025,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network" name = "sc-network"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"asynchronous-codec", "asynchronous-codec",
...@@ -7167,8 +7046,8 @@ dependencies = [ ...@@ -7167,8 +7046,8 @@ dependencies = [
"lru", "lru",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"pin-project 1.0.10", "pin-project",
"prost 0.10.4", "prost",
"prost-build", "prost-build",
"rand 0.7.3", "rand 0.7.3",
"sc-block-builder", "sc-block-builder",
...@@ -7198,7 +7077,7 @@ dependencies = [ ...@@ -7198,7 +7077,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-common" name = "sc-network-common"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"libp2p", "libp2p",
...@@ -7211,7 +7090,7 @@ dependencies = [ ...@@ -7211,7 +7090,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-gossip" name = "sc-network-gossip"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"ahash", "ahash",
"futures 0.3.21", "futures 0.3.21",
...@@ -7228,13 +7107,13 @@ dependencies = [ ...@@ -7228,13 +7107,13 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-light" name = "sc-network-light"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"libp2p", "libp2p",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"prost 0.10.4", "prost",
"prost-build", "prost-build",
"sc-client-api", "sc-client-api",
"sc-network-common", "sc-network-common",
...@@ -7248,7 +7127,7 @@ dependencies = [ ...@@ -7248,7 +7127,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-network-sync" name = "sc-network-sync"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"either", "either",
...@@ -7258,7 +7137,7 @@ dependencies = [ ...@@ -7258,7 +7137,7 @@ dependencies = [
"log", "log",
"lru", "lru",
"parity-scale-codec", "parity-scale-codec",
"prost 0.10.4", "prost",
"prost-build", "prost-build",
"sc-client-api", "sc-client-api",
"sc-consensus", "sc-consensus",
...@@ -7277,7 +7156,7 @@ dependencies = [ ...@@ -7277,7 +7156,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-offchain" name = "sc-offchain"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"bytes", "bytes",
"fnv", "fnv",
...@@ -7305,7 +7184,7 @@ dependencies = [ ...@@ -7305,7 +7184,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-peerset" name = "sc-peerset"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"libp2p", "libp2p",
...@@ -7318,7 +7197,7 @@ dependencies = [ ...@@ -7318,7 +7197,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-proposer-metrics" name = "sc-proposer-metrics"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"substrate-prometheus-endpoint", "substrate-prometheus-endpoint",
...@@ -7327,11 +7206,11 @@ dependencies = [ ...@@ -7327,11 +7206,11 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc" name = "sc-rpc"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"hash-db", "hash-db",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.12.0", "parking_lot 0.12.0",
...@@ -7357,10 +7236,10 @@ dependencies = [ ...@@ -7357,10 +7236,10 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc-api" name = "sc-rpc-api"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.12.0", "parking_lot 0.12.0",
...@@ -7380,10 +7259,10 @@ dependencies = [ ...@@ -7380,10 +7259,10 @@ dependencies = [
[[package]] [[package]]
name = "sc-rpc-server" name = "sc-rpc-server"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"serde_json", "serde_json",
"substrate-prometheus-endpoint", "substrate-prometheus-endpoint",
...@@ -7393,7 +7272,7 @@ dependencies = [ ...@@ -7393,7 +7272,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-service" name = "sc-service"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"directories", "directories",
...@@ -7401,12 +7280,12 @@ dependencies = [ ...@@ -7401,12 +7280,12 @@ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
"hash-db", "hash-db",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"pin-project 1.0.10", "pin-project",
"rand 0.7.3", "rand 0.7.3",
"sc-block-builder", "sc-block-builder",
"sc-chain-spec", "sc-chain-spec",
...@@ -7458,7 +7337,7 @@ dependencies = [ ...@@ -7458,7 +7337,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-state-db" name = "sc-state-db"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"parity-scale-codec", "parity-scale-codec",
...@@ -7472,7 +7351,7 @@ dependencies = [ ...@@ -7472,7 +7351,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-sysinfo" name = "sc-sysinfo"
version = "6.0.0-dev" version = "6.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"libc", "libc",
...@@ -7491,14 +7370,14 @@ dependencies = [ ...@@ -7491,14 +7370,14 @@ dependencies = [
[[package]] [[package]]
name = "sc-telemetry" name = "sc-telemetry"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"chrono", "chrono",
"futures 0.3.21", "futures 0.3.21",
"libp2p", "libp2p",
"log", "log",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"pin-project 1.0.10", "pin-project",
"rand 0.7.3", "rand 0.7.3",
"serde", "serde",
"serde_json", "serde_json",
...@@ -7509,7 +7388,7 @@ dependencies = [ ...@@ -7509,7 +7388,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-tracing" name = "sc-tracing"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"atty", "atty",
...@@ -7540,7 +7419,7 @@ dependencies = [ ...@@ -7540,7 +7419,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-tracing-proc-macro" name = "sc-tracing-proc-macro"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"proc-macro-crate", "proc-macro-crate",
"proc-macro2", "proc-macro2",
...@@ -7551,7 +7430,7 @@ dependencies = [ ...@@ -7551,7 +7430,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-transaction-pool" name = "sc-transaction-pool"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
...@@ -7578,7 +7457,7 @@ dependencies = [ ...@@ -7578,7 +7457,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-transaction-pool-api" name = "sc-transaction-pool-api"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"log", "log",
...@@ -7591,7 +7470,7 @@ dependencies = [ ...@@ -7591,7 +7470,7 @@ dependencies = [
[[package]] [[package]]
name = "sc-utils" name = "sc-utils"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"futures-timer", "futures-timer",
...@@ -7601,13 +7480,25 @@ dependencies = [ ...@@ -7601,13 +7480,25 @@ dependencies = [
"prometheus", "prometheus",
] ]
[[package]]
name = "scale-decode"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c70dece385bc3e5918109830d9509806b5d4525fdf594e3463078c529122979e"
dependencies = [
"bitvec",
"parity-scale-codec",
"scale-info",
"thiserror",
]
[[package]] [[package]]
name = "scale-info" name = "scale-info"
version = "2.1.2" version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a"
dependencies = [ dependencies = [
"bitvec 1.0.1", "bitvec",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"derive_more", "derive_more",
"parity-scale-codec", "parity-scale-codec",
...@@ -7627,6 +7518,23 @@ dependencies = [ ...@@ -7627,6 +7518,23 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "scale-value"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae8b296b3ebcb3425661e9b612ccc34cb1064483a61dc379c65e6b1463498f1"
dependencies = [
"bitvec",
"either",
"frame-metadata",
"parity-scale-codec",
"scale-decode",
"scale-info",
"serde",
"thiserror",
"yap",
]
[[package]] [[package]]
name = "schannel" name = "schannel"
version = "0.1.19" version = "0.1.19"
...@@ -7913,12 +7821,6 @@ dependencies = [ ...@@ -7913,12 +7821,6 @@ dependencies = [
"lazy_static", "lazy_static",
] ]
[[package]]
name = "shlex"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
[[package]] [[package]]
name = "signal-hook" name = "signal-hook"
version = "0.3.9" version = "0.3.9"
...@@ -7966,6 +7868,12 @@ version = "0.4.4" ...@@ -7966,6 +7868,12 @@ version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590" checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590"
[[package]]
name = "slice-group-by"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec"
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.9.0" version = "1.9.0"
...@@ -8024,7 +7932,7 @@ dependencies = [ ...@@ -8024,7 +7932,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-api" name = "sp-api"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"log", "log",
...@@ -8041,7 +7949,7 @@ dependencies = [ ...@@ -8041,7 +7949,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-api-proc-macro" name = "sp-api-proc-macro"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"blake2", "blake2",
"proc-macro-crate", "proc-macro-crate",
...@@ -8053,7 +7961,7 @@ dependencies = [ ...@@ -8053,7 +7961,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-application-crypto" name = "sp-application-crypto"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8066,7 +7974,7 @@ dependencies = [ ...@@ -8066,7 +7974,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-arithmetic" name = "sp-arithmetic"
version = "5.0.0" version = "5.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"integer-sqrt", "integer-sqrt",
"num-traits", "num-traits",
...@@ -8081,7 +7989,7 @@ dependencies = [ ...@@ -8081,7 +7989,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-authority-discovery" name = "sp-authority-discovery"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8094,7 +8002,7 @@ dependencies = [ ...@@ -8094,7 +8002,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-authorship" name = "sp-authorship"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"parity-scale-codec", "parity-scale-codec",
...@@ -8106,7 +8014,7 @@ dependencies = [ ...@@ -8106,7 +8014,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-block-builder" name = "sp-block-builder"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
...@@ -8118,7 +8026,7 @@ dependencies = [ ...@@ -8118,7 +8026,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-blockchain" name = "sp-blockchain"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"log", "log",
...@@ -8136,7 +8044,7 @@ dependencies = [ ...@@ -8136,7 +8044,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus" name = "sp-consensus"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -8155,7 +8063,7 @@ dependencies = [ ...@@ -8155,7 +8063,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-aura" name = "sp-consensus-aura"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"parity-scale-codec", "parity-scale-codec",
...@@ -8173,7 +8081,7 @@ dependencies = [ ...@@ -8173,7 +8081,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-babe" name = "sp-consensus-babe"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"merlin", "merlin",
...@@ -8196,7 +8104,7 @@ dependencies = [ ...@@ -8196,7 +8104,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-slots" name = "sp-consensus-slots"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8210,7 +8118,7 @@ dependencies = [ ...@@ -8210,7 +8118,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-consensus-vrf" name = "sp-consensus-vrf"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8223,7 +8131,7 @@ dependencies = [ ...@@ -8223,7 +8131,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-core" name = "sp-core"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"base58", "base58",
"bitflags", "bitflags",
...@@ -8269,7 +8177,7 @@ dependencies = [ ...@@ -8269,7 +8177,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-core-hashing" name = "sp-core-hashing"
version = "4.0.0" version = "4.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"blake2", "blake2",
"byteorder", "byteorder",
...@@ -8283,7 +8191,7 @@ dependencies = [ ...@@ -8283,7 +8191,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-core-hashing-proc-macro" name = "sp-core-hashing-proc-macro"
version = "5.0.0" version = "5.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
...@@ -8294,7 +8202,7 @@ dependencies = [ ...@@ -8294,7 +8202,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-database" name = "sp-database"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"kvdb", "kvdb",
"parking_lot 0.12.0", "parking_lot 0.12.0",
...@@ -8303,7 +8211,7 @@ dependencies = [ ...@@ -8303,7 +8211,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-debug-derive" name = "sp-debug-derive"
version = "4.0.0" version = "4.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
...@@ -8313,7 +8221,7 @@ dependencies = [ ...@@ -8313,7 +8221,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-externalities" name = "sp-externalities"
version = "0.12.0" version = "0.12.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
...@@ -8324,7 +8232,7 @@ dependencies = [ ...@@ -8324,7 +8232,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-finality-grandpa" name = "sp-finality-grandpa"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"finality-grandpa", "finality-grandpa",
"log", "log",
...@@ -8342,7 +8250,7 @@ dependencies = [ ...@@ -8342,7 +8250,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-inherents" name = "sp-inherents"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"impl-trait-for-tuples", "impl-trait-for-tuples",
...@@ -8356,7 +8264,7 @@ dependencies = [ ...@@ -8356,7 +8264,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-io" name = "sp-io"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures 0.3.21", "futures 0.3.21",
"hash-db", "hash-db",
...@@ -8381,7 +8289,7 @@ dependencies = [ ...@@ -8381,7 +8289,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-keyring" name = "sp-keyring"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"sp-core", "sp-core",
...@@ -8392,7 +8300,7 @@ dependencies = [ ...@@ -8392,7 +8300,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-keystore" name = "sp-keystore"
version = "0.12.0" version = "0.12.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures 0.3.21", "futures 0.3.21",
...@@ -8409,7 +8317,7 @@ dependencies = [ ...@@ -8409,7 +8317,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-maybe-compressed-blob" name = "sp-maybe-compressed-blob"
version = "4.1.0-dev" version = "4.1.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"thiserror", "thiserror",
"zstd", "zstd",
...@@ -8430,7 +8338,7 @@ dependencies = [ ...@@ -8430,7 +8338,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-offchain" name = "sp-offchain"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"sp-api", "sp-api",
"sp-core", "sp-core",
...@@ -8440,7 +8348,7 @@ dependencies = [ ...@@ -8440,7 +8348,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-panic-handler" name = "sp-panic-handler"
version = "4.0.0" version = "4.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"lazy_static", "lazy_static",
...@@ -8450,7 +8358,7 @@ dependencies = [ ...@@ -8450,7 +8358,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-rpc" name = "sp-rpc"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"rustc-hash", "rustc-hash",
"serde", "serde",
...@@ -8460,7 +8368,7 @@ dependencies = [ ...@@ -8460,7 +8368,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime" name = "sp-runtime"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"either", "either",
"hash256-std-hasher", "hash256-std-hasher",
...@@ -8482,7 +8390,7 @@ dependencies = [ ...@@ -8482,7 +8390,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface" name = "sp-runtime-interface"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"parity-scale-codec", "parity-scale-codec",
...@@ -8499,7 +8407,7 @@ dependencies = [ ...@@ -8499,7 +8407,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface-proc-macro" name = "sp-runtime-interface-proc-macro"
version = "5.0.0" version = "5.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"proc-macro-crate", "proc-macro-crate",
...@@ -8511,7 +8419,7 @@ dependencies = [ ...@@ -8511,7 +8419,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-sandbox" name = "sp-sandbox"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"parity-scale-codec", "parity-scale-codec",
...@@ -8525,7 +8433,7 @@ dependencies = [ ...@@ -8525,7 +8433,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-serializer" name = "sp-serializer"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
...@@ -8534,7 +8442,7 @@ dependencies = [ ...@@ -8534,7 +8442,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-session" name = "sp-session"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8548,7 +8456,7 @@ dependencies = [ ...@@ -8548,7 +8456,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-staking" name = "sp-staking"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"scale-info", "scale-info",
...@@ -8559,7 +8467,7 @@ dependencies = [ ...@@ -8559,7 +8467,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-state-machine" name = "sp-state-machine"
version = "0.12.0" version = "0.12.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"log", "log",
...@@ -8581,12 +8489,12 @@ dependencies = [ ...@@ -8581,12 +8489,12 @@ dependencies = [
[[package]] [[package]]
name = "sp-std" name = "sp-std"
version = "4.0.0" version = "4.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
...@@ -8599,7 +8507,7 @@ dependencies = [ ...@@ -8599,7 +8507,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-tasks" name = "sp-tasks"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"log", "log",
"sp-core", "sp-core",
...@@ -8612,7 +8520,7 @@ dependencies = [ ...@@ -8612,7 +8520,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-timestamp" name = "sp-timestamp"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures-timer", "futures-timer",
...@@ -8628,7 +8536,7 @@ dependencies = [ ...@@ -8628,7 +8536,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-tracing" name = "sp-tracing"
version = "5.0.0" version = "5.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-std", "sp-std",
...@@ -8640,7 +8548,7 @@ dependencies = [ ...@@ -8640,7 +8548,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-transaction-pool" name = "sp-transaction-pool"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"sp-api", "sp-api",
"sp-runtime", "sp-runtime",
...@@ -8649,7 +8557,7 @@ dependencies = [ ...@@ -8649,7 +8557,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-transaction-storage-proof" name = "sp-transaction-storage-proof"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"log", "log",
...@@ -8665,7 +8573,7 @@ dependencies = [ ...@@ -8665,7 +8573,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-trie" name = "sp-trie"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"memory-db", "memory-db",
...@@ -8681,7 +8589,7 @@ dependencies = [ ...@@ -8681,7 +8589,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-version" name = "sp-version"
version = "5.0.0" version = "5.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
...@@ -8698,7 +8606,7 @@ dependencies = [ ...@@ -8698,7 +8606,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-version-proc-macro" name = "sp-version-proc-macro"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"proc-macro2", "proc-macro2",
...@@ -8709,7 +8617,7 @@ dependencies = [ ...@@ -8709,7 +8617,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-wasm-interface" name = "sp-wasm-interface"
version = "6.0.0" version = "6.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"log", "log",
...@@ -8809,7 +8717,7 @@ dependencies = [ ...@@ -8809,7 +8717,7 @@ dependencies = [
[[package]] [[package]]
name = "substrate-build-script-utils" name = "substrate-build-script-utils"
version = "3.0.0" version = "3.0.0"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"platforms", "platforms",
] ]
...@@ -8817,11 +8725,11 @@ dependencies = [ ...@@ -8817,11 +8725,11 @@ dependencies = [
[[package]] [[package]]
name = "substrate-frame-rpc-system" name = "substrate-frame-rpc-system"
version = "4.0.0-dev" version = "4.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"frame-system-rpc-runtime-api", "frame-system-rpc-runtime-api",
"futures 0.3.21", "futures 0.3.21",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"sc-client-api", "sc-client-api",
...@@ -8838,7 +8746,7 @@ dependencies = [ ...@@ -8838,7 +8746,7 @@ dependencies = [
[[package]] [[package]]
name = "substrate-prometheus-endpoint" name = "substrate-prometheus-endpoint"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"futures-util", "futures-util",
"hyper", "hyper",
...@@ -8851,11 +8759,12 @@ dependencies = [ ...@@ -8851,11 +8759,12 @@ dependencies = [
[[package]] [[package]]
name = "substrate-wasm-builder" name = "substrate-wasm-builder"
version = "5.0.0-dev" version = "5.0.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"build-helper", "build-helper",
"cargo_metadata", "cargo_metadata",
"filetime",
"sp-maybe-compressed-blob", "sp-maybe-compressed-blob",
"strum", "strum",
"tempfile", "tempfile",
...@@ -8872,18 +8781,20 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" ...@@ -8872,18 +8781,20 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]] [[package]]
name = "subxt" name = "subxt"
version = "0.22.0" version = "0.23.0"
source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.23#e0fcf196eb6192e905e1784580f64363e2213556" source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.26#9ab601b10b4254d64368371f07e09934a0f55bf7"
dependencies = [ dependencies = [
"bitvec 1.0.1", "bitvec",
"derivative", "derivative",
"frame-metadata", "frame-metadata",
"futures 0.3.21", "futures 0.3.21",
"hex", "hex",
"jsonrpsee 0.14.0", "jsonrpsee 0.15.1",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.12.0", "parking_lot 0.12.0",
"scale-decode",
"scale-info", "scale-info",
"scale-value",
"serde", "serde",
"serde_json", "serde_json",
"sp-core", "sp-core",
...@@ -8896,8 +8807,8 @@ dependencies = [ ...@@ -8896,8 +8807,8 @@ dependencies = [
[[package]] [[package]]
name = "subxt-codegen" name = "subxt-codegen"
version = "0.22.0" version = "0.23.0"
source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.23#e0fcf196eb6192e905e1784580f64363e2213556" source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.26#9ab601b10b4254d64368371f07e09934a0f55bf7"
dependencies = [ dependencies = [
"darling", "darling",
"frame-metadata", "frame-metadata",
...@@ -8913,8 +8824,8 @@ dependencies = [ ...@@ -8913,8 +8824,8 @@ dependencies = [
[[package]] [[package]]
name = "subxt-macro" name = "subxt-macro"
version = "0.22.0" version = "0.23.0"
source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.23#e0fcf196eb6192e905e1784580f64363e2213556" source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.26#9ab601b10b4254d64368371f07e09934a0f55bf7"
dependencies = [ dependencies = [
"darling", "darling",
"proc-macro-error", "proc-macro-error",
...@@ -8924,8 +8835,8 @@ dependencies = [ ...@@ -8924,8 +8835,8 @@ dependencies = [
[[package]] [[package]]
name = "subxt-metadata" name = "subxt-metadata"
version = "0.22.0" version = "0.23.0"
source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.23#e0fcf196eb6192e905e1784580f64363e2213556" source = "git+https://github.com/duniter/subxt.git?branch=duniter-substrate-v0.9.26#9ab601b10b4254d64368371f07e09934a0f55bf7"
dependencies = [ dependencies = [
"frame-metadata", "frame-metadata",
"parity-scale-codec", "parity-scale-codec",
...@@ -8935,13 +8846,13 @@ dependencies = [ ...@@ -8935,13 +8846,13 @@ dependencies = [
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.91" version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d" checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"unicode-xid", "unicode-ident",
] ]
[[package]] [[package]]
...@@ -9114,17 +9025,6 @@ dependencies = [ ...@@ -9114,17 +9025,6 @@ dependencies = [
"num_cpus", "num_cpus",
] ]
[[package]]
name = "tikv-jemalloc-sys"
version = "0.4.3+5.2.1-patched.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1792ccb507d955b46af42c123ea8863668fae24d03721e40cad6a41773dbb49"
dependencies = [
"cc",
"fs_extra",
"libc",
]
[[package]] [[package]]
name = "time" name = "time"
version = "0.1.44" version = "0.1.44"
...@@ -9223,6 +9123,17 @@ dependencies = [ ...@@ -9223,6 +9123,17 @@ dependencies = [
"webpki", "webpki",
] ]
[[package]]
name = "tokio-stream"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df54d54117d6fdc4e4fea40fe1e4e566b3505700e148a6827e59b34b0d2600d9"
dependencies = [
"futures-core",
"pin-project-lite 0.2.7",
"tokio",
]
[[package]] [[package]]
name = "tokio-util" name = "tokio-util"
version = "0.6.9" version = "0.6.9"
...@@ -9305,7 +9216,7 @@ version = "0.2.5" ...@@ -9305,7 +9216,7 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
dependencies = [ dependencies = [
"pin-project 1.0.10", "pin-project",
"tracing", "tracing",
] ]
...@@ -9429,10 +9340,10 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" ...@@ -9429,10 +9340,10 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
[[package]] [[package]]
name = "try-runtime-cli" name = "try-runtime-cli"
version = "0.10.0-dev" version = "0.10.0-dev"
source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.23#3c05363666a2e719807713830b7d6eee0a9598d2" source = "git+https://github.com/duniter/substrate?branch=duniter-substrate-v0.9.26#16476332c7c5a6a6478c4072aa3cadb9b7c28c83"
dependencies = [ dependencies = [
"clap", "clap",
"jsonrpsee 0.13.1", "jsonrpsee 0.14.0",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"remote-externalities", "remote-externalities",
...@@ -9459,13 +9370,13 @@ checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055" ...@@ -9459,13 +9370,13 @@ checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055"
[[package]] [[package]]
name = "twox-hash" name = "twox-hash"
version = "1.6.2" version = "1.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [ dependencies = [
"cfg-if 0.1.10", "cfg-if 0.1.10",
"digest 0.10.3", "digest 0.10.3",
"rand 0.8.4", "rand 0.7.3",
"static_assertions", "static_assertions",
] ]
...@@ -9824,15 +9735,18 @@ dependencies = [ ...@@ -9824,15 +9735,18 @@ dependencies = [
[[package]] [[package]]
name = "wasmparser" name = "wasmparser"
version = "0.83.0" version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" checksum = "570460c58b21e9150d2df0eaaedbb7816c34bcec009ae0dcc976e40ba81463e7"
dependencies = [
"indexmap",
]
[[package]] [[package]]
name = "wasmtime" name = "wasmtime"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21ffb4705016d5ca91e18a72ed6822dab50e6d5ddd7045461b17ef19071cdef1" checksum = "1f50eadf868ab6a04b7b511460233377d0bfbb92e417b2f6a98b98fef2e098f5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
...@@ -9842,7 +9756,7 @@ dependencies = [ ...@@ -9842,7 +9756,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"log", "log",
"object 0.27.1", "object 0.28.4",
"once_cell", "once_cell",
"paste", "paste",
"psm", "psm",
...@@ -9861,9 +9775,9 @@ dependencies = [ ...@@ -9861,9 +9775,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cache" name = "wasmtime-cache"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85c6ab24291fa7cb3a181f5669f6c72599b7ef781669759b45c7828c5999d0c0" checksum = "d1df23c642e1376892f3b72f311596976979cbf8b85469680cdd3a8a063d12a2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
...@@ -9871,7 +9785,7 @@ dependencies = [ ...@@ -9871,7 +9785,7 @@ dependencies = [
"directories-next", "directories-next",
"file-per-thread-logger", "file-per-thread-logger",
"log", "log",
"rustix", "rustix 0.33.7",
"serde", "serde",
"sha2 0.9.9", "sha2 0.9.9",
"toml", "toml",
...@@ -9881,9 +9795,9 @@ dependencies = [ ...@@ -9881,9 +9795,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cranelift" name = "wasmtime-cranelift"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f04c810078a491b7bc4866ebe045f714d2b95e6b539e1f64009a4a7606be11de" checksum = "f264ff6b4df247d15584f2f53d009fbc90032cfdc2605b52b961bffc71b6eccd"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
...@@ -9894,7 +9808,7 @@ dependencies = [ ...@@ -9894,7 +9808,7 @@ dependencies = [
"gimli", "gimli",
"log", "log",
"more-asserts", "more-asserts",
"object 0.27.1", "object 0.28.4",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
"wasmparser", "wasmparser",
...@@ -9903,9 +9817,9 @@ dependencies = [ ...@@ -9903,9 +9817,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61448266ea164b1ac406363cdcfac81c7c44db4d94c7a81c8620ac6c5c6cdf59" checksum = "839d2820e4b830f4b9e7aa08d4c0acabf4a5036105d639f6dfa1c6891c73bdc6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-entity", "cranelift-entity",
...@@ -9913,7 +9827,7 @@ dependencies = [ ...@@ -9913,7 +9827,7 @@ dependencies = [
"indexmap", "indexmap",
"log", "log",
"more-asserts", "more-asserts",
"object 0.27.1", "object 0.28.4",
"serde", "serde",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
...@@ -9923,9 +9837,9 @@ dependencies = [ ...@@ -9923,9 +9837,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-jit" name = "wasmtime-jit"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "156b4623c6b0d4b8c24afb846c20525922f538ef464cc024abab7ea8de2109a2" checksum = "ef0a0bcbfa18b946d890078ba0e1bc76bcc53eccfb40806c0020ec29dcd1bd49"
dependencies = [ dependencies = [
"addr2line", "addr2line",
"anyhow", "anyhow",
...@@ -9934,10 +9848,10 @@ dependencies = [ ...@@ -9934,10 +9848,10 @@ dependencies = [
"cpp_demangle", "cpp_demangle",
"gimli", "gimli",
"log", "log",
"object 0.27.1", "object 0.28.4",
"region", "region",
"rustc-demangle", "rustc-demangle",
"rustix", "rustix 0.33.7",
"serde", "serde",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
...@@ -9949,20 +9863,20 @@ dependencies = [ ...@@ -9949,20 +9863,20 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-jit-debug" name = "wasmtime-jit-debug"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5dc31f811760a6c76b2672c404866fd19b75e5fb3b0075a3e377a6846490654" checksum = "4f4779d976206c458edd643d1ac622b6c37e4a0800a8b1d25dfbf245ac2f2cac"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"object 0.27.1", "object 0.28.4",
"rustix", "rustix 0.33.7",
] ]
[[package]] [[package]]
name = "wasmtime-runtime" name = "wasmtime-runtime"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f907beaff69d4d920fa4688411ee4cc75c0f01859e424677f9e426e2ef749864" checksum = "b7eb6ffa169eb5dcd18ac9473c817358cd57bc62c244622210566d473397954a"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
...@@ -9977,7 +9891,7 @@ dependencies = [ ...@@ -9977,7 +9891,7 @@ dependencies = [
"more-asserts", "more-asserts",
"rand 0.8.4", "rand 0.8.4",
"region", "region",
"rustix", "rustix 0.33.7",
"thiserror", "thiserror",
"wasmtime-environ", "wasmtime-environ",
"wasmtime-jit-debug", "wasmtime-jit-debug",
...@@ -9986,9 +9900,9 @@ dependencies = [ ...@@ -9986,9 +9900,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-types" name = "wasmtime-types"
version = "0.35.3" version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "514ef0e5fd197b9609dc9eb74beba0c84d5a12b2417cbae55534633329ba4852" checksum = "8d932b0ac5336f7308d869703dd225610a6a3aeaa8e968c52b43eed96cefb1c2"
dependencies = [ dependencies = [
"cranelift-entity", "cranelift-entity",
"serde", "serde",
...@@ -10208,12 +10122,6 @@ dependencies = [ ...@@ -10208,12 +10122,6 @@ dependencies = [
"winapi-build", "winapi-build",
] ]
[[package]]
name = "wyz"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
[[package]] [[package]]
name = "wyz" name = "wyz"
version = "0.5.0" version = "0.5.0"
...@@ -10270,6 +10178,12 @@ dependencies = [ ...@@ -10270,6 +10178,12 @@ dependencies = [
"static_assertions", "static_assertions",
] ]
[[package]]
name = "yap"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fc77f52dc9e9b10d55d3f4462c3b7fc393c4f17975d641542833ab2d3bc26ef"
[[package]] [[package]]
name = "zeroize" name = "zeroize"
version = "1.4.3" version = "1.4.3"
...@@ -10293,18 +10207,18 @@ dependencies = [ ...@@ -10293,18 +10207,18 @@ dependencies = [
[[package]] [[package]]
name = "zstd" name = "zstd"
version = "0.10.2+zstd.1.5.2" version = "0.11.2+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
dependencies = [ dependencies = [
"zstd-safe", "zstd-safe",
] ]
[[package]] [[package]]
name = "zstd-safe" name = "zstd-safe"
version = "4.1.6+zstd.1.5.2" version = "5.0.2+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb" checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
dependencies = [ dependencies = [
"libc", "libc",
"zstd-sys", "zstd-sys",
...@@ -10312,9 +10226,9 @@ dependencies = [ ...@@ -10312,9 +10226,9 @@ dependencies = [
[[package]] [[package]]
name = "zstd-sys" name = "zstd-sys"
version = "1.6.3+zstd.1.5.2" version = "2.0.1+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
......
...@@ -7,7 +7,7 @@ homepage = 'https://substrate.dev' ...@@ -7,7 +7,7 @@ homepage = 'https://substrate.dev'
license = 'AGPL-3.0' license = 'AGPL-3.0'
name = 'duniter' name = 'duniter'
repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' repository = 'https://git.duniter.org/nodes/rust/duniter-v2s'
version = '0.1.0' version = '0.3.0'
[package.metadata.docs.rs] [package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu'] targets = ['x86_64-unknown-linux-gnu']
...@@ -40,16 +40,16 @@ try-runtime = [ ...@@ -40,16 +40,16 @@ try-runtime = [
[build-dependencies] [build-dependencies]
clap = { version = "3.0" } clap = { version = "3.0" }
#clap_complete = { version = "3.0" } #clap_complete = { version = "3.0" }
substrate-build-script-utils = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.23' } substrate-build-script-utils = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.26' }
[dev-dependencies] [dev-dependencies]
rusty-hook = "^0.11.2" rusty-hook = "^0.11.2"
# Dependencies for specific targets # Dependencies for specific targets
[target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies] [target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies]
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["wasmtime"] } sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false, features = ["wasmtime"] }
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["wasmtime"] } sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false, features = ["wasmtime"] }
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", features = ["memory-tracker"] } sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", features = ["memory-tracker"] }
[dependencies] [dependencies]
...@@ -67,7 +67,7 @@ clap = { version = "3.0", features = ["derive"] } ...@@ -67,7 +67,7 @@ clap = { version = "3.0", features = ["derive"] }
clap_complete = { version = "3" } clap_complete = { version = "3" }
futures = { version = "0.3.1", features = ["compat"] } futures = { version = "0.3.1", features = ["compat"] }
hex = "0.4.3" hex = "0.4.3"
jsonrpsee = { version = "0.13.0", features = ["server"] } jsonrpsee = { version = "0.14.0", features = ["server"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"
log = "0.4" log = "0.4"
maplit = '1.0.2' maplit = '1.0.2'
...@@ -77,49 +77,49 @@ serde_json = "1.0.64" ...@@ -77,49 +77,49 @@ serde_json = "1.0.64"
tracing-core = "=0.1.26" tracing-core = "=0.1.26"
# substrate dependencies # substrate dependencies
frame-benchmarking = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } frame-benchmarking = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
frame-benchmarking-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } frame-benchmarking-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
pallet-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } pallet-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
pallet-transaction-payment-rpc = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } pallet-transaction-payment-rpc = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-basic-authorship = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-basic-authorship = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-chain-spec = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-chain-spec = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false }
sc-client-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-client-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
babe = { package = "sc-consensus-babe", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } babe = { package = "sc-consensus-babe", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
manual-seal = { package = "sc-consensus-manual-seal", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } manual-seal = { package = "sc-consensus-manual-seal", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-consensus-uncles = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-consensus-uncles = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-executor = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-executor = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-network = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-network = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-rpc-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-rpc-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", default-features = false }
sc-telemetry = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-telemetry = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sc-transaction-pool-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sc-transaction-pool-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-authority-discovery = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-authority-discovery = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-block-builder = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-block-builder = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-blockchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-blockchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-consensus-babe = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-consensus-babe = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-inherents = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-inherents = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-io = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-io = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-offchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-offchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-session = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-session = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-storage = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-storage = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-timestamp = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-timestamp = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
substrate-frame-rpc-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } substrate-frame-rpc-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
try-runtime-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23", optional = true } try-runtime-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26", optional = true }
[workspace] [workspace]
resolver = "2" resolver = "2"
...@@ -133,6 +133,7 @@ members = [ ...@@ -133,6 +133,7 @@ members = [
'pallets/duniter-wot', 'pallets/duniter-wot',
'pallets/identity', 'pallets/identity',
'pallets/membership', 'pallets/membership',
'pallets/oneshot-account',
'pallets/authority-members', 'pallets/authority-members',
'pallets/universal-dividend', 'pallets/universal-dividend',
'pallets/upgrade-origin', 'pallets/upgrade-origin',
...@@ -176,7 +177,6 @@ httparse = { opt-level = 3 } ...@@ -176,7 +177,6 @@ httparse = { opt-level = 3 }
integer-sqrt = { opt-level = 3 } integer-sqrt = { opt-level = 3 }
keccak = { opt-level = 3 } keccak = { opt-level = 3 }
libm = { opt-level = 3 } libm = { opt-level = 3 }
librocksdb-sys = { opt-level = 3 }
libsecp256k1 = { opt-level = 3 } libsecp256k1 = { opt-level = 3 }
libz-sys = { opt-level = 3 } libz-sys = { opt-level = 3 }
mio = { opt-level = 3 } mio = { opt-level = 3 }
......
...@@ -2,7 +2,7 @@ version: "3.4" ...@@ -2,7 +2,7 @@ version: "3.4"
services: services:
duniter-rpc: duniter-rpc:
image: duniter/duniter-v2s:v0.1.0 image: duniter/duniter-v2s:v0.2.0
restart: unless-stopped restart: unless-stopped
ports: ports:
# telemetry # telemetry
...@@ -19,8 +19,6 @@ services: ...@@ -19,8 +19,6 @@ services:
environment: environment:
- DUNITER_CHAIN_NAME=gdev - DUNITER_CHAIN_NAME=gdev
command: command:
- "--execution"
- "Wasm"
- "--node-key-file" - "--node-key-file"
- "/var/lib/duniter/node.key" - "/var/lib/duniter/node.key"
- "--public-addr" - "--public-addr"
......
...@@ -2,7 +2,7 @@ version: "3.4" ...@@ -2,7 +2,7 @@ version: "3.4"
services: services:
duniter-rpc: duniter-rpc:
image: duniter/duniter-v2s:v0.1.0 image: duniter/duniter-v2s:v0.2.0
restart: unless-stopped restart: unless-stopped
ports: ports:
# telemetry # telemetry
...@@ -19,18 +19,17 @@ services: ...@@ -19,18 +19,17 @@ services:
environment: environment:
- DUNITER_CHAIN_NAME=gdev - DUNITER_CHAIN_NAME=gdev
command: command:
- "--execution=Wasm"
- "--node-key-file=/var/lib/duniter/node.key" - "--node-key-file=/var/lib/duniter/node.key"
- "--public-addr" - "--public-addr"
# SERVER_DOMAIN should be replaced by a domain name that point on your server # SERVER_DOMAIN should be replaced by a domain name that point on your server
# #
# The PEER_ID should be replaced by the output of this command: # The PEER_ID should be replaced by the output of this command:
# docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/node-key.txt # docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.2.0 key generate-node-key --file /var/lib/duniter/node.key
- "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333/p2p/${PEER_ID?PEER_ID should be set}" - "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333/p2p/${PEER_ID?PEER_ID should be set}"
- "--rpc-cors=all" - "--rpc-cors=all"
duniter-validator: duniter-validator:
image: duniter/duniter-v2s:v0.1.0 image: duniter/duniter-v2s:v0.2.0
restart: unless-stopped restart: unless-stopped
ports: ports:
# telemetry # telemetry
...@@ -47,13 +46,13 @@ services: ...@@ -47,13 +46,13 @@ services:
environment: environment:
- DUNITER_CHAIN_NAME=gdev - DUNITER_CHAIN_NAME=gdev
command: command:
- "--execution=Wasm"
- "--node-key-file=/var/lib/duniter/node.key" - "--node-key-file=/var/lib/duniter/node.key"
- "--public-addr" - "--public-addr"
- "--pruning=14400"
# SERVER_DOMAIN should be replaced by a domain name that point on your server # SERVER_DOMAIN should be replaced by a domain name that point on your server
# #
# The PEER_ID should be replaced by the output of this command: # The VALIDATOR_PEER_ID should be replaced by the output of this command:
# docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/node-key.txt # docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.2.0 key generate-node-key --file /var/lib/duniter/node.key
- "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333/p2p/${VALIDATOR_PEER_ID?VALIDATOR_PEER_ID should be set}" - "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333/p2p/${VALIDATOR_PEER_ID?VALIDATOR_PEER_ID should be set}"
- "--rpc-cors=all" - "--rpc-cors=all"
- "--rpc-methods=Unsafe" - "--rpc-methods=Unsafe"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
### Duniter part ### Duniter part
- Add this docker-compose on your server : - Add this docker-compose on your server :
[docker/compose/gdev-rpc.docker-compose.yml](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/docker/compose/gdev-rpc.docker-compose.yml) [docker/compose/gdev-rpc.docker-compose.yml](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/docker/compose/gdev-mirror.docker-compose.yml)
- Rename the file : `mv gdev-mirror.docker-compose.yml docker-compose.yml` - Rename the file : `mv gdev-mirror.docker-compose.yml docker-compose.yml`
- In the same folder, create a `.env` file that defime environment variables `SERVER_DOMAIN` and `PEER_ID`: - In the same folder, create a `.env` file that defime environment variables `SERVER_DOMAIN` and `PEER_ID`:
``` ```
...@@ -13,7 +13,7 @@ SERVER_DOMAIN=YOUR_DOMAIN ...@@ -13,7 +13,7 @@ SERVER_DOMAIN=YOUR_DOMAIN
PEER_ID=YOUR_PEER_ID PEER_ID=YOUR_PEER_ID
``` ```
Your `PEER_ID` shoud be generated with this command: `docker run --rm -it --entrypoint duniter -v $PWD:/var/lib/duniter/ duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/node.key` Your `PEER_ID` shoud be generated with this command: `docker run --rm -it --entrypoint duniter -v $PWD:/var/lib/duniter/ duniter/duniter-v2s:v0.2.0 key generate-node-key --file /var/lib/duniter/node.key`
- If you have write access errors run in docker-compose.yml folder : `chmod o+rwX -R .` - If you have write access errors run in docker-compose.yml folder : `chmod o+rwX -R .`
- `docker-compose up -d` to start your node - `docker-compose up -d` to start your node
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
[docker/compose/gdev-validator.docker-compose.yml](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/docker/compose/gdev-validator.docker-compose.yml) [docker/compose/gdev-validator.docker-compose.yml](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/docker/compose/gdev-validator.docker-compose.yml)
- Create a `.env` file that define environment variables `SERVER_DOMAIN`, `PEER_ID` and `VALIDATOR_PEER_ID`: - Create a `.env` file that define environment variables `SERVER_DOMAIN`, `PEER_ID` and `VALIDATOR_PEER_ID`:
- `SERVER_DOMAIN`: a domain name that point on your server - `SERVER_DOMAIN`: a domain name that point on your server
- `PEER_ID`: Your rpc node peer id, shoud be generated with this command: `docker run --rm -it --entrypoint -v $PWD:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/rpc-node.key` - `PEER_ID`: Your rpc node peer id, shoud be generated with this command: `docker run --rm -it --entrypoint -v $PWD:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.2.0 key generate-node-key --file /var/lib/duniter/rpc-node.key`
- `VALIDATOR_PEER_ID`: Your validator node peer id, shoud be generated with this command: `docker run --rm -it --entrypoint -v $PWD:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/validator-node.key` - `VALIDATOR_PEER_ID`: Your validator node peer id, shoud be generated with this command: `docker run --rm -it --entrypoint -v $PWD:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.2.0 key generate-node-key --file /var/lib/duniter/validator-node.key`
Note: duniter-rpc PEER_ID and duniter-validator PEER_ID isn't the same. Note: duniter-rpc PEER_ID and duniter-validator PEER_ID isn't the same.
- If you have write access errors run in docker-compose.yml folder : `chmod o+rwX -R .` - If you have write access errors run in docker-compose.yml folder : `chmod o+rwX -R .`
- `docker-compose up -d` to start your node - `docker-compose up -d` to start your node
......
...@@ -15,12 +15,13 @@ clap = { version = "3.0", features = ["derive"] } ...@@ -15,12 +15,13 @@ clap = { version = "3.0", features = ["derive"] }
ctrlc = "3.2.2" ctrlc = "3.2.2"
cucumber = "0.11" cucumber = "0.11"
env_logger = "0.9.0" env_logger = "0.9.0"
hex = "0.4"
notify = "4.0" notify = "4.0"
parity-scale-codec = "3.1.5" parity-scale-codec = "3.1.5"
portpicker = "0.1.1" portpicker = "0.1.1"
serde_json = "1.0.64" serde_json = "1.0.64"
sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.23" } sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.26" }
subxt = { git = 'https://github.com/duniter/subxt.git', branch = 'duniter-substrate-v0.9.23' } subxt = { git = 'https://github.com/duniter/subxt.git', branch = 'duniter-substrate-v0.9.26' }
tokio = { version = "1.15.0", features = ["macros"] } tokio = { version = "1.15.0", features = ["macros"] }
[[test]] [[test]]
......
Feature: Oneshot account
Scenario: Simple oneshot consumption
When alice sends 7 ĞD to oneshot dave
Then alice should have 3 ĞD
Then dave should have oneshot 7 ĞD
When oneshot dave consumes into account bob
Then dave should have oneshot 0 ĞD
Then bob should have 1699 cĞD
Then bob should have oneshot 0 ĞD
Scenario: Double oneshot consumption
When alice sends 7 ĞD to oneshot dave
Then alice should have 3 ĞD
Then dave should have oneshot 7 ĞD
When oneshot dave consumes 4 ĞD into account bob and the rest into oneshot charlie
Then dave should have oneshot 0 ĞD
Then bob should have 14 ĞD
Then bob should have oneshot 0 ĞD
Then charlie should have 10 ĞD
Then charlie should have oneshot 299 cĞD
{ {
"first_ud": 1000, "first_ud": 1000,
"first_ud_reeval": 100, "first_ud_reeval": 100,
"genesis_parameters": {
"genesis_certs_min_received": 2,
"genesis_memberships_expire_on": 100000,
"genesis_smith_certs_min_received": 2,
"genesis_smith_memberships_expire_on": 100000
},
"identities": { "identities": {
"Alice": { "Alice": {
"balance": 1000, "balance": 1000,
......
{ {
"first_ud": 1000, "first_ud": 1000,
"first_ud_reeval": 100, "first_ud_reeval": 100,
"genesis_parameters": {
"genesis_certs_min_received": 2,
"genesis_memberships_expire_on": 100000,
"genesis_smith_certs_min_received": 2,
"genesis_smith_memberships_expire_on": 100000
},
"identities": { "identities": {
"Alice": { "Alice": {
"balance": 1000, "balance": 1000,
......
...@@ -14,30 +14,27 @@ ...@@ -14,30 +14,27 @@
// You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
// along with Substrate-Libre-Currency. If not, see <https://www.gnu.org/licenses/>. // along with Substrate-Libre-Currency. If not, see <https://www.gnu.org/licenses/>.
use super::node_runtime::runtime_types::gdev_runtime; use super::gdev;
use super::node_runtime::runtime_types::pallet_balances; use super::gdev::runtime_types::pallet_balances;
use super::*; use super::*;
use sp_keyring::AccountKeyring; use sp_keyring::AccountKeyring;
use subxt::{sp_runtime::MultiAddress, PairSigner}; use subxt::{ext::sp_runtime::MultiAddress, tx::PairSigner};
pub async fn set_balance( pub async fn set_balance(client: &Client, who: AccountKeyring, amount: u64) -> Result<()> {
api: &Api,
client: &Client,
who: AccountKeyring,
amount: u64,
) -> Result<()> {
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
client, client,
api.tx() client
.sudo() .tx()
.sudo(gdev_runtime::Call::Balances(
pallet_balances::pallet::Call::set_balance {
who: MultiAddress::Id(who.to_account_id()),
new_free: amount,
new_reserved: 0,
},
))?
.create_signed( .create_signed(
&gdev::tx()
.sudo()
.sudo(gdev::runtime_types::gdev_runtime::Call::Balances(
pallet_balances::pallet::Call::set_balance {
who: MultiAddress::Id(who.to_account_id()),
new_free: amount,
new_reserved: 0,
},
)),
&PairSigner::new(SUDO_ACCOUNT.pair()), &PairSigner::new(SUDO_ACCOUNT.pair()),
BaseExtrinsicParamsBuilder::new(), BaseExtrinsicParamsBuilder::new(),
) )
...@@ -49,7 +46,6 @@ pub async fn set_balance( ...@@ -49,7 +46,6 @@ pub async fn set_balance(
} }
pub async fn transfer( pub async fn transfer(
api: &Api,
client: &Client, client: &Client,
from: AccountKeyring, from: AccountKeyring,
amount: u64, amount: u64,
...@@ -60,10 +56,15 @@ pub async fn transfer( ...@@ -60,10 +56,15 @@ pub async fn transfer(
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
client, client,
api.tx() client
.balances() .tx()
.transfer(to.clone().into(), amount)? .create_signed(
.create_signed(&from, BaseExtrinsicParamsBuilder::new()) &gdev::tx()
.universal_dividend()
.transfer_ud(to.clone().into(), amount),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?, .await?,
) )
.await?; .await?;
...@@ -71,21 +72,19 @@ pub async fn transfer( ...@@ -71,21 +72,19 @@ pub async fn transfer(
Ok(()) Ok(())
} }
pub async fn transfer_all( pub async fn transfer_all(client: &Client, from: AccountKeyring, to: AccountKeyring) -> Result<()> {
api: &Api,
client: &Client,
from: AccountKeyring,
to: AccountKeyring,
) -> Result<()> {
let from = PairSigner::new(from.pair()); let from = PairSigner::new(from.pair());
let to = to.to_account_id(); let to = to.to_account_id();
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
client, client,
api.tx() client
.balances() .tx()
.transfer_all(to.clone().into(), false)? .create_signed(
.create_signed(&from, BaseExtrinsicParamsBuilder::new()) &gdev::tx().balances().transfer_all(to.clone().into(), false),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?, .await?,
) )
.await?; .await?;
...@@ -94,7 +93,6 @@ pub async fn transfer_all( ...@@ -94,7 +93,6 @@ pub async fn transfer_all(
} }
pub async fn transfer_ud( pub async fn transfer_ud(
api: &Api,
client: &Client, client: &Client,
from: AccountKeyring, from: AccountKeyring,
amount: u64, amount: u64,
...@@ -105,10 +103,15 @@ pub async fn transfer_ud( ...@@ -105,10 +103,15 @@ pub async fn transfer_ud(
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
client, client,
api.tx() client
.universal_dividend() .tx()
.transfer_ud(to.clone().into(), amount)? .create_signed(
.create_signed(&from, BaseExtrinsicParamsBuilder::new()) &gdev::tx()
.universal_dividend()
.transfer_ud(to.clone().into(), amount),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?, .await?,
) )
.await?; .await?;
......
...@@ -14,41 +14,37 @@ ...@@ -14,41 +14,37 @@
// You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
// along with Substrate-Libre-Currency. If not, see <https://www.gnu.org/licenses/>. // along with Substrate-Libre-Currency. If not, see <https://www.gnu.org/licenses/>.
use super::node_runtime::runtime_types::gdev_runtime; use super::gdev;
use super::node_runtime::runtime_types::pallet_certification; use super::gdev::runtime_types::pallet_certification;
use super::*; use super::*;
use sp_keyring::AccountKeyring; use sp_keyring::AccountKeyring;
use subxt::{sp_runtime::MultiAddress, PairSigner}; use subxt::{ext::sp_runtime::MultiAddress, tx::PairSigner};
pub async fn certify( pub async fn certify(client: &Client, from: AccountKeyring, to: AccountKeyring) -> Result<()> {
api: &Api,
client: &Client,
from: AccountKeyring,
to: AccountKeyring,
) -> Result<()> {
let signer = PairSigner::new(from.pair()); let signer = PairSigner::new(from.pair());
let from = from.to_account_id(); let from = from.to_account_id();
let to = to.to_account_id(); let to = to.to_account_id();
let issuer_index = api let issuer_index = client
.storage() .storage()
.identity() .fetch(&gdev::storage().identity().identity_index_of(&from), None)
.identity_index_of(&from, None)
.await? .await?
.unwrap(); .unwrap();
let receiver_index = api let receiver_index = client
.storage() .storage()
.identity() .fetch(&gdev::storage().identity().identity_index_of(&to), None)
.identity_index_of(&to, None)
.await? .await?
.unwrap(); .unwrap();
let _events = create_block_with_extrinsic( let _events = create_block_with_extrinsic(
client, client,
api.tx() client
.cert() .tx()
.add_cert(issuer_index, receiver_index)? .create_signed(
.create_signed(&signer, BaseExtrinsicParamsBuilder::new()) &gdev::tx().cert().add_cert(issuer_index, receiver_index),
&signer,
BaseExtrinsicParamsBuilder::new(),
)
.await?, .await?,
) )
.await?; .await?;
......
...@@ -18,9 +18,10 @@ ...@@ -18,9 +18,10 @@
pub mod balances; pub mod balances;
pub mod cert; pub mod cert;
pub mod oneshot;
#[subxt::subxt(runtime_metadata_path = "../resources/metadata.scale")] #[subxt::subxt(runtime_metadata_path = "../resources/metadata.scale")]
pub mod node_runtime {} pub mod gdev {}
use anyhow::anyhow; use anyhow::anyhow;
use parity_scale_codec::Encode; use parity_scale_codec::Encode;
...@@ -30,23 +31,29 @@ use std::io::prelude::*; ...@@ -30,23 +31,29 @@ use std::io::prelude::*;
use std::path::PathBuf; use std::path::PathBuf;
use std::process::Command; use std::process::Command;
use std::str::FromStr; use std::str::FromStr;
use subxt::ext::{sp_core, sp_runtime};
use subxt::rpc::{rpc_params, ClientT, SubscriptionClientT}; use subxt::rpc::{rpc_params, ClientT, SubscriptionClientT};
use subxt::{extrinsic::BaseExtrinsicParamsBuilder, ClientBuilder, DefaultConfig}; use subxt::tx::BaseExtrinsicParamsBuilder;
pub type Api = node_runtime::RuntimeApi<DefaultConfig, BaseExtrinsicParams<DefaultConfig>>; pub type Client = subxt::OnlineClient<GdevConfig>;
type BaseExtrinsicParams<T> = subxt::extrinsic::BaseExtrinsicParams<T, Tip>; pub type Event = gdev::Event;
pub type Client = subxt::Client<DefaultConfig>;
pub type Event = node_runtime::Event;
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>; pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
pub type SignedSubmittableExtrinsic<'client> = subxt::SignedSubmittableExtrinsic< pub type SignedSubmittableExtrinsic = subxt::tx::SignedSubmittableExtrinsic<GdevConfig, Client>;
'client, pub type TxProgress = subxt::tx::TxProgress<GdevConfig, Client>;
DefaultConfig,
BaseExtrinsicParams<DefaultConfig>, pub enum GdevConfig {}
node_runtime::DispatchError, impl subxt::config::Config for GdevConfig {
Event, type Index = u32;
>; type BlockNumber = u32;
pub type TransactionProgress<'client> = type Hash = sp_core::H256;
subxt::TransactionProgress<'client, DefaultConfig, node_runtime::DispatchError, Event>; type Hashing = sp_runtime::traits::BlakeTwo256;
type AccountId = sp_runtime::AccountId32;
type Address = sp_runtime::MultiAddress<Self::AccountId, u32>;
type Header = sp_runtime::generic::Header<Self::BlockNumber, sp_runtime::traits::BlakeTwo256>;
type Signature = sp_runtime::MultiSignature;
type Extrinsic = sp_runtime::OpaqueExtrinsic;
type ExtrinsicParams = subxt::tx::BaseExtrinsicParams<Self, Tip>;
}
#[derive(Copy, Clone, Debug, Default, Encode)] #[derive(Copy, Clone, Debug, Default, Encode)]
pub struct Tip { pub struct Tip {
...@@ -84,7 +91,7 @@ struct FullNode { ...@@ -84,7 +91,7 @@ struct FullNode {
ws_port: u16, ws_port: u16,
} }
pub async fn spawn_node(maybe_genesis_conf_file: Option<PathBuf>) -> (Api, Client, Process) { pub async fn spawn_node(maybe_genesis_conf_file: Option<PathBuf>) -> (Client, Process) {
println!("maybe_genesis_conf_file={:?}", maybe_genesis_conf_file); println!("maybe_genesis_conf_file={:?}", maybe_genesis_conf_file);
let duniter_binary_path = std::env::var("DUNITER_BINARY_PATH").unwrap_or_else(|_| { let duniter_binary_path = std::env::var("DUNITER_BINARY_PATH").unwrap_or_else(|_| {
if std::path::Path::new(DUNITER_DOCKER_PATH).exists() { if std::path::Path::new(DUNITER_DOCKER_PATH).exists() {
...@@ -103,14 +110,11 @@ pub async fn spawn_node(maybe_genesis_conf_file: Option<PathBuf>) -> (Api, Clien ...@@ -103,14 +110,11 @@ pub async fn spawn_node(maybe_genesis_conf_file: Option<PathBuf>) -> (Api, Clien
&duniter_binary_path, &duniter_binary_path,
maybe_genesis_conf_file, maybe_genesis_conf_file,
); );
let client = ClientBuilder::new() let client = Client::from_url(format!("ws://127.0.0.1:{}", ws_port))
.set_url(format!("ws://127.0.0.1:{}", ws_port))
.build()
.await .await
.expect("fail to connect to node"); .expect("fail to connect to node");
let api = client.clone().to_runtime_api::<Api>();
(api, client, process) (client, process)
} }
pub async fn create_empty_block(client: &Client) -> Result<()> { pub async fn create_empty_block(client: &Client) -> Result<()> {
...@@ -126,14 +130,10 @@ pub async fn create_empty_block(client: &Client) -> Result<()> { ...@@ -126,14 +130,10 @@ pub async fn create_empty_block(client: &Client) -> Result<()> {
pub async fn create_block_with_extrinsic( pub async fn create_block_with_extrinsic(
client: &Client, client: &Client,
extrinsic: SignedSubmittableExtrinsic<'_>, extrinsic: SignedSubmittableExtrinsic,
) -> Result<subxt::TransactionEvents<DefaultConfig, Event>> { ) -> Result<subxt::tx::TxEvents<GdevConfig>> {
/*// Get a hash of the extrinsic (we'll need this later). //println!("extrinsic encoded: {}", hex::encode(extrinsic.encoded()));
use subxt::sp_runtime::traits::Hash as _;
let ext_hash = <DefaultConfig as subxt::Config>::Hashing::hash_of(&encoded_extrinsic);
// Submit and watch for transaction progress.
let sub = client.rpc().submit_extrinsic(encoded_extrinsic).await?;
let watcher = TransactionProgress::new(sub, client, ext_hash);*/
let watcher = extrinsic.submit_and_watch().await?; let watcher = extrinsic.submit_and_watch().await?;
// Create a non-empty block // Create a non-empty block
......
// Copyright 2021 Axiom-Team
//
// This file is part of Substrate-Libre-Currency.
//
// Substrate-Libre-Currency is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, version 3 of the License.
//
// Substrate-Libre-Currency is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with Substrate-Libre-Currency. If not, see <https://www.gnu.org/licenses/>.
use super::gdev;
use super::gdev::runtime_types::pallet_balances;
use super::gdev::runtime_types::pallet_oneshot_account;
use super::*;
use sp_keyring::AccountKeyring;
use subxt::{
ext::sp_runtime::{AccountId32, MultiAddress},
tx::PairSigner,
};
pub enum Account {
Normal(AccountKeyring),
Oneshot(AccountKeyring),
}
impl Account {
fn to_account_id(
&self,
) -> pallet_oneshot_account::types::Account<MultiAddress<AccountId32, ()>> {
match self {
Account::Normal(account) => {
pallet_oneshot_account::types::Account::Normal(account.to_account_id().into())
}
Account::Oneshot(account) => {
pallet_oneshot_account::types::Account::Oneshot(account.to_account_id().into())
}
}
}
}
pub async fn create_oneshot_account(
client: &Client,
from: AccountKeyring,
amount: u64,
to: AccountKeyring,
) -> Result<()> {
let from = PairSigner::new(from.pair());
let to = to.to_account_id();
let _events = create_block_with_extrinsic(
client,
client
.tx()
.create_signed(
&gdev::tx()
.oneshot_account()
.create_oneshot_account(to.into(), amount),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?,
)
.await?;
Ok(())
}
pub async fn consume_oneshot_account(
client: &Client,
from: AccountKeyring,
to: Account,
) -> Result<()> {
let from = PairSigner::new(from.pair());
let to = to.to_account_id();
let _events = create_block_with_extrinsic(
client,
client
.tx()
.create_signed(
&gdev::tx().oneshot_account().consume_oneshot_account(0, to),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?,
)
.await?;
Ok(())
}
#[allow(clippy::too_many_arguments)]
pub async fn consume_oneshot_account_with_remaining(
client: &Client,
from: AccountKeyring,
amount: u64,
to: Account,
remaining_to: Account,
) -> Result<()> {
let from = PairSigner::new(from.pair());
let to = to.to_account_id();
let remaining_to = remaining_to.to_account_id();
let _events = create_block_with_extrinsic(
client,
client
.tx()
.create_signed(
&gdev::tx()
.oneshot_account()
.consume_oneshot_account_with_remaining(0, to, remaining_to, amount),
&from,
BaseExtrinsicParamsBuilder::new(),
)
.await?,
)
.await?;
Ok(())
}
...@@ -53,13 +53,6 @@ impl DuniterWorld { ...@@ -53,13 +53,6 @@ impl DuniterWorld {
self.ignore_errors = ignore_errors; self.ignore_errors = ignore_errors;
} }
// Read methods // Read methods
fn api(&self) -> &Api {
if let Some(ref inner) = self.inner {
&inner.api
} else {
panic!("uninit")
}
}
fn client(&self) -> &Client { fn client(&self) -> &Client {
if let Some(ref inner) = self.inner { if let Some(ref inner) = self.inner {
&inner.client &inner.client
...@@ -70,6 +63,39 @@ impl DuniterWorld { ...@@ -70,6 +63,39 @@ impl DuniterWorld {
fn ignore_errors(&self) -> bool { fn ignore_errors(&self) -> bool {
self.ignore_errors self.ignore_errors
} }
// Read storage entry on last block
fn read<'a, Address>(
&self,
address: &'a Address,
) -> impl std::future::Future<
Output = std::result::Result<
Option<<Address::Target as subxt::metadata::DecodeWithMetadata>::Target>,
subxt::error::Error,
>,
> + 'a
where
Address: subxt::storage::StorageAddress<IsFetchable = subxt::storage::address::Yes> + 'a,
{
self.client().storage().fetch(address, None)
}
// Read storage entry with default value (on last block)
fn read_or_default<'a, Address>(
&self,
address: &'a Address,
) -> impl std::future::Future<
Output = std::result::Result<
<Address::Target as subxt::metadata::DecodeWithMetadata>::Target,
subxt::error::Error,
>,
> + 'a
where
Address: subxt::storage::StorageAddress<
IsFetchable = subxt::storage::address::Yes,
IsDefaultable = subxt::storage::address::Yes,
> + 'a,
{
self.client().storage().fetch_or_default(address, None)
}
} }
impl std::fmt::Debug for DuniterWorld { impl std::fmt::Debug for DuniterWorld {
...@@ -92,19 +118,14 @@ impl World for DuniterWorld { ...@@ -92,19 +118,14 @@ impl World for DuniterWorld {
} }
struct DuniterWorldInner { struct DuniterWorldInner {
api: Api,
client: Client, client: Client,
process: Process, process: Process,
} }
impl DuniterWorldInner { impl DuniterWorldInner {
async fn new(maybe_genesis_conf_file: Option<PathBuf>) -> Self { async fn new(maybe_genesis_conf_file: Option<PathBuf>) -> Self {
let (api, client, process) = spawn_node(maybe_genesis_conf_file).await; let (client, process) = spawn_node(maybe_genesis_conf_file).await;
DuniterWorldInner { DuniterWorldInner { client, process }
api,
client,
process,
}
} }
fn kill(&mut self) { fn kill(&mut self) {
self.process.kill(); self.process.kill();
...@@ -131,16 +152,14 @@ async fn who_have(world: &mut DuniterWorld, who: String, amount: u64, unit: Stri ...@@ -131,16 +152,14 @@ async fn who_have(world: &mut DuniterWorld, who: String, amount: u64, unit: Stri
if is_ud { if is_ud {
let current_ud_amount = world let current_ud_amount = world
.api() .read(&gdev::storage().universal_dividend().current_ud())
.storage() .await?
.universal_dividend() .unwrap_or_default();
.current_ud(None)
.await?;
amount = (amount * current_ud_amount) / 1_000; amount = (amount * current_ud_amount) / 1_000;
} }
// Create {amount} ĞD for {who} // Create {amount} ĞD for {who}
common::balances::set_balance(world.api(), world.client(), who, amount).await?; common::balances::set_balance(world.client(), who, amount).await?;
Ok(()) Ok(())
} }
...@@ -155,7 +174,7 @@ async fn n_blocks_later(world: &mut DuniterWorld, n: usize) -> Result<()> { ...@@ -155,7 +174,7 @@ async fn n_blocks_later(world: &mut DuniterWorld, n: usize) -> Result<()> {
Ok(()) Ok(())
} }
#[when(regex = r"([a-zA-Z]+) sends? (\d+) (ĞD|cĞD|UD|mUD) to ([a-zA-Z]+)")] #[when(regex = r"([a-zA-Z]+) sends? (\d+) (ĞD|cĞD|UD|mUD) to ([a-zA-Z]+)$")]
async fn transfer( async fn transfer(
world: &mut DuniterWorld, world: &mut DuniterWorld,
from: String, from: String,
...@@ -169,9 +188,9 @@ async fn transfer( ...@@ -169,9 +188,9 @@ async fn transfer(
let (amount, is_ud) = parse_amount(amount, &unit); let (amount, is_ud) = parse_amount(amount, &unit);
let res = if is_ud { let res = if is_ud {
common::balances::transfer_ud(world.api(), world.client(), from, amount, to).await common::balances::transfer_ud(world.client(), from, amount, to).await
} else { } else {
common::balances::transfer(world.api(), world.client(), from, amount, to).await common::balances::transfer(world.client(), from, amount, to).await
}; };
if world.ignore_errors() { if world.ignore_errors() {
...@@ -181,13 +200,92 @@ async fn transfer( ...@@ -181,13 +200,92 @@ async fn transfer(
} }
} }
#[when(regex = r"([a-zA-Z]+) sends? (\d+) (ĞD|cĞD) to oneshot ([a-zA-Z]+)")]
async fn create_oneshot_account(
world: &mut DuniterWorld,
from: String,
amount: u64,
unit: String,
to: String,
) -> Result<()> {
// Parse inputs
let from = AccountKeyring::from_str(&from).expect("unknown from");
let to = AccountKeyring::from_str(&to).expect("unknown to");
let (amount, is_ud) = parse_amount(amount, &unit);
assert!(!is_ud);
common::oneshot::create_oneshot_account(world.client(), from, amount, to).await
}
#[when(regex = r"oneshot ([a-zA-Z]+) consumes? into (oneshot|account) ([a-zA-Z]+)")]
async fn consume_oneshot_account(
world: &mut DuniterWorld,
from: String,
is_dest_oneshot: String,
to: String,
) -> Result<()> {
// Parse inputs
let from = AccountKeyring::from_str(&from).expect("unknown from");
let to = AccountKeyring::from_str(&to).expect("unknown to");
let to = match is_dest_oneshot.as_str() {
"oneshot" => common::oneshot::Account::Oneshot(to),
"account" => common::oneshot::Account::Normal(to),
_ => unreachable!(),
};
common::oneshot::consume_oneshot_account(world.client(), from, to).await
}
#[when(
regex = r"oneshot ([a-zA-Z]+) consumes? (\d+) (ĞD|cĞD) into (oneshot|account) ([a-zA-Z]+) and the rest into (oneshot|account) ([a-zA-Z]+)"
)]
#[allow(clippy::too_many_arguments)]
async fn consume_oneshot_account_with_remaining(
world: &mut DuniterWorld,
from: String,
amount: u64,
unit: String,
is_dest_oneshot: String,
to: String,
is_remaining_to_oneshot: String,
remaining_to: String,
) -> Result<()> {
// Parse inputs
let from = AccountKeyring::from_str(&from).expect("unknown from");
let to = AccountKeyring::from_str(&to).expect("unknown to");
let remaining_to = AccountKeyring::from_str(&remaining_to).expect("unknown remaining_to");
let to = match is_dest_oneshot.as_str() {
"oneshot" => common::oneshot::Account::Oneshot(to),
"account" => common::oneshot::Account::Normal(to),
_ => unreachable!(),
};
let remaining_to = match is_remaining_to_oneshot.as_str() {
"oneshot" => common::oneshot::Account::Oneshot(remaining_to),
"account" => common::oneshot::Account::Normal(remaining_to),
_ => unreachable!(),
};
let (amount, is_ud) = parse_amount(amount, &unit);
assert!(!is_ud);
common::oneshot::consume_oneshot_account_with_remaining(
world.client(),
from,
amount,
to,
remaining_to,
)
.await
}
#[when(regex = r"([a-zA-Z]+) sends? all (?:his|her) (?:ĞDs?|DUs?|UDs?) to ([a-zA-Z]+)")] #[when(regex = r"([a-zA-Z]+) sends? all (?:his|her) (?:ĞDs?|DUs?|UDs?) to ([a-zA-Z]+)")]
async fn send_all_to(world: &mut DuniterWorld, from: String, to: String) -> Result<()> { async fn send_all_to(world: &mut DuniterWorld, from: String, to: String) -> Result<()> {
// Parse inputs // Parse inputs
let from = AccountKeyring::from_str(&from).expect("unknown from"); let from = AccountKeyring::from_str(&from).expect("unknown from");
let to = AccountKeyring::from_str(&to).expect("unknown to"); let to = AccountKeyring::from_str(&to).expect("unknown to");
common::balances::transfer_all(world.api(), world.client(), from, to).await common::balances::transfer_all(world.client(), from, to).await
} }
#[when(regex = r"([a-zA-Z]+) certifies ([a-zA-Z]+)")] #[when(regex = r"([a-zA-Z]+) certifies ([a-zA-Z]+)")]
...@@ -196,7 +294,7 @@ async fn certifies(world: &mut DuniterWorld, from: String, to: String) -> Result ...@@ -196,7 +294,7 @@ async fn certifies(world: &mut DuniterWorld, from: String, to: String) -> Result
let from = AccountKeyring::from_str(&from).expect("unknown from"); let from = AccountKeyring::from_str(&from).expect("unknown from");
let to = AccountKeyring::from_str(&to).expect("unknown to"); let to = AccountKeyring::from_str(&to).expect("unknown to");
common::cert::certify(world.api(), world.client(), from, to).await common::cert::certify(world.client(), from, to).await
} }
// ===== then ==== // ===== then ====
...@@ -214,11 +312,33 @@ async fn should_have( ...@@ -214,11 +312,33 @@ async fn should_have(
.to_account_id(); .to_account_id();
let (amount, _is_ud) = parse_amount(amount, &unit); let (amount, _is_ud) = parse_amount(amount, &unit);
let who_account = world.api().storage().system().account(&who, None).await?; let who_account = world
.read_or_default(&gdev::storage().system().account(&who))
.await?;
assert_eq!(who_account.data.free, amount); assert_eq!(who_account.data.free, amount);
Ok(()) Ok(())
} }
#[then(regex = r"([a-zA-Z]+) should have oneshot (\d+) (ĞD|cĞD)")]
async fn should_have_oneshot(
world: &mut DuniterWorld,
who: String,
amount: u64,
unit: String,
) -> Result<()> {
// Parse inputs
let who = AccountKeyring::from_str(&who)
.expect("unknown to")
.to_account_id();
let (amount, _is_ud) = parse_amount(amount, &unit);
let oneshot_amount = world
.read(&gdev::storage().oneshot_account().oneshot_accounts(&who))
.await?;
assert_eq!(oneshot_amount.unwrap_or(0), amount);
Ok(())
}
#[then(regex = r"Current UD amount should be (\d+).(\d+)")] #[then(regex = r"Current UD amount should be (\d+).(\d+)")]
async fn current_ud_amount_should_be( async fn current_ud_amount_should_be(
world: &mut DuniterWorld, world: &mut DuniterWorld,
...@@ -227,10 +347,7 @@ async fn current_ud_amount_should_be( ...@@ -227,10 +347,7 @@ async fn current_ud_amount_should_be(
) -> Result<()> { ) -> Result<()> {
let expected = (amount * 100) + cents; let expected = (amount * 100) + cents;
let actual = world let actual = world
.api() .read_or_default(&gdev::storage().universal_dividend().current_ud())
.storage()
.universal_dividend()
.current_ud(None)
.await?; .await?;
assert_eq!(actual, expected); assert_eq!(actual, expected);
Ok(()) Ok(())
...@@ -240,10 +357,7 @@ async fn current_ud_amount_should_be( ...@@ -240,10 +357,7 @@ async fn current_ud_amount_should_be(
async fn monetary_mass_should_be(world: &mut DuniterWorld, amount: u64, cents: u64) -> Result<()> { async fn monetary_mass_should_be(world: &mut DuniterWorld, amount: u64, cents: u64) -> Result<()> {
let expected = (amount * 100) + cents; let expected = (amount * 100) + cents;
let actual = world let actual = world
.api() .read_or_default(&gdev::storage().universal_dividend().monetary_mass())
.storage()
.universal_dividend()
.monetary_mass(None)
.await?; .await?;
assert_eq!(actual, expected); assert_eq!(actual, expected);
Ok(()) Ok(())
...@@ -264,25 +378,24 @@ async fn should_be_certified_by( ...@@ -264,25 +378,24 @@ async fn should_be_certified_by(
.to_account_id(); .to_account_id();
let issuer_index = world let issuer_index = world
.api() .read(
.storage() &gdev::storage()
.identity() .identity()
.identity_index_of(&issuer_account, None) .identity_index_of(&issuer_account),
)
.await? .await?
.unwrap(); .unwrap();
let receiver_index = world let receiver_index = world
.api() .read(
.storage() &gdev::storage()
.identity() .identity()
.identity_index_of(&receiver_account, None) .identity_index_of(&receiver_account),
)
.await? .await?
.unwrap(); .unwrap();
let issuers = world let issuers = world
.api() .read_or_default(&gdev::storage().cert().certs_by_receiver(&receiver_index))
.storage()
.cert()
.certs_by_receiver(&receiver_index, None)
.await?; .await?;
match issuers.binary_search_by(|(issuer_, _)| issuer_index.cmp(issuer_)) { match issuers.binary_search_by(|(issuer_, _)| issuer_index.cmp(issuer_)) {
......
...@@ -12,6 +12,6 @@ version = '3.0.0' ...@@ -12,6 +12,6 @@ version = '3.0.0'
anyhow = "1.0" anyhow = "1.0"
hex-literal = "0.3" hex-literal = "0.3"
parity-scale-codec = "3.1.5" parity-scale-codec = "3.1.5"
sp-core = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.23' } sp-core = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.26' }
subxt = { git = 'https://github.com/duniter/subxt', branch = 'duniter-substrate-v0.9.23' } subxt = { git = 'https://github.com/duniter/subxt', branch = 'duniter-substrate-v0.9.26' }
tokio = { version = "1.15.0", features = ["macros"] } tokio = { version = "1.15.0", features = ["macros"] }
...@@ -15,22 +15,20 @@ ...@@ -15,22 +15,20 @@
// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. // along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>.
#[subxt::subxt(runtime_metadata_path = "../resources/metadata.scale")] #[subxt::subxt(runtime_metadata_path = "../resources/metadata.scale")]
pub mod gdev_runtime {} pub mod gdev {}
use hex_literal::hex; use hex_literal::hex;
use sp_core::crypto::AccountId32; use sp_core::crypto::AccountId32;
use sp_core::{blake2_128, ByteArray, H256}; use sp_core::{blake2_128, ByteArray, H256};
use std::collections::HashMap; use std::collections::HashMap;
use subxt::{extrinsic::PlainTip, ClientBuilder, DefaultConfig}; use subxt::config::SubstrateConfig as GdevConfig;
const DEFAULT_ENDPOINT: &str = "wss://gdev.librelois.fr:443/ws"; const DEFAULT_ENDPOINT: &str = "wss://gdev.librelois.fr:443/ws";
const TREASURY_ACCOUNT_ID: [u8; 32] = const TREASURY_ACCOUNT_ID: [u8; 32] =
hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000"); hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
type Api = gdev_runtime::RuntimeApi<DefaultConfig, BaseExtrinsicParams<DefaultConfig>>; type Client = subxt::OnlineClient<GdevConfig>;
type BaseExtrinsicParams<T> = subxt::extrinsic::BaseExtrinsicParams<T, PlainTip>;
type Client = subxt::Client<DefaultConfig>;
// define gdev basic types // define gdev basic types
type Balance = u64; type Balance = u64;
...@@ -38,18 +36,15 @@ type BlockNumber = u32; ...@@ -38,18 +36,15 @@ type BlockNumber = u32;
type Index = u32; type Index = u32;
// Define gdev types // Define gdev types
type AccountInfo = gdev_runtime::runtime_types::frame_system::AccountInfo< type AccountInfo = gdev::runtime_types::frame_system::AccountInfo<
Index, Index,
gdev_runtime::runtime_types::pallet_duniter_account::types::AccountData<Balance>, gdev::runtime_types::pallet_duniter_account::types::AccountData<Balance>,
>; >;
type IdtyData = gdev_runtime::runtime_types::common_runtime::entities::IdtyData; type IdtyData = gdev::runtime_types::common_runtime::entities::IdtyData;
type IdtyIndex = u32; type IdtyIndex = u32;
type IdtyValue = gdev_runtime::runtime_types::pallet_identity::types::IdtyValue< type IdtyValue =
BlockNumber, gdev::runtime_types::pallet_identity::types::IdtyValue<BlockNumber, AccountId32, IdtyData>;
AccountId32, use gdev::runtime_types::pallet_identity::types::IdtyStatus;
IdtyData,
>;
use gdev_runtime::runtime_types::pallet_identity::types::IdtyStatus;
struct Storage { struct Storage {
accounts: HashMap<AccountId32, AccountInfo>, accounts: HashMap<AccountId32, AccountInfo>,
...@@ -61,10 +56,7 @@ struct Storage { ...@@ -61,10 +56,7 @@ struct Storage {
async fn main() -> anyhow::Result<()> { async fn main() -> anyhow::Result<()> {
let ws_rpc_endpoint = let ws_rpc_endpoint =
std::env::var("WS_RPC_ENDPOINT").unwrap_or_else(|_| DEFAULT_ENDPOINT.to_owned()); std::env::var("WS_RPC_ENDPOINT").unwrap_or_else(|_| DEFAULT_ENDPOINT.to_owned());
let client: Client = ClientBuilder::new() let client = Client::from_url(ws_rpc_endpoint)
.set_url(ws_rpc_endpoint)
.set_page_size(100)
.build()
.await .await
.expect("fail to connect to node"); .expect("fail to connect to node");
...@@ -81,17 +73,17 @@ async fn main() -> anyhow::Result<()> { ...@@ -81,17 +73,17 @@ async fn main() -> anyhow::Result<()> {
} }
async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyhow::Result<()> { async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyhow::Result<()> {
// Get API
let api = client.clone().to_runtime_api::<Api>();
// ===== Collect storage ===== // // ===== Collect storage ===== //
// Collect accounts // Collect accounts
let mut accounts = HashMap::new(); let mut accounts = HashMap::new();
let mut account_iter = api let mut account_iter = client
.storage() .storage()
.system() .iter(
.account_iter(maybe_block_hash) gdev::storage().system().account_root(),
100,
maybe_block_hash,
)
.await?; .await?;
while let Some((key, account_info)) = account_iter.next().await? { while let Some((key, account_info)) = account_iter.next().await? {
let mut account_id_bytes = [0u8; 32]; let mut account_id_bytes = [0u8; 32];
...@@ -102,10 +94,13 @@ async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyh ...@@ -102,10 +94,13 @@ async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyh
// Collect identities // Collect identities
let mut identities = HashMap::new(); let mut identities = HashMap::new();
let mut idty_iter = api let mut idty_iter = client
.storage() .storage()
.identity() .iter(
.identities_iter(maybe_block_hash) gdev::storage().identity().identities_root(),
100,
maybe_block_hash,
)
.await?; .await?;
while let Some((key, idty_value)) = idty_iter.next().await? { while let Some((key, idty_value)) = idty_iter.next().await? {
let mut idty_index_bytes = [0u8; 4]; let mut idty_index_bytes = [0u8; 4];
...@@ -116,10 +111,13 @@ async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyh ...@@ -116,10 +111,13 @@ async fn sanity_tests_at(client: Client, maybe_block_hash: Option<H256>) -> anyh
// Collect identity_index_of // Collect identity_index_of
let mut identity_index_of = HashMap::new(); let mut identity_index_of = HashMap::new();
let mut idty_index_of_iter = api let mut idty_index_of_iter = client
.storage() .storage()
.identity() .iter(
.identity_index_of_iter(maybe_block_hash) gdev::storage().identity().identity_index_of_root(),
100,
maybe_block_hash,
)
.await?; .await?;
while let Some((key, idty_index)) = idty_index_of_iter.next().await? { while let Some((key, idty_index)) = idty_index_of_iter.next().await? {
let mut blake2_128_bytes = [0u8; 16]; let mut blake2_128_bytes = [0u8; 16];
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -57,8 +57,7 @@ where ...@@ -57,8 +57,7 @@ where
fn clique_wot( fn clique_wot(
initial_identities_len: usize, initial_identities_len: usize,
cert_validity_period: common_runtime::BlockNumber, ) -> BTreeMap<IdtyIndex, BTreeMap<IdtyIndex, Option<common_runtime::BlockNumber>>> {
) -> BTreeMap<IdtyIndex, BTreeMap<IdtyIndex, common_runtime::BlockNumber>> {
let mut certs_by_issuer = BTreeMap::new(); let mut certs_by_issuer = BTreeMap::new();
for i in 1..=initial_identities_len { for i in 1..=initial_identities_len {
certs_by_issuer.insert( certs_by_issuer.insert(
...@@ -66,7 +65,7 @@ fn clique_wot( ...@@ -66,7 +65,7 @@ fn clique_wot(
(1..=initial_identities_len) (1..=initial_identities_len)
.filter_map(|j| { .filter_map(|j| {
if i != j { if i != j {
Some((j as IdtyIndex, cert_validity_period)) Some((j as IdtyIndex, None))
} else { } else {
None None
} }
......