Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -15,7 +15,7 @@ Tüm Rebranding Tamamlandı ✅
|
|||||||
- [x] Phase 2: cumulus → pezcumulus
|
- [x] Phase 2: cumulus → pezcumulus
|
||||||
- [x] Dosya içerikleri
|
- [x] Dosya içerikleri
|
||||||
- [x] Dizin isimleri (cumulus/ → pezcumulus/)
|
- [x] Dizin isimleri (cumulus/ → pezcumulus/)
|
||||||
- [x] Dosya isimleri (cumulus_pallet_*.rs → pezcumulus_pallet_*.rs)
|
- [x] Dosya isimleri (cumulus_pallet_*.rs → pezcumulus_pezpallet_*.rs)
|
||||||
- [x] Phase 5: frame- → pezframe-
|
- [x] Phase 5: frame- → pezframe-
|
||||||
- [x] Crate isimleri (frame-support → pezframe-support, vb.)
|
- [x] Crate isimleri (frame-support → pezframe-support, vb.)
|
||||||
- [x] Rust import'ları (frame_support → pezframe_support)
|
- [x] Rust import'ları (frame_support → pezframe_support)
|
||||||
@@ -24,18 +24,18 @@ Tüm Rebranding Tamamlandı ✅
|
|||||||
- [x] Phase 6: pallet- → pezpallet-
|
- [x] Phase 6: pallet- → pezpallet-
|
||||||
- [x] 172 crate ismi değiştirildi (Cargo.toml'larda)
|
- [x] 172 crate ismi değiştirildi (Cargo.toml'larda)
|
||||||
- [x] Rust import'ları güncellendi (pallet_ → pezpallet_)
|
- [x] Rust import'ları güncellendi (pallet_ → pezpallet_)
|
||||||
- [x] Duplicate temizliği (pezpezpallet- → pezpallet-)
|
- [x] Duplicate temizliği (pezpallet- → pezpallet-)
|
||||||
- [x] Phase 7: staging- → pezstaging-
|
- [x] Phase 7: staging- → pezstaging-
|
||||||
- [x] 8 crate ismi değiştirildi (staging-xcm, staging-node-cli, vb.)
|
- [x] 8 crate ismi değiştirildi (staging-xcm, staging-node-cli, vb.)
|
||||||
- [x] Rust import'ları güncellendi (staging_ → pezstaging_)
|
- [x] Rust import'ları güncellendi (staging_ → pezstaging_)
|
||||||
- [x] Phase 3: sc- → pezsc-
|
- [x] Phase 3: sc- → pezsc-
|
||||||
- [x] 58 crate ismi değiştirildi (sc-client-api → pezsc-client-api, vb.)
|
- [x] 58 crate ismi değiştirildi (sc-client-api → pezsc-client-api, vb.)
|
||||||
- [x] Rust import'ları güncellendi (sc_ → pezsc_)
|
- [x] Rust import'ları güncellendi (sc_ → pezsc_)
|
||||||
- [x] Duplicate kontrolü: pezpezsc- yok
|
- [x] Duplicate kontrolü: pezsc- yok
|
||||||
- [x] Phase 4: sp- → pezsp-
|
- [x] Phase 4: sp- → pezsp-
|
||||||
- [x] 65 crate ismi değiştirildi (sp-core → pezsp-core, vb.)
|
- [x] 65 crate ismi değiştirildi (sp-core → pezsp-core, vb.)
|
||||||
- [x] Rust import'ları güncellendi (sp_ → pezsp_)
|
- [x] Rust import'ları güncellendi (sp_ → pezsp_)
|
||||||
- [x] Duplicate kontrolü: pezpezsp- yok
|
- [x] Duplicate kontrolü: pezsp- yok
|
||||||
|
|
||||||
## BEKLEYEN İŞLER
|
## BEKLEYEN İŞLER
|
||||||
Yok - Tüm rebranding tamamlandı!
|
Yok - Tüm rebranding tamamlandı!
|
||||||
|
|||||||
Generated
+1553
-1553
File diff suppressed because it is too large
Load Diff
+159
-159
@@ -39,21 +39,21 @@ members = [
|
|||||||
"bridges/relays/messages",
|
"bridges/relays/messages",
|
||||||
"bridges/relays/teyrchains",
|
"bridges/relays/teyrchains",
|
||||||
"bridges/relays/utils",
|
"bridges/relays/utils",
|
||||||
"bridges/snowbridge/pallets/ethereum-client",
|
"bridges/snowbridge/pezpallets/ethereum-client",
|
||||||
"bridges/snowbridge/pallets/ethereum-client/fixtures",
|
"bridges/snowbridge/pezpallets/ethereum-client/fixtures",
|
||||||
"bridges/snowbridge/pallets/inbound-queue",
|
"bridges/snowbridge/pezpallets/inbound-queue",
|
||||||
"bridges/snowbridge/pallets/inbound-queue-v2",
|
"bridges/snowbridge/pezpallets/inbound-queue-v2",
|
||||||
"bridges/snowbridge/pallets/inbound-queue-v2/fixtures",
|
"bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures",
|
||||||
"bridges/snowbridge/pallets/inbound-queue/fixtures",
|
"bridges/snowbridge/pezpallets/inbound-queue/fixtures",
|
||||||
"bridges/snowbridge/pallets/outbound-queue",
|
"bridges/snowbridge/pezpallets/outbound-queue",
|
||||||
"bridges/snowbridge/pallets/outbound-queue-v2",
|
"bridges/snowbridge/pezpallets/outbound-queue-v2",
|
||||||
"bridges/snowbridge/pallets/outbound-queue-v2/runtime-api",
|
"bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api",
|
||||||
"bridges/snowbridge/pallets/outbound-queue/runtime-api",
|
"bridges/snowbridge/pezpallets/outbound-queue/runtime-api",
|
||||||
"bridges/snowbridge/pallets/system",
|
"bridges/snowbridge/pezpallets/system",
|
||||||
"bridges/snowbridge/pallets/system-frontend",
|
"bridges/snowbridge/pezpallets/system-frontend",
|
||||||
"bridges/snowbridge/pallets/system-v2",
|
"bridges/snowbridge/pezpallets/system-v2",
|
||||||
"bridges/snowbridge/pallets/system-v2/runtime-api",
|
"bridges/snowbridge/pezpallets/system-v2/runtime-api",
|
||||||
"bridges/snowbridge/pallets/system/runtime-api",
|
"bridges/snowbridge/pezpallets/system/runtime-api",
|
||||||
"bridges/snowbridge/primitives/beacon",
|
"bridges/snowbridge/primitives/beacon",
|
||||||
"bridges/snowbridge/primitives/core",
|
"bridges/snowbridge/primitives/core",
|
||||||
"bridges/snowbridge/primitives/ethereum",
|
"bridges/snowbridge/primitives/ethereum",
|
||||||
@@ -81,17 +81,17 @@ members = [
|
|||||||
"pezcumulus/client/relay-chain-streams",
|
"pezcumulus/client/relay-chain-streams",
|
||||||
"pezcumulus/client/service",
|
"pezcumulus/client/service",
|
||||||
"pezcumulus/client/teyrchain-inherent",
|
"pezcumulus/client/teyrchain-inherent",
|
||||||
"pezcumulus/pallets/ah-ops",
|
"pezcumulus/pezpallets/ah-ops",
|
||||||
"pezcumulus/pallets/aura-ext",
|
"pezcumulus/pezpallets/aura-ext",
|
||||||
"pezcumulus/pallets/collator-selection",
|
"pezcumulus/pezpallets/collator-selection",
|
||||||
"pezcumulus/pallets/dmp-queue",
|
"pezcumulus/pezpallets/dmp-queue",
|
||||||
"pezcumulus/pallets/session-benchmarking",
|
"pezcumulus/pezpallets/session-benchmarking",
|
||||||
"pezcumulus/pallets/solo-to-para",
|
"pezcumulus/pezpallets/solo-to-para",
|
||||||
"pezcumulus/pallets/teyrchain-system",
|
"pezcumulus/pezpallets/teyrchain-system",
|
||||||
"pezcumulus/pallets/teyrchain-system/proc-macro",
|
"pezcumulus/pezpallets/teyrchain-system/proc-macro",
|
||||||
"pezcumulus/pallets/weight-reclaim",
|
"pezcumulus/pezpallets/weight-reclaim",
|
||||||
"pezcumulus/pallets/xcm",
|
"pezcumulus/pezpallets/xcm",
|
||||||
"pezcumulus/pallets/xcmp-queue",
|
"pezcumulus/pezpallets/xcmp-queue",
|
||||||
"pezcumulus/pezkuwi-omni-node",
|
"pezcumulus/pezkuwi-omni-node",
|
||||||
"pezcumulus/pezkuwi-omni-node/lib",
|
"pezcumulus/pezkuwi-omni-node/lib",
|
||||||
"pezcumulus/pezkuwi-teyrchain",
|
"pezcumulus/pezkuwi-teyrchain",
|
||||||
@@ -133,20 +133,20 @@ members = [
|
|||||||
"pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros",
|
"pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros",
|
||||||
"pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain",
|
"pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain",
|
||||||
"pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros",
|
"pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros",
|
||||||
"pezcumulus/teyrchains/pallets/collective-content",
|
"pezcumulus/teyrchains/pezpallets/collective-content",
|
||||||
"pezcumulus/teyrchains/pallets/identity-kyc",
|
"pezcumulus/teyrchains/pezpallets/identity-kyc",
|
||||||
"pezcumulus/teyrchains/pallets/perwerde",
|
"pezcumulus/teyrchains/pezpallets/perwerde",
|
||||||
"pezcumulus/teyrchains/pallets/pez-rewards",
|
"pezcumulus/teyrchains/pezpallets/pez-rewards",
|
||||||
"pezcumulus/teyrchains/pallets/pez-treasury",
|
"pezcumulus/teyrchains/pezpallets/pez-treasury",
|
||||||
"pezcumulus/teyrchains/pallets/ping",
|
"pezcumulus/teyrchains/pezpallets/ping",
|
||||||
"pezcumulus/teyrchains/pallets/presale",
|
"pezcumulus/teyrchains/pezpallets/presale",
|
||||||
"pezcumulus/teyrchains/pallets/referral",
|
"pezcumulus/teyrchains/pezpallets/referral",
|
||||||
"pezcumulus/teyrchains/pallets/staking-score",
|
"pezcumulus/teyrchains/pezpallets/staking-score",
|
||||||
"pezcumulus/teyrchains/pallets/teyrchain-info",
|
"pezcumulus/teyrchains/pezpallets/teyrchain-info",
|
||||||
"pezcumulus/teyrchains/pallets/tiki",
|
"pezcumulus/teyrchains/pezpallets/tiki",
|
||||||
"pezcumulus/teyrchains/pallets/token-wrapper",
|
"pezcumulus/teyrchains/pezpallets/token-wrapper",
|
||||||
"pezcumulus/teyrchains/pallets/trust",
|
"pezcumulus/teyrchains/pezpallets/trust",
|
||||||
"pezcumulus/teyrchains/pallets/welati",
|
"pezcumulus/teyrchains/pezpallets/welati",
|
||||||
"pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain",
|
"pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain",
|
||||||
"pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives",
|
"pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives",
|
||||||
"pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros",
|
"pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros",
|
||||||
@@ -170,11 +170,11 @@ members = [
|
|||||||
"pezcumulus/teyrchains/runtimes/testing/penpal",
|
"pezcumulus/teyrchains/runtimes/testing/penpal",
|
||||||
"pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain",
|
"pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain",
|
||||||
"pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain",
|
"pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain",
|
||||||
"pezcumulus/xcm/xcm-emulator",
|
"pezcumulus/xcm/xcm-pez-emulator",
|
||||||
"pezcumulus/zombienet/zombienet-sdk",
|
"pezcumulus/zombienet/zombienet-sdk",
|
||||||
"pezcumulus/zombienet/zombienet-sdk-helpers",
|
"pezcumulus/zombienet/zombienet-sdk-helpers",
|
||||||
"docs/sdk",
|
"docs/sdk",
|
||||||
"docs/sdk/packages/guides/first-pallet",
|
"docs/sdk/packages/guides/first-pezpallet",
|
||||||
"docs/sdk/packages/guides/first-runtime",
|
"docs/sdk/packages/guides/first-runtime",
|
||||||
"docs/sdk/src/reference_docs/chain_spec_runtime",
|
"docs/sdk/src/reference_docs/chain_spec_runtime",
|
||||||
"pezkuwi",
|
"pezkuwi",
|
||||||
@@ -227,12 +227,12 @@ members = [
|
|||||||
"pezkuwi/node/test/service",
|
"pezkuwi/node/test/service",
|
||||||
"pezkuwi/node/tracking-allocator",
|
"pezkuwi/node/tracking-allocator",
|
||||||
"pezkuwi/node/zombienet-backchannel",
|
"pezkuwi/node/zombienet-backchannel",
|
||||||
"pezkuwi/pallets/validator-pool",
|
"pezkuwi/pezpallets/validator-pool",
|
||||||
"pezkuwi/primitives",
|
"pezkuwi/primitives",
|
||||||
"pezkuwi/primitives/test-helpers",
|
"pezkuwi/primitives/test-helpers",
|
||||||
"pezkuwi/rpc",
|
"pezkuwi/rpc",
|
||||||
"pezkuwi/runtime/common",
|
"pezkuwi/runtime/common",
|
||||||
"pezkuwi/runtime/common/slot_range_helper",
|
"pezkuwi/runtime/common/pez-slot-range-helper",
|
||||||
"pezkuwi/runtime/metrics",
|
"pezkuwi/runtime/metrics",
|
||||||
"pezkuwi/runtime/pezkuwichain",
|
"pezkuwi/runtime/pezkuwichain",
|
||||||
"pezkuwi/runtime/pezkuwichain/bridge-primitives",
|
"pezkuwi/runtime/pezkuwichain/bridge-primitives",
|
||||||
@@ -249,8 +249,8 @@ members = [
|
|||||||
"pezkuwi/teyrchain/test-teyrchains/adder/collator",
|
"pezkuwi/teyrchain/test-teyrchains/adder/collator",
|
||||||
"pezkuwi/teyrchain/test-teyrchains/halt",
|
"pezkuwi/teyrchain/test-teyrchains/halt",
|
||||||
"pezkuwi/teyrchain/test-teyrchains/undying",
|
"pezkuwi/teyrchain/test-teyrchains/undying",
|
||||||
"pezkuwi/teyrchain/test-teyrchains/undying/collator", # People Parachain Custom Pallets (Phase 2) # Asset Hub Custom Pallets (Phase 3)
|
"pezkuwi/teyrchain/test-teyrchains/undying/collator", # People Parachain Custom pezpallets (Phase 2) # Asset Hub Custom pezpallets (Phase 3)
|
||||||
"pezkuwi/utils/generate-bags",
|
"pezkuwi/utils/pez-generate-bags",
|
||||||
"pezkuwi/utils/remote-ext-tests/bags-list",
|
"pezkuwi/utils/remote-ext-tests/bags-list",
|
||||||
"pezkuwi/xcm",
|
"pezkuwi/xcm",
|
||||||
"pezkuwi/xcm/docs",
|
"pezkuwi/xcm/docs",
|
||||||
@@ -261,10 +261,10 @@ members = [
|
|||||||
"pezkuwi/xcm/xcm-builder",
|
"pezkuwi/xcm/xcm-builder",
|
||||||
"pezkuwi/xcm/xcm-executor",
|
"pezkuwi/xcm/xcm-executor",
|
||||||
"pezkuwi/xcm/xcm-executor/integration-tests",
|
"pezkuwi/xcm/xcm-executor/integration-tests",
|
||||||
"pezkuwi/xcm/xcm-runtime-apis",
|
"pezkuwi/xcm/xcm-runtime-pezapis",
|
||||||
"pezkuwi/xcm/xcm-simulator",
|
"pezkuwi/xcm/xcm-pez-simulator",
|
||||||
"pezkuwi/xcm/xcm-simulator/example",
|
"pezkuwi/xcm/xcm-pez-simulator/example",
|
||||||
"pezkuwi/xcm/xcm-simulator/fuzzer",
|
"pezkuwi/xcm/xcm-pez-simulator/fuzzer",
|
||||||
"pezkuwi/zombienet-sdk-tests",
|
"pezkuwi/zombienet-sdk-tests",
|
||||||
"bizinikiwi/bin/node/bench",
|
"bizinikiwi/bin/node/bench",
|
||||||
"bizinikiwi/bin/node/cli",
|
"bizinikiwi/bin/node/cli",
|
||||||
@@ -274,7 +274,7 @@ members = [
|
|||||||
"bizinikiwi/bin/node/runtime",
|
"bizinikiwi/bin/node/runtime",
|
||||||
"bizinikiwi/bin/node/testing",
|
"bizinikiwi/bin/node/testing",
|
||||||
"bizinikiwi/bin/utils/chain-spec-builder",
|
"bizinikiwi/bin/utils/chain-spec-builder",
|
||||||
"bizinikiwi/bin/utils/subkey",
|
"bizinikiwi/bin/utils/pez-subkey",
|
||||||
"bizinikiwi/utils/txtesttool",
|
"bizinikiwi/utils/txtesttool",
|
||||||
"bizinikiwi/client/allocator",
|
"bizinikiwi/client/allocator",
|
||||||
"bizinikiwi/client/api",
|
"bizinikiwi/client/api",
|
||||||
@@ -480,7 +480,7 @@ members = [
|
|||||||
"bizinikiwi/pezframe/support/procedural/tools/derive",
|
"bizinikiwi/pezframe/support/procedural/tools/derive",
|
||||||
"bizinikiwi/pezframe/support/test",
|
"bizinikiwi/pezframe/support/test",
|
||||||
"bizinikiwi/pezframe/support/test/compile_pass",
|
"bizinikiwi/pezframe/support/test/compile_pass",
|
||||||
"bizinikiwi/pezframe/support/test/pallet",
|
"bizinikiwi/pezframe/support/test/pezpallet",
|
||||||
"bizinikiwi/pezframe/support/test/stg_pezframe_crate",
|
"bizinikiwi/pezframe/support/test/stg_pezframe_crate",
|
||||||
"bizinikiwi/pezframe/system",
|
"bizinikiwi/pezframe/system",
|
||||||
"bizinikiwi/pezframe/system/benchmarking",
|
"bizinikiwi/pezframe/system/benchmarking",
|
||||||
@@ -527,7 +527,7 @@ members = [
|
|||||||
"bizinikiwi/primitives/crypto/hashing/proc-macro",
|
"bizinikiwi/primitives/crypto/hashing/proc-macro",
|
||||||
"bizinikiwi/primitives/database",
|
"bizinikiwi/primitives/database",
|
||||||
"bizinikiwi/primitives/debug-derive",
|
"bizinikiwi/primitives/debug-derive",
|
||||||
"bizinikiwi/primitives/ethereum-standards",
|
"bizinikiwi/primitives/pez-ethereum-standards",
|
||||||
"bizinikiwi/primitives/externalities",
|
"bizinikiwi/primitives/externalities",
|
||||||
"bizinikiwi/primitives/genesis-builder",
|
"bizinikiwi/primitives/genesis-builder",
|
||||||
"bizinikiwi/primitives/inherents",
|
"bizinikiwi/primitives/inherents",
|
||||||
@@ -565,7 +565,7 @@ members = [
|
|||||||
"bizinikiwi/primitives/version/proc-macro",
|
"bizinikiwi/primitives/version/proc-macro",
|
||||||
"bizinikiwi/primitives/wasm-interface",
|
"bizinikiwi/primitives/wasm-interface",
|
||||||
"bizinikiwi/primitives/weights",
|
"bizinikiwi/primitives/weights",
|
||||||
"bizinikiwi/scripts/ci/node-template-release",
|
"bizinikiwi/scripts/ci/pez-node-template-release",
|
||||||
"bizinikiwi/test-utils",
|
"bizinikiwi/test-utils",
|
||||||
"bizinikiwi/test-utils/cli",
|
"bizinikiwi/test-utils/cli",
|
||||||
"bizinikiwi/test-utils/client",
|
"bizinikiwi/test-utils/client",
|
||||||
@@ -574,10 +574,10 @@ members = [
|
|||||||
"bizinikiwi/test-utils/runtime/transaction-pool",
|
"bizinikiwi/test-utils/runtime/transaction-pool",
|
||||||
"bizinikiwi/utils/binary-merkle-tree",
|
"bizinikiwi/utils/binary-merkle-tree",
|
||||||
"bizinikiwi/utils/build-script-utils",
|
"bizinikiwi/utils/build-script-utils",
|
||||||
"bizinikiwi/utils/fork-tree",
|
"bizinikiwi/utils/pez-fork-tree",
|
||||||
"bizinikiwi/utils/pezframe/benchmarking-cli",
|
"bizinikiwi/utils/pezframe/benchmarking-cli",
|
||||||
"bizinikiwi/utils/pezframe/generate-bags",
|
"bizinikiwi/utils/pezframe/pez-generate-bags",
|
||||||
"bizinikiwi/utils/pezframe/generate-bags/node-runtime",
|
"bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime",
|
||||||
"bizinikiwi/utils/pezframe/omni-bencher",
|
"bizinikiwi/utils/pezframe/omni-bencher",
|
||||||
"bizinikiwi/utils/pezframe/remote-externalities",
|
"bizinikiwi/utils/pezframe/remote-externalities",
|
||||||
"bizinikiwi/utils/pezframe/rpc/client",
|
"bizinikiwi/utils/pezframe/rpc/client",
|
||||||
@@ -589,14 +589,14 @@ members = [
|
|||||||
"bizinikiwi/utils/bizinikiwi-bip39",
|
"bizinikiwi/utils/bizinikiwi-bip39",
|
||||||
"bizinikiwi/utils/wasm-builder",
|
"bizinikiwi/utils/wasm-builder",
|
||||||
"templates/minimal/node",
|
"templates/minimal/node",
|
||||||
"templates/minimal/pallets/template",
|
"templates/minimal/pezpallets/template",
|
||||||
"templates/minimal/runtime",
|
"templates/minimal/runtime",
|
||||||
"templates/solochain/node",
|
"templates/solochain/node",
|
||||||
"templates/solochain/pallets/template",
|
"templates/solochain/pezpallets/template",
|
||||||
"templates/solochain/runtime",
|
"templates/solochain/runtime",
|
||||||
"templates/teyrchain",
|
"templates/teyrchain",
|
||||||
"templates/teyrchain/node",
|
"templates/teyrchain/node",
|
||||||
"templates/teyrchain/pallets/template",
|
"templates/teyrchain/pezpallets/template",
|
||||||
"templates/teyrchain/runtime",
|
"templates/teyrchain/runtime",
|
||||||
"templates/zombienet",
|
"templates/zombienet",
|
||||||
"umbrella",
|
"umbrella",
|
||||||
@@ -685,7 +685,7 @@ asset-hub-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integrat
|
|||||||
asset-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain", default-features = false }
|
asset-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain", default-features = false }
|
||||||
asset-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros" }
|
asset-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros" }
|
||||||
asset-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros" }
|
asset-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros" }
|
||||||
asset-test-utils = { path = "pezcumulus/teyrchains/runtimes/assets/test-utils", default-features = false }
|
asset-test-pezutils = { path = "pezcumulus/teyrchains/runtimes/assets/test-utils", default-features = false }
|
||||||
assets-common = { path = "pezcumulus/teyrchains/runtimes/assets/common", default-features = false }
|
assets-common = { path = "pezcumulus/teyrchains/runtimes/assets/common", default-features = false }
|
||||||
async-channel = { version = "1.8.0" }
|
async-channel = { version = "1.8.0" }
|
||||||
async-std = { version = "1.9.0" }
|
async-std = { version = "1.9.0" }
|
||||||
@@ -710,25 +710,25 @@ bp-beefy = { path = "bridges/primitives/beefy", default-features = false }
|
|||||||
bp-bridge-hub-pezcumulus = { path = "bridges/chains/chain-pezcumulus", default-features = false }
|
bp-bridge-hub-pezcumulus = { path = "bridges/chains/chain-pezcumulus", default-features = false }
|
||||||
bp-bridge-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives", default-features = false }
|
bp-bridge-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives", default-features = false }
|
||||||
bp-bridge-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives", default-features = false, package = "bp-bridge-hub-zagros" }
|
bp-bridge-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives", default-features = false, package = "bp-bridge-hub-zagros" }
|
||||||
bp-header-chain = { path = "bridges/primitives/header-chain", default-features = false, package = "bp-header-chain" }
|
bp-header-pez-chain = { path = "bridges/primitives/header-chain", default-features = false, package = "bp-header-pez-chain" }
|
||||||
bp-messages = { path = "bridges/primitives/messages", default-features = false, package = "bp-messages" }
|
bp-messages = { path = "bridges/primitives/messages", default-features = false, package = "bp-messages" }
|
||||||
bp-pezkuwi-bulletin = { path = "bridges/chains/chain-pezkuwi-bulletin", default-features = false, package = "bp-pezkuwi-bulletin" }
|
bp-pezkuwi-bulletin = { path = "bridges/chains/chain-pezkuwi-bulletin", default-features = false, package = "bp-pezkuwi-bulletin" }
|
||||||
bp-pezkuwi-core = { path = "bridges/primitives/pezkuwi-core", default-features = false, package = "bp-pezkuwi-core" }
|
bp-pezkuwi-core = { path = "bridges/primitives/pezkuwi-core", default-features = false, package = "bp-pezkuwi-core" }
|
||||||
bp-pezkuwichain = { path = "pezkuwi/runtime/pezkuwichain/bridge-primitives", default-features = false, package = "bp-pezkuwichain" }
|
bp-pezkuwichain = { path = "pezkuwi/runtime/pezkuwichain/bridge-primitives", default-features = false, package = "bp-pezkuwichain" }
|
||||||
bp-relayers = { path = "bridges/primitives/relayers", default-features = false, package = "bp-relayers" }
|
bp-relayers = { path = "bridges/primitives/relayers", default-features = false, package = "bp-relayers" }
|
||||||
bp-runtime = { path = "bridges/primitives/runtime", default-features = false }
|
pezbp-runtime = { path = "bridges/primitives/runtime", default-features = false }
|
||||||
bp-test-utils = { path = "bridges/primitives/test-utils", default-features = false }
|
bp-test-utils = { path = "bridges/primitives/test-utils", default-features = false }
|
||||||
bp-teyrchains = { path = "bridges/primitives/teyrchains", default-features = false }
|
bp-teyrchains = { path = "bridges/primitives/teyrchains", default-features = false }
|
||||||
bp-xcm-bridge-hub = { path = "bridges/primitives/xcm-bridge-hub", default-features = false }
|
bp-xcm-bridge-hub = { path = "bridges/primitives/xcm-bridge-hub", default-features = false }
|
||||||
bp-xcm-bridge-hub-router = { path = "bridges/primitives/xcm-bridge-hub-router", default-features = false }
|
bp-xcm-bridge-hub-router = { path = "bridges/primitives/xcm-bridge-hub-router", default-features = false }
|
||||||
bp-zagros = { path = "pezkuwi/runtime/zagros/bridge-primitives", default-features = false }
|
bp-zagros = { path = "pezkuwi/runtime/zagros/bridge-primitives", default-features = false }
|
||||||
bridge-hub-common = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/common", default-features = false }
|
bridge-hub-common = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/common", default-features = false }
|
||||||
bridge-hub-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain" }
|
pezbridge-hub-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain" }
|
||||||
bridge-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain", default-features = false }
|
pezbridge-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain", default-features = false }
|
||||||
bridge-hub-test-utils = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils", default-features = false }
|
pezbridge-hub-test-utils = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils", default-features = false }
|
||||||
bridge-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros" }
|
pezbridge-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros" }
|
||||||
bridge-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros" }
|
pezbridge-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros" }
|
||||||
bridge-runtime-common = { path = "bridges/bin/runtime-common", default-features = false }
|
pezbridge-runtime-common = { path = "bridges/bin/runtime-common", default-features = false }
|
||||||
bs58 = { version = "0.5.1", default-features = false }
|
bs58 = { version = "0.5.1", default-features = false }
|
||||||
build-helper = { version = "0.1.1" }
|
build-helper = { version = "0.1.1" }
|
||||||
byte-slice-cast = { version = "1.2.1", default-features = false }
|
byte-slice-cast = { version = "1.2.1", default-features = false }
|
||||||
@@ -738,7 +738,7 @@ cargo_metadata = { version = "0.15.4" }
|
|||||||
cfg-expr = { version = "0.15.5" }
|
cfg-expr = { version = "0.15.5" }
|
||||||
cfg-if = { version = "1.0" }
|
cfg-if = { version = "1.0" }
|
||||||
chain-spec-builder = { path = "bizinikiwi/bin/utils/chain-spec-builder", default-features = false, package = "pezstaging-chain-spec-builder" }
|
chain-spec-builder = { path = "bizinikiwi/bin/utils/chain-spec-builder", default-features = false, package = "pezstaging-chain-spec-builder" }
|
||||||
chain-spec-guide-runtime = { path = "docs/sdk/src/reference_docs/chain_spec_runtime" }
|
pez-chain-spec-guide-runtime = { path = "docs/sdk/src/reference_docs/chain_spec_runtime" }
|
||||||
chrono = { version = "0.4.31" }
|
chrono = { version = "0.4.31" }
|
||||||
cid = { version = "0.9.0" }
|
cid = { version = "0.9.0" }
|
||||||
clap = { version = "4.5.13" }
|
clap = { version = "4.5.13" }
|
||||||
@@ -771,16 +771,16 @@ pezcumulus-client-network = { path = "pezcumulus/client/network", default-featur
|
|||||||
pezcumulus-client-pov-recovery = { path = "pezcumulus/client/pov-recovery", default-features = false }
|
pezcumulus-client-pov-recovery = { path = "pezcumulus/client/pov-recovery", default-features = false }
|
||||||
pezcumulus-client-service = { path = "pezcumulus/client/service", default-features = false }
|
pezcumulus-client-service = { path = "pezcumulus/client/service", default-features = false }
|
||||||
pezcumulus-client-teyrchain-inherent = { path = "pezcumulus/client/teyrchain-inherent", default-features = false }
|
pezcumulus-client-teyrchain-inherent = { path = "pezcumulus/client/teyrchain-inherent", default-features = false }
|
||||||
pezcumulus-pezpallet-aura-ext = { path = "pezcumulus/pallets/aura-ext", default-features = false }
|
pezcumulus-pezpallet-aura-ext = { path = "pezcumulus/pezpallets/aura-ext", default-features = false }
|
||||||
pezcumulus-pezpallet-dmp-queue = { default-features = false, path = "pezcumulus/pallets/dmp-queue" }
|
pezcumulus-pezpallet-dmp-queue = { default-features = false, path = "pezcumulus/pezpallets/dmp-queue" }
|
||||||
pezcumulus-pezpallet-session-benchmarking = { path = "pezcumulus/pallets/session-benchmarking", default-features = false }
|
pezcumulus-pezpallet-session-benchmarking = { path = "pezcumulus/pezpallets/session-benchmarking", default-features = false }
|
||||||
pezcumulus-pezpallet-solo-to-para = { path = "pezcumulus/pallets/solo-to-para", default-features = false }
|
pezcumulus-pezpallet-solo-to-para = { path = "pezcumulus/pezpallets/solo-to-para", default-features = false }
|
||||||
pezcumulus-pezpallet-teyrchain-system = { path = "pezcumulus/pallets/teyrchain-system", default-features = false }
|
pezcumulus-pezpallet-teyrchain-system = { path = "pezcumulus/pezpallets/teyrchain-system", default-features = false }
|
||||||
pezcumulus-pezpallet-teyrchain-system-proc-macro = { path = "pezcumulus/pallets/teyrchain-system/proc-macro", default-features = false }
|
pezcumulus-pezpallet-teyrchain-system-proc-macro = { path = "pezcumulus/pezpallets/teyrchain-system/proc-macro", default-features = false }
|
||||||
pezcumulus-pezpallet-weight-reclaim = { path = "pezcumulus/pallets/weight-reclaim", default-features = false }
|
pezcumulus-pezpallet-weight-reclaim = { path = "pezcumulus/pezpallets/weight-reclaim", default-features = false }
|
||||||
pezcumulus-pezpallet-xcm = { path = "pezcumulus/pallets/xcm", default-features = false }
|
pezcumulus-pezpallet-xcm = { path = "pezcumulus/pezpallets/xcm", default-features = false }
|
||||||
pezcumulus-pezpallet-xcmp-queue = { path = "pezcumulus/pallets/xcmp-queue", default-features = false }
|
pezcumulus-pezpallet-xcmp-queue = { path = "pezcumulus/pezpallets/xcmp-queue", default-features = false }
|
||||||
pezcumulus-ping = { path = "pezcumulus/teyrchains/pallets/ping", default-features = false }
|
pezcumulus-ping = { path = "pezcumulus/teyrchains/pezpallets/ping", default-features = false }
|
||||||
pezcumulus-primitives-aura = { path = "pezcumulus/primitives/aura", default-features = false }
|
pezcumulus-primitives-aura = { path = "pezcumulus/primitives/aura", default-features = false }
|
||||||
pezcumulus-primitives-core = { path = "pezcumulus/primitives/core", default-features = false }
|
pezcumulus-primitives-core = { path = "pezcumulus/primitives/core", default-features = false }
|
||||||
pezcumulus-primitives-proof-size-hostfunction = { path = "pezcumulus/primitives/proof-size-hostfunction", default-features = false }
|
pezcumulus-primitives-proof-size-hostfunction = { path = "pezcumulus/primitives/proof-size-hostfunction", default-features = false }
|
||||||
@@ -817,10 +817,10 @@ enumn = { version = "0.1.13" }
|
|||||||
env_filter = { version = "0.1.3" }
|
env_filter = { version = "0.1.3" }
|
||||||
env_logger = { version = "0.11.2" }
|
env_logger = { version = "0.11.2" }
|
||||||
environmental = { version = "1.1.4", default-features = false }
|
environmental = { version = "1.1.4", default-features = false }
|
||||||
equivocation-detector = { path = "bridges/relays/equivocation" }
|
pez-equivocation-detector = { path = "bridges/relays/equivocation" }
|
||||||
ethabi = { version = "2.0.0", default-features = false, package = "ethabi-decode" }
|
ethabi = { version = "2.0.0", default-features = false, package = "ethabi-decode" }
|
||||||
ethbloom = { version = "0.14.1", default-features = false }
|
ethbloom = { version = "0.14.1", default-features = false }
|
||||||
ethereum-standards = { path = "bizinikiwi/primitives/ethereum-standards" }
|
pez-ethereum-standards = { path = "bizinikiwi/primitives/pez-ethereum-standards" }
|
||||||
ethereum-types = { version = "0.15.1", default-features = false }
|
ethereum-types = { version = "0.15.1", default-features = false }
|
||||||
exit-future = { version = "0.2.0" }
|
exit-future = { version = "0.2.0" }
|
||||||
expander = { version = "2.0.0" }
|
expander = { version = "2.0.0" }
|
||||||
@@ -829,13 +829,13 @@ fdlimit = { version = "0.3.0" }
|
|||||||
femme = { version = "2.2.1" }
|
femme = { version = "2.2.1" }
|
||||||
filetime = { version = "0.2.16" }
|
filetime = { version = "0.2.16" }
|
||||||
finality-grandpa = { version = "0.16.3", default-features = false }
|
finality-grandpa = { version = "0.16.3", default-features = false }
|
||||||
finality-relay = { path = "bridges/relays/finality" }
|
pez-finality-relay = { path = "bridges/relays/finality" }
|
||||||
first-pallet = { package = "pezkuwi-sdk-docs-first-pallet", path = "docs/sdk/packages/guides/first-pallet", default-features = false }
|
first-pezpallet = { package = "pezkuwi-sdk-docs-first-pezpallet", path = "docs/sdk/packages/guides/first-pezpallet", default-features = false }
|
||||||
first-runtime = { package = "pezkuwi-sdk-docs-first-runtime", path = "docs/sdk/packages/guides/first-runtime", default-features = false }
|
first-runtime = { package = "pezkuwi-sdk-docs-first-runtime", path = "docs/sdk/packages/guides/first-runtime", default-features = false }
|
||||||
flate2 = { version = "1.0" }
|
flate2 = { version = "1.0" }
|
||||||
fnv = { version = "1.0.6" }
|
fnv = { version = "1.0.6" }
|
||||||
foldhash = { version = "0.1.5", default-features = false }
|
foldhash = { version = "0.1.5", default-features = false }
|
||||||
fork-tree = { path = "bizinikiwi/utils/fork-tree", default-features = false }
|
pez-fork-tree = { path = "bizinikiwi/utils/pez-fork-tree", default-features = false }
|
||||||
forwarded-header-value = { version = "0.1.1" }
|
forwarded-header-value = { version = "0.1.1" }
|
||||||
fraction = { version = "0.13.1" }
|
fraction = { version = "0.13.1" }
|
||||||
frame = { path = "bizinikiwi/pezframe", default-features = false, package = "pezkuwi-sdk-frame" }
|
frame = { path = "bizinikiwi/pezframe", default-features = false, package = "pezkuwi-sdk-frame" }
|
||||||
@@ -862,14 +862,14 @@ fs_extra = { version = "1.3.0" }
|
|||||||
futures = { version = "0.3.31" }
|
futures = { version = "0.3.31" }
|
||||||
futures-timer = { version = "3.0.2" }
|
futures-timer = { version = "3.0.2" }
|
||||||
futures-util = { version = "0.3.30", default-features = false }
|
futures-util = { version = "0.3.30", default-features = false }
|
||||||
generate-bags = { path = "bizinikiwi/utils/pezframe/generate-bags", default-features = false }
|
pez-generate-bags = { path = "bizinikiwi/utils/pezframe/pez-generate-bags", default-features = false }
|
||||||
gethostname = { version = "0.2.3" }
|
gethostname = { version = "0.2.3" }
|
||||||
git2 = { version = "0.20.0", default-features = false }
|
git2 = { version = "0.20.0", default-features = false }
|
||||||
glob = { version = "0.3" }
|
glob = { version = "0.3" }
|
||||||
glutton-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/glutton/glutton-zagros" }
|
glutton-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/glutton/glutton-zagros" }
|
||||||
governor = { version = "0.6.0" }
|
governor = { version = "0.6.0" }
|
||||||
gum = { path = "pezkuwi/node/gum", default-features = false, package = "tracing-gum" }
|
gum = { path = "pezkuwi/node/gum", default-features = false, package = "pez-tracing-gum" }
|
||||||
gum-proc-macro = { path = "pezkuwi/node/gum/proc-macro", default-features = false, package = "tracing-gum-proc-macro" }
|
gum-proc-macro = { path = "pezkuwi/node/gum/proc-macro", default-features = false, package = "pez-tracing-gum-proc-macro" }
|
||||||
handlebars = { version = "5.1.0" }
|
handlebars = { version = "5.1.0" }
|
||||||
hash-db = { version = "0.16.0", default-features = false }
|
hash-db = { version = "0.16.0", default-features = false }
|
||||||
hash256-std-hasher = { version = "0.15.2", default-features = false }
|
hash256-std-hasher = { version = "0.15.2", default-features = false }
|
||||||
@@ -908,7 +908,7 @@ jsonpath_lib = { version = "0.3" }
|
|||||||
jsonrpsee = { version = "0.24.10" }
|
jsonrpsee = { version = "0.24.10" }
|
||||||
jsonrpsee-core = { version = "0.24.10" }
|
jsonrpsee-core = { version = "0.24.10" }
|
||||||
k256 = { version = "0.13.4", default-features = false }
|
k256 = { version = "0.13.4", default-features = false }
|
||||||
kitchensink-runtime = { path = "bizinikiwi/bin/node/runtime" }
|
pez-kitchensink-runtime = { path = "bizinikiwi/bin/node/runtime" }
|
||||||
kvdb = { version = "0.13.0" }
|
kvdb = { version = "0.13.0" }
|
||||||
kvdb-memorydb = { version = "0.13.0" }
|
kvdb-memorydb = { version = "0.13.0" }
|
||||||
kvdb-rocksdb = { version = "0.21.0" }
|
kvdb-rocksdb = { version = "0.21.0" }
|
||||||
@@ -932,15 +932,15 @@ memmap2 = { version = "0.9.3" }
|
|||||||
memory-db = { version = "0.34.0", default-features = false }
|
memory-db = { version = "0.34.0", default-features = false }
|
||||||
merkleized-metadata = { version = "0.5.0" }
|
merkleized-metadata = { version = "0.5.0" }
|
||||||
merlin = { version = "3.0", default-features = false }
|
merlin = { version = "3.0", default-features = false }
|
||||||
messages-relay = { path = "bridges/relays/messages" }
|
pez-messages-relay = { path = "bridges/relays/messages" }
|
||||||
metered = { version = "0.6.1", default-features = false, package = "prioritized-metered-channel" }
|
metered = { version = "0.6.1", default-features = false, package = "prioritized-metered-channel" }
|
||||||
milagro-bls = { version = "1.5.4", default-features = false, package = "snowbridge-milagro-bls" }
|
milagro-bls = { version = "1.5.4", default-features = false, package = "snowbridge-milagro-bls" }
|
||||||
minimal-template-node = { path = "templates/minimal/node" }
|
pez-minimal-template-node = { path = "templates/minimal/node" }
|
||||||
minimal-template-runtime = { path = "templates/minimal/runtime" }
|
pez-minimal-template-runtime = { path = "templates/minimal/runtime" }
|
||||||
mixnet = { version = "0.7.0" }
|
mixnet = { version = "0.7.0" }
|
||||||
mmr-gadget = { path = "bizinikiwi/client/merkle-mountain-range", default-features = false }
|
pezmmr-gadget = { path = "bizinikiwi/client/merkle-mountain-range", default-features = false }
|
||||||
mmr-lib = { version = "0.8.2", package = "pezkuwi-ckb-merkle-mountain-range", default-features = false }
|
mmr-lib = { version = "0.8.2", package = "pezkuwi-ckb-merkle-mountain-range", default-features = false }
|
||||||
mmr-rpc = { path = "bizinikiwi/client/merkle-mountain-range/rpc", default-features = false }
|
pezmmr-rpc = { path = "bizinikiwi/client/merkle-mountain-range/rpc", default-features = false }
|
||||||
mockall = { version = "0.13.1" }
|
mockall = { version = "0.13.1" }
|
||||||
multiaddr = { version = "0.18.1" }
|
multiaddr = { version = "0.18.1" }
|
||||||
multihash = { version = "0.19.1", default-features = false }
|
multihash = { version = "0.19.1", default-features = false }
|
||||||
@@ -949,9 +949,9 @@ names = { version = "0.14.0", default-features = false }
|
|||||||
nix = { version = "0.29.0" }
|
nix = { version = "0.29.0" }
|
||||||
node-cli = { path = "bizinikiwi/bin/node/cli", package = "pezstaging-node-cli" }
|
node-cli = { path = "bizinikiwi/bin/node/cli", package = "pezstaging-node-cli" }
|
||||||
node-inspect = { path = "bizinikiwi/bin/node/inspect", default-features = false, package = "pezstaging-node-inspect" }
|
node-inspect = { path = "bizinikiwi/bin/node/inspect", default-features = false, package = "pezstaging-node-inspect" }
|
||||||
node-primitives = { path = "bizinikiwi/bin/node/primitives", default-features = false }
|
pez-node-primitives = { path = "bizinikiwi/bin/node/primitives", default-features = false }
|
||||||
node-rpc = { path = "bizinikiwi/bin/node/rpc" }
|
pez-node-rpc = { path = "bizinikiwi/bin/node/rpc" }
|
||||||
node-testing = { path = "bizinikiwi/bin/node/testing" }
|
pez-node-testing = { path = "bizinikiwi/bin/node/testing" }
|
||||||
nohash-hasher = { version = "0.2.0" }
|
nohash-hasher = { version = "0.2.0" }
|
||||||
novelpoly = { version = "2.0.0", package = "reed-solomon-novelpoly" }
|
novelpoly = { version = "2.0.0", package = "reed-solomon-novelpoly" }
|
||||||
num-bigint = { version = "0.4.6", default-features = false }
|
num-bigint = { version = "0.4.6", default-features = false }
|
||||||
@@ -962,7 +962,7 @@ num-traits = { version = "0.2.17", default-features = false }
|
|||||||
num_cpus = { version = "1.13.1" }
|
num_cpus = { version = "1.13.1" }
|
||||||
once_cell = { version = "1.21.3" }
|
once_cell = { version = "1.21.3" }
|
||||||
orchestra = { version = "0.4.0", default-features = false }
|
orchestra = { version = "0.4.0", default-features = false }
|
||||||
pezpallet-ah-ops = { path = "pezcumulus/pallets/ah-ops", default-features = false }
|
pezpallet-ah-ops = { path = "pezcumulus/pezpallets/ah-ops", default-features = false }
|
||||||
pezpallet-alliance = { path = "bizinikiwi/pezframe/alliance", default-features = false }
|
pezpallet-alliance = { path = "bizinikiwi/pezframe/alliance", default-features = false }
|
||||||
pezpallet-asset-conversion = { path = "bizinikiwi/pezframe/asset-conversion", default-features = false }
|
pezpallet-asset-conversion = { path = "bizinikiwi/pezframe/asset-conversion", default-features = false }
|
||||||
pezpallet-asset-conversion-ops = { path = "bizinikiwi/pezframe/asset-conversion/ops", default-features = false }
|
pezpallet-asset-conversion-ops = { path = "bizinikiwi/pezframe/asset-conversion/ops", default-features = false }
|
||||||
@@ -991,9 +991,9 @@ pezpallet-bridge-relayers = { path = "bridges/modules/relayers", default-feature
|
|||||||
pezpallet-bridge-teyrchains = { path = "bridges/modules/teyrchains", default-features = false }
|
pezpallet-bridge-teyrchains = { path = "bridges/modules/teyrchains", default-features = false }
|
||||||
pezpallet-broker = { path = "bizinikiwi/pezframe/broker", default-features = false }
|
pezpallet-broker = { path = "bizinikiwi/pezframe/broker", default-features = false }
|
||||||
pezpallet-child-bounties = { path = "bizinikiwi/pezframe/child-bounties", default-features = false }
|
pezpallet-child-bounties = { path = "bizinikiwi/pezframe/child-bounties", default-features = false }
|
||||||
pezpallet-collator-selection = { path = "pezcumulus/pallets/collator-selection", default-features = false }
|
pezpallet-collator-selection = { path = "pezcumulus/pezpallets/collator-selection", default-features = false }
|
||||||
pezpallet-collective = { path = "bizinikiwi/pezframe/collective", default-features = false }
|
pezpallet-collective = { path = "bizinikiwi/pezframe/collective", default-features = false }
|
||||||
pezpallet-collective-content = { path = "pezcumulus/teyrchains/pallets/collective-content", default-features = false }
|
pezpallet-collective-content = { path = "pezcumulus/teyrchains/pezpallets/collective-content", default-features = false }
|
||||||
pezpallet-contracts = { path = "bizinikiwi/pezframe/contracts", default-features = false }
|
pezpallet-contracts = { path = "bizinikiwi/pezframe/contracts", default-features = false }
|
||||||
pezpallet-contracts-fixtures = { path = "bizinikiwi/pezframe/contracts/fixtures", default-features = false }
|
pezpallet-contracts-fixtures = { path = "bizinikiwi/pezframe/contracts/fixtures", default-features = false }
|
||||||
pezpallet-contracts-mock-network = { default-features = false, path = "bizinikiwi/pezframe/contracts/mock-network" }
|
pezpallet-contracts-mock-network = { default-features = false, path = "bizinikiwi/pezframe/contracts/mock-network" }
|
||||||
@@ -1033,7 +1033,7 @@ pezpallet-membership = { path = "bizinikiwi/pezframe/membership", default-featur
|
|||||||
pezpallet-message-queue = { path = "bizinikiwi/pezframe/message-queue", default-features = false }
|
pezpallet-message-queue = { path = "bizinikiwi/pezframe/message-queue", default-features = false }
|
||||||
pezpallet-meta-tx = { path = "bizinikiwi/pezframe/meta-tx", default-features = false }
|
pezpallet-meta-tx = { path = "bizinikiwi/pezframe/meta-tx", default-features = false }
|
||||||
pezpallet-migrations = { path = "bizinikiwi/pezframe/migrations", default-features = false }
|
pezpallet-migrations = { path = "bizinikiwi/pezframe/migrations", default-features = false }
|
||||||
pezpallet-minimal-template = { path = "templates/minimal/pallets/template", default-features = false }
|
pezpallet-minimal-template = { path = "templates/minimal/pezpallets/template", default-features = false }
|
||||||
pezpallet-mixnet = { default-features = false, path = "bizinikiwi/pezframe/mixnet" }
|
pezpallet-mixnet = { default-features = false, path = "bizinikiwi/pezframe/mixnet" }
|
||||||
pezpallet-mmr = { path = "bizinikiwi/pezframe/merkle-mountain-range", default-features = false }
|
pezpallet-mmr = { path = "bizinikiwi/pezframe/merkle-mountain-range", default-features = false }
|
||||||
pezpallet-multi-asset-bounties = { path = "bizinikiwi/pezframe/multi-asset-bounties", default-features = false }
|
pezpallet-multi-asset-bounties = { path = "bizinikiwi/pezframe/multi-asset-bounties", default-features = false }
|
||||||
@@ -1075,26 +1075,26 @@ pezpallet-skip-feeless-payment = { path = "bizinikiwi/pezframe/transaction-payme
|
|||||||
pezpallet-society = { path = "bizinikiwi/pezframe/society", default-features = false }
|
pezpallet-society = { path = "bizinikiwi/pezframe/society", default-features = false }
|
||||||
pezpallet-staking = { path = "bizinikiwi/pezframe/staking", default-features = false }
|
pezpallet-staking = { path = "bizinikiwi/pezframe/staking", default-features = false }
|
||||||
pezpallet-staking-reward-curve = { path = "bizinikiwi/pezframe/staking/reward-curve", default-features = false }
|
pezpallet-staking-reward-curve = { path = "bizinikiwi/pezframe/staking/reward-curve", default-features = false }
|
||||||
pezpallet-teyrchain-template = { path = "templates/teyrchain/pallets/template", default-features = false }
|
pezpallet-teyrchain-template = { path = "templates/teyrchain/pezpallets/template", default-features = false }
|
||||||
|
|
||||||
# Pezkuwi Custom Pallets (Relay Chain)
|
# Pezkuwi Custom pezpallets (Relay Chain)
|
||||||
pezpallet-staking-reward-fn = { path = "bizinikiwi/pezframe/staking/reward-fn", default-features = false }
|
pezpallet-staking-reward-fn = { path = "bizinikiwi/pezframe/staking/reward-fn", default-features = false }
|
||||||
pezpallet-validator-pool = { path = "pezkuwi/pallets/validator-pool", default-features = false }
|
pezpallet-validator-pool = { path = "pezkuwi/pezpallets/validator-pool", default-features = false }
|
||||||
|
|
||||||
# People Parachain Pallets (Phase 2)
|
# People Parachain pezpallets (Phase 2)
|
||||||
pezpallet-identity-kyc = { path = "pezcumulus/teyrchains/pallets/identity-kyc", default-features = false }
|
pezpallet-identity-kyc = { path = "pezcumulus/teyrchains/pezpallets/identity-kyc", default-features = false }
|
||||||
pezpallet-perwerde = { path = "pezcumulus/teyrchains/pallets/perwerde", default-features = false }
|
pezpallet-perwerde = { path = "pezcumulus/teyrchains/pezpallets/perwerde", default-features = false }
|
||||||
pezpallet-referral = { path = "pezcumulus/teyrchains/pallets/referral", default-features = false }
|
pezpallet-referral = { path = "pezcumulus/teyrchains/pezpallets/referral", default-features = false }
|
||||||
pezpallet-tiki = { path = "pezcumulus/teyrchains/pallets/tiki", default-features = false }
|
pezpallet-tiki = { path = "pezcumulus/teyrchains/pezpallets/tiki", default-features = false }
|
||||||
pezpallet-trust = { path = "pezcumulus/teyrchains/pallets/trust", default-features = false }
|
pezpallet-trust = { path = "pezcumulus/teyrchains/pezpallets/trust", default-features = false }
|
||||||
pezpallet-welati = { path = "pezcumulus/teyrchains/pallets/welati", default-features = false }
|
pezpallet-welati = { path = "pezcumulus/teyrchains/pezpallets/welati", default-features = false }
|
||||||
|
|
||||||
# Asset Hub Pallets (Phase 3)
|
# Asset Hub pezpallets (Phase 3)
|
||||||
pezpallet-pez-rewards = { path = "pezcumulus/teyrchains/pallets/pez-rewards", default-features = false }
|
pezpallet-pez-rewards = { path = "pezcumulus/teyrchains/pezpallets/pez-rewards", default-features = false }
|
||||||
pezpallet-pez-treasury = { path = "pezcumulus/teyrchains/pallets/pez-treasury", default-features = false }
|
pezpallet-pez-treasury = { path = "pezcumulus/teyrchains/pezpallets/pez-treasury", default-features = false }
|
||||||
pezpallet-presale = { path = "pezcumulus/teyrchains/pallets/presale", default-features = false }
|
pezpallet-presale = { path = "pezcumulus/teyrchains/pezpallets/presale", default-features = false }
|
||||||
pezpallet-staking-score = { path = "pezcumulus/teyrchains/pallets/staking-score", default-features = false }
|
pezpallet-staking-score = { path = "pezcumulus/teyrchains/pezpallets/staking-score", default-features = false }
|
||||||
pezpallet-token-wrapper = { path = "pezcumulus/teyrchains/pallets/token-wrapper", default-features = false }
|
pezpallet-token-wrapper = { path = "pezcumulus/teyrchains/pezpallets/token-wrapper", default-features = false }
|
||||||
|
|
||||||
pezpallet-staking-async = { path = "bizinikiwi/pezframe/staking-async", default-features = false }
|
pezpallet-staking-async = { path = "bizinikiwi/pezframe/staking-async", default-features = false }
|
||||||
pezpallet-staking-async-ah-client = { path = "bizinikiwi/pezframe/staking-async/ah-client", default-features = false }
|
pezpallet-staking-async-ah-client = { path = "bizinikiwi/pezframe/staking-async/ah-client", default-features = false }
|
||||||
@@ -1109,7 +1109,7 @@ pezpallet-staking-runtime-api = { path = "bizinikiwi/pezframe/staking/runtime-ap
|
|||||||
pezpallet-state-trie-migration = { path = "bizinikiwi/pezframe/state-trie-migration", default-features = false }
|
pezpallet-state-trie-migration = { path = "bizinikiwi/pezframe/state-trie-migration", default-features = false }
|
||||||
pezpallet-statement = { default-features = false, path = "bizinikiwi/pezframe/statement" }
|
pezpallet-statement = { default-features = false, path = "bizinikiwi/pezframe/statement" }
|
||||||
pezpallet-sudo = { path = "bizinikiwi/pezframe/sudo", default-features = false }
|
pezpallet-sudo = { path = "bizinikiwi/pezframe/sudo", default-features = false }
|
||||||
pezpallet-template = { path = "templates/solochain/pallets/template", default-features = false }
|
pezpallet-template = { path = "templates/solochain/pezpallets/template", default-features = false }
|
||||||
pezpallet-timestamp = { path = "bizinikiwi/pezframe/timestamp", default-features = false }
|
pezpallet-timestamp = { path = "bizinikiwi/pezframe/timestamp", default-features = false }
|
||||||
pezpallet-tips = { path = "bizinikiwi/pezframe/tips", default-features = false }
|
pezpallet-tips = { path = "bizinikiwi/pezframe/tips", default-features = false }
|
||||||
pezpallet-transaction-payment = { path = "bizinikiwi/pezframe/transaction-payment", default-features = false }
|
pezpallet-transaction-payment = { path = "bizinikiwi/pezframe/transaction-payment", default-features = false }
|
||||||
@@ -1135,8 +1135,8 @@ parking_lot = { version = "0.12.1", default-features = false }
|
|||||||
partial_sort = { version = "0.2.0" }
|
partial_sort = { version = "0.2.0" }
|
||||||
paste = { version = "1.0.15", default-features = false }
|
paste = { version = "1.0.15", default-features = false }
|
||||||
pbkdf2 = { version = "0.12.2", default-features = false }
|
pbkdf2 = { version = "0.12.2", default-features = false }
|
||||||
penpal-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal" }
|
pez-penpal-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal" }
|
||||||
penpal-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/penpal" }
|
pez-penpal-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/penpal" }
|
||||||
people-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain" }
|
people-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain" }
|
||||||
people-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/people/people-pezkuwichain" }
|
people-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/people/people-pezkuwichain" }
|
||||||
people-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros" }
|
people-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros" }
|
||||||
@@ -1173,7 +1173,7 @@ pezkuwi-node-core-runtime-api = { path = "pezkuwi/node/core/runtime-api", defaul
|
|||||||
pezkuwi-node-core-teyrchains-inherent = { path = "pezkuwi/node/core/teyrchains-inherent", default-features = false }
|
pezkuwi-node-core-teyrchains-inherent = { path = "pezkuwi/node/core/teyrchains-inherent", default-features = false }
|
||||||
pezkuwi-node-metrics = { path = "pezkuwi/node/metrics", default-features = false }
|
pezkuwi-node-metrics = { path = "pezkuwi/node/metrics", default-features = false }
|
||||||
pezkuwi-node-network-protocol = { path = "pezkuwi/node/network/protocol", default-features = false }
|
pezkuwi-node-network-protocol = { path = "pezkuwi/node/network/protocol", default-features = false }
|
||||||
pezkuwi-node-primitives = { path = "pezkuwi/node/primitives", default-features = false }
|
pezkuwi-pez-node-primitives = { path = "pezkuwi/node/primitives", default-features = false }
|
||||||
pezkuwi-node-subsystem = { path = "pezkuwi/node/subsystem", default-features = false }
|
pezkuwi-node-subsystem = { path = "pezkuwi/node/subsystem", default-features = false }
|
||||||
pezkuwi-node-subsystem-test-helpers = { path = "pezkuwi/node/subsystem-test-helpers" }
|
pezkuwi-node-subsystem-test-helpers = { path = "pezkuwi/node/subsystem-test-helpers" }
|
||||||
pezkuwi-node-subsystem-types = { path = "pezkuwi/node/subsystem-types", default-features = false }
|
pezkuwi-node-subsystem-types = { path = "pezkuwi/node/subsystem-types", default-features = false }
|
||||||
@@ -1238,8 +1238,8 @@ regex = { version = "1.10.2" }
|
|||||||
relay-bizinikiwi-client = { path = "bridges/relays/client-bizinikiwi" }
|
relay-bizinikiwi-client = { path = "bridges/relays/client-bizinikiwi" }
|
||||||
relay-utils = { path = "bridges/relays/utils" }
|
relay-utils = { path = "bridges/relays/utils" }
|
||||||
remote-externalities = { path = "bizinikiwi/utils/pezframe/remote-externalities", default-features = false, package = "frame-remote-externalities" }
|
remote-externalities = { path = "bizinikiwi/utils/pezframe/remote-externalities", default-features = false, package = "frame-remote-externalities" }
|
||||||
revive-dev-node = { path = "bizinikiwi/pezframe/revive/dev-node/node" }
|
pez-revive-dev-node = { path = "bizinikiwi/pezframe/revive/dev-node/node" }
|
||||||
revive-dev-runtime = { path = "bizinikiwi/pezframe/revive/dev-node/runtime" }
|
pez-revive-dev-runtime = { path = "bizinikiwi/pezframe/revive/dev-node/runtime" }
|
||||||
revm = { version = "27.0.2", default-features = false }
|
revm = { version = "27.0.2", default-features = false }
|
||||||
ripemd = { version = "0.1.3", default-features = false }
|
ripemd = { version = "0.1.3", default-features = false }
|
||||||
rlp = { version = "0.6.1", default-features = false }
|
rlp = { version = "0.6.1", default-features = false }
|
||||||
@@ -1336,36 +1336,36 @@ sha2 = { version = "0.10.7", default-features = false }
|
|||||||
sha3 = { version = "0.10.0", default-features = false }
|
sha3 = { version = "0.10.0", default-features = false }
|
||||||
shlex = { version = "1.3.0" }
|
shlex = { version = "1.3.0" }
|
||||||
simple-mermaid = { version = "0.1.1" }
|
simple-mermaid = { version = "0.1.1" }
|
||||||
slot-range-helper = { path = "pezkuwi/runtime/common/slot_range_helper", default-features = false }
|
pez-slot-range-helper = { path = "pezkuwi/runtime/common/pez-slot-range-helper", default-features = false }
|
||||||
slotmap = { version = "1.0" }
|
slotmap = { version = "1.0" }
|
||||||
smallvec = { version = "1.11.0", default-features = false }
|
smallvec = { version = "1.11.0", default-features = false }
|
||||||
snowbridge-beacon-primitives = { path = "bridges/snowbridge/primitives/beacon", default-features = false }
|
pezsnowbridge-beacon-primitives = { path = "bridges/snowbridge/primitives/beacon", default-features = false }
|
||||||
snowbridge-core = { path = "bridges/snowbridge/primitives/core", default-features = false }
|
pezsnowbridge-core = { path = "bridges/snowbridge/primitives/core", default-features = false }
|
||||||
snowbridge-ethereum = { path = "bridges/snowbridge/primitives/ethereum", default-features = false }
|
pezsnowbridge-ethereum = { path = "bridges/snowbridge/primitives/ethereum", default-features = false }
|
||||||
snowbridge-inbound-queue-primitives = { path = "bridges/snowbridge/primitives/inbound-queue", default-features = false }
|
pezsnowbridge-inbound-queue-primitives = { path = "bridges/snowbridge/primitives/inbound-queue", default-features = false }
|
||||||
snowbridge-merkle-tree = { path = "bridges/snowbridge/primitives/merkle-tree", default-features = false }
|
pezsnowbridge-merkle-tree = { path = "bridges/snowbridge/primitives/merkle-tree", default-features = false }
|
||||||
snowbridge-outbound-queue-primitives = { path = "bridges/snowbridge/primitives/outbound-queue", default-features = false }
|
pezsnowbridge-outbound-queue-primitives = { path = "bridges/snowbridge/primitives/outbound-queue", default-features = false }
|
||||||
snowbridge-outbound-queue-runtime-api = { path = "bridges/snowbridge/pallets/outbound-queue/runtime-api", default-features = false }
|
pezsnowbridge-outbound-queue-runtime-api = { path = "bridges/snowbridge/pezpallets/outbound-queue/runtime-api", default-features = false }
|
||||||
snowbridge-outbound-queue-v2-runtime-api = { path = "bridges/snowbridge/pallets/outbound-queue-v2/runtime-api", default-features = false }
|
pezsnowbridge-outbound-queue-v2-runtime-api = { path = "bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api", default-features = false }
|
||||||
snowbridge-pezpallet-ethereum-client = { path = "bridges/snowbridge/pallets/ethereum-client", default-features = false }
|
snowbridge-pezpallet-ethereum-client = { path = "bridges/snowbridge/pezpallets/ethereum-client", default-features = false }
|
||||||
snowbridge-pezpallet-ethereum-client-fixtures = { path = "bridges/snowbridge/pallets/ethereum-client/fixtures", default-features = false }
|
snowbridge-pezpallet-ethereum-client-fixtures = { path = "bridges/snowbridge/pezpallets/ethereum-client/fixtures", default-features = false }
|
||||||
snowbridge-pezpallet-inbound-queue = { path = "bridges/snowbridge/pallets/inbound-queue", default-features = false }
|
snowbridge-pezpallet-inbound-queue = { path = "bridges/snowbridge/pezpallets/inbound-queue", default-features = false }
|
||||||
snowbridge-pezpallet-inbound-queue-fixtures = { path = "bridges/snowbridge/pallets/inbound-queue/fixtures", default-features = false }
|
snowbridge-pezpallet-inbound-queue-fixtures = { path = "bridges/snowbridge/pezpallets/inbound-queue/fixtures", default-features = false }
|
||||||
snowbridge-pezpallet-inbound-queue-v2 = { path = "bridges/snowbridge/pallets/inbound-queue-v2", default-features = false }
|
snowbridge-pezpallet-inbound-queue-v2 = { path = "bridges/snowbridge/pezpallets/inbound-queue-v2", default-features = false }
|
||||||
snowbridge-pezpallet-inbound-queue-v2-fixtures = { path = "bridges/snowbridge/pallets/inbound-queue-v2/fixtures", default-features = false }
|
snowbridge-pezpallet-inbound-queue-v2-fixtures = { path = "bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures", default-features = false }
|
||||||
snowbridge-pezpallet-outbound-queue = { path = "bridges/snowbridge/pallets/outbound-queue", default-features = false }
|
snowbridge-pezpallet-outbound-queue = { path = "bridges/snowbridge/pezpallets/outbound-queue", default-features = false }
|
||||||
snowbridge-pezpallet-outbound-queue-v2 = { path = "bridges/snowbridge/pallets/outbound-queue-v2", default-features = false }
|
snowbridge-pezpallet-outbound-queue-v2 = { path = "bridges/snowbridge/pezpallets/outbound-queue-v2", default-features = false }
|
||||||
snowbridge-pezpallet-system = { path = "bridges/snowbridge/pallets/system", default-features = false }
|
snowbridge-pezpallet-system = { path = "bridges/snowbridge/pezpallets/system", default-features = false }
|
||||||
snowbridge-pezpallet-system-frontend = { path = "bridges/snowbridge/pallets/system-frontend", default-features = false }
|
snowbridge-pezpallet-system-frontend = { path = "bridges/snowbridge/pezpallets/system-frontend", default-features = false }
|
||||||
snowbridge-pezpallet-system-v2 = { path = "bridges/snowbridge/pallets/system-v2", default-features = false }
|
snowbridge-pezpallet-system-v2 = { path = "bridges/snowbridge/pezpallets/system-v2", default-features = false }
|
||||||
snowbridge-runtime-common = { path = "bridges/snowbridge/runtime/runtime-common", default-features = false }
|
snowpezbridge-runtime-common = { path = "bridges/snowbridge/runtime/runtime-common", default-features = false }
|
||||||
snowbridge-runtime-test-common = { path = "bridges/snowbridge/runtime/test-common", default-features = false }
|
pezsnowbridge-runtime-test-common = { path = "bridges/snowbridge/runtime/test-common", default-features = false }
|
||||||
snowbridge-system-runtime-api = { path = "bridges/snowbridge/pallets/system/runtime-api", default-features = false }
|
pezsnowbridge-system-runtime-api = { path = "bridges/snowbridge/pezpallets/system/runtime-api", default-features = false }
|
||||||
snowbridge-system-v2-runtime-api = { path = "bridges/snowbridge/pallets/system-v2/runtime-api", default-features = false }
|
pezsnowbridge-system-v2-runtime-api = { path = "bridges/snowbridge/pezpallets/system-v2/runtime-api", default-features = false }
|
||||||
snowbridge-test-utils = { path = "bridges/snowbridge/test-utils" }
|
pezsnowbridge-test-utils = { path = "bridges/snowbridge/test-utils" }
|
||||||
snowbridge-verification-primitives = { path = "bridges/snowbridge/primitives/verification", default-features = false }
|
pezsnowbridge-verification-primitives = { path = "bridges/snowbridge/primitives/verification", default-features = false }
|
||||||
soketto = { version = "0.8.0" }
|
soketto = { version = "0.8.0" }
|
||||||
solochain-template-runtime = { path = "templates/solochain/runtime" }
|
pez-solochain-template-runtime = { path = "templates/solochain/runtime" }
|
||||||
pezsp-api = { path = "bizinikiwi/primitives/api", default-features = false }
|
pezsp-api = { path = "bizinikiwi/primitives/api", default-features = false }
|
||||||
pezsp-api-proc-macro = { path = "bizinikiwi/primitives/api/proc-macro", default-features = false }
|
pezsp-api-proc-macro = { path = "bizinikiwi/primitives/api/proc-macro", default-features = false }
|
||||||
pezsp-application-crypto = { path = "bizinikiwi/primitives/application-crypto", default-features = false }
|
pezsp-application-crypto = { path = "bizinikiwi/primitives/application-crypto", default-features = false }
|
||||||
@@ -1432,7 +1432,7 @@ ssz_rs_derive = { version = "0.9.0", default-features = false }
|
|||||||
static_assertions = { version = "1.1.0", default-features = false }
|
static_assertions = { version = "1.1.0", default-features = false }
|
||||||
static_init = { version = "1.0.3" }
|
static_init = { version = "1.0.3" }
|
||||||
strum = { version = "0.26.3", default-features = false }
|
strum = { version = "0.26.3", default-features = false }
|
||||||
subkey = { path = "bizinikiwi/bin/utils/subkey", default-features = false }
|
pez-subkey = { path = "bizinikiwi/bin/utils/pez-subkey", default-features = false }
|
||||||
bizinikiwi-bip39 = { path = "bizinikiwi/utils/bizinikiwi-bip39", default-features = false }
|
bizinikiwi-bip39 = { path = "bizinikiwi/utils/bizinikiwi-bip39", default-features = false }
|
||||||
bizinikiwi-build-script-utils = { path = "bizinikiwi/utils/build-script-utils", default-features = false }
|
bizinikiwi-build-script-utils = { path = "bizinikiwi/utils/build-script-utils", default-features = false }
|
||||||
bizinikiwi-cli-test-utils = { path = "bizinikiwi/test-utils/cli" }
|
bizinikiwi-cli-test-utils = { path = "bizinikiwi/test-utils/cli" }
|
||||||
@@ -1455,7 +1455,7 @@ syn = { version = "2.0.87" }
|
|||||||
sysinfo = { version = "0.30" }
|
sysinfo = { version = "0.30" }
|
||||||
tar = { version = "0.4" }
|
tar = { version = "0.4" }
|
||||||
tempfile = { version = "3.8.1" }
|
tempfile = { version = "3.8.1" }
|
||||||
teyrchain-info = { path = "pezcumulus/teyrchains/pallets/teyrchain-info", default-features = false, package = "pezstaging-teyrchain-info" }
|
teyrchain-info = { path = "pezcumulus/teyrchains/pezpallets/teyrchain-info", default-features = false, package = "pezstaging-teyrchain-info" }
|
||||||
teyrchain-template-runtime = { path = "templates/teyrchain/runtime" }
|
teyrchain-template-runtime = { path = "templates/teyrchain/runtime" }
|
||||||
teyrchains-common = { path = "pezcumulus/teyrchains/common", default-features = false }
|
teyrchains-common = { path = "pezcumulus/teyrchains/common", default-features = false }
|
||||||
teyrchains-relay = { path = "bridges/relays/teyrchains" }
|
teyrchains-relay = { path = "bridges/relays/teyrchains" }
|
||||||
@@ -1463,8 +1463,8 @@ teyrchains-runtimes-test-utils = { path = "pezcumulus/teyrchains/runtimes/test-u
|
|||||||
# pinned test-case to 3.3.1 because they support only the latest stable version of rust
|
# pinned test-case to 3.3.1 because they support only the latest stable version of rust
|
||||||
test-case = { version = "=3.3.1" }
|
test-case = { version = "=3.3.1" }
|
||||||
test-log = { version = "0.2.14" }
|
test-log = { version = "0.2.14" }
|
||||||
test-pallet = { path = "bizinikiwi/pezframe/support/test/pallet", default-features = false, package = "pezframe-support-test-pallet" }
|
test-pezpallet = { path = "bizinikiwi/pezframe/support/test/pezpallet", default-features = false, package = "pezframe-support-test-pezpallet" }
|
||||||
test-runtime-constants = { path = "pezkuwi/runtime/test-runtime/constants", default-features = false }
|
peztest-runtime-constants = { path = "pezkuwi/runtime/test-runtime/constants", default-features = false }
|
||||||
test-teyrchain-adder = { path = "pezkuwi/teyrchain/test-teyrchains/adder" }
|
test-teyrchain-adder = { path = "pezkuwi/teyrchain/test-teyrchains/adder" }
|
||||||
test-teyrchain-halt = { path = "pezkuwi/teyrchain/test-teyrchains/halt" }
|
test-teyrchain-halt = { path = "pezkuwi/teyrchain/test-teyrchains/halt" }
|
||||||
test-teyrchain-undying = { path = "pezkuwi/teyrchain/test-teyrchains/undying" }
|
test-teyrchain-undying = { path = "pezkuwi/teyrchain/test-teyrchains/undying" }
|
||||||
@@ -1517,12 +1517,12 @@ wat = { version = "1.0.0" }
|
|||||||
x25519-dalek = { version = "2.0" }
|
x25519-dalek = { version = "2.0" }
|
||||||
xcm = { path = "pezkuwi/xcm", default-features = false, package = "pezstaging-xcm" }
|
xcm = { path = "pezkuwi/xcm", default-features = false, package = "pezstaging-xcm" }
|
||||||
xcm-builder = { path = "pezkuwi/xcm/xcm-builder", default-features = false, package = "pezstaging-xcm-builder" }
|
xcm-builder = { path = "pezkuwi/xcm/xcm-builder", default-features = false, package = "pezstaging-xcm-builder" }
|
||||||
xcm-docs = { path = "pezkuwi/xcm/docs" }
|
xcm-pez-docs = { path = "pezkuwi/xcm/docs" }
|
||||||
xcm-emulator = { path = "pezcumulus/xcm/xcm-emulator", default-features = false }
|
xcm-pez-emulator = { path = "pezcumulus/xcm/xcm-pez-emulator", default-features = false }
|
||||||
xcm-executor = { path = "pezkuwi/xcm/xcm-executor", default-features = false, package = "pezstaging-xcm-executor" }
|
xcm-executor = { path = "pezkuwi/xcm/xcm-executor", default-features = false, package = "pezstaging-xcm-executor" }
|
||||||
xcm-procedural = { path = "pezkuwi/xcm/procedural", default-features = false }
|
xcm-pez-procedural = { path = "pezkuwi/xcm/procedural", default-features = false }
|
||||||
xcm-runtime-apis = { path = "pezkuwi/xcm/xcm-runtime-apis", default-features = false }
|
xcm-runtime-pezapis = { path = "pezkuwi/xcm/xcm-runtime-pezapis", default-features = false }
|
||||||
xcm-simulator = { path = "pezkuwi/xcm/xcm-simulator", default-features = false }
|
xcm-pez-simulator = { path = "pezkuwi/xcm/xcm-pez-simulator", default-features = false }
|
||||||
yet-another-teyrchain-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain" }
|
yet-another-teyrchain-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain" }
|
||||||
zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros", default-features = false }
|
zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros", default-features = false }
|
||||||
zagros-runtime = { path = "pezkuwi/runtime/zagros", default-features = false }
|
zagros-runtime = { path = "pezkuwi/runtime/zagros", default-features = false }
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ Kurdistan SDK uses a distinct naming scheme to ensure complete independence:
|
|||||||
| Parachain SDK (ex-Pezcumulus) | `pezcumulus-` | `pezcumulus-client` |
|
| Parachain SDK (ex-Pezcumulus) | `pezcumulus-` | `pezcumulus-client` |
|
||||||
| Client Crates | `pezsc-` | `pezsc-network`, `pezsc-consensus` |
|
| Client Crates | `pezsc-` | `pezsc-network`, `pezsc-consensus` |
|
||||||
| Primitives | `pezsp-` | `pezsp-runtime`, `pezsp-core` |
|
| Primitives | `pezsp-` | `pezsp-runtime`, `pezsp-core` |
|
||||||
| Framework | `pezframe-` | `pezpezframe-support`, `pezpezframe-system` |
|
| Framework | `pezframe-` | `pezframe-support`, `pezframe-system` |
|
||||||
| Pallets | `pezpallet-` | `pezpallet-balances`, `pezpallet-staking` |
|
| Pallets | `pezpallet-` | `pezpallet-balances`, `pezpallet-staking` |
|
||||||
| Staging | `pezstaging-` | `pezstaging-xcm` |
|
| Staging | `pezstaging-` | `pezstaging-xcm` |
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "node-bench"
|
name = "pez-node-bench"
|
||||||
version = "0.9.0-dev"
|
version = "0.9.0-dev"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Bizinikiwi node integration benchmarks."
|
description = "Bizinikiwi node integration benchmarks."
|
||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
documentation = "https://docs.rs/node-bench"
|
documentation = "https://docs.rs/pez-node-bench"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -23,12 +23,12 @@ derive_more = { features = ["display"], workspace = true }
|
|||||||
fs_extra = { workspace = true }
|
fs_extra = { workspace = true }
|
||||||
futures = { features = ["thread-pool"], workspace = true }
|
futures = { features = ["thread-pool"], workspace = true }
|
||||||
hash-db = { workspace = true, default-features = true }
|
hash-db = { workspace = true, default-features = true }
|
||||||
kitchensink-runtime = { workspace = true }
|
pez-kitchensink-runtime = { workspace = true }
|
||||||
kvdb = { workspace = true }
|
kvdb = { workspace = true }
|
||||||
kvdb-rocksdb = { workspace = true }
|
kvdb-rocksdb = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
node-primitives = { workspace = true, default-features = true }
|
pez-node-primitives = { workspace = true, default-features = true }
|
||||||
node-testing = { workspace = true }
|
pez-node-testing = { workspace = true }
|
||||||
parity-db = { workspace = true }
|
parity-db = { workspace = true }
|
||||||
rand = { features = ["small_rng"], workspace = true, default-features = true }
|
rand = { features = ["small_rng"], workspace = true, default-features = true }
|
||||||
pezsc-basic-authorship = { workspace = true, default-features = true }
|
pezsc-basic-authorship = { workspace = true, default-features = true }
|
||||||
@@ -49,9 +49,9 @@ tempfile = { workspace = true }
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"kitchensink-runtime/runtime-benchmarks",
|
"pez-kitchensink-runtime/runtime-benchmarks",
|
||||||
"node-primitives/runtime-benchmarks",
|
"pez-node-primitives/runtime-benchmarks",
|
||||||
"node-testing/runtime-benchmarks",
|
"pez-node-testing/runtime-benchmarks",
|
||||||
"pezsc-basic-authorship/runtime-benchmarks",
|
"pezsc-basic-authorship/runtime-benchmarks",
|
||||||
"pezsc-client-api/runtime-benchmarks",
|
"pezsc-client-api/runtime-benchmarks",
|
||||||
"pezsc-transaction-pool-api/runtime-benchmarks",
|
"pezsc-transaction-pool-api/runtime-benchmarks",
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
use std::{borrow::Cow, collections::HashMap, pin::Pin, sync::Arc};
|
use std::{borrow::Cow, collections::HashMap, pin::Pin, sync::Arc};
|
||||||
|
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
use pez_node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
||||||
use pezsc_transaction_pool_api::{
|
use pezsc_transaction_pool_api::{
|
||||||
ImportNotificationStream, PoolStatus, ReadyTransactions, TransactionFor, TransactionSource,
|
ImportNotificationStream, PoolStatus, ReadyTransactions, TransactionFor, TransactionSource,
|
||||||
TransactionStatusStreamFor, TxHash, TxInvalidityReportMap,
|
TransactionStatusStreamFor, TxHash, TxInvalidityReportMap,
|
||||||
@@ -167,18 +167,18 @@ impl core::Benchmark for ConstructionBenchmark {
|
|||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct PoolTransaction {
|
pub struct PoolTransaction {
|
||||||
data: Arc<OpaqueExtrinsic>,
|
data: Arc<OpaqueExtrinsic>,
|
||||||
hash: node_primitives::Hash,
|
hash: pez_node_primitives::Hash,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<OpaqueExtrinsic> for PoolTransaction {
|
impl From<OpaqueExtrinsic> for PoolTransaction {
|
||||||
fn from(e: OpaqueExtrinsic) -> Self {
|
fn from(e: OpaqueExtrinsic) -> Self {
|
||||||
PoolTransaction { data: Arc::from(e), hash: node_primitives::Hash::zero() }
|
PoolTransaction { data: Arc::from(e), hash: pez_node_primitives::Hash::zero() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pezsc_transaction_pool_api::InPoolTransaction for PoolTransaction {
|
impl pezsc_transaction_pool_api::InPoolTransaction for PoolTransaction {
|
||||||
type Transaction = Arc<OpaqueExtrinsic>;
|
type Transaction = Arc<OpaqueExtrinsic>;
|
||||||
type Hash = node_primitives::Hash;
|
type Hash = pez_node_primitives::Hash;
|
||||||
|
|
||||||
fn data(&self) -> &Self::Transaction {
|
fn data(&self) -> &Self::Transaction {
|
||||||
&self.data
|
&self.data
|
||||||
@@ -228,7 +228,7 @@ impl ReadyTransactions for TransactionsIterator {
|
|||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl pezsc_transaction_pool_api::TransactionPool for Transactions {
|
impl pezsc_transaction_pool_api::TransactionPool for Transactions {
|
||||||
type Block = Block;
|
type Block = Block;
|
||||||
type Hash = node_primitives::Hash;
|
type Hash = pez_node_primitives::Hash;
|
||||||
type InPoolTransaction = PoolTransaction;
|
type InPoolTransaction = PoolTransaction;
|
||||||
type Error = pezsc_transaction_pool_api::error::Error;
|
type Error = pezsc_transaction_pool_api::error::Error;
|
||||||
|
|
||||||
@@ -238,7 +238,7 @@ impl pezsc_transaction_pool_api::TransactionPool for Transactions {
|
|||||||
_at: Self::Hash,
|
_at: Self::Hash,
|
||||||
_source: TransactionSource,
|
_source: TransactionSource,
|
||||||
_xts: Vec<TransactionFor<Self>>,
|
_xts: Vec<TransactionFor<Self>>,
|
||||||
) -> Result<Vec<Result<node_primitives::Hash, Self::Error>>, Self::Error> {
|
) -> Result<Vec<Result<pez_node_primitives::Hash, Self::Error>>, Self::Error> {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
use std::{collections::HashMap, sync::Arc};
|
use std::{collections::HashMap, sync::Arc};
|
||||||
|
|
||||||
use kvdb::KeyValueDB;
|
use kvdb::KeyValueDB;
|
||||||
use node_primitives::Hash;
|
use pez_node_primitives::Hash;
|
||||||
use pezsp_trie::{trie_types::TrieDBMutBuilderV1, TrieMut};
|
use pezsp_trie::{trie_types::TrieDBMutBuilderV1, TrieMut};
|
||||||
|
|
||||||
use crate::simple_trie::SimpleTrie;
|
use crate::simple_trie::SimpleTrie;
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
|
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
use pez_node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
||||||
use pezsc_client_api::backend::Backend;
|
use pezsc_client_api::backend::Backend;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ mod txpool;
|
|||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
|
|
||||||
use node_testing::bench::{BlockType, DatabaseType as BenchDataBaseType, KeyTypes};
|
use pez_node_testing::bench::{BlockType, DatabaseType as BenchDataBaseType, KeyTypes};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
common::SizeType,
|
common::SizeType,
|
||||||
@@ -43,7 +43,7 @@ use crate::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
#[command(name = "node-bench", about = "Node integration benchmarks")]
|
#[command(name = "pez-node-bench", about = "Node integration benchmarks")]
|
||||||
struct Opt {
|
struct Opt {
|
||||||
/// Show list of all available benchmarks.
|
/// Show list of all available benchmarks.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ use std::{collections::HashMap, sync::Arc};
|
|||||||
|
|
||||||
use hash_db::{AsHashDB, HashDB, Hasher as _, Prefix};
|
use hash_db::{AsHashDB, HashDB, Hasher as _, Prefix};
|
||||||
use kvdb::KeyValueDB;
|
use kvdb::KeyValueDB;
|
||||||
use node_primitives::Hash;
|
use pez_node_primitives::Hash;
|
||||||
use pezsp_trie::DBValue;
|
use pezsp_trie::DBValue;
|
||||||
|
|
||||||
pub type Hasher = pezsp_core::Blake2Hasher;
|
pub type Hasher = pezsp_core::Blake2Hasher;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ use std::{
|
|||||||
sync::{Arc, LazyLock},
|
sync::{Arc, LazyLock},
|
||||||
};
|
};
|
||||||
|
|
||||||
use node_primitives::Hash;
|
use pez_node_primitives::Hash;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
core::{self, Mode, Path},
|
core::{self, Mode, Path},
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
|
|
||||||
use node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
use pez_node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes};
|
||||||
|
|
||||||
use pezsc_transaction_pool::BasicPool;
|
use pezsc_transaction_pool::BasicPool;
|
||||||
use pezsc_transaction_pool_api::{TransactionPool, TransactionSource};
|
use pezsc_transaction_pool_api::{TransactionPool, TransactionSource};
|
||||||
|
|||||||
@@ -63,13 +63,13 @@ subxt-signer = { workspace = true, features = ["unstable-eth"] }
|
|||||||
|
|
||||||
# The Pezkuwi-SDK:
|
# The Pezkuwi-SDK:
|
||||||
pezkuwi-sdk = { features = [
|
pezkuwi-sdk = { features = [
|
||||||
"fork-tree",
|
"pez-fork-tree",
|
||||||
"pezframe-benchmarking-cli",
|
"pezframe-benchmarking-cli",
|
||||||
"frame-remote-externalities",
|
"frame-remote-externalities",
|
||||||
"pezframe-support-procedural-tools",
|
"pezframe-support-procedural-tools",
|
||||||
"generate-bags",
|
"pez-generate-bags",
|
||||||
"mmr-gadget",
|
"pezmmr-gadget",
|
||||||
"mmr-rpc",
|
"pezmmr-rpc",
|
||||||
"pezpallet-transaction-payment-rpc",
|
"pezpallet-transaction-payment-rpc",
|
||||||
"pezsc-allocator",
|
"pezsc-allocator",
|
||||||
"pezsc-authority-discovery",
|
"pezsc-authority-discovery",
|
||||||
@@ -135,7 +135,7 @@ pezkuwi-sdk = { features = [
|
|||||||
"pezstaging-node-inspect",
|
"pezstaging-node-inspect",
|
||||||
"pezstaging-tracking-allocator",
|
"pezstaging-tracking-allocator",
|
||||||
"std",
|
"std",
|
||||||
"subkey",
|
"pez-subkey",
|
||||||
"bizinikiwi-build-script-utils",
|
"bizinikiwi-build-script-utils",
|
||||||
"bizinikiwi-frame-rpc-support",
|
"bizinikiwi-frame-rpc-support",
|
||||||
"bizinikiwi-frame-rpc-system",
|
"bizinikiwi-frame-rpc-system",
|
||||||
@@ -143,14 +143,14 @@ pezkuwi-sdk = { features = [
|
|||||||
"bizinikiwi-rpc-client",
|
"bizinikiwi-rpc-client",
|
||||||
"bizinikiwi-state-trie-migration-rpc",
|
"bizinikiwi-state-trie-migration-rpc",
|
||||||
"bizinikiwi-wasm-builder",
|
"bizinikiwi-wasm-builder",
|
||||||
"tracing-gum",
|
"pez-tracing-gum",
|
||||||
], workspace = true, default-features = true }
|
], workspace = true, default-features = true }
|
||||||
|
|
||||||
# Shared code between the staging node and kitchensink runtime:
|
# Shared code between the staging node and kitchensink runtime:
|
||||||
kitchensink-runtime = { workspace = true }
|
pez-kitchensink-runtime = { workspace = true }
|
||||||
node-inspect = { optional = true, workspace = true, default-features = true }
|
node-inspect = { optional = true, workspace = true, default-features = true }
|
||||||
node-primitives = { workspace = true, default-features = true }
|
pez-node-primitives = { workspace = true, default-features = true }
|
||||||
node-rpc = { workspace = true }
|
pez-node-rpc = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_cmd = { workspace = true }
|
assert_cmd = { workspace = true }
|
||||||
@@ -176,7 +176,7 @@ tokio-util = { features = ["compat"], workspace = true }
|
|||||||
wat = { workspace = true }
|
wat = { workspace = true }
|
||||||
|
|
||||||
# These testing-only dependencies are not exported by the Pezkuwi-SDK crate:
|
# These testing-only dependencies are not exported by the Pezkuwi-SDK crate:
|
||||||
node-testing = { workspace = true }
|
pez-node-testing = { workspace = true }
|
||||||
pezsc-service-test = { workspace = true }
|
pezsc-service-test = { workspace = true }
|
||||||
bizinikiwi-cli-test-utils = { workspace = true }
|
bizinikiwi-cli-test-utils = { workspace = true }
|
||||||
|
|
||||||
@@ -197,18 +197,18 @@ pezkuwi-sdk = { features = [
|
|||||||
default = ["cli"]
|
default = ["cli"]
|
||||||
cli = ["clap", "clap_complete", "node-inspect", "pezkuwi-sdk"]
|
cli = ["clap", "clap_complete", "node-inspect", "pezkuwi-sdk"]
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"kitchensink-runtime/runtime-benchmarks",
|
"pez-kitchensink-runtime/runtime-benchmarks",
|
||||||
"node-inspect?/runtime-benchmarks",
|
"node-inspect?/runtime-benchmarks",
|
||||||
"node-primitives/runtime-benchmarks",
|
"pez-node-primitives/runtime-benchmarks",
|
||||||
"node-rpc/runtime-benchmarks",
|
"pez-node-rpc/runtime-benchmarks",
|
||||||
"node-testing/runtime-benchmarks",
|
"pez-node-testing/runtime-benchmarks",
|
||||||
"pezkuwi-sdk/runtime-benchmarks",
|
"pezkuwi-sdk/runtime-benchmarks",
|
||||||
"pezsc-service-test/runtime-benchmarks",
|
"pezsc-service-test/runtime-benchmarks",
|
||||||
"pezsp-keyring/runtime-benchmarks",
|
"pezsp-keyring/runtime-benchmarks",
|
||||||
"bizinikiwi-cli-test-utils/runtime-benchmarks",
|
"bizinikiwi-cli-test-utils/runtime-benchmarks",
|
||||||
]
|
]
|
||||||
try-runtime = [
|
try-runtime = [
|
||||||
"kitchensink-runtime/try-runtime",
|
"pez-kitchensink-runtime/try-runtime",
|
||||||
"pezkuwi-sdk/try-runtime",
|
"pezkuwi-sdk/try-runtime",
|
||||||
"bizinikiwi-cli-test-utils/try-runtime",
|
"bizinikiwi-cli-test-utils/try-runtime",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ use pezkuwi_sdk::*;
|
|||||||
|
|
||||||
use criterion::{criterion_group, criterion_main, BatchSize, Criterion, Throughput};
|
use criterion::{criterion_group, criterion_main, BatchSize, Criterion, Throughput};
|
||||||
|
|
||||||
use kitchensink_runtime::{constants::currency::*, BalancesCall};
|
use pez_kitchensink_runtime::{constants::currency::*, BalancesCall};
|
||||||
use node_cli::service::{create_extrinsic, FullClient};
|
use node_cli::service::{create_extrinsic, FullClient};
|
||||||
use pezkuwi_sdk::pezsc_service::config::{ExecutorConfiguration, RpcConfiguration};
|
use pezkuwi_sdk::pezsc_service::config::{ExecutorConfiguration, RpcConfiguration};
|
||||||
use pezsc_block_builder::{BlockBuilderBuilder, BuiltBlock};
|
use pezsc_block_builder::{BlockBuilderBuilder, BuiltBlock};
|
||||||
@@ -123,14 +123,14 @@ fn new_node(tokio_handle: Handle) -> node_cli::service::NewFullBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn extrinsic_set_time(now: u64) -> OpaqueExtrinsic {
|
fn extrinsic_set_time(now: u64) -> OpaqueExtrinsic {
|
||||||
let utx: kitchensink_runtime::UncheckedExtrinsic = generic::UncheckedExtrinsic::new_bare(
|
let utx: pez_kitchensink_runtime::UncheckedExtrinsic = generic::UncheckedExtrinsic::new_bare(
|
||||||
kitchensink_runtime::RuntimeCall::Timestamp(pezpallet_timestamp::Call::set { now }),
|
pez_kitchensink_runtime::RuntimeCall::Timestamp(pezpallet_timestamp::Call::set { now }),
|
||||||
)
|
)
|
||||||
.into();
|
.into();
|
||||||
utx.into()
|
utx.into()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn import_block(client: &FullClient, built: BuiltBlock<node_primitives::Block>) {
|
fn import_block(client: &FullClient, built: BuiltBlock<pez_node_primitives::Block>) {
|
||||||
let mut params = BlockImportParams::new(BlockOrigin::File, built.block.header);
|
let mut params = BlockImportParams::new(BlockOrigin::File, built.block.header);
|
||||||
params.state_action =
|
params.state_action =
|
||||||
StateAction::ApplyChanges(pezsc_consensus::StorageChanges::Changes(built.storage_changes));
|
StateAction::ApplyChanges(pezsc_consensus::StorageChanges::Changes(built.storage_changes));
|
||||||
|
|||||||
@@ -21,12 +21,12 @@ use pezkuwi_sdk::*;
|
|||||||
use codec::{Decode, Encode};
|
use codec::{Decode, Encode};
|
||||||
use criterion::{criterion_group, criterion_main, BatchSize, Criterion};
|
use criterion::{criterion_group, criterion_main, BatchSize, Criterion};
|
||||||
use pezframe_support::Hashable;
|
use pezframe_support::Hashable;
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, RuntimeCall,
|
constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, RuntimeCall,
|
||||||
RuntimeGenesisConfig, UncheckedExtrinsic,
|
RuntimeGenesisConfig, UncheckedExtrinsic,
|
||||||
};
|
};
|
||||||
use node_primitives::{BlockNumber, Hash};
|
use pez_node_primitives::{BlockNumber, Hash};
|
||||||
use node_testing::keyring::*;
|
use pez_node_testing::keyring::*;
|
||||||
use pezsc_executor::{Externalities, RuntimeVersionOf};
|
use pezsc_executor::{Externalities, RuntimeVersionOf};
|
||||||
use pezsp_core::{
|
use pezsp_core::{
|
||||||
storage::well_known_keys,
|
storage::well_known_keys,
|
||||||
@@ -41,7 +41,7 @@ criterion_main!(benches);
|
|||||||
|
|
||||||
/// The wasm runtime code.
|
/// The wasm runtime code.
|
||||||
pub fn compact_code_unwrap() -> &'static [u8] {
|
pub fn compact_code_unwrap() -> &'static [u8] {
|
||||||
kitchensink_runtime::WASM_BINARY.expect(
|
pez_kitchensink_runtime::WASM_BINARY.expect(
|
||||||
"Development wasm binary is not available. Testing is only supported with the flag \
|
"Development wasm binary is not available. Testing is only supported with the flag \
|
||||||
disabled.",
|
disabled.",
|
||||||
)
|
)
|
||||||
@@ -49,16 +49,16 @@ pub fn compact_code_unwrap() -> &'static [u8] {
|
|||||||
|
|
||||||
const GENESIS_HASH: [u8; 32] = [69u8; 32];
|
const GENESIS_HASH: [u8; 32] = [69u8; 32];
|
||||||
|
|
||||||
const TRANSACTION_VERSION: u32 = kitchensink_runtime::VERSION.transaction_version;
|
const TRANSACTION_VERSION: u32 = pez_kitchensink_runtime::VERSION.transaction_version;
|
||||||
|
|
||||||
const SPEC_VERSION: u32 = kitchensink_runtime::VERSION.spec_version;
|
const SPEC_VERSION: u32 = pez_kitchensink_runtime::VERSION.spec_version;
|
||||||
|
|
||||||
const HEAP_PAGES: u64 = 20;
|
const HEAP_PAGES: u64 = 20;
|
||||||
|
|
||||||
type TestExternalities<H> = CoreTestExternalities<H>;
|
type TestExternalities<H> = CoreTestExternalities<H>;
|
||||||
|
|
||||||
fn sign(xt: CheckedExtrinsic) -> UncheckedExtrinsic {
|
fn sign(xt: CheckedExtrinsic) -> UncheckedExtrinsic {
|
||||||
node_testing::keyring::sign(xt, SPEC_VERSION, TRANSACTION_VERSION, GENESIS_HASH, None)
|
pez_node_testing::keyring::sign(xt, SPEC_VERSION, TRANSACTION_VERSION, GENESIS_HASH, None)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn new_test_ext(genesis_config: &RuntimeGenesisConfig) -> TestExternalities<BlakeTwo256> {
|
fn new_test_ext(genesis_config: &RuntimeGenesisConfig) -> TestExternalities<BlakeTwo256> {
|
||||||
@@ -167,7 +167,7 @@ fn bench_execute_block(c: &mut Criterion) {
|
|||||||
let mut group = c.benchmark_group("execute blocks");
|
let mut group = c.benchmark_group("execute blocks");
|
||||||
|
|
||||||
group.bench_function("wasm", |b| {
|
group.bench_function("wasm", |b| {
|
||||||
let genesis_config = node_testing::genesis::config();
|
let genesis_config = pez_node_testing::genesis::config();
|
||||||
|
|
||||||
let executor = RuntimeExecutor::builder().build();
|
let executor = RuntimeExecutor::builder().build();
|
||||||
let runtime_code = RuntimeCode {
|
let runtime_code = RuntimeCode {
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
use criterion::{criterion_group, criterion_main, BatchSize, Criterion, Throughput};
|
use criterion::{criterion_group, criterion_main, BatchSize, Criterion, Throughput};
|
||||||
use futures::{future, StreamExt};
|
use futures::{future, StreamExt};
|
||||||
use kitchensink_runtime::{constants::currency::*, BalancesCall, SudoCall};
|
use pez_kitchensink_runtime::{constants::currency::*, BalancesCall, SudoCall};
|
||||||
use node_cli::service::{create_extrinsic, fetch_nonce, FullClient, TransactionPool};
|
use node_cli::service::{create_extrinsic, fetch_nonce, FullClient, TransactionPool};
|
||||||
use node_primitives::AccountId;
|
use pez_node_primitives::AccountId;
|
||||||
use pezkuwi_sdk::{
|
use pezkuwi_sdk::{
|
||||||
pezsc_service::config::{ExecutorConfiguration, RpcConfiguration},
|
pezsc_service::config::{ExecutorConfiguration, RpcConfiguration},
|
||||||
pezsc_transaction_pool_api::TransactionPool as _,
|
pezsc_transaction_pool_api::TransactionPool as _,
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ use crate::service::{create_extrinsic, FullClient};
|
|||||||
|
|
||||||
use pezkuwi_sdk::*;
|
use pezkuwi_sdk::*;
|
||||||
|
|
||||||
use kitchensink_runtime::{BalancesCall, SystemCall};
|
use pez_kitchensink_runtime::{BalancesCall, SystemCall};
|
||||||
use node_primitives::{AccountId, Balance};
|
use pez_node_primitives::{AccountId, Balance};
|
||||||
use pezsc_cli::Result;
|
use pezsc_cli::Result;
|
||||||
use pezsp_inherents::{InherentData, InherentDataProvider};
|
use pezsp_inherents::{InherentData, InherentDataProvider};
|
||||||
use pezsp_keyring::Sr25519Keyring;
|
use pezsp_keyring::Sr25519Keyring;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
use pezkuwi_sdk::*;
|
use pezkuwi_sdk::*;
|
||||||
|
|
||||||
use crate::chain_spec::pezsc_service::Properties;
|
use crate::chain_spec::pezsc_service::Properties;
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
genesis_config_presets::{Staker, ENDOWMENT, STASH},
|
genesis_config_presets::{Staker, ENDOWMENT, STASH},
|
||||||
wasm_binary_unwrap, Block, MaxNominations, StakerStatus,
|
wasm_binary_unwrap, Block, MaxNominations, StakerStatus,
|
||||||
};
|
};
|
||||||
@@ -38,8 +38,8 @@ use pezsp_consensus_grandpa::AuthorityId as GrandpaId;
|
|||||||
use pezsp_core::crypto::UncheckedInto;
|
use pezsp_core::crypto::UncheckedInto;
|
||||||
use pezsp_mixnet::types::AuthorityId as MixnetId;
|
use pezsp_mixnet::types::AuthorityId as MixnetId;
|
||||||
|
|
||||||
pub use kitchensink_runtime::RuntimeGenesisConfig;
|
pub use pez_kitchensink_runtime::RuntimeGenesisConfig;
|
||||||
pub use node_primitives::{AccountId, Balance, Signature};
|
pub use pez_node_primitives::{AccountId, Balance, Signature};
|
||||||
|
|
||||||
const STAGING_TELEMETRY_URL: &str = "wss://telemetry.pezkuwichain.io/submit/";
|
const STAGING_TELEMETRY_URL: &str = "wss://telemetry.pezkuwichain.io/submit/";
|
||||||
|
|
||||||
@@ -82,15 +82,15 @@ fn configure_accounts_for_staging_testnet() -> (
|
|||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
// stash, controller, session-key, beefy id
|
// stash, controller, session-key, beefy id
|
||||||
// generated with secret:
|
// generated with secret:
|
||||||
// for i in 1 2 3 4 ; do for j in stash controller; do subkey inspect "$secret"/fir/$j/$i; done; done
|
// for i in 1 2 3 4 ; do for j in stash controller; do pez_subkey inspect "$secret"/fir/$j/$i; done; done
|
||||||
//
|
//
|
||||||
// and
|
// and
|
||||||
//
|
//
|
||||||
// for i in 1 2 3 4 ; do for j in session; do subkey inspect --scheme ed25519 "$secret"//fir//$j//$i; done; done
|
// for i in 1 2 3 4 ; do for j in session; do pez_subkey inspect --scheme ed25519 "$secret"//fir//$j//$i; done; done
|
||||||
//
|
//
|
||||||
// and
|
// and
|
||||||
//
|
//
|
||||||
// for i in 1 2 3 4 ; do for j in session; do subkey inspect --scheme ecdsa "$secret"//fir//$j//$i; done; done
|
// for i in 1 2 3 4 ; do for j in session; do pez_subkey inspect --scheme ecdsa "$secret"//fir//$j//$i; done; done
|
||||||
|
|
||||||
let initial_authorities: Vec<(
|
let initial_authorities: Vec<(
|
||||||
AccountId,
|
AccountId,
|
||||||
@@ -200,7 +200,7 @@ fn configure_accounts_for_staging_testnet() -> (
|
|||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
// generated with secret: subkey inspect "$secret"/fir
|
// generated with secret: pez_subkey inspect "$secret"/fir
|
||||||
let root_key: AccountId = array_bytes::hex_n_into_unchecked(
|
let root_key: AccountId = array_bytes::hex_n_into_unchecked(
|
||||||
// 5Ff3iXP75ruzroPWRP2FYBHWnmGGBSb63857BgnzCoXNxfPo
|
// 5Ff3iXP75ruzroPWRP2FYBHWnmGGBSb63857BgnzCoXNxfPo
|
||||||
"9ee5e5bdc0ec239eb164f865ecc345ce4c88e76ee002e0f7e318097347471809",
|
"9ee5e5bdc0ec239eb164f865ecc345ce4c88e76ee002e0f7e318097347471809",
|
||||||
@@ -430,7 +430,7 @@ pub fn local_testnet_config() -> ChainSpec {
|
|||||||
pub(crate) mod tests {
|
pub(crate) mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::service::{new_full_base, NewFullBase};
|
use crate::service::{new_full_base, NewFullBase};
|
||||||
use kitchensink_runtime::genesis_config_presets::well_known_including_eth_accounts;
|
use pez_kitchensink_runtime::genesis_config_presets::well_known_including_eth_accounts;
|
||||||
use pezsc_service_test;
|
use pezsc_service_test;
|
||||||
use pezsp_runtime::{AccountId32, BuildStorage};
|
use pezsp_runtime::{AccountId32, BuildStorage};
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ use crate::{
|
|||||||
Cli, Subcommand,
|
Cli, Subcommand,
|
||||||
};
|
};
|
||||||
use pezframe_benchmarking_cli::*;
|
use pezframe_benchmarking_cli::*;
|
||||||
use kitchensink_runtime::{ExistentialDeposit, RuntimeApi};
|
use pez_kitchensink_runtime::{ExistentialDeposit, RuntimeApi};
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use pezsc_cli::{Result, BizinikiwiCli};
|
use pezsc_cli::{Result, BizinikiwiCli};
|
||||||
use pezsc_service::PartialComponents;
|
use pezsc_service::PartialComponents;
|
||||||
use pezsp_keyring::Sr25519Keyring;
|
use pezsp_keyring::Sr25519Keyring;
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ use codec::Encode;
|
|||||||
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE;
|
||||||
use pezframe_system_rpc_runtime_api::AccountNonceApi;
|
use pezframe_system_rpc_runtime_api::AccountNonceApi;
|
||||||
use futures::prelude::*;
|
use futures::prelude::*;
|
||||||
use kitchensink_runtime::RuntimeApi;
|
use pez_kitchensink_runtime::RuntimeApi;
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use pezsc_client_api::{Backend, BlockBackend};
|
use pezsc_client_api::{Backend, BlockBackend};
|
||||||
use pezsc_consensus_babe::{self, SlotProportion};
|
use pezsc_consensus_babe::{self, SlotProportion};
|
||||||
use pezsc_network::{
|
use pezsc_network::{
|
||||||
@@ -107,51 +107,51 @@ pub fn fetch_nonce(client: &FullClient, account: pezsp_core::sr25519::Pair) -> u
|
|||||||
pub fn create_extrinsic(
|
pub fn create_extrinsic(
|
||||||
client: &FullClient,
|
client: &FullClient,
|
||||||
sender: pezsp_core::sr25519::Pair,
|
sender: pezsp_core::sr25519::Pair,
|
||||||
function: impl Into<kitchensink_runtime::RuntimeCall>,
|
function: impl Into<pez_kitchensink_runtime::RuntimeCall>,
|
||||||
nonce: Option<u32>,
|
nonce: Option<u32>,
|
||||||
) -> kitchensink_runtime::UncheckedExtrinsic {
|
) -> pez_kitchensink_runtime::UncheckedExtrinsic {
|
||||||
let function = function.into();
|
let function = function.into();
|
||||||
let genesis_hash = client.block_hash(0).ok().flatten().expect("Genesis block exists; qed");
|
let genesis_hash = client.block_hash(0).ok().flatten().expect("Genesis block exists; qed");
|
||||||
let best_hash = client.chain_info().best_hash;
|
let best_hash = client.chain_info().best_hash;
|
||||||
let best_block = client.chain_info().best_number;
|
let best_block = client.chain_info().best_number;
|
||||||
let nonce = nonce.unwrap_or_else(|| fetch_nonce(client, sender.clone()));
|
let nonce = nonce.unwrap_or_else(|| fetch_nonce(client, sender.clone()));
|
||||||
|
|
||||||
let period = kitchensink_runtime::BlockHashCount::get()
|
let period = pez_kitchensink_runtime::BlockHashCount::get()
|
||||||
.checked_next_power_of_two()
|
.checked_next_power_of_two()
|
||||||
.map(|c| c / 2)
|
.map(|c| c / 2)
|
||||||
.unwrap_or(2) as u64;
|
.unwrap_or(2) as u64;
|
||||||
let tip = 0;
|
let tip = 0;
|
||||||
let tx_ext: kitchensink_runtime::TxExtension =
|
let tx_ext: pez_kitchensink_runtime::TxExtension =
|
||||||
(
|
(
|
||||||
pezframe_system::AuthorizeCall::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::AuthorizeCall::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezframe_system::CheckNonZeroSender::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::CheckNonZeroSender::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezframe_system::CheckSpecVersion::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::CheckSpecVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezframe_system::CheckTxVersion::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::CheckTxVersion::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezframe_system::CheckGenesis::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::CheckGenesis::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezframe_system::CheckEra::<kitchensink_runtime::Runtime>::from(generic::Era::mortal(
|
pezframe_system::CheckEra::<pez_kitchensink_runtime::Runtime>::from(generic::Era::mortal(
|
||||||
period,
|
period,
|
||||||
best_block.saturated_into(),
|
best_block.saturated_into(),
|
||||||
)),
|
)),
|
||||||
pezframe_system::CheckNonce::<kitchensink_runtime::Runtime>::from(nonce),
|
pezframe_system::CheckNonce::<pez_kitchensink_runtime::Runtime>::from(nonce),
|
||||||
pezframe_system::CheckWeight::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::CheckWeight::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
pezpallet_skip_feeless_payment::SkipCheckIfFeeless::from(
|
pezpallet_skip_feeless_payment::SkipCheckIfFeeless::from(
|
||||||
pezpallet_asset_conversion_tx_payment::ChargeAssetTxPayment::<
|
pezpallet_asset_conversion_tx_payment::ChargeAssetTxPayment::<
|
||||||
kitchensink_runtime::Runtime,
|
pez_kitchensink_runtime::Runtime,
|
||||||
>::from(tip, None),
|
>::from(tip, None),
|
||||||
),
|
),
|
||||||
pezframe_metadata_hash_extension::CheckMetadataHash::new(false),
|
pezframe_metadata_hash_extension::CheckMetadataHash::new(false),
|
||||||
pezpallet_revive::evm::tx_extension::SetOrigin::<kitchensink_runtime::Runtime>::default(),
|
pezpallet_revive::evm::tx_extension::SetOrigin::<pez_kitchensink_runtime::Runtime>::default(),
|
||||||
pezframe_system::WeightReclaim::<kitchensink_runtime::Runtime>::new(),
|
pezframe_system::WeightReclaim::<pez_kitchensink_runtime::Runtime>::new(),
|
||||||
);
|
);
|
||||||
|
|
||||||
let raw_payload = kitchensink_runtime::SignedPayload::from_raw(
|
let raw_payload = pez_kitchensink_runtime::SignedPayload::from_raw(
|
||||||
function.clone(),
|
function.clone(),
|
||||||
tx_ext.clone(),
|
tx_ext.clone(),
|
||||||
(
|
(
|
||||||
(),
|
(),
|
||||||
(),
|
(),
|
||||||
kitchensink_runtime::VERSION.spec_version,
|
pez_kitchensink_runtime::VERSION.spec_version,
|
||||||
kitchensink_runtime::VERSION.transaction_version,
|
pez_kitchensink_runtime::VERSION.transaction_version,
|
||||||
genesis_hash,
|
genesis_hash,
|
||||||
best_hash,
|
best_hash,
|
||||||
(),
|
(),
|
||||||
@@ -167,7 +167,7 @@ pub fn create_extrinsic(
|
|||||||
generic::UncheckedExtrinsic::new_signed(
|
generic::UncheckedExtrinsic::new_signed(
|
||||||
function,
|
function,
|
||||||
pezsp_runtime::AccountId32::from(sender.public()).into(),
|
pezsp_runtime::AccountId32::from(sender.public()).into(),
|
||||||
kitchensink_runtime::Signature::Sr25519(signature),
|
pez_kitchensink_runtime::Signature::Sr25519(signature),
|
||||||
tx_ext,
|
tx_ext,
|
||||||
)
|
)
|
||||||
.into()
|
.into()
|
||||||
@@ -331,24 +331,24 @@ pub fn new_partial(
|
|||||||
let rpc_backend = backend.clone();
|
let rpc_backend = backend.clone();
|
||||||
let rpc_statement_store = statement_store.clone();
|
let rpc_statement_store = statement_store.clone();
|
||||||
let rpc_extensions_builder =
|
let rpc_extensions_builder =
|
||||||
move |subscription_executor: node_rpc::SubscriptionTaskExecutor| {
|
move |subscription_executor: pez_node_rpc::SubscriptionTaskExecutor| {
|
||||||
let deps = node_rpc::FullDeps {
|
let deps = pez_node_rpc::FullDeps {
|
||||||
client: client.clone(),
|
client: client.clone(),
|
||||||
pool: pool.clone(),
|
pool: pool.clone(),
|
||||||
select_chain: select_chain.clone(),
|
select_chain: select_chain.clone(),
|
||||||
chain_spec: chain_spec.cloned_box(),
|
chain_spec: chain_spec.cloned_box(),
|
||||||
babe: node_rpc::BabeDeps {
|
babe: pez_node_rpc::BabeDeps {
|
||||||
keystore: keystore.clone(),
|
keystore: keystore.clone(),
|
||||||
babe_worker_handle: babe_worker_handle.clone(),
|
babe_worker_handle: babe_worker_handle.clone(),
|
||||||
},
|
},
|
||||||
grandpa: node_rpc::GrandpaDeps {
|
grandpa: pez_node_rpc::GrandpaDeps {
|
||||||
shared_voter_state: shared_voter_state.clone(),
|
shared_voter_state: shared_voter_state.clone(),
|
||||||
shared_authority_set: shared_authority_set.clone(),
|
shared_authority_set: shared_authority_set.clone(),
|
||||||
justification_stream: justification_stream.clone(),
|
justification_stream: justification_stream.clone(),
|
||||||
subscription_executor: subscription_executor.clone(),
|
subscription_executor: subscription_executor.clone(),
|
||||||
finality_provider: finality_proof_provider.clone(),
|
finality_provider: finality_proof_provider.clone(),
|
||||||
},
|
},
|
||||||
beefy: node_rpc::BeefyDeps::<beefy_primitives::ecdsa_crypto::AuthorityId> {
|
beefy: pez_node_rpc::BeefyDeps::<beefy_primitives::ecdsa_crypto::AuthorityId> {
|
||||||
beefy_finality_proof_stream: beefy_rpc_links
|
beefy_finality_proof_stream: beefy_rpc_links
|
||||||
.from_voter_justif_stream
|
.from_voter_justif_stream
|
||||||
.clone(),
|
.clone(),
|
||||||
@@ -362,7 +362,7 @@ pub fn new_partial(
|
|||||||
mixnet_api: mixnet_api.as_ref().cloned(),
|
mixnet_api: mixnet_api.as_ref().cloned(),
|
||||||
};
|
};
|
||||||
|
|
||||||
node_rpc::create_full(deps).map_err(Into::into)
|
pez_node_rpc::create_full(deps).map_err(Into::into)
|
||||||
};
|
};
|
||||||
|
|
||||||
(rpc_extensions_builder, shared_voter_state2)
|
(rpc_extensions_builder, shared_voter_state2)
|
||||||
@@ -722,9 +722,9 @@ pub fn new_full_base<N: NetworkBackend<Block, <Block as BlockT>::Hash>>(
|
|||||||
// When offchain indexing is enabled, MMR gadget should also run.
|
// When offchain indexing is enabled, MMR gadget should also run.
|
||||||
if is_offchain_indexing_enabled {
|
if is_offchain_indexing_enabled {
|
||||||
task_manager.spawn_essential_handle().spawn_blocking(
|
task_manager.spawn_essential_handle().spawn_blocking(
|
||||||
"mmr-gadget",
|
"pezmmr-gadget",
|
||||||
None,
|
None,
|
||||||
mmr_gadget::MmrGadget::start(
|
pezmmr_gadget::MmrGadget::start(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
backend.clone(),
|
backend.clone(),
|
||||||
pezsp_mmr_primitives::INDEXING_PREFIX.to_vec(),
|
pezsp_mmr_primitives::INDEXING_PREFIX.to_vec(),
|
||||||
@@ -870,11 +870,11 @@ pub fn new_full(config: Configuration, cli: Cli) -> Result<TaskManager, ServiceE
|
|||||||
mod tests {
|
mod tests {
|
||||||
use crate::service::{new_full_base, NewFullBase};
|
use crate::service::{new_full_base, NewFullBase};
|
||||||
use codec::Encode;
|
use codec::Encode;
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::{currency::CENTS, time::SLOT_DURATION},
|
constants::{currency::CENTS, time::SLOT_DURATION},
|
||||||
Address, BalancesCall, RuntimeCall, TxExtension,
|
Address, BalancesCall, RuntimeCall, TxExtension,
|
||||||
};
|
};
|
||||||
use node_primitives::{Block, DigestItem, Signature};
|
use pez_node_primitives::{Block, DigestItem, Signature};
|
||||||
use pezkuwi_sdk::{pezsc_transaction_pool_api::MaintainedTransactionPool, *};
|
use pezkuwi_sdk::{pezsc_transaction_pool_api::MaintainedTransactionPool, *};
|
||||||
use pezsc_client_api::BlockBackend;
|
use pezsc_client_api::BlockBackend;
|
||||||
use pezsc_consensus::{BlockImport, BlockImportParams, ForkChoiceStrategy};
|
use pezsc_consensus::{BlockImport, BlockImportParams, ForkChoiceStrategy};
|
||||||
@@ -1118,7 +1118,7 @@ mod tests {
|
|||||||
let signature = raw_payload.using_encoded(|payload| signer.sign(payload));
|
let signature = raw_payload.using_encoded(|payload| signer.sign(payload));
|
||||||
let (function, tx_ext, _) = raw_payload.deconstruct();
|
let (function, tx_ext, _) = raw_payload.deconstruct();
|
||||||
index += 1;
|
index += 1;
|
||||||
let utx: kitchensink_runtime::UncheckedExtrinsic =
|
let utx: pez_kitchensink_runtime::UncheckedExtrinsic =
|
||||||
generic::UncheckedExtrinsic::new_signed(
|
generic::UncheckedExtrinsic::new_signed(
|
||||||
function,
|
function,
|
||||||
from.into(),
|
from.into(),
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ use pezsp_runtime::{
|
|||||||
traits::Hash as HashT, transaction_validity::InvalidTransaction, ApplyExtrinsicResult,
|
traits::Hash as HashT, transaction_validity::InvalidTransaction, ApplyExtrinsicResult,
|
||||||
};
|
};
|
||||||
|
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::{currency::*, time::SLOT_DURATION},
|
constants::{currency::*, time::SLOT_DURATION},
|
||||||
Balances, CheckedExtrinsic, Header, Runtime, RuntimeCall, RuntimeEvent, System,
|
Balances, CheckedExtrinsic, Header, Runtime, RuntimeCall, RuntimeEvent, System,
|
||||||
TransactionPayment, Treasury, UncheckedExtrinsic,
|
TransactionPayment, Treasury, UncheckedExtrinsic,
|
||||||
};
|
};
|
||||||
use node_primitives::{Balance, Hash};
|
use pez_node_primitives::{Balance, Hash};
|
||||||
use node_testing::keyring::*;
|
use pez_node_testing::keyring::*;
|
||||||
use pretty_assertions::assert_eq;
|
use pretty_assertions::assert_eq;
|
||||||
use wat;
|
use wat;
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ use self::common::{sign, *};
|
|||||||
/// have to execute provided wasm code instead of the native equivalent. This trick is used to
|
/// have to execute provided wasm code instead of the native equivalent. This trick is used to
|
||||||
/// test code paths that differ between native and wasm versions.
|
/// test code paths that differ between native and wasm versions.
|
||||||
pub fn bloaty_code_unwrap() -> &'static [u8] {
|
pub fn bloaty_code_unwrap() -> &'static [u8] {
|
||||||
kitchensink_runtime::WASM_BINARY_BLOATY.expect(
|
pez_kitchensink_runtime::WASM_BINARY_BLOATY.expect(
|
||||||
"Development wasm binary is not available. \
|
"Development wasm binary is not available. \
|
||||||
Testing is only supported with the flag disabled.",
|
Testing is only supported with the flag disabled.",
|
||||||
)
|
)
|
||||||
@@ -857,14 +857,14 @@ fn successful_execution_gives_ok() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn should_import_block_with_test_client() {
|
fn should_import_block_with_test_client() {
|
||||||
use node_testing::client::{
|
use pez_node_testing::client::{
|
||||||
pezsp_consensus::BlockOrigin, ClientBlockImportExt, TestClientBuilder, TestClientBuilderExt,
|
pezsp_consensus::BlockOrigin, ClientBlockImportExt, TestClientBuilder, TestClientBuilderExt,
|
||||||
};
|
};
|
||||||
|
|
||||||
let client = TestClientBuilder::new().build();
|
let client = TestClientBuilder::new().build();
|
||||||
let block1 = changes_trie_block();
|
let block1 = changes_trie_block();
|
||||||
let block_data = block1.0;
|
let block_data = block1.0;
|
||||||
let block = node_primitives::Block::decode(&mut &block_data[..]).unwrap();
|
let block = pez_node_primitives::Block::decode(&mut &block_data[..]).unwrap();
|
||||||
|
|
||||||
futures::executor::block_on(client.import(BlockOrigin::Own, block)).unwrap();
|
futures::executor::block_on(client.import(BlockOrigin::Own, block)).unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,12 +36,12 @@ use pezsp_runtime::{
|
|||||||
};
|
};
|
||||||
use pezsp_state_machine::TestExternalities as CoreTestExternalities;
|
use pezsp_state_machine::TestExternalities as CoreTestExternalities;
|
||||||
|
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, Runtime,
|
constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, Runtime,
|
||||||
UncheckedExtrinsic,
|
UncheckedExtrinsic,
|
||||||
};
|
};
|
||||||
use node_primitives::{BlockNumber, Hash};
|
use pez_node_primitives::{BlockNumber, Hash};
|
||||||
use node_testing::keyring::*;
|
use pez_node_testing::keyring::*;
|
||||||
use pezsp_externalities::Externalities;
|
use pezsp_externalities::Externalities;
|
||||||
use pezstaging_node_cli::service::RuntimeExecutor;
|
use pezstaging_node_cli::service::RuntimeExecutor;
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ impl AppCrypto<MultiSigner, MultiSignature> for TestAuthorityId {
|
|||||||
/// making the binary slimmer. There is a convention to use compact version of the runtime
|
/// making the binary slimmer. There is a convention to use compact version of the runtime
|
||||||
/// as canonical.
|
/// as canonical.
|
||||||
pub fn compact_code_unwrap() -> &'static [u8] {
|
pub fn compact_code_unwrap() -> &'static [u8] {
|
||||||
kitchensink_runtime::WASM_BINARY.expect(
|
pez_kitchensink_runtime::WASM_BINARY.expect(
|
||||||
"Development wasm binary is not available. Testing is only supported with the flag \
|
"Development wasm binary is not available. Testing is only supported with the flag \
|
||||||
disabled.",
|
disabled.",
|
||||||
)
|
)
|
||||||
@@ -78,14 +78,14 @@ pub fn compact_code_unwrap() -> &'static [u8] {
|
|||||||
|
|
||||||
pub const GENESIS_HASH: [u8; 32] = [69u8; 32];
|
pub const GENESIS_HASH: [u8; 32] = [69u8; 32];
|
||||||
|
|
||||||
pub const SPEC_VERSION: u32 = kitchensink_runtime::VERSION.spec_version;
|
pub const SPEC_VERSION: u32 = pez_kitchensink_runtime::VERSION.spec_version;
|
||||||
|
|
||||||
pub const TRANSACTION_VERSION: u32 = kitchensink_runtime::VERSION.transaction_version;
|
pub const TRANSACTION_VERSION: u32 = pez_kitchensink_runtime::VERSION.transaction_version;
|
||||||
|
|
||||||
pub type TestExternalities<H> = CoreTestExternalities<H>;
|
pub type TestExternalities<H> = CoreTestExternalities<H>;
|
||||||
|
|
||||||
pub fn sign(xt: CheckedExtrinsic) -> UncheckedExtrinsic {
|
pub fn sign(xt: CheckedExtrinsic) -> UncheckedExtrinsic {
|
||||||
node_testing::keyring::sign(xt, SPEC_VERSION, TRANSACTION_VERSION, GENESIS_HASH, None)
|
pez_node_testing::keyring::sign(xt, SPEC_VERSION, TRANSACTION_VERSION, GENESIS_HASH, None)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn default_transfer_call() -> pezpallet_balances::Call<Runtime> {
|
pub fn default_transfer_call() -> pezpallet_balances::Call<Runtime> {
|
||||||
@@ -125,7 +125,7 @@ pub fn new_test_ext(code: &[u8]) -> TestExternalities<BlakeTwo256> {
|
|||||||
pezsp_tracing::try_init_simple();
|
pezsp_tracing::try_init_simple();
|
||||||
let ext = TestExternalities::new_with_code(
|
let ext = TestExternalities::new_with_code(
|
||||||
code,
|
code,
|
||||||
node_testing::genesis::config().build_storage().unwrap(),
|
pez_node_testing::genesis::config().build_storage().unwrap(),
|
||||||
);
|
);
|
||||||
ext
|
ext
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,13 +22,13 @@ use pezframe_support::{
|
|||||||
traits::Currency,
|
traits::Currency,
|
||||||
weights::{constants::ExtrinsicBaseWeight, IdentityFee, WeightToFee},
|
weights::{constants::ExtrinsicBaseWeight, IdentityFee, WeightToFee},
|
||||||
};
|
};
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::{currency::*, time::SLOT_DURATION},
|
constants::{currency::*, time::SLOT_DURATION},
|
||||||
Balances, CheckedExtrinsic, Multiplier, Runtime, RuntimeCall, TransactionByteFee,
|
Balances, CheckedExtrinsic, Multiplier, Runtime, RuntimeCall, TransactionByteFee,
|
||||||
TransactionPayment,
|
TransactionPayment,
|
||||||
};
|
};
|
||||||
use node_primitives::Balance;
|
use pez_node_primitives::Balance;
|
||||||
use node_testing::keyring::*;
|
use pez_node_testing::keyring::*;
|
||||||
use pezkuwi_sdk::*;
|
use pezkuwi_sdk::*;
|
||||||
use pezsp_runtime::{traits::One, Perbill};
|
use pezsp_runtime::{traits::One, Perbill};
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
use codec::Decode;
|
use codec::Decode;
|
||||||
use pezframe_system::offchain::{SendSignedTransaction, Signer, SubmitTransaction};
|
use pezframe_system::offchain::{SendSignedTransaction, Signer, SubmitTransaction};
|
||||||
use kitchensink_runtime::{Executive, ExistentialDeposit, Indices, Runtime, UncheckedExtrinsic};
|
use pez_kitchensink_runtime::{Executive, ExistentialDeposit, Indices, Runtime, UncheckedExtrinsic};
|
||||||
use pezkuwi_sdk::*;
|
use pezkuwi_sdk::*;
|
||||||
use pezsp_application_crypto::AppCrypto;
|
use pezsp_application_crypto::AppCrypto;
|
||||||
use pezsp_core::offchain::{testing::TestTransactionPoolExt, TransactionPoolExt};
|
use pezsp_core::offchain::{testing::TestTransactionPoolExt, TransactionPoolExt};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "node-primitives"
|
name = "pez-node-primitives"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Bizinikiwi node low-level primitives."
|
description = "Bizinikiwi node low-level primitives."
|
||||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
documentation = "https://docs.rs/node-primitives"
|
documentation = "https://docs.rs/pez-node-primitives"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "node-rpc"
|
name = "pez-node-rpc"
|
||||||
version = "3.0.0-dev"
|
version = "3.0.0-dev"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Bizinikiwi node rpc methods."
|
description = "Bizinikiwi node rpc methods."
|
||||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
documentation = "https://docs.rs/node-rpc"
|
documentation = "https://docs.rs/pez-node-rpc"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -18,8 +18,8 @@ targets = ["x86_64-unknown-linux-gnu"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
jsonrpsee = { features = ["server"], workspace = true }
|
jsonrpsee = { features = ["server"], workspace = true }
|
||||||
mmr-rpc = { workspace = true, default-features = true }
|
pezmmr-rpc = { workspace = true, default-features = true }
|
||||||
node-primitives = { workspace = true, default-features = true }
|
pez-node-primitives = { workspace = true, default-features = true }
|
||||||
pezpallet-transaction-payment-rpc = { workspace = true, default-features = true }
|
pezpallet-transaction-payment-rpc = { workspace = true, default-features = true }
|
||||||
pezsc-chain-spec = { workspace = true, default-features = true }
|
pezsc-chain-spec = { workspace = true, default-features = true }
|
||||||
pezsc-client-api = { workspace = true, default-features = true }
|
pezsc-client-api = { workspace = true, default-features = true }
|
||||||
@@ -48,8 +48,8 @@ bizinikiwi-state-trie-migration-rpc = { workspace = true, default-features = tru
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"mmr-rpc/runtime-benchmarks",
|
"pezmmr-rpc/runtime-benchmarks",
|
||||||
"node-primitives/runtime-benchmarks",
|
"pez-node-primitives/runtime-benchmarks",
|
||||||
"pezpallet-transaction-payment-rpc/runtime-benchmarks",
|
"pezpallet-transaction-payment-rpc/runtime-benchmarks",
|
||||||
"pezsc-chain-spec/runtime-benchmarks",
|
"pezsc-chain-spec/runtime-benchmarks",
|
||||||
"pezsc-client-api/runtime-benchmarks",
|
"pezsc-client-api/runtime-benchmarks",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use jsonrpsee::RpcModule;
|
use jsonrpsee::RpcModule;
|
||||||
use node_primitives::{AccountId, Balance, Block, BlockNumber, Hash, Nonce};
|
use pez_node_primitives::{AccountId, Balance, Block, BlockNumber, Hash, Nonce};
|
||||||
use pezsc_client_api::AuxStore;
|
use pezsc_client_api::AuxStore;
|
||||||
use pezsc_consensus_babe::BabeWorkerHandle;
|
use pezsc_consensus_babe::BabeWorkerHandle;
|
||||||
use pezsc_consensus_beefy::communication::notification::{
|
use pezsc_consensus_beefy::communication::notification::{
|
||||||
@@ -135,7 +135,7 @@ where
|
|||||||
+ Send
|
+ Send
|
||||||
+ 'static,
|
+ 'static,
|
||||||
C::Api: bizinikiwi_frame_rpc_system::AccountNonceApi<Block, AccountId, Nonce>,
|
C::Api: bizinikiwi_frame_rpc_system::AccountNonceApi<Block, AccountId, Nonce>,
|
||||||
C::Api: mmr_rpc::MmrRuntimeApi<Block, <Block as pezsp_runtime::traits::Block>::Hash, BlockNumber>,
|
C::Api: pezmmr_rpc::MmrRuntimeApi<Block, <Block as pezsp_runtime::traits::Block>::Hash, BlockNumber>,
|
||||||
C::Api: pezpallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
|
C::Api: pezpallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
|
||||||
C::Api: BabeApi<Block>,
|
C::Api: BabeApi<Block>,
|
||||||
C::Api: BlockBuilder<Block>,
|
C::Api: BlockBuilder<Block>,
|
||||||
@@ -146,7 +146,7 @@ where
|
|||||||
AuthorityId: AuthorityIdBound,
|
AuthorityId: AuthorityIdBound,
|
||||||
<AuthorityId as RuntimeAppPublic>::Signature: Send + Sync,
|
<AuthorityId as RuntimeAppPublic>::Signature: Send + Sync,
|
||||||
{
|
{
|
||||||
use mmr_rpc::{Mmr, MmrApiServer};
|
use pezmmr_rpc::{Mmr, MmrApiServer};
|
||||||
use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
|
use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
|
||||||
use pezsc_consensus_babe_rpc::{Babe, BabeApiServer};
|
use pezsc_consensus_babe_rpc::{Babe, BabeApiServer};
|
||||||
use pezsc_consensus_beefy_rpc::{Beefy, BeefyApiServer};
|
use pezsc_consensus_beefy_rpc::{Beefy, BeefyApiServer};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "kitchensink-runtime"
|
name = "pez-kitchensink-runtime"
|
||||||
version = "3.0.0-dev"
|
version = "3.0.0-dev"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Bizinikiwi node kitchensink runtime."
|
description = "Bizinikiwi node kitchensink runtime."
|
||||||
@@ -9,7 +9,7 @@ license = "Apache-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
documentation = "https://docs.rs/kitchensink-runtime"
|
documentation = "https://docs.rs/pez-kitchensink-runtime"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -39,7 +39,7 @@ primitive-types = { features = [
|
|||||||
pezkuwi-sdk = { features = ["runtime-full", "tuples-96"], workspace = true }
|
pezkuwi-sdk = { features = ["runtime-full", "tuples-96"], workspace = true }
|
||||||
|
|
||||||
# shared code between runtime and node
|
# shared code between runtime and node
|
||||||
node-primitives = { workspace = true }
|
pez-node-primitives = { workspace = true }
|
||||||
|
|
||||||
# Example pallets that are not published:
|
# Example pallets that are not published:
|
||||||
pezpallet-example-mbm = { workspace = true }
|
pezpallet-example-mbm = { workspace = true }
|
||||||
@@ -54,7 +54,7 @@ with-tracing = ["pezkuwi-sdk/with-tracing"]
|
|||||||
std = [
|
std = [
|
||||||
"codec/std",
|
"codec/std",
|
||||||
"log/std",
|
"log/std",
|
||||||
"node-primitives/std",
|
"pez-node-primitives/std",
|
||||||
"pezpallet-example-mbm/std",
|
"pezpallet-example-mbm/std",
|
||||||
"pezpallet-example-tasks/std",
|
"pezpallet-example-tasks/std",
|
||||||
"pezkuwi-sdk/std",
|
"pezkuwi-sdk/std",
|
||||||
@@ -66,7 +66,7 @@ std = [
|
|||||||
"bizinikiwi-wasm-builder",
|
"bizinikiwi-wasm-builder",
|
||||||
]
|
]
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"node-primitives/runtime-benchmarks",
|
"pez-node-primitives/runtime-benchmarks",
|
||||||
"pezpallet-example-mbm/runtime-benchmarks",
|
"pezpallet-example-mbm/runtime-benchmarks",
|
||||||
"pezpallet-example-tasks/runtime-benchmarks",
|
"pezpallet-example-tasks/runtime-benchmarks",
|
||||||
"pezkuwi-sdk/runtime-benchmarks",
|
"pezkuwi-sdk/runtime-benchmarks",
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/// Money matters.
|
/// Money matters.
|
||||||
pub mod currency {
|
pub mod currency {
|
||||||
use node_primitives::Balance;
|
use pez_node_primitives::Balance;
|
||||||
|
|
||||||
pub const MILLICENTS: Balance = 1_000_000_000;
|
pub const MILLICENTS: Balance = 1_000_000_000;
|
||||||
pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent.
|
pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent.
|
||||||
@@ -32,7 +32,7 @@ pub mod currency {
|
|||||||
|
|
||||||
/// Time.
|
/// Time.
|
||||||
pub mod time {
|
pub mod time {
|
||||||
use node_primitives::{BlockNumber, Moment};
|
use pez_node_primitives::{BlockNumber, Moment};
|
||||||
|
|
||||||
/// Since BABE is probabilistic this is the average expected block time that
|
/// Since BABE is probabilistic this is the average expected block time that
|
||||||
/// we are targeting. Blocks will be produced at a minimum duration defined
|
/// we are targeting. Blocks will be produced at a minimum duration defined
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ use pezframe_system::{
|
|||||||
limits::{BlockLength, BlockWeights},
|
limits::{BlockLength, BlockWeights},
|
||||||
EnsureRoot, EnsureRootWithSuccess, EnsureSigned, EnsureSignedBy, EnsureWithSuccess,
|
EnsureRoot, EnsureRootWithSuccess, EnsureSigned, EnsureSignedBy, EnsureWithSuccess,
|
||||||
};
|
};
|
||||||
pub use node_primitives::{AccountId, Signature};
|
pub use pez_node_primitives::{AccountId, Signature};
|
||||||
use node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce};
|
use pez_node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce};
|
||||||
use pezpallet_asset_conversion::{AccountIdConverter, Ascending, Chain, WithFirstAsset};
|
use pezpallet_asset_conversion::{AccountIdConverter, Ascending, Chain, WithFirstAsset};
|
||||||
use pezpallet_asset_conversion_tx_payment::SwapAssetAdapter;
|
use pezpallet_asset_conversion_tx_payment::SwapAssetAdapter;
|
||||||
use pezpallet_assets_precompiles::{InlineIdConfig, ERC20};
|
use pezpallet_assets_precompiles::{InlineIdConfig, ERC20};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "node-testing"
|
name = "pez-node-testing"
|
||||||
version = "3.0.0-dev"
|
version = "3.0.0-dev"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Test utilities for Bizinikiwi node."
|
description = "Test utilities for Bizinikiwi node."
|
||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
documentation = "https://docs.rs/node-testing"
|
documentation = "https://docs.rs/pez-node-testing"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -22,10 +22,10 @@ pezframe-metadata-hash-extension = { workspace = true, default-features = true }
|
|||||||
pezframe-system = { workspace = true, default-features = true }
|
pezframe-system = { workspace = true, default-features = true }
|
||||||
fs_extra = { workspace = true }
|
fs_extra = { workspace = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
kitchensink-runtime = { workspace = true }
|
pez-kitchensink-runtime = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
node-cli = { workspace = true }
|
node-cli = { workspace = true }
|
||||||
node-primitives = { workspace = true, default-features = true }
|
pez-node-primitives = { workspace = true, default-features = true }
|
||||||
pezpallet-asset-conversion = { workspace = true, default-features = true }
|
pezpallet-asset-conversion = { workspace = true, default-features = true }
|
||||||
pezpallet-asset-conversion-tx-payment = { workspace = true, default-features = true }
|
pezpallet-asset-conversion-tx-payment = { workspace = true, default-features = true }
|
||||||
pezpallet-revive = { workspace = true, default-features = true }
|
pezpallet-revive = { workspace = true, default-features = true }
|
||||||
@@ -57,9 +57,9 @@ tempfile = { workspace = true }
|
|||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"pezframe-metadata-hash-extension/runtime-benchmarks",
|
"pezframe-metadata-hash-extension/runtime-benchmarks",
|
||||||
"pezframe-system/runtime-benchmarks",
|
"pezframe-system/runtime-benchmarks",
|
||||||
"kitchensink-runtime/runtime-benchmarks",
|
"pez-kitchensink-runtime/runtime-benchmarks",
|
||||||
"node-cli/runtime-benchmarks",
|
"node-cli/runtime-benchmarks",
|
||||||
"node-primitives/runtime-benchmarks",
|
"pez-node-primitives/runtime-benchmarks",
|
||||||
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
|
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
|
||||||
"pezpallet-asset-conversion/runtime-benchmarks",
|
"pezpallet-asset-conversion/runtime-benchmarks",
|
||||||
"pezpallet-revive/runtime-benchmarks",
|
"pezpallet-revive/runtime-benchmarks",
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ use crate::{
|
|||||||
};
|
};
|
||||||
use codec::{Decode, Encode};
|
use codec::{Decode, Encode};
|
||||||
use futures::executor;
|
use futures::executor;
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::currency::DOLLARS, AccountId, BalancesCall, CheckedExtrinsic, MinimumPeriod,
|
constants::currency::DOLLARS, AccountId, BalancesCall, CheckedExtrinsic, MinimumPeriod,
|
||||||
RuntimeCall, Signature, SystemCall, UncheckedExtrinsic,
|
RuntimeCall, Signature, SystemCall, UncheckedExtrinsic,
|
||||||
};
|
};
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use pezsc_block_builder::BlockBuilderBuilder;
|
use pezsc_block_builder::BlockBuilderBuilder;
|
||||||
use pezsc_client_api::{execution_extensions::ExecutionExtensions, UsageProvider};
|
use pezsc_client_api::{execution_extensions::ExecutionExtensions, UsageProvider};
|
||||||
use pezsc_client_db::PruningMode;
|
use pezsc_client_db::PruningMode;
|
||||||
@@ -267,7 +267,7 @@ pub struct BlockContentIterator<'a> {
|
|||||||
iteration: usize,
|
iteration: usize,
|
||||||
content: BlockContent,
|
content: BlockContent,
|
||||||
runtime_version: pezsc_executor::RuntimeVersion,
|
runtime_version: pezsc_executor::RuntimeVersion,
|
||||||
genesis_hash: node_primitives::Hash,
|
genesis_hash: pez_node_primitives::Hash,
|
||||||
keyring: &'a BenchKeyring,
|
keyring: &'a BenchKeyring,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -301,13 +301,13 @@ impl<'a> Iterator for BlockContentIterator<'a> {
|
|||||||
CheckedExtrinsic {
|
CheckedExtrinsic {
|
||||||
format: ExtrinsicFormat::Signed(
|
format: ExtrinsicFormat::Signed(
|
||||||
sender,
|
sender,
|
||||||
tx_ext(0, kitchensink_runtime::ExistentialDeposit::get() + 1),
|
tx_ext(0, pez_kitchensink_runtime::ExistentialDeposit::get() + 1),
|
||||||
),
|
),
|
||||||
function: match self.content.block_type {
|
function: match self.content.block_type {
|
||||||
BlockType::RandomTransfersKeepAlive =>
|
BlockType::RandomTransfersKeepAlive =>
|
||||||
RuntimeCall::Balances(BalancesCall::transfer_keep_alive {
|
RuntimeCall::Balances(BalancesCall::transfer_keep_alive {
|
||||||
dest: pezsp_runtime::MultiAddress::Id(receiver),
|
dest: pezsp_runtime::MultiAddress::Id(receiver),
|
||||||
value: kitchensink_runtime::ExistentialDeposit::get() + 1,
|
value: pez_kitchensink_runtime::ExistentialDeposit::get() + 1,
|
||||||
}),
|
}),
|
||||||
BlockType::RandomTransfersReaping => {
|
BlockType::RandomTransfersReaping => {
|
||||||
RuntimeCall::Balances(BalancesCall::transfer_allow_death {
|
RuntimeCall::Balances(BalancesCall::transfer_allow_death {
|
||||||
@@ -315,7 +315,7 @@ impl<'a> Iterator for BlockContentIterator<'a> {
|
|||||||
// Transfer so that ending balance would be 1 less than existential
|
// Transfer so that ending balance would be 1 less than existential
|
||||||
// deposit so that we kill the sender account.
|
// deposit so that we kill the sender account.
|
||||||
value: 100 * DOLLARS -
|
value: 100 * DOLLARS -
|
||||||
(kitchensink_runtime::ExistentialDeposit::get() - 1),
|
(pez_kitchensink_runtime::ExistentialDeposit::get() - 1),
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
BlockType::Noop =>
|
BlockType::Noop =>
|
||||||
@@ -610,7 +610,7 @@ impl BenchKeyring {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Generate genesis with accounts from this keyring endowed with some balance and
|
/// Generate genesis with accounts from this keyring endowed with some balance and
|
||||||
/// kitchensink_runtime code blob.
|
/// pez_kitchensink_runtime code blob.
|
||||||
pub fn as_storage_builder(&self) -> &dyn pezsp_runtime::BuildStorage {
|
pub fn as_storage_builder(&self) -> &dyn pezsp_runtime::BuildStorage {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
@@ -620,7 +620,7 @@ impl pezsp_runtime::BuildStorage for BenchKeyring {
|
|||||||
fn assimilate_storage(&self, storage: &mut pezsp_core::storage::Storage) -> Result<(), String> {
|
fn assimilate_storage(&self, storage: &mut pezsp_core::storage::Storage) -> Result<(), String> {
|
||||||
storage.top.insert(
|
storage.top.insert(
|
||||||
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
||||||
kitchensink_runtime::wasm_binary_unwrap().into(),
|
pez_kitchensink_runtime::wasm_binary_unwrap().into(),
|
||||||
);
|
);
|
||||||
crate::genesis::config_endowed(self.collect_account_ids()).assimilate_storage(storage)
|
crate::genesis::config_endowed(self.collect_account_ids()).assimilate_storage(storage)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,24 +16,24 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! Utilities to build a `TestClient` for `kitchensink-runtime`.
|
//! Utilities to build a `TestClient` for `pez-kitchensink-runtime`.
|
||||||
|
|
||||||
use pezsp_runtime::BuildStorage;
|
use pezsp_runtime::BuildStorage;
|
||||||
/// Re-export test-client utilities.
|
/// Re-export test-client utilities.
|
||||||
pub use bizinikiwi_test_client::*;
|
pub use bizinikiwi_test_client::*;
|
||||||
|
|
||||||
/// Call executor for `kitchensink-runtime` `TestClient`.
|
/// Call executor for `pez-kitchensink-runtime` `TestClient`.
|
||||||
use node_cli::service::RuntimeExecutor;
|
use node_cli::service::RuntimeExecutor;
|
||||||
|
|
||||||
/// Default backend type.
|
/// Default backend type.
|
||||||
pub type Backend = pezsc_client_db::Backend<node_primitives::Block>;
|
pub type Backend = pezsc_client_db::Backend<pez_node_primitives::Block>;
|
||||||
|
|
||||||
/// Test client type.
|
/// Test client type.
|
||||||
pub type Client = client::Client<
|
pub type Client = client::Client<
|
||||||
Backend,
|
Backend,
|
||||||
client::LocalCallExecutor<node_primitives::Block, Backend, RuntimeExecutor>,
|
client::LocalCallExecutor<pez_node_primitives::Block, Backend, RuntimeExecutor>,
|
||||||
node_primitives::Block,
|
pez_node_primitives::Block,
|
||||||
kitchensink_runtime::RuntimeApi,
|
pez_kitchensink_runtime::RuntimeApi,
|
||||||
>;
|
>;
|
||||||
|
|
||||||
/// Genesis configuration parameters for `TestClient`.
|
/// Genesis configuration parameters for `TestClient`.
|
||||||
@@ -45,7 +45,7 @@ impl bizinikiwi_test_client::GenesisInit for GenesisParameters {
|
|||||||
let mut storage = crate::genesis::config().build_storage().unwrap();
|
let mut storage = crate::genesis::config().build_storage().unwrap();
|
||||||
storage.top.insert(
|
storage.top.insert(
|
||||||
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
||||||
kitchensink_runtime::wasm_binary_unwrap().into(),
|
pez_kitchensink_runtime::wasm_binary_unwrap().into(),
|
||||||
);
|
);
|
||||||
storage
|
storage
|
||||||
}
|
}
|
||||||
@@ -62,8 +62,8 @@ pub trait TestClientBuilderExt: Sized {
|
|||||||
|
|
||||||
impl TestClientBuilderExt
|
impl TestClientBuilderExt
|
||||||
for bizinikiwi_test_client::TestClientBuilder<
|
for bizinikiwi_test_client::TestClientBuilder<
|
||||||
node_primitives::Block,
|
pez_node_primitives::Block,
|
||||||
client::LocalCallExecutor<node_primitives::Block, Backend, RuntimeExecutor>,
|
client::LocalCallExecutor<pez_node_primitives::Block, Backend, RuntimeExecutor>,
|
||||||
Backend,
|
Backend,
|
||||||
GenesisParameters,
|
GenesisParameters,
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
//! Genesis Configuration.
|
//! Genesis Configuration.
|
||||||
|
|
||||||
use crate::keyring::*;
|
use crate::keyring::*;
|
||||||
use kitchensink_runtime::{
|
use pez_kitchensink_runtime::{
|
||||||
constants::currency::*, AccountId, AssetsConfig, BalancesConfig, IndicesConfig,
|
constants::currency::*, AccountId, AssetsConfig, BalancesConfig, IndicesConfig,
|
||||||
RuntimeGenesisConfig, SessionConfig, SocietyConfig, StakerStatus, StakingConfig,
|
RuntimeGenesisConfig, SessionConfig, SocietyConfig, StakerStatus, StakingConfig,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
//! Test accounts.
|
//! Test accounts.
|
||||||
|
|
||||||
use codec::Encode;
|
use codec::Encode;
|
||||||
use kitchensink_runtime::{CheckedExtrinsic, SessionKeys, TxExtension, UncheckedExtrinsic};
|
use pez_kitchensink_runtime::{CheckedExtrinsic, SessionKeys, TxExtension, UncheckedExtrinsic};
|
||||||
use node_primitives::{AccountId, Balance, Nonce};
|
use pez_node_primitives::{AccountId, Balance, Nonce};
|
||||||
use pezsp_core::{crypto::get_public_from_string_or_panic, ecdsa, ed25519, sr25519};
|
use pezsp_core::{crypto::get_public_from_string_or_panic, ecdsa, ed25519, sr25519};
|
||||||
use pezsp_crypto_hashing::blake2_256;
|
use pezsp_crypto_hashing::blake2_256;
|
||||||
use pezsp_keyring::Sr25519Keyring;
|
use pezsp_keyring::Sr25519Keyring;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "subkey"
|
name = "pez-subkey"
|
||||||
version = "9.0.0"
|
version = "9.0.0"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
description = "Generate and restore keys for Bizinikiwi based chains such as Pezkuwi, Kusama and a growing number of teyrchains and Bizinikiwi based projects."
|
description = "Generate and restore keys for Bizinikiwi based chains such as Pezkuwi, Kusama and a growing number of teyrchains and Bizinikiwi based projects."
|
||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
documentation = "https://docs.rs/subkey"
|
documentation = "https://docs.rs/pez-subkey"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
|||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
name = "subkey"
|
name = "pez-subkey"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { features = ["derive"], workspace = true }
|
clap = { features = ["derive"], workspace = true }
|
||||||
@@ -3,26 +3,26 @@
|
|||||||
Subkey is a commandline utility included with Bizinikiwi. It allows generating and restoring keys for Bizinikiwi based
|
Subkey is a commandline utility included with Bizinikiwi. It allows generating and restoring keys for Bizinikiwi based
|
||||||
chains such as PezkuwiChain, Kusama and a growing number of teyrchains and Bizinikiwi based projects.
|
chains such as PezkuwiChain, Kusama and a growing number of teyrchains and Bizinikiwi based projects.
|
||||||
|
|
||||||
`subkey` provides a few sub-commands to generate keys, check keys, sign messages, verify messages, etc...
|
`pez_subkey` provides a few sub-commands to generate keys, check keys, sign messages, verify messages, etc...
|
||||||
|
|
||||||
You can see the full list of commands with `subkey --help`. Most commands have additional help available with for
|
You can see the full list of commands with `pez_subkey --help`. Most commands have additional help available with for
|
||||||
instance `subkey generate --help` for the `generate` command.
|
instance `pez_subkey generate --help` for the `generate` command.
|
||||||
|
|
||||||
## Safety first
|
## Safety first
|
||||||
|
|
||||||
`subkey` does not need an internet connection to work. Indeed, for the best security, you should be using `subkey` on a
|
`pez_subkey` does not need an internet connection to work. Indeed, for the best security, you should be using `pez_subkey` on a
|
||||||
machine that is **not connected** to the internet.
|
machine that is **not connected** to the internet.
|
||||||
|
|
||||||
`subkey` deals with **seeds** and **private keys**. Make sure to use `subkey` in a safe environment (ie. no one looking
|
`pez_subkey` deals with **seeds** and **private keys**. Make sure to use `pez_subkey` in a safe environment (ie. no one looking
|
||||||
over your shoulder) and on a safe computer (ie. no one able to check your command history).
|
over your shoulder) and on a safe computer (ie. no one able to check your command history).
|
||||||
|
|
||||||
If you save any output of `subkey` into a file, make sure to apply proper permissions and/or delete the file as soon as
|
If you save any output of `pez_subkey` into a file, make sure to apply proper permissions and/or delete the file as soon as
|
||||||
possible.
|
possible.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The following guide explains *some* of the `subkey` commands. For the full list and the most up to date documentation,
|
The following guide explains *some* of the `pez_subkey` commands. For the full list and the most up to date documentation,
|
||||||
make sure to check the integrated help with `subkey --help`.
|
make sure to check the integrated help with `pez_subkey --help`.
|
||||||
|
|
||||||
### Install with Cargo
|
### Install with Cargo
|
||||||
|
|
||||||
@@ -32,8 +32,8 @@ dependencies and Subkey, respectively:
|
|||||||
Command:
|
Command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install only `subkey`, at a specific version of the subkey crate
|
# Install only `pez_subkey`, at a specific version of the pez_subkey crate
|
||||||
cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
|
cargo install --force pez_subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
|
||||||
# If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
|
# If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Use `--pull=always` with the `latest` tag, or specify a version in a tag
|
# Use `--pull=always` with the `latest` tag, or specify a version in a tag
|
||||||
docker run -it --pull=always docker.io/parity/subkey:latest <command to subkey>
|
docker run -it --pull=always docker.io/parity/pez_subkey:latest <command to pez_subkey>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Generate a random account
|
### Generate a random account
|
||||||
@@ -49,7 +49,7 @@ docker run -it --pull=always docker.io/parity/subkey:latest <command to subkey>
|
|||||||
Generating a new key is as simple as running:
|
Generating a new key is as simple as running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey generate
|
pez_subkey generate
|
||||||
```
|
```
|
||||||
|
|
||||||
The output looks similar to:
|
The output looks similar to:
|
||||||
@@ -90,12 +90,12 @@ SS58 addresses are:
|
|||||||
|
|
||||||
### Json output
|
### Json output
|
||||||
|
|
||||||
`subkey` can also generate the output as *json*. This is useful for automation.
|
`pez_subkey` can also generate the output as *json*. This is useful for automation.
|
||||||
|
|
||||||
command:
|
command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey generate --output-type json
|
pez_subkey generate --output-type json
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -115,7 +115,7 @@ So if you only want to get the `secretSeed` for instance, you can use:
|
|||||||
command:
|
command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey generate --output-type json | jq -r .secretSeed
|
pez_subkey generate --output-type json | jq -r .secretSeed
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -126,10 +126,10 @@ output:
|
|||||||
|
|
||||||
### Additional user-defined password
|
### Additional user-defined password
|
||||||
|
|
||||||
`subkey` supports an additional user-defined secret that will be appended to the seed. Let's see the following example:
|
`pez_subkey` supports an additional user-defined secret that will be appended to the seed. Let's see the following example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey generate --password extra_secret
|
pez_subkey generate --password extra_secret
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -146,7 +146,7 @@ Using the `inspect` command (see more details below), we see that knowing only t
|
|||||||
sufficient to recover the account:
|
sufficient to recover the account:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey inspect "soup lyrics media market way crouch elevator put moon useful question wide"
|
pez_subkey inspect "soup lyrics media market way crouch elevator put moon useful question wide"
|
||||||
```
|
```
|
||||||
|
|
||||||
which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` and not
|
which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` and not
|
||||||
@@ -155,25 +155,25 @@ which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` an
|
|||||||
this time passing also the required `password` as shown below:
|
this time passing also the required `password` as shown below:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey inspect --password extra_secret "soup lyrics media market way crouch elevator put moon useful question wide"
|
pez_subkey inspect --password extra_secret "soup lyrics media market way crouch elevator put moon useful question wide"
|
||||||
```
|
```
|
||||||
|
|
||||||
This time, we properly recovered `5He5pZpc7AJ8evPuab37vJF6KkFDqq9uDq2WXh877Qw6iaVC`.
|
This time, we properly recovered `5He5pZpc7AJ8evPuab37vJF6KkFDqq9uDq2WXh877Qw6iaVC`.
|
||||||
|
|
||||||
### Inspecting a key
|
### Inspecting a key
|
||||||
|
|
||||||
If you have *some data* about a key, `subkey inspect` will help you discover more information about it.
|
If you have *some data* about a key, `pez_subkey inspect` will help you discover more information about it.
|
||||||
|
|
||||||
If you have **secrets** that you would like to verify for instance, you can use:
|
If you have **secrets** that you would like to verify for instance, you can use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey inspect < mnemonic | seed >
|
pez_subkey inspect < mnemonic | seed >
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have only **public data**, you can see a subset of the information:
|
If you have only **public data**, you can see a subset of the information:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey inspect --public < pubkey | address >
|
pez_subkey inspect --public < pubkey | address >
|
||||||
```
|
```
|
||||||
|
|
||||||
**NOTE**: While you will be able to recover the secret seed from the mnemonic, the opposite is not possible.
|
**NOTE**: While you will be able to recover the secret seed from the mnemonic, the opposite is not possible.
|
||||||
@@ -184,7 +184,7 @@ subkey inspect --public < pubkey | address >
|
|||||||
command:
|
command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
pez_subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -199,11 +199,11 @@ Secret Key URI `0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c9
|
|||||||
|
|
||||||
### Signing
|
### Signing
|
||||||
|
|
||||||
`subkey` allows using a **secret key** to sign a random message. The signature can then be verified by anyone using your
|
`pez_subkey` allows using a **secret key** to sign a random message. The signature can then be verified by anyone using your
|
||||||
**public key**:
|
**public key**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo -n <msg> | subkey sign --suri <seed|mnemonic>
|
echo -n <msg> | pez_subkey sign --suri <seed|mnemonic>
|
||||||
```
|
```
|
||||||
|
|
||||||
example:
|
example:
|
||||||
@@ -211,7 +211,7 @@ example:
|
|||||||
```text
|
```text
|
||||||
MESSAGE=hello
|
MESSAGE=hello
|
||||||
SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
||||||
echo -n $MESSAGE | subkey sign --suri $SURI
|
echo -n $MESSAGE | pez_subkey sign --suri $SURI
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -225,11 +225,11 @@ valid.
|
|||||||
|
|
||||||
### Verifying a signature
|
### Verifying a signature
|
||||||
|
|
||||||
Given a message, a signature and an address, `subkey` can verify whether the **message** has been digitally signed by
|
Given a message, a signature and an address, `pez_subkey` can verify whether the **message** has been digitally signed by
|
||||||
the holder (or one of the holders) of the **private key** for the given **address**:
|
the holder (or one of the holders) of the **private key** for the given **address**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo -n <msg> | subkey verify <sig> <address>
|
echo -n <msg> | pez_subkey verify <sig> <address>
|
||||||
```
|
```
|
||||||
|
|
||||||
example:
|
example:
|
||||||
@@ -238,7 +238,7 @@ example:
|
|||||||
MESSAGE=hello
|
MESSAGE=hello
|
||||||
URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515
|
URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515
|
||||||
SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c
|
SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c
|
||||||
echo -n $MESSAGE | subkey verify $SIGNATURE $URI
|
echo -n $MESSAGE | pez_subkey verify $SIGNATURE $URI
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@@ -261,7 +261,7 @@ warned, depending on your hardware this may take a while.
|
|||||||
command:
|
command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subkey vanity --network pezkuwi --pattern bob
|
pez_subkey vanity --network pezkuwi --pattern bob
|
||||||
```
|
```
|
||||||
|
|
||||||
output:
|
output:
|
||||||
+1
-1
@@ -5,7 +5,7 @@ security and risks in the [Pezkuwi Wiki](https://wiki.network.pezkuwichain.io/do
|
|||||||
network has a few **test networks**, e.g. **Zagros**. Test networks are a great way to experiment and learn safely as
|
network has a few **test networks**, e.g. **Zagros**. Test networks are a great way to experiment and learn safely as
|
||||||
you can lose tokens on those networks without any financial consequences.
|
you can lose tokens on those networks without any financial consequences.
|
||||||
|
|
||||||
`subkey` generates and provides 2 pieces of **secret** information:
|
`pez_subkey` generates and provides 2 pieces of **secret** information:
|
||||||
- **secret phrase**: a bunch of words, exactly 12 by default (can be 12, 15, 18, 21 or 24)
|
- **secret phrase**: a bunch of words, exactly 12 by default (can be 12, 15, 18, 21 or 24)
|
||||||
- **secret seed**: a big hexadecimal value
|
- **secret seed**: a big hexadecimal value
|
||||||
|
|
||||||
+33
-33
@@ -22,28 +22,28 @@
|
|||||||
//! for Bizinikiwi based chains such as Pezkuwi, Kusama and a growing number of teyrchains and
|
//! for Bizinikiwi based chains such as Pezkuwi, Kusama and a growing number of teyrchains and
|
||||||
//! Bizinikiwi based projects.
|
//! Bizinikiwi based projects.
|
||||||
|
|
||||||
//! `subkey` provides a few sub-commands to generate keys, check keys, sign messages, verify
|
//! `pez_subkey` provides a few sub-commands to generate keys, check keys, sign messages, verify
|
||||||
//! messages, etc...
|
//! messages, etc...
|
||||||
//!
|
//!
|
||||||
//! You can see the full list of commands with `subkey --help`. Most commands have additional help
|
//! You can see the full list of commands with `pez_subkey --help`. Most commands have additional help
|
||||||
//! available with for instance `subkey generate --help` for the `generate` command.
|
//! available with for instance `pez_subkey generate --help` for the `generate` command.
|
||||||
//!
|
//!
|
||||||
//! ## Safety first
|
//! ## Safety first
|
||||||
//!
|
//!
|
||||||
//! `subkey` does not need an internet connection to work. Indeed, for the best security, you should
|
//! `pez_subkey` does not need an internet connection to work. Indeed, for the best security, you should
|
||||||
//! be using `subkey` on a machine that is **not connected** to the internet.
|
//! be using `pez_subkey` on a machine that is **not connected** to the internet.
|
||||||
//!
|
//!
|
||||||
//! `subkey` deals with **seeds** and **private keys**. Make sure to use `subkey` in a safe
|
//! `pez_subkey` deals with **seeds** and **private keys**. Make sure to use `pez_subkey` in a safe
|
||||||
//! environment (ie. no one looking over your shoulder) and on a safe computer (ie. no one able to
|
//! environment (ie. no one looking over your shoulder) and on a safe computer (ie. no one able to
|
||||||
//! check your command history).
|
//! check your command history).
|
||||||
//!
|
//!
|
||||||
//! If you save any output of `subkey` into a file, make sure to apply proper permissions and/or
|
//! If you save any output of `pez_subkey` into a file, make sure to apply proper permissions and/or
|
||||||
//! delete the file as soon as possible.
|
//! delete the file as soon as possible.
|
||||||
//!
|
//!
|
||||||
//! ## Usage
|
//! ## Usage
|
||||||
//!
|
//!
|
||||||
//! The following guide explains *some* of the `subkey` commands. For the full list and the most up
|
//! The following guide explains *some* of the `pez_subkey` commands. For the full list and the most up
|
||||||
//! to date documentation, make sure to check the integrated help with `subkey --help`.
|
//! to date documentation, make sure to check the integrated help with `pez_subkey --help`.
|
||||||
//!
|
//!
|
||||||
//! ### Install with Cargo
|
//! ### Install with Cargo
|
||||||
//!
|
//!
|
||||||
@@ -53,8 +53,8 @@
|
|||||||
//! Command:
|
//! Command:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! # Install only `subkey`, at a specific version of the subkey crate
|
//! # Install only `pez_subkey`, at a specific version of the pez_subkey crate
|
||||||
//! cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
|
//! cargo install --force pez_subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
|
||||||
//! # If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
|
//! # If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! # Use `--pull=always` with the `latest` tag, or specify a version in a tag
|
//! # Use `--pull=always` with the `latest` tag, or specify a version in a tag
|
||||||
//! docker run -it --pull=always docker.io/parity/subkey:latest <command to subkey>
|
//! docker run -it --pull=always docker.io/parity/pez_subkey:latest <command to pez_subkey>
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! ### Generate a random account
|
//! ### Generate a random account
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
//! Generating a new key is as simple as running:
|
//! Generating a new key is as simple as running:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey generate
|
//! pez_subkey generate
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! The output looks similar to:
|
//! The output looks similar to:
|
||||||
@@ -110,12 +110,12 @@
|
|||||||
//!
|
//!
|
||||||
//! ### Json output
|
//! ### Json output
|
||||||
//!
|
//!
|
||||||
//! `subkey` can also generate the output as *json*. This is useful for automation.
|
//! `pez_subkey` can also generate the output as *json*. This is useful for automation.
|
||||||
//!
|
//!
|
||||||
//! command:
|
//! command:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey generate --output-type json
|
//! pez_subkey generate --output-type json
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
//! command:
|
//! command:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey generate --output-type json | jq -r .secretSeed
|
//! pez_subkey generate --output-type json | jq -r .secretSeed
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -146,11 +146,11 @@
|
|||||||
//!
|
//!
|
||||||
//! ### Additional user-defined password
|
//! ### Additional user-defined password
|
||||||
//!
|
//!
|
||||||
//! `subkey` supports an additional user-defined secret that will be appended to the seed. Let's see
|
//! `pez_subkey` supports an additional user-defined secret that will be appended to the seed. Let's see
|
||||||
//! the following example:
|
//! the following example:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey generate --password extra_secret
|
//! pez_subkey generate --password extra_secret
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
//! seed** is no longer sufficient to recover the account:
|
//! seed** is no longer sufficient to recover the account:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey inspect "soup lyrics media market way crouch elevator put moon useful question wide"
|
//! pez_subkey inspect "soup lyrics media market way crouch elevator put moon useful question wide"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` and not
|
//! which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` and not
|
||||||
@@ -177,26 +177,26 @@
|
|||||||
//! below:
|
//! below:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey inspect --password extra_secret "soup lyrics media market way crouch elevator put moon useful question wide"
|
//! pez_subkey inspect --password extra_secret "soup lyrics media market way crouch elevator put moon useful question wide"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! This time, we properly recovered `5He5pZpc7AJ8evPuab37vJF6KkFDqq9uDq2WXh877Qw6iaVC`.
|
//! This time, we properly recovered `5He5pZpc7AJ8evPuab37vJF6KkFDqq9uDq2WXh877Qw6iaVC`.
|
||||||
//!
|
//!
|
||||||
//! ### Inspecting a key
|
//! ### Inspecting a key
|
||||||
//!
|
//!
|
||||||
//! If you have *some data* about a key, `subkey inspect` will help you discover more information
|
//! If you have *some data* about a key, `pez_subkey inspect` will help you discover more information
|
||||||
//! about it.
|
//! about it.
|
||||||
//!
|
//!
|
||||||
//! If you have **secrets** that you would like to verify for instance, you can use:
|
//! If you have **secrets** that you would like to verify for instance, you can use:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey inspect < mnemonic | seed >
|
//! pez_subkey inspect < mnemonic | seed >
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! If you have only **public data**, you can see a subset of the information:
|
//! If you have only **public data**, you can see a subset of the information:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey inspect --public < pubkey | address >
|
//! pez_subkey inspect --public < pubkey | address >
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! **NOTE**: While you will be able to recover the secret seed from the mnemonic, the opposite is
|
//! **NOTE**: While you will be able to recover the secret seed from the mnemonic, the opposite is
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
//! command:
|
//! command:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
//! pez_subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -223,11 +223,11 @@
|
|||||||
//!
|
//!
|
||||||
//! ### Signing
|
//! ### Signing
|
||||||
//!
|
//!
|
||||||
//! `subkey` allows using a **secret key** to sign a random message. The signature can then be
|
//! `pez_subkey` allows using a **secret key** to sign a random message. The signature can then be
|
||||||
//! verified by anyone using your **public key**:
|
//! verified by anyone using your **public key**:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! echo -n <msg> | subkey sign --suri <seed|mnemonic>
|
//! echo -n <msg> | pez_subkey sign --suri <seed|mnemonic>
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! example:
|
//! example:
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
//! ```text
|
//! ```text
|
||||||
//! MESSAGE=hello
|
//! MESSAGE=hello
|
||||||
//! SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
//! SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d
|
||||||
//! echo -n $MESSAGE | subkey sign --suri $SURI
|
//! echo -n $MESSAGE | pez_subkey sign --suri $SURI
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -249,12 +249,12 @@
|
|||||||
//!
|
//!
|
||||||
//! ### Verifying a signature
|
//! ### Verifying a signature
|
||||||
//!
|
//!
|
||||||
//! Given a message, a signature and an address, `subkey` can verify whether the **message** has
|
//! Given a message, a signature and an address, `pez_subkey` can verify whether the **message** has
|
||||||
//! been digitally signed by the holder (or one of the holders) of the **private key** for the given
|
//! been digitally signed by the holder (or one of the holders) of the **private key** for the given
|
||||||
//! **address**:
|
//! **address**:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! echo -n <msg> | subkey verify <sig> <address>
|
//! echo -n <msg> | pez_subkey verify <sig> <address>
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! example:
|
//! example:
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
//! MESSAGE=hello
|
//! MESSAGE=hello
|
||||||
//! URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515
|
//! URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515
|
||||||
//! SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c
|
//! SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c
|
||||||
//! echo -n $MESSAGE | subkey verify $SIGNATURE $URI
|
//! echo -n $MESSAGE | pez_subkey verify $SIGNATURE $URI
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -286,7 +286,7 @@
|
|||||||
//! command:
|
//! command:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! subkey vanity --network pezkuwi --pattern bob
|
//! pez_subkey vanity --network pezkuwi --pattern bob
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! output:
|
//! output:
|
||||||
@@ -316,7 +316,7 @@ use pezsc_cli::{
|
|||||||
|
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
#[command(
|
#[command(
|
||||||
name = "subkey",
|
name = "pez_subkey",
|
||||||
author = "Parity Team <admin@parity.io>",
|
author = "Parity Team <admin@parity.io>",
|
||||||
about = "Utility for generating and restoring with Bizinikiwi keys",
|
about = "Utility for generating and restoring with Bizinikiwi keys",
|
||||||
version
|
version
|
||||||
@@ -345,7 +345,7 @@ pub enum Subkey {
|
|||||||
Verify(VerifyCmd),
|
Verify(VerifyCmd),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Run the subkey command, given the appropriate runtime.
|
/// Run the pez_subkey command, given the appropriate runtime.
|
||||||
pub fn run() -> Result<(), Error> {
|
pub fn run() -> Result<(), Error> {
|
||||||
match Subkey::parse() {
|
match Subkey::parse() {
|
||||||
Subkey::GenerateNodeKey(cmd) => cmd.run(),
|
Subkey::GenerateNodeKey(cmd) => cmd.run(),
|
||||||
+2
-2
@@ -16,8 +16,8 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! Subkey utility, based on kitchensink_runtime.
|
//! Subkey utility, based on pez_kitchensink_runtime.
|
||||||
|
|
||||||
fn main() -> Result<(), pezsc_cli::Error> {
|
fn main() -> Result<(), pezsc_cli::Error> {
|
||||||
subkey::run()
|
pez_subkey::run()
|
||||||
}
|
}
|
||||||
@@ -28,7 +28,7 @@ use std::{
|
|||||||
path::PathBuf,
|
path::PathBuf,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Common arguments accross all generate key commands, subkey and node.
|
/// Common arguments accross all generate key commands, pez_subkey and node.
|
||||||
#[derive(Debug, Args, Clone)]
|
#[derive(Debug, Args, Clone)]
|
||||||
pub struct GenerateKeyCmdCommon {
|
pub struct GenerateKeyCmdCommon {
|
||||||
/// Name of file to save secret key to.
|
/// Name of file to save secret key to.
|
||||||
|
|||||||
@@ -16,6 +16,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! Integration tests for subkey commands.
|
//! Integration tests for pez_subkey commands.
|
||||||
|
|
||||||
mod sig_verify;
|
mod sig_verify;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = { workspace = true }
|
async-trait = { workspace = true }
|
||||||
codec = { workspace = true, default-features = true }
|
codec = { workspace = true, default-features = true }
|
||||||
fork-tree = { workspace = true, default-features = true }
|
pez-fork-tree = { workspace = true, default-features = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
parking_lot = { workspace = true, default-features = true }
|
parking_lot = { workspace = true, default-features = true }
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
use std::{fmt::Debug, sync::Arc};
|
use std::{fmt::Debug, sync::Arc};
|
||||||
|
|
||||||
use codec::Codec;
|
use codec::Codec;
|
||||||
use fork_tree::ForkTree;
|
use pez_fork_tree::ForkTree;
|
||||||
use parking_lot::RwLock;
|
use parking_lot::RwLock;
|
||||||
use pezsp_api::ProvideRuntimeApi;
|
use pezsp_api::ProvideRuntimeApi;
|
||||||
use pezsp_blockchain::{HeaderBackend, HeaderMetadata};
|
use pezsp_blockchain::{HeaderBackend, HeaderMetadata};
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = { workspace = true }
|
async-trait = { workspace = true }
|
||||||
codec = { features = ["derive"], workspace = true, default-features = true }
|
codec = { features = ["derive"], workspace = true, default-features = true }
|
||||||
fork-tree = { workspace = true, default-features = true }
|
pez-fork-tree = { workspace = true, default-features = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
num-bigint = { workspace = true }
|
num-bigint = { workspace = true }
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ pub fn load_block_weight<H: Encode, B: AuxStore>(
|
|||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::migration::EpochV0;
|
use crate::migration::EpochV0;
|
||||||
use fork_tree::ForkTree;
|
use pez_fork_tree::ForkTree;
|
||||||
use pezsc_consensus_epochs::{EpochHeader, PersistedEpoch, PersistedEpochHeader};
|
use pezsc_consensus_epochs::{EpochHeader, PersistedEpoch, PersistedEpochHeader};
|
||||||
use pezsc_network_test::Block as TestBlock;
|
use pezsc_network_test::Block as TestBlock;
|
||||||
use pezsp_consensus::Error as ConsensusError;
|
use pezsp_consensus::Error as ConsensusError;
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ pub enum Error<B: BlockT> {
|
|||||||
RuntimeApi(pezsp_api::ApiError),
|
RuntimeApi(pezsp_api::ApiError),
|
||||||
/// Fork tree error
|
/// Fork tree error
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
ForkTree(Box<fork_tree::Error<pezsp_blockchain::Error>>),
|
ForkTree(Box<pez_fork_tree::Error<pezsp_blockchain::Error>>),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<B: BlockT> From<Error<B>> for String {
|
impl<B: BlockT> From<Error<B>> for String {
|
||||||
|
|||||||
@@ -340,11 +340,11 @@ the `PublicKey`, but note that it's not the case for BEEFY. As a consequence of
|
|||||||
**not** convert the `AccountId` raw bytes into a BEEFY `PublicKey`.
|
**not** convert the `AccountId` raw bytes into a BEEFY `PublicKey`.
|
||||||
|
|
||||||
The easiest way to generate or view hex-encoded or SS58-encoded BEEFY Public Key is by using the
|
The easiest way to generate or view hex-encoded or SS58-encoded BEEFY Public Key is by using the
|
||||||
[Subkey](https://bizinikiwi.dev/docs/en/knowledgebase/integrate/subkey) tool. Generate a BEEFY key
|
[Subkey](https://bizinikiwi.dev/docs/en/knowledgebase/integrate/pez_subkey) tool. Generate a BEEFY key
|
||||||
using the following command
|
using the following command
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
subkey generate --scheme ecdsa
|
pez_subkey generate --scheme ecdsa
|
||||||
```
|
```
|
||||||
|
|
||||||
The output will look something like
|
The output will look something like
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { features = ["derive"], workspace = true, default-features = true }
|
codec = { features = ["derive"], workspace = true, default-features = true }
|
||||||
fork-tree = { workspace = true, default-features = true }
|
pez-fork-tree = { workspace = true, default-features = true }
|
||||||
pezsc-client-api = { workspace = true, default-features = true }
|
pezsc-client-api = { workspace = true, default-features = true }
|
||||||
pezsc-consensus = { workspace = true, default-features = true }
|
pezsc-consensus = { workspace = true, default-features = true }
|
||||||
pezsp-blockchain = { workspace = true, default-features = true }
|
pezsp-blockchain = { workspace = true, default-features = true }
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
pub mod migration;
|
pub mod migration;
|
||||||
|
|
||||||
use codec::{Decode, Encode};
|
use codec::{Decode, Encode};
|
||||||
use fork_tree::{FilterAction, ForkTree};
|
use pez_fork_tree::{FilterAction, ForkTree};
|
||||||
use pezsc_client_api::utils::is_descendent_of;
|
use pezsc_client_api::utils::is_descendent_of;
|
||||||
use pezsp_blockchain::{Error as ClientError, HeaderBackend, HeaderMetadata};
|
use pezsp_blockchain::{Error as ClientError, HeaderBackend, HeaderMetadata};
|
||||||
use pezsp_runtime::traits::{Block as BlockT, NumberFor, One, Zero};
|
use pezsp_runtime::traits::{Block as BlockT, NumberFor, One, Zero};
|
||||||
@@ -195,7 +195,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Increment the epoch, yielding an `IncrementedEpoch` to be imported
|
/// Increment the epoch, yielding an `IncrementedEpoch` to be imported
|
||||||
/// into the fork-tree.
|
/// into the pez-fork-tree.
|
||||||
pub fn increment(&self, next_descriptor: E::NextEpochDescriptor) -> IncrementedEpoch<E> {
|
pub fn increment(&self, next_descriptor: E::NextEpochDescriptor) -> IncrementedEpoch<E> {
|
||||||
let next = self.as_ref().increment(next_descriptor);
|
let next = self.as_ref().increment(next_descriptor);
|
||||||
let to_persist = match *self {
|
let to_persist = match *self {
|
||||||
@@ -305,7 +305,7 @@ impl<E: Epoch> PersistedEpochHeader<E> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A fresh, incremented epoch to import into the underlying fork-tree.
|
/// A fresh, incremented epoch to import into the underlying pez-fork-tree.
|
||||||
///
|
///
|
||||||
/// Create this with `ViableEpoch::increment`.
|
/// Create this with `ViableEpoch::increment`.
|
||||||
#[must_use = "Freshly-incremented epoch must be imported with `EpochChanges::import`"]
|
#[must_use = "Freshly-incremented epoch must be imported with `EpochChanges::import`"]
|
||||||
@@ -401,7 +401,7 @@ where
|
|||||||
hash: &Hash,
|
hash: &Hash,
|
||||||
number: Number,
|
number: Number,
|
||||||
slot: E::Slot,
|
slot: E::Slot,
|
||||||
) -> Result<(), fork_tree::Error<D::Error>> {
|
) -> Result<(), pez_fork_tree::Error<D::Error>> {
|
||||||
let is_descendent_of = descendent_of_builder.build_is_descendent_of(None);
|
let is_descendent_of = descendent_of_builder.build_is_descendent_of(None);
|
||||||
|
|
||||||
let predicate = |epoch: &PersistedEpochHeader<E>| match *epoch {
|
let predicate = |epoch: &PersistedEpochHeader<E>| match *epoch {
|
||||||
@@ -518,7 +518,7 @@ where
|
|||||||
parent_number: Number,
|
parent_number: Number,
|
||||||
slot: E::Slot,
|
slot: E::Slot,
|
||||||
make_genesis: G,
|
make_genesis: G,
|
||||||
) -> Result<Option<E>, fork_tree::Error<D::Error>>
|
) -> Result<Option<E>, pez_fork_tree::Error<D::Error>>
|
||||||
where
|
where
|
||||||
G: FnOnce(E::Slot) -> E,
|
G: FnOnce(E::Slot) -> E,
|
||||||
E: Clone,
|
E: Clone,
|
||||||
@@ -543,13 +543,13 @@ where
|
|||||||
parent_hash: &Hash,
|
parent_hash: &Hash,
|
||||||
parent_number: Number,
|
parent_number: Number,
|
||||||
slot: E::Slot,
|
slot: E::Slot,
|
||||||
) -> Result<Option<ViableEpochDescriptor<Hash, Number, E>>, fork_tree::Error<D::Error>> {
|
) -> Result<Option<ViableEpochDescriptor<Hash, Number, E>>, pez_fork_tree::Error<D::Error>> {
|
||||||
if parent_number == Zero::zero() {
|
if parent_number == Zero::zero() {
|
||||||
// need to insert the genesis epoch.
|
// need to insert the genesis epoch.
|
||||||
return Ok(Some(ViableEpochDescriptor::UnimportedGenesis(slot)));
|
return Ok(Some(ViableEpochDescriptor::UnimportedGenesis(slot)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// find_node_where will give you the node in the fork-tree which is an ancestor
|
// find_node_where will give you the node in the pez-fork-tree which is an ancestor
|
||||||
// of the `parent_hash` by default. if the last epoch was signalled at the parent_hash,
|
// of the `parent_hash` by default. if the last epoch was signalled at the parent_hash,
|
||||||
// then it won't be returned. we need to create a new fake chain head hash which
|
// then it won't be returned. we need to create a new fake chain head hash which
|
||||||
// "descends" from our parent-hash.
|
// "descends" from our parent-hash.
|
||||||
@@ -616,7 +616,7 @@ where
|
|||||||
number: Number,
|
number: Number,
|
||||||
parent_hash: Hash,
|
parent_hash: Hash,
|
||||||
epoch: IncrementedEpoch<E>,
|
epoch: IncrementedEpoch<E>,
|
||||||
) -> Result<(), fork_tree::Error<D::Error>> {
|
) -> Result<(), pez_fork_tree::Error<D::Error>> {
|
||||||
let is_descendent_of =
|
let is_descendent_of =
|
||||||
descendent_of_builder.build_is_descendent_of(Some((hash, parent_hash)));
|
descendent_of_builder.build_is_descendent_of(Some((hash, parent_hash)));
|
||||||
let IncrementedEpoch(epoch) = epoch;
|
let IncrementedEpoch(epoch) = epoch;
|
||||||
@@ -625,7 +625,7 @@ where
|
|||||||
let res = self.inner.import(hash, number, header, &is_descendent_of);
|
let res = self.inner.import(hash, number, header, &is_descendent_of);
|
||||||
|
|
||||||
match res {
|
match res {
|
||||||
Ok(_) | Err(fork_tree::Error::Duplicate) => {
|
Ok(_) | Err(pez_fork_tree::Error::Duplicate) => {
|
||||||
self.epochs.insert((hash, number), epoch);
|
self.epochs.insert((hash, number), epoch);
|
||||||
Ok(())
|
Ok(())
|
||||||
},
|
},
|
||||||
@@ -641,14 +641,14 @@ where
|
|||||||
let persisted = PersistedEpoch::Regular(current);
|
let persisted = PersistedEpoch::Regular(current);
|
||||||
let header = PersistedEpochHeader::from(&persisted);
|
let header = PersistedEpochHeader::from(&persisted);
|
||||||
let _res = self.inner.import(parent_hash, number - One::one(), header, &|_, _| {
|
let _res = self.inner.import(parent_hash, number - One::one(), header, &|_, _| {
|
||||||
Ok(false) as Result<bool, fork_tree::Error<ClientError>>
|
Ok(false) as Result<bool, pez_fork_tree::Error<ClientError>>
|
||||||
});
|
});
|
||||||
self.epochs.insert((parent_hash, number - One::one()), persisted);
|
self.epochs.insert((parent_hash, number - One::one()), persisted);
|
||||||
|
|
||||||
let persisted = PersistedEpoch::Regular(next);
|
let persisted = PersistedEpoch::Regular(next);
|
||||||
let header = PersistedEpochHeader::from(&persisted);
|
let header = PersistedEpochHeader::from(&persisted);
|
||||||
let _res = self.inner.import(hash, number, header, &|_, _| {
|
let _res = self.inner.import(hash, number, header, &|_, _| {
|
||||||
Ok(true) as Result<bool, fork_tree::Error<ClientError>>
|
Ok(true) as Result<bool, pez_fork_tree::Error<ClientError>>
|
||||||
});
|
});
|
||||||
self.epochs.insert((hash, number), persisted);
|
self.epochs.insert((hash, number), persisted);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
use crate::{Epoch, EpochChanges, PersistedEpoch, PersistedEpochHeader};
|
use crate::{Epoch, EpochChanges, PersistedEpoch, PersistedEpochHeader};
|
||||||
use codec::{Decode, Encode};
|
use codec::{Decode, Encode};
|
||||||
use fork_tree::ForkTree;
|
use pez_fork_tree::ForkTree;
|
||||||
use pezsp_runtime::traits::{Block as BlockT, NumberFor};
|
use pezsp_runtime::traits::{Block as BlockT, NumberFor};
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ dyn-clone = { workspace = true }
|
|||||||
finality-grandpa = { features = [
|
finality-grandpa = { features = [
|
||||||
"derive-codec",
|
"derive-codec",
|
||||||
], workspace = true, default-features = true }
|
], workspace = true, default-features = true }
|
||||||
fork-tree = { workspace = true, default-features = true }
|
pez-fork-tree = { workspace = true, default-features = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
futures-timer = { workspace = true }
|
futures-timer = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ use std::{cmp::Ord, fmt::Debug, ops::Add};
|
|||||||
|
|
||||||
use codec::{Decode, Encode};
|
use codec::{Decode, Encode};
|
||||||
use finality_grandpa::voter_set::VoterSet;
|
use finality_grandpa::voter_set::VoterSet;
|
||||||
use fork_tree::{FilterAction, ForkTree};
|
use pez_fork_tree::{FilterAction, ForkTree};
|
||||||
use log::debug;
|
use log::debug;
|
||||||
use parking_lot::MappedMutexGuard;
|
use parking_lot::MappedMutexGuard;
|
||||||
use pezsc_consensus::shared_data::{SharedData, SharedDataLocked};
|
use pezsc_consensus::shared_data::{SharedData, SharedDataLocked};
|
||||||
@@ -48,14 +48,14 @@ pub enum Error<N, E> {
|
|||||||
)]
|
)]
|
||||||
ForcedAuthoritySetChangeDependencyUnsatisfied(N),
|
ForcedAuthoritySetChangeDependencyUnsatisfied(N),
|
||||||
#[error("Invalid operation in the pending changes tree: {0}")]
|
#[error("Invalid operation in the pending changes tree: {0}")]
|
||||||
ForkTree(fork_tree::Error<E>),
|
ForkTree(pez_fork_tree::Error<E>),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<N, E> From<fork_tree::Error<E>> for Error<N, E> {
|
impl<N, E> From<pez_fork_tree::Error<E>> for Error<N, E> {
|
||||||
fn from(err: fork_tree::Error<E>) -> Error<N, E> {
|
fn from(err: pez_fork_tree::Error<E>) -> Error<N, E> {
|
||||||
match err {
|
match err {
|
||||||
fork_tree::Error::Client(err) => Error::Client(err),
|
pez_fork_tree::Error::Client(err) => Error::Client(err),
|
||||||
fork_tree::Error::Duplicate => Error::DuplicateAuthoritySetChange,
|
pez_fork_tree::Error::Duplicate => Error::DuplicateAuthoritySetChange,
|
||||||
err => Error::ForkTree(err),
|
err => Error::ForkTree(err),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -558,7 +558,7 @@ where
|
|||||||
is_descendent_of,
|
is_descendent_of,
|
||||||
|change| change.effective_number() <= finalized_number,
|
|change| change.effective_number() <= finalized_number,
|
||||||
)? {
|
)? {
|
||||||
fork_tree::FinalizationResult::Changed(change) => {
|
pez_fork_tree::FinalizationResult::Changed(change) => {
|
||||||
status.changed = true;
|
status.changed = true;
|
||||||
|
|
||||||
let pending_forced_changes = std::mem::take(&mut self.pending_forced_changes);
|
let pending_forced_changes = std::mem::take(&mut self.pending_forced_changes);
|
||||||
@@ -595,7 +595,7 @@ where
|
|||||||
status.new_set_block = Some((finalized_hash, finalized_number));
|
status.new_set_block = Some((finalized_hash, finalized_number));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fork_tree::FinalizationResult::Unchanged => {},
|
pez_fork_tree::FinalizationResult::Unchanged => {},
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(status)
|
Ok(status)
|
||||||
@@ -1050,7 +1050,7 @@ mod tests {
|
|||||||
// trying to finalize past `change_c` without finalizing `change_a` first
|
// trying to finalize past `change_c` without finalizing `change_a` first
|
||||||
assert!(matches!(
|
assert!(matches!(
|
||||||
authorities.apply_standard_changes("hash_d", 40, &is_descendent_of, false, None),
|
authorities.apply_standard_changes("hash_d", 40, &is_descendent_of, false, None),
|
||||||
Err(Error::ForkTree(fork_tree::Error::UnfinalizedAncestor))
|
Err(Error::ForkTree(pez_fork_tree::Error::UnfinalizedAncestor))
|
||||||
));
|
));
|
||||||
assert_eq!(authorities.authority_set_changes, AuthoritySetChanges::empty());
|
assert_eq!(authorities.authority_set_changes, AuthoritySetChanges::empty());
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ use codec::{Decode, Encode};
|
|||||||
use finality_grandpa::round::State as RoundState;
|
use finality_grandpa::round::State as RoundState;
|
||||||
use log::{info, warn};
|
use log::{info, warn};
|
||||||
|
|
||||||
use fork_tree::ForkTree;
|
use pez_fork_tree::ForkTree;
|
||||||
use pezsc_client_api::backend::AuxStore;
|
use pezsc_client_api::backend::AuxStore;
|
||||||
use pezsp_blockchain::{Error as ClientError, Result as ClientResult};
|
use pezsp_blockchain::{Error as ClientError, Result as ClientResult};
|
||||||
use pezsp_consensus_grandpa::{AuthorityList, RoundNumber, SetId};
|
use pezsp_consensus_grandpa::{AuthorityList, RoundNumber, SetId};
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ where
|
|||||||
let authority_set = AuthoritySet::new(
|
let authority_set = AuthoritySet::new(
|
||||||
authorities.clone(),
|
authorities.clone(),
|
||||||
set_id,
|
set_id,
|
||||||
fork_tree::ForkTree::new(),
|
pez_fork_tree::ForkTree::new(),
|
||||||
Vec::new(),
|
Vec::new(),
|
||||||
AuthoritySetChanges::empty(),
|
AuthoritySetChanges::empty(),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ sysinfo = { workspace = true }
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
array-bytes = { workspace = true, default-features = true }
|
array-bytes = { workspace = true, default-features = true }
|
||||||
criterion = { workspace = true, default-features = true }
|
criterion = { workspace = true, default-features = true }
|
||||||
kitchensink-runtime = { workspace = true }
|
pez-kitchensink-runtime = { workspace = true }
|
||||||
kvdb-rocksdb = { workspace = true }
|
kvdb-rocksdb = { workspace = true }
|
||||||
rand = { workspace = true, default-features = true }
|
rand = { workspace = true, default-features = true }
|
||||||
pezsp-tracing = { workspace = true, default-features = true }
|
pezsp-tracing = { workspace = true, default-features = true }
|
||||||
@@ -60,7 +60,7 @@ tempfile = { workspace = true }
|
|||||||
default = []
|
default = []
|
||||||
test-helpers = []
|
test-helpers = []
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
"kitchensink-runtime/runtime-benchmarks",
|
"pez-kitchensink-runtime/runtime-benchmarks",
|
||||||
"pezsc-client-api/runtime-benchmarks",
|
"pezsc-client-api/runtime-benchmarks",
|
||||||
"pezsp-blockchain/runtime-benchmarks",
|
"pezsp-blockchain/runtime-benchmarks",
|
||||||
"pezsp-runtime/runtime-benchmarks",
|
"pezsp-runtime/runtime-benchmarks",
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ fn insert_blocks(db: &Backend<Block>, storage: Vec<(Vec<u8>, Vec<u8>)>) -> H256
|
|||||||
Storage {
|
Storage {
|
||||||
top: vec![(
|
top: vec![(
|
||||||
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
pezsp_core::storage::well_known_keys::CODE.to_vec(),
|
||||||
kitchensink_runtime::wasm_binary_unwrap().to_vec(),
|
pez_kitchensink_runtime::wasm_binary_unwrap().to_vec(),
|
||||||
)]
|
)]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.collect(),
|
.collect(),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mmr-gadget"
|
name = "pezmmr-gadget"
|
||||||
version = "29.0.0"
|
version = "29.0.0"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
@@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
description = "MMR Client gadget for bizinikiwi"
|
description = "MMR Client gadget for bizinikiwi"
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
documentation = "https://docs.rs/mmr-gadget"
|
documentation = "https://docs.rs/pezmmr-gadget"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mmr-rpc"
|
name = "pezmmr-rpc"
|
||||||
version = "28.0.0"
|
version = "28.0.0"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
@@ -7,7 +7,7 @@ license = "Apache-2.0"
|
|||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
description = "Node-specific RPC methods for interaction with Merkle Mountain Range pallet."
|
description = "Node-specific RPC methods for interaction with Merkle Mountain Range pallet."
|
||||||
documentation = "https://docs.rs/mmr-rpc"
|
documentation = "https://docs.rs/pezmmr-rpc"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ use pezsp_blockchain::{Error as ClientError, Result as ClientResult};
|
|||||||
use pezsp_runtime::traits::{Block, NumberFor};
|
use pezsp_runtime::traits::{Block, NumberFor};
|
||||||
|
|
||||||
const VERSION_KEY: &[u8] = b"mmr_auxschema_version";
|
const VERSION_KEY: &[u8] = b"mmr_auxschema_version";
|
||||||
const GADGET_STATE: &[u8] = b"mmr_gadget_state";
|
const GADGET_STATE: &[u8] = b"pezmmr_gadget_state";
|
||||||
|
|
||||||
const CURRENT_VERSION: u32 = 1;
|
const CURRENT_VERSION: u32 = 1;
|
||||||
pub(crate) type PersistedState<B> = NumberFor<B>;
|
pub(crate) type PersistedState<B> = NumberFor<B>;
|
||||||
@@ -101,7 +101,7 @@ where
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) mod tests {
|
pub(crate) mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::test_utils::{run_test_with_mmr_gadget_pre_post_using_client, MmrBlock, MockClient};
|
use crate::test_utils::{run_test_with_pezmmr_gadget_pre_post_using_client, MmrBlock, MockClient};
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use pezsp_runtime::generic::BlockId;
|
use pezsp_runtime::generic::BlockId;
|
||||||
use std::{sync::Arc, time::Duration};
|
use std::{sync::Arc, time::Duration};
|
||||||
@@ -136,7 +136,7 @@ pub(crate) mod tests {
|
|||||||
// state not available in db -> None
|
// state not available in db -> None
|
||||||
assert_eq!(load_state::<Block, Backend>(&*backend).unwrap(), None);
|
assert_eq!(load_state::<Block, Backend>(&*backend).unwrap(), None);
|
||||||
// run the gadget while importing and finalizing 3 blocks
|
// run the gadget while importing and finalizing 3 blocks
|
||||||
run_test_with_mmr_gadget_pre_post_using_client(
|
run_test_with_pezmmr_gadget_pre_post_using_client(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
|_| async {},
|
|_| async {},
|
||||||
|client| async move {
|
|client| async move {
|
||||||
@@ -151,7 +151,7 @@ pub(crate) mod tests {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// verify previous progress was persisted and run the gadget again
|
// verify previous progress was persisted and run the gadget again
|
||||||
run_test_with_mmr_gadget_pre_post_using_client(
|
run_test_with_pezmmr_gadget_pre_post_using_client(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
|client| async move {
|
|client| async move {
|
||||||
let backend = &*client.backend;
|
let backend = &*client.backend;
|
||||||
@@ -183,7 +183,7 @@ pub(crate) mod tests {
|
|||||||
let blocks_clone = blocks.clone();
|
let blocks_clone = blocks.clone();
|
||||||
|
|
||||||
// run the gadget while importing and finalizing 3 blocks
|
// run the gadget while importing and finalizing 3 blocks
|
||||||
run_test_with_mmr_gadget_pre_post_using_client(
|
run_test_with_pezmmr_gadget_pre_post_using_client(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
|_| async {},
|
|_| async {},
|
||||||
|client| async move {
|
|client| async move {
|
||||||
@@ -206,7 +206,7 @@ pub(crate) mod tests {
|
|||||||
|
|
||||||
let blocks_clone = blocks.clone();
|
let blocks_clone = blocks.clone();
|
||||||
// verify new gadget continues from block 4 and ignores 1, 2, 3 based on persisted state
|
// verify new gadget continues from block 4 and ignores 1, 2, 3 based on persisted state
|
||||||
run_test_with_mmr_gadget_pre_post_using_client(
|
run_test_with_pezmmr_gadget_pre_post_using_client(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
|client| async move {
|
|client| async move {
|
||||||
let blocks = blocks_clone.lock();
|
let blocks = blocks_clone.lock();
|
||||||
|
|||||||
@@ -201,12 +201,12 @@ where
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
let mmr_gadget = MmrGadget::<B, BE, C> {
|
let pezmmr_gadget = MmrGadget::<B, BE, C> {
|
||||||
finality_notifications: client.finality_notification_stream(),
|
finality_notifications: client.finality_notification_stream(),
|
||||||
|
|
||||||
_phantom: Default::default(),
|
_phantom: Default::default(),
|
||||||
};
|
};
|
||||||
mmr_gadget
|
pezmmr_gadget
|
||||||
.run(OffchainMmrBuilder {
|
.run(OffchainMmrBuilder {
|
||||||
backend,
|
backend,
|
||||||
client,
|
client,
|
||||||
@@ -220,14 +220,14 @@ where
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::test_utils::run_test_with_mmr_gadget;
|
use crate::test_utils::run_test_with_pezmmr_gadget;
|
||||||
use pezsp_runtime::generic::BlockId;
|
use pezsp_runtime::generic::BlockId;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn mmr_first_block_is_computed_correctly() {
|
fn mmr_first_block_is_computed_correctly() {
|
||||||
// Check the case where the first block is also the first block with MMR.
|
// Check the case where the first block is also the first block with MMR.
|
||||||
run_test_with_mmr_gadget(|client| async move {
|
run_test_with_pezmmr_gadget(|client| async move {
|
||||||
// G -> A1 -> A2
|
// G -> A1 -> A2
|
||||||
// |
|
// |
|
||||||
// | -> first mmr block
|
// | -> first mmr block
|
||||||
@@ -243,7 +243,7 @@ mod tests {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Check the case where the first block with MMR comes later.
|
// Check the case where the first block with MMR comes later.
|
||||||
run_test_with_mmr_gadget(|client| async move {
|
run_test_with_pezmmr_gadget(|client| async move {
|
||||||
// G -> A1 -> A2 -> A3 -> A4 -> A5 -> A6
|
// G -> A1 -> A2 -> A3 -> A4 -> A5 -> A6
|
||||||
// |
|
// |
|
||||||
// | -> first mmr block
|
// | -> first mmr block
|
||||||
@@ -265,7 +265,7 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn does_not_panic_on_invalid_num_mmr_blocks() {
|
fn does_not_panic_on_invalid_num_mmr_blocks() {
|
||||||
run_test_with_mmr_gadget(|client| async move {
|
run_test_with_pezmmr_gadget(|client| async move {
|
||||||
// G -> A1
|
// G -> A1
|
||||||
// |
|
// |
|
||||||
// | -> first mmr block
|
// | -> first mmr block
|
||||||
|
|||||||
@@ -279,14 +279,14 @@ where
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::test_utils::{run_test_with_mmr_gadget, run_test_with_mmr_gadget_pre_post};
|
use crate::test_utils::{run_test_with_pezmmr_gadget, run_test_with_pezmmr_gadget_pre_post};
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use pezsp_runtime::generic::BlockId;
|
use pezsp_runtime::generic::BlockId;
|
||||||
use std::{sync::Arc, time::Duration};
|
use std::{sync::Arc, time::Duration};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn canonicalize_and_prune_works_correctly() {
|
fn canonicalize_and_prune_works_correctly() {
|
||||||
run_test_with_mmr_gadget(|client| async move {
|
run_test_with_pezmmr_gadget(|client| async move {
|
||||||
// -> D4 -> D5
|
// -> D4 -> D5
|
||||||
// G -> A1 -> A2 -> A3 -> A4
|
// G -> A1 -> A2 -> A3 -> A4
|
||||||
// -> B1 -> B2 -> B3
|
// -> B1 -> B2 -> B3
|
||||||
@@ -325,7 +325,7 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn canonicalize_and_prune_handles_pallet_reset() {
|
fn canonicalize_and_prune_handles_pallet_reset() {
|
||||||
run_test_with_mmr_gadget(|client| async move {
|
run_test_with_pezmmr_gadget(|client| async move {
|
||||||
// G -> A1 -> A2 -> A3 -> A4 -> A5
|
// G -> A1 -> A2 -> A3 -> A4 -> A5
|
||||||
// | |
|
// | |
|
||||||
// | | -> pallet reset
|
// | | -> pallet reset
|
||||||
@@ -357,7 +357,7 @@ mod tests {
|
|||||||
fn canonicalize_catchup_works_correctly() {
|
fn canonicalize_catchup_works_correctly() {
|
||||||
let mmr_blocks = Arc::new(Mutex::new(vec![]));
|
let mmr_blocks = Arc::new(Mutex::new(vec![]));
|
||||||
let mmr_blocks_ref = mmr_blocks.clone();
|
let mmr_blocks_ref = mmr_blocks.clone();
|
||||||
run_test_with_mmr_gadget_pre_post(
|
run_test_with_pezmmr_gadget_pre_post(
|
||||||
|client| async move {
|
|client| async move {
|
||||||
// G -> A1 -> A2
|
// G -> A1 -> A2
|
||||||
// | |
|
// | |
|
||||||
@@ -402,7 +402,7 @@ mod tests {
|
|||||||
fn canonicalize_catchup_works_correctly_with_pallet_reset() {
|
fn canonicalize_catchup_works_correctly_with_pallet_reset() {
|
||||||
let mmr_blocks = Arc::new(Mutex::new(vec![]));
|
let mmr_blocks = Arc::new(Mutex::new(vec![]));
|
||||||
let mmr_blocks_ref = mmr_blocks.clone();
|
let mmr_blocks_ref = mmr_blocks.clone();
|
||||||
run_test_with_mmr_gadget_pre_post(
|
run_test_with_pezmmr_gadget_pre_post(
|
||||||
|client| async move {
|
|client| async move {
|
||||||
// G -> A1 -> A2
|
// G -> A1 -> A2
|
||||||
// | |
|
// | |
|
||||||
|
|||||||
@@ -334,15 +334,15 @@ pezsp_api::mock_impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn run_test_with_mmr_gadget<F, Fut>(post_gadget: F)
|
pub(crate) fn run_test_with_pezmmr_gadget<F, Fut>(post_gadget: F)
|
||||||
where
|
where
|
||||||
F: FnOnce(Arc<MockClient>) -> Fut + 'static,
|
F: FnOnce(Arc<MockClient>) -> Fut + 'static,
|
||||||
Fut: Future<Output = ()>,
|
Fut: Future<Output = ()>,
|
||||||
{
|
{
|
||||||
run_test_with_mmr_gadget_pre_post(|_| async {}, post_gadget);
|
run_test_with_pezmmr_gadget_pre_post(|_| async {}, post_gadget);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn run_test_with_mmr_gadget_pre_post<F, G, RetF, RetG>(pre_gadget: F, post_gadget: G)
|
pub(crate) fn run_test_with_pezmmr_gadget_pre_post<F, G, RetF, RetG>(pre_gadget: F, post_gadget: G)
|
||||||
where
|
where
|
||||||
F: FnOnce(Arc<MockClient>) -> RetF + 'static,
|
F: FnOnce(Arc<MockClient>) -> RetF + 'static,
|
||||||
G: FnOnce(Arc<MockClient>) -> RetG + 'static,
|
G: FnOnce(Arc<MockClient>) -> RetG + 'static,
|
||||||
@@ -350,10 +350,10 @@ where
|
|||||||
RetG: Future<Output = ()>,
|
RetG: Future<Output = ()>,
|
||||||
{
|
{
|
||||||
let client = Arc::new(MockClient::new());
|
let client = Arc::new(MockClient::new());
|
||||||
run_test_with_mmr_gadget_pre_post_using_client(client, pre_gadget, post_gadget)
|
run_test_with_pezmmr_gadget_pre_post_using_client(client, pre_gadget, post_gadget)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn run_test_with_mmr_gadget_pre_post_using_client<F, G, RetF, RetG>(
|
pub(crate) fn run_test_with_pezmmr_gadget_pre_post_using_client<F, G, RetF, RetG>(
|
||||||
client: Arc<MockClient>,
|
client: Arc<MockClient>,
|
||||||
pre_gadget: F,
|
pre_gadget: F,
|
||||||
post_gadget: G,
|
post_gadget: G,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ array-bytes = { workspace = true, default-features = true }
|
|||||||
async-channel = { workspace = true }
|
async-channel = { workspace = true }
|
||||||
async-trait = { workspace = true }
|
async-trait = { workspace = true }
|
||||||
codec = { features = ["derive"], workspace = true, default-features = true }
|
codec = { features = ["derive"], workspace = true, default-features = true }
|
||||||
fork-tree = { workspace = true, default-features = true }
|
pez-fork-tree = { workspace = true, default-features = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
log = { workspace = true, default-features = true }
|
log = { workspace = true, default-features = true }
|
||||||
mockall = { workspace = true }
|
mockall = { workspace = true }
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ use crate::{
|
|||||||
strategy::chain_sync::{PeerSync, PeerSyncState},
|
strategy::chain_sync::{PeerSync, PeerSyncState},
|
||||||
LOG_TARGET,
|
LOG_TARGET,
|
||||||
};
|
};
|
||||||
use fork_tree::ForkTree;
|
use pez_fork_tree::ForkTree;
|
||||||
use log::{debug, trace, warn};
|
use log::{debug, trace, warn};
|
||||||
use prometheus_endpoint::{
|
use prometheus_endpoint::{
|
||||||
prometheus::core::GenericGauge, register, GaugeVec, Opts, PrometheusError, Registry, U64,
|
prometheus::core::GenericGauge, register, GaugeVec, Opts, PrometheusError, Registry, U64,
|
||||||
@@ -154,7 +154,7 @@ impl<B: BlockT> ExtraRequests<B> {
|
|||||||
metrics.pending.inc();
|
metrics.pending.inc();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Err(fork_tree::Error::Revert) => {
|
Err(pez_fork_tree::Error::Revert) => {
|
||||||
// we have finalized further than the given request, presumably
|
// we have finalized further than the given request, presumably
|
||||||
// by some other part of the system (not sync). we can safely
|
// by some other part of the system (not sync). we can safely
|
||||||
// ignore the `Revert` error.
|
// ignore the `Revert` error.
|
||||||
@@ -230,7 +230,7 @@ impl<B: BlockT> ExtraRequests<B> {
|
|||||||
best_finalized_hash: &B::Hash,
|
best_finalized_hash: &B::Hash,
|
||||||
best_finalized_number: NumberFor<B>,
|
best_finalized_number: NumberFor<B>,
|
||||||
is_descendent_of: F,
|
is_descendent_of: F,
|
||||||
) -> Result<(), fork_tree::Error<ClientError>>
|
) -> Result<(), pez_fork_tree::Error<ClientError>>
|
||||||
where
|
where
|
||||||
F: Fn(&B::Hash, &B::Hash) -> Result<bool, ClientError>,
|
F: Fn(&B::Hash, &B::Hash) -> Result<bool, ClientError>,
|
||||||
{
|
{
|
||||||
@@ -247,7 +247,7 @@ impl<B: BlockT> ExtraRequests<B> {
|
|||||||
best_finalized_number,
|
best_finalized_number,
|
||||||
&is_descendent_of,
|
&is_descendent_of,
|
||||||
) {
|
) {
|
||||||
Err(fork_tree::Error::Revert) => {
|
Err(pez_fork_tree::Error::Revert) => {
|
||||||
// we might have finalized further already in which case we
|
// we might have finalized further already in which case we
|
||||||
// will get a `Revert` error which we can safely ignore.
|
// will get a `Revert` error which we can safely ignore.
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ async fn send_future_and_ready_from_many_accounts_to_teyrchain() {
|
|||||||
net.wait_for_block("charlie", BlockSubscriptionType::Best).await.unwrap();
|
net.wait_for_block("charlie", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create future & ready txs executors.
|
// Create future & ready txs executors.
|
||||||
let ws = net.node_rpc_uri("charlie").unwrap();
|
let ws = net.pez_node_rpc_uri("charlie").unwrap();
|
||||||
let future_scenario_executor = default_zn_scenario_builder(&net)
|
let future_scenario_executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws.clone())
|
.with_rpc_uri(ws.clone())
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -97,7 +97,7 @@ async fn send_future_and_ready_from_many_accounts_to_relaychain() {
|
|||||||
net.wait_for_block("alice", BlockSubscriptionType::Best).await.unwrap();
|
net.wait_for_block("alice", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create future & ready txs executors.
|
// Create future & ready txs executors.
|
||||||
let ws = net.node_rpc_uri("alice").unwrap();
|
let ws = net.pez_node_rpc_uri("alice").unwrap();
|
||||||
let future_scenario_executor = default_zn_scenario_builder(&net)
|
let future_scenario_executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws.clone())
|
.with_rpc_uri(ws.clone())
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -154,7 +154,7 @@ async fn send_future_mortal_txs() {
|
|||||||
net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap();
|
net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap();
|
||||||
|
|
||||||
// Create txs executors.
|
// Create txs executors.
|
||||||
let ws = net.node_rpc_uri("alice").unwrap();
|
let ws = net.pez_node_rpc_uri("alice").unwrap();
|
||||||
let ready_scenario_executor = default_zn_scenario_builder(&net)
|
let ready_scenario_executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws.clone())
|
.with_rpc_uri(ws.clone())
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -228,7 +228,7 @@ async fn send_lower_priority_mortal_txs() {
|
|||||||
net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap();
|
net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap();
|
||||||
|
|
||||||
// Create txs executors.
|
// Create txs executors.
|
||||||
let ws = net.node_rpc_uri("alice").unwrap();
|
let ws = net.pez_node_rpc_uri("alice").unwrap();
|
||||||
let ready_scenario_executor = default_zn_scenario_builder(&net)
|
let ready_scenario_executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws.clone())
|
.with_rpc_uri(ws.clone())
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -313,7 +313,7 @@ async fn send_5m_from_many_accounts_to_teyrchain() {
|
|||||||
net.wait_for_block("charlie", BlockSubscriptionType::Best).await.unwrap();
|
net.wait_for_block("charlie", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create txs executor.
|
// Create txs executor.
|
||||||
let ws = net.node_rpc_uri("charlie").unwrap();
|
let ws = net.pez_node_rpc_uri("charlie").unwrap();
|
||||||
let executor = default_zn_scenario_builder(&net)
|
let executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws)
|
.with_rpc_uri(ws)
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -343,7 +343,7 @@ async fn send_5m_from_many_accounts_to_relaychain() {
|
|||||||
net.wait_for_block("alice", BlockSubscriptionType::Best).await.unwrap();
|
net.wait_for_block("alice", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create txs executor.
|
// Create txs executor.
|
||||||
let ws = net.node_rpc_uri("alice").unwrap();
|
let ws = net.pez_node_rpc_uri("alice").unwrap();
|
||||||
let executor = default_zn_scenario_builder(&net)
|
let executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws.clone())
|
.with_rpc_uri(ws.clone())
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -375,7 +375,7 @@ async fn gossiping() {
|
|||||||
net.wait_for_block("a00", BlockSubscriptionType::Best).await.unwrap();
|
net.wait_for_block("a00", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create the txs executor.
|
// Create the txs executor.
|
||||||
let ws = net.node_rpc_uri("a00").unwrap();
|
let ws = net.pez_node_rpc_uri("a00").unwrap();
|
||||||
let executor = default_zn_scenario_builder(&net)
|
let executor = default_zn_scenario_builder(&net)
|
||||||
.with_rpc_uri(ws)
|
.with_rpc_uri(ws)
|
||||||
.with_start_id(0)
|
.with_start_id(0)
|
||||||
@@ -402,7 +402,7 @@ async fn send_batch(
|
|||||||
to: u32,
|
to: u32,
|
||||||
prio: u32,
|
prio: u32,
|
||||||
) -> ScenarioExecutor {
|
) -> ScenarioExecutor {
|
||||||
let ws = net.node_rpc_uri(node_name).unwrap();
|
let ws = net.pez_node_rpc_uri(node_name).unwrap();
|
||||||
info!(from, to, prio, "send_batch");
|
info!(from, to, prio, "send_batch");
|
||||||
default_zn_scenario_builder(net)
|
default_zn_scenario_builder(net)
|
||||||
.with_rpc_uri(ws)
|
.with_rpc_uri(ws)
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ impl NetworkSpawner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Get a certain node rpc uri.
|
/// Get a certain node rpc uri.
|
||||||
pub fn node_rpc_uri(&self, node_name: &str) -> Result<String> {
|
pub fn pez_node_rpc_uri(&self, node_name: &str) -> Result<String> {
|
||||||
self.network
|
self.network
|
||||||
.get_node(node_name)
|
.get_node(node_name)
|
||||||
.and_then(|node| Ok(node.ws_uri().to_string()))
|
.and_then(|node| Ok(node.ws_uri().to_string()))
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ async fn slot_based_3cores_test() -> Result<(), anyhow::Error> {
|
|||||||
spawner.wait_for_block("dave", BlockSubscriptionType::Best).await.unwrap();
|
spawner.wait_for_block("dave", BlockSubscriptionType::Best).await.unwrap();
|
||||||
|
|
||||||
// Create txs executor.
|
// Create txs executor.
|
||||||
let ws = spawner.node_rpc_uri("dave").unwrap();
|
let ws = spawner.pez_node_rpc_uri("dave").unwrap();
|
||||||
let executor = {
|
let executor = {
|
||||||
let shared_params = ScenarioBuilderSharedParams::default();
|
let shared_params = ScenarioBuilderSharedParams::default();
|
||||||
ScenarioBuilder::new()
|
ScenarioBuilder::new()
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ You should refer to the [.Dockerfile](./bizinikiwi_builder.Dockerfile) for the a
|
|||||||
list of included binaries is:
|
list of included binaries is:
|
||||||
|
|
||||||
- `bizinikiwi`
|
- `bizinikiwi`
|
||||||
- `subkey`
|
- `pez_subkey`
|
||||||
- `node-template`
|
- `node-template`
|
||||||
- `chain-spec-builder`
|
- `chain-spec-builder`
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ The image can be used by passing the selected binary followed by the appropriate
|
|||||||
Your best guess to get started is to pass the `--help flag`. Here are a few examples:
|
Your best guess to get started is to pass the `--help flag`. Here are a few examples:
|
||||||
|
|
||||||
- `./run.sh bizinikiwi --version`
|
- `./run.sh bizinikiwi --version`
|
||||||
- `./run.sh subkey --help`
|
- `./run.sh pez_subkey --help`
|
||||||
- `./run.sh node-template --version`
|
- `./run.sh node-template --version`
|
||||||
- `./run.sh chain-spec-builder --help`
|
- `./run.sh chain-spec-builder --help`
|
||||||
|
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ Patch release with backports to fix broken nightly builds. Namely contains backp
|
|||||||
* Fix peerset not filtering incoming connections in reserved-only (#6249)
|
* Fix peerset not filtering incoming connections in reserved-only (#6249)
|
||||||
* Use Subscription Manager from `jsonrpc-pubsub` (#6208)
|
* Use Subscription Manager from `jsonrpc-pubsub` (#6208)
|
||||||
* Add a Bizinikiwi networking Grafana dashboard template (#6171)
|
* Add a Bizinikiwi networking Grafana dashboard template (#6171)
|
||||||
* Add subkey inspect-node-key (#6153)
|
* Add pez_subkey inspect-node-key (#6153)
|
||||||
|
|
||||||
## 2.0.0-rc1 -> 2.0.0-rc2
|
## 2.0.0-rc1 -> 2.0.0-rc2
|
||||||
|
|
||||||
@@ -434,7 +434,7 @@ PR](https://github.com/pezkuwichain/kurdistan-sdk/issues/56).
|
|||||||
* enum Pays for PaysFee (#5733)
|
* enum Pays for PaysFee (#5733)
|
||||||
* Migrate away from `SimpleDispatchInfo` (#5686)
|
* Migrate away from `SimpleDispatchInfo` (#5686)
|
||||||
* Child trie api changes BREAKING (#4857)
|
* Child trie api changes BREAKING (#4857)
|
||||||
* subkey: compute and inspect a moduleid (#5676)
|
* pez_subkey: compute and inspect a moduleid (#5676)
|
||||||
* Listen on ipv6 by default as well (#5677)
|
* Listen on ipv6 by default as well (#5677)
|
||||||
* Adjustments to Kademlia-related metrics (#5660)
|
* Adjustments to Kademlia-related metrics (#5660)
|
||||||
* client/authority-discovery: Allow to be run by sentry node (#5568)
|
* client/authority-discovery: Allow to be run by sentry node (#5568)
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ A few minor things have changed in the `cli` (compared to 2.0.1):
|
|||||||
3. we [don't fallback to `--chain flaming-fir`
|
3. we [don't fallback to `--chain flaming-fir`
|
||||||
anymore](https://github.com/pezkuwichain/kurdistan-sdk/commit/13cdf1c8cd2ee62d411f82b64dc7eba860c9c6c6), if no chain is
|
anymore](https://github.com/pezkuwichain/kurdistan-sdk/commit/13cdf1c8cd2ee62d411f82b64dc7eba860c9c6c6), if no chain is
|
||||||
given our `bizinikiwi-node` will error.
|
given our `bizinikiwi-node` will error.
|
||||||
4. [the `subkey`-integration has seen a fix to the
|
4. [the `pez_subkey`-integration has seen a fix to the
|
||||||
`insert`-command](https://github.com/pezkuwichain/kurdistan-sdk/commit/54bde60cfd2c544c54e9e8623b6b8725b99557f8) that
|
`insert`-command](https://github.com/pezkuwichain/kurdistan-sdk/commit/54bde60cfd2c544c54e9e8623b6b8725b99557f8) that
|
||||||
requires you to now add the `&cli` as a param.
|
requires you to now add the `&cli` as a param.
|
||||||
```diff=
|
```diff=
|
||||||
@@ -518,7 +518,7 @@ This has most visible changes for the rpc, where we are switching from the previ
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
+use sp_keystore::SyncCryptoStorePtr;
|
+use sp_keystore::SyncCryptoStorePtr;
|
||||||
use node_primitives::{Block, BlockNumber, AccountId, Index, Balance, Hash};
|
use pez_node_primitives::{Block, BlockNumber, AccountId, Index, Balance, Hash};
|
||||||
use sc_consensus_babe::{Config, Epoch};
|
use sc_consensus_babe::{Config, Epoch};
|
||||||
use sc_consensus_babe_rpc::BabeRpcHandler;
|
use sc_consensus_babe_rpc::BabeRpcHandler;
|
||||||
@@ -40,7 +41,6 @@ use sc_finality_grandpa::{
|
@@ -40,7 +41,6 @@ use sc_finality_grandpa::{
|
||||||
@@ -578,7 +578,7 @@ modified your chain you should probably try to apply these patches:
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use sc_consensus_babe;
|
use sc_consensus_babe;
|
||||||
-use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
|
-use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
|
||||||
use node_primitives::Block;
|
use pez_node_primitives::Block;
|
||||||
use node_runtime::RuntimeApi;
|
use node_runtime::RuntimeApi;
|
||||||
use sc_service::{
|
use sc_service::{
|
||||||
- config::{Role, Configuration}, error::{Error as ServiceError},
|
- config::{Role, Configuration}, error::{Error as ServiceError},
|
||||||
@@ -645,13 +645,13 @@ modified your chain you should probably try to apply these patches:
|
|||||||
+ let chain_spec = config.chain_spec.cloned_box();
|
+ let chain_spec = config.chain_spec.cloned_box();
|
||||||
|
|
||||||
let rpc_extensions_builder = move |deny_unsafe, subscription_executor| {
|
let rpc_extensions_builder = move |deny_unsafe, subscription_executor| {
|
||||||
let deps = node_rpc::FullDeps {
|
let deps = pez_node_rpc::FullDeps {
|
||||||
client: client.clone(),
|
client: client.clone(),
|
||||||
pool: pool.clone(),
|
pool: pool.clone(),
|
||||||
select_chain: select_chain.clone(),
|
select_chain: select_chain.clone(),
|
||||||
+ chain_spec: chain_spec.cloned_box(),
|
+ chain_spec: chain_spec.cloned_box(),
|
||||||
deny_unsafe,
|
deny_unsafe,
|
||||||
babe: node_rpc::BabeDeps {
|
babe: pez_node_rpc::BabeDeps {
|
||||||
babe_config: babe_config.clone(),
|
babe_config: babe_config.clone(),
|
||||||
@@ -151,9 +150,15 @@ pub fn new_partial(config: &Configuration) -> Result<sc_service::PartialComponen
|
@@ -151,9 +150,15 @@ pub fn new_partial(config: &Configuration) -> Result<sc_service::PartialComponen
|
||||||
};
|
};
|
||||||
@@ -941,7 +941,7 @@ modified your chain you should probably try to apply these patches:
|
|||||||
|
|
||||||
@@ -433,32 +432,39 @@ pub fn new_light_base(config: Configuration) -> Result<(
|
@@ -433,32 +432,39 @@ pub fn new_light_base(config: Configuration) -> Result<(
|
||||||
|
|
||||||
let rpc_extensions = node_rpc::create_light(light_deps);
|
let rpc_extensions = pez_node_rpc::create_light(light_deps);
|
||||||
|
|
||||||
- let rpc_handlers =
|
- let rpc_handlers =
|
||||||
+ let (rpc_handlers, telemetry_connection_notifier) =
|
+ let (rpc_handlers, telemetry_connection_notifier) =
|
||||||
|
|||||||
+3
-3
@@ -7,7 +7,7 @@ ID in the remote repository.
|
|||||||
Assume you are in root directory of Bizinikiwi. Run:
|
Assume you are in root directory of Bizinikiwi. Run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd scripts/ci/ ./node-template-release.sh <output tar.gz file>
|
cd scripts/ci/ ./pez-node-template-release.sh <output tar.gz file>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Expand the output tar gzipped file and replace files in current Bizinikiwi Node Template by running the following
|
## Expand the output tar gzipped file and replace files in current Bizinikiwi Node Template by running the following
|
||||||
@@ -37,7 +37,7 @@ package is published in the crate, the above will become:
|
|||||||
[workspace.dependencies] pezsp-core = { version = "7.0.0", default-features = false }
|
[workspace.dependencies] pezsp-core = { version = "7.0.0", default-features = false }
|
||||||
```
|
```
|
||||||
|
|
||||||
P.S: This step can be automated if we update `node-template-release` package in `scripts/ci/node-template-release`.
|
P.S: This step can be automated if we update `pez-node-template-release` package in `scripts/ci/pez-node-template-release`.
|
||||||
|
|
||||||
## Once the `Cargo.toml` is updated, compile and confirm that the Node Template builds. Then commit the changes to a new
|
## Once the `Cargo.toml` is updated, compile and confirm that the Node Template builds. Then commit the changes to a new
|
||||||
branch in [Bizinikiwi Node Template](https://github.com/bizinikiwi-developer-hub/bizinikiwi-node-template), and make a PR.
|
branch in [Bizinikiwi Node Template](https://github.com/bizinikiwi-developer-hub/bizinikiwi-node-template), and make a PR.
|
||||||
@@ -53,7 +53,7 @@ digit is reset to 0.
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
- Running the script `./node-template-release.sh <output tar.gz file>`, after all tests passed successfully, seeing the
|
- Running the script `./pez-node-template-release.sh <output tar.gz file>`, after all tests passed successfully, seeing the
|
||||||
following error message:
|
following error message:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_alliance
|
// --pallet=pezpallet_alliance
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/alliance/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/alliance/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_asset_conversion_ops
|
// --pallet=pezpallet_asset_conversion_ops
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_asset_conversion
|
// --pallet=pezpallet_asset_conversion
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_asset_rate
|
// --pallet=pezpallet_asset_rate
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rate/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rate/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_asset_rewards
|
// --pallet=pezpallet_asset_rewards
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rewards/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rewards/src/weights.rs
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ workspace = true
|
|||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ethereum-standards = { workspace = true }
|
pez-ethereum-standards = { workspace = true }
|
||||||
pezframe-support = { workspace = true }
|
pezframe-support = { workspace = true }
|
||||||
pezpallet-assets = { workspace = true }
|
pezpallet-assets = { workspace = true }
|
||||||
pezpallet-revive = { workspace = true }
|
pezpallet-revive = { workspace = true }
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ extern crate alloc;
|
|||||||
|
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use ethereum_standards::{
|
use pez_ethereum_standards::{
|
||||||
IERC20,
|
IERC20,
|
||||||
IERC20::{IERC20Calls, IERC20Events},
|
IERC20::{IERC20Calls, IERC20Events},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_assets
|
// --pallet=pezpallet_assets
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/assets/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/assets/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_babe
|
// --pallet=pezpallet_babe
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/babe/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/babe/src/weights.rs
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ pub mod pallet {
|
|||||||
/// there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
|
/// there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
|
||||||
/// constant_ratio).max(threshold[k] + 1)` for all `k`.
|
/// constant_ratio).max(threshold[k] + 1)` for all `k`.
|
||||||
///
|
///
|
||||||
/// The helpers in the `/utils/pezframe/generate-bags` module can simplify this calculation.
|
/// The helpers in the `/utils/pezframe/pez-generate-bags` module can simplify this calculation.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_bags_list
|
// --pallet=pezpallet_bags_list
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bags-list/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bags-list/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_balances
|
// --pallet=pezpallet_balances
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/balances/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/balances/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_beefy_mmr
|
// --pallet=pezpallet_beefy_mmr
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/beefy-mmr/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/beefy-mmr/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezframe_benchmarking_pallet_pov
|
// --pallet=pezframe_benchmarking_pallet_pov
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezframe_benchmarking
|
// --pallet=pezframe_benchmarking
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_bounties
|
// --pallet=pezpallet_bounties
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bounties/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bounties/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_broker
|
// --pallet=pezpallet_broker
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/broker/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/broker/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_child_bounties
|
// --pallet=pezpallet_child_bounties
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/child-bounties/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/child-bounties/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_collective
|
// --pallet=pezpallet_collective
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/collective/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/collective/src/weights.rs
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ pezsp-tracing = { workspace = true, default-features = true }
|
|||||||
xcm = { workspace = true }
|
xcm = { workspace = true }
|
||||||
xcm-builder = { workspace = true, default-features = true }
|
xcm-builder = { workspace = true, default-features = true }
|
||||||
xcm-executor = { workspace = true }
|
xcm-executor = { workspace = true }
|
||||||
xcm-simulator = { workspace = true, default-features = true }
|
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pezpallet-contracts-fixtures = { workspace = true }
|
pezpallet-contracts-fixtures = { workspace = true }
|
||||||
@@ -80,6 +80,6 @@ runtime-benchmarks = [
|
|||||||
"pezsp-runtime/runtime-benchmarks",
|
"pezsp-runtime/runtime-benchmarks",
|
||||||
"xcm-builder/runtime-benchmarks",
|
"xcm-builder/runtime-benchmarks",
|
||||||
"xcm-executor/runtime-benchmarks",
|
"xcm-executor/runtime-benchmarks",
|
||||||
"xcm-simulator/runtime-benchmarks",
|
"xcm-pez-simulator/runtime-benchmarks",
|
||||||
"xcm/runtime-benchmarks",
|
"xcm/runtime-benchmarks",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ pub use pezpallet_contracts::test_utils::{ALICE, BOB};
|
|||||||
use pezsp_runtime::BuildStorage;
|
use pezsp_runtime::BuildStorage;
|
||||||
use xcm::latest::prelude::*;
|
use xcm::latest::prelude::*;
|
||||||
use xcm_executor::traits::ConvertLocation;
|
use xcm_executor::traits::ConvertLocation;
|
||||||
pub use xcm_simulator::TestExt;
|
pub use xcm_pez_simulator::TestExt;
|
||||||
use xcm_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain};
|
use xcm_pez_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain};
|
||||||
|
|
||||||
// Accounts
|
// Accounts
|
||||||
pub const ADMIN: pezsp_runtime::AccountId32 = pezsp_runtime::AccountId32::new([0u8; 32]);
|
pub const ADMIN: pezsp_runtime::AccountId32 = pezsp_runtime::AccountId32::new([0u8; 32]);
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
use pezframe_support::{parameter_types, weights::Weight};
|
use pezframe_support::{parameter_types, weights::Weight};
|
||||||
use xcm::latest::prelude::*;
|
use xcm::latest::prelude::*;
|
||||||
use xcm_simulator::{
|
use xcm_pez_simulator::{
|
||||||
AggregateMessageOrigin, ProcessMessage, ProcessMessageError, UmpQueueId, WeightMeter,
|
AggregateMessageOrigin, ProcessMessage, ProcessMessageError, UmpQueueId, WeightMeter,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ use pezpallet_contracts::{test_utils::builder::*, Code};
|
|||||||
use pezpallet_contracts_fixtures::compile_module;
|
use pezpallet_contracts_fixtures::compile_module;
|
||||||
use pezpallet_contracts_uapi::ReturnErrorCode;
|
use pezpallet_contracts_uapi::ReturnErrorCode;
|
||||||
use xcm::{v4::prelude::*, VersionedLocation, VersionedXcm};
|
use xcm::{v4::prelude::*, VersionedLocation, VersionedXcm};
|
||||||
use xcm_simulator::TestExt;
|
use xcm_pez_simulator::TestExt;
|
||||||
|
|
||||||
macro_rules! assert_return_code {
|
macro_rules! assert_return_code {
|
||||||
( $x:expr , $y:expr $(,)? ) => {{
|
( $x:expr , $y:expr $(,)? ) => {{
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_contracts
|
// --pallet=pezpallet_contracts
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/contracts/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/contracts/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_conviction_voting
|
// --pallet=pezpallet_conviction_voting
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/conviction-voting/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/conviction-voting/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_core_fellowship
|
// --pallet=pezpallet_core_fellowship
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/core-fellowship/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/core-fellowship/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_democracy
|
// --pallet=pezpallet_democracy
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/democracy/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/democracy/src/weights.rs
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
// benchmark
|
// benchmark
|
||||||
// pallet
|
// pallet
|
||||||
// --extrinsic=*
|
// --extrinsic=*
|
||||||
// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
||||||
// --pallet=pezpallet_election_provider_multi_phase
|
// --pallet=pezpallet_election_provider_multi_phase
|
||||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
||||||
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user