From 0c5d19e3a094594244354ff293d735d6e552aec4 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sun, 14 Dec 2025 10:29:31 +0300 Subject: [PATCH] Refactoring Checkpoint: (WIP) --- .claude-session-state.md | 8 +- Cargo.lock | 3106 ++++++++--------- Cargo.toml | 318 +- README.md | 2 +- bizinikiwi/bin/node/bench/Cargo.toml | 16 +- bizinikiwi/bin/node/bench/src/construct.rs | 14 +- bizinikiwi/bin/node/bench/src/generator.rs | 2 +- bizinikiwi/bin/node/bench/src/import.rs | 4 +- bizinikiwi/bin/node/bench/src/main.rs | 4 +- bizinikiwi/bin/node/bench/src/simple_trie.rs | 2 +- bizinikiwi/bin/node/bench/src/trie.rs | 2 +- bizinikiwi/bin/node/bench/src/txpool.rs | 2 +- bizinikiwi/bin/node/cli/Cargo.toml | 30 +- .../bin/node/cli/benches/block_production.rs | 8 +- bizinikiwi/bin/node/cli/benches/executor.rs | 16 +- .../bin/node/cli/benches/transaction_pool.rs | 4 +- bizinikiwi/bin/node/cli/src/benchmarking.rs | 4 +- bizinikiwi/bin/node/cli/src/chain_spec.rs | 16 +- bizinikiwi/bin/node/cli/src/command.rs | 4 +- bizinikiwi/bin/node/cli/src/service.rs | 64 +- bizinikiwi/bin/node/cli/tests/basic.rs | 12 +- bizinikiwi/bin/node/cli/tests/common.rs | 16 +- bizinikiwi/bin/node/cli/tests/fees.rs | 6 +- .../bin/node/cli/tests/submit_transaction.rs | 2 +- bizinikiwi/bin/node/primitives/Cargo.toml | 4 +- bizinikiwi/bin/node/rpc/Cargo.toml | 12 +- bizinikiwi/bin/node/rpc/src/lib.rs | 6 +- bizinikiwi/bin/node/runtime/Cargo.toml | 10 +- bizinikiwi/bin/node/runtime/src/constants.rs | 4 +- bizinikiwi/bin/node/runtime/src/lib.rs | 4 +- bizinikiwi/bin/node/testing/Cargo.toml | 12 +- bizinikiwi/bin/node/testing/src/bench.rs | 16 +- bizinikiwi/bin/node/testing/src/client.rs | 18 +- bizinikiwi/bin/node/testing/src/genesis.rs | 2 +- bizinikiwi/bin/node/testing/src/keyring.rs | 4 +- .../utils/{subkey => pez-subkey}/Cargo.toml | 6 +- .../utils/{subkey => pez-subkey}/README.md | 60 +- .../utils/{subkey => pez-subkey}/SECURITY.md | 2 +- .../utils/{subkey => pez-subkey}/src/lib.rs | 66 +- .../utils/{subkey => pez-subkey}/src/main.rs | 4 +- .../cli/src/commands/generate_node_key.rs | 2 +- .../client/cli/src/commands/test/mod.rs | 2 +- bizinikiwi/client/consensus/aura/Cargo.toml | 2 +- .../consensus/aura/src/authorities_tracker.rs | 2 +- bizinikiwi/client/consensus/babe/Cargo.toml | 2 +- .../client/consensus/babe/src/aux_schema.rs | 2 +- bizinikiwi/client/consensus/babe/src/lib.rs | 2 +- bizinikiwi/client/consensus/beefy/README.md | 4 +- bizinikiwi/client/consensus/epochs/Cargo.toml | 2 +- bizinikiwi/client/consensus/epochs/src/lib.rs | 22 +- .../client/consensus/epochs/src/migration.rs | 2 +- .../client/consensus/grandpa/Cargo.toml | 2 +- .../consensus/grandpa/src/authorities.rs | 18 +- .../consensus/grandpa/src/aux_schema.rs | 2 +- .../client/consensus/grandpa/src/import.rs | 2 +- bizinikiwi/client/db/Cargo.toml | 4 +- bizinikiwi/client/db/benches/state_access.rs | 2 +- .../client/merkle-mountain-range/Cargo.toml | 4 +- .../merkle-mountain-range/rpc/Cargo.toml | 4 +- .../merkle-mountain-range/src/aux_schema.rs | 12 +- .../client/merkle-mountain-range/src/lib.rs | 12 +- .../merkle-mountain-range/src/offchain_mmr.rs | 10 +- .../merkle-mountain-range/src/test_utils.rs | 10 +- bizinikiwi/client/network/sync/Cargo.toml | 2 +- .../sync/src/justification_requests.rs | 8 +- .../transaction-pool/tests/integration.rs | 16 +- .../transaction-pool/tests/zombienet/mod.rs | 2 +- .../tests/zombienet/yap_test.rs | 2 +- bizinikiwi/docker/README.md | 4 +- bizinikiwi/docs/CHANGELOG.md | 4 +- bizinikiwi/docs/Upgrading-2.0-to-3.0.md | 12 +- ...elease.md => pez-node-template-release.md} | 6 +- bizinikiwi/pezframe/alliance/src/weights.rs | 2 +- .../asset-conversion/ops/src/weights.rs | 2 +- .../pezframe/asset-conversion/src/weights.rs | 2 +- bizinikiwi/pezframe/asset-rate/src/weights.rs | 2 +- .../pezframe/asset-rewards/src/weights.rs | 2 +- .../pezframe/assets/precompiles/Cargo.toml | 2 +- .../pezframe/assets/precompiles/src/lib.rs | 2 +- bizinikiwi/pezframe/assets/src/weights.rs | 2 +- bizinikiwi/pezframe/babe/src/weights.rs | 2 +- bizinikiwi/pezframe/bags-list/src/lib.rs | 2 +- bizinikiwi/pezframe/bags-list/src/weights.rs | 2 +- bizinikiwi/pezframe/balances/src/weights.rs | 2 +- bizinikiwi/pezframe/beefy-mmr/src/weights.rs | 2 +- .../pezframe/benchmarking/pov/src/weights.rs | 2 +- .../pezframe/benchmarking/src/weights.rs | 2 +- bizinikiwi/pezframe/bounties/src/weights.rs | 2 +- bizinikiwi/pezframe/broker/src/weights.rs | 2 +- .../pezframe/child-bounties/src/weights.rs | 2 +- bizinikiwi/pezframe/collective/src/weights.rs | 2 +- .../contracts/mock-network/Cargo.toml | 4 +- .../contracts/mock-network/src/lib.rs | 4 +- .../src/mocks/relay_message_queue.rs | 2 +- .../contracts/mock-network/src/tests.rs | 2 +- bizinikiwi/pezframe/contracts/src/weights.rs | 2 +- .../pezframe/conviction-voting/src/weights.rs | 2 +- .../pezframe/core-fellowship/src/weights.rs | 2 +- bizinikiwi/pezframe/democracy/src/weights.rs | 2 +- .../src/weights.rs | 2 +- .../benchmarking/src/weights.rs | 2 +- .../elections-phragmen/src/weights.rs | 2 +- .../multi-block-migrations/src/lib.rs | 2 +- .../src/migrations/mod.rs | 2 +- .../src/migrations/v1/mod.rs | 2 +- .../src/migrations/v1/weights.rs | 2 +- .../multi-block-migrations/src/weights.rs | 2 +- .../pezframe/examples/tasks/src/weights.rs | 2 +- .../pezframe/fast-unstake/src/weights.rs | 2 +- bizinikiwi/pezframe/glutton/src/weights.rs | 2 +- bizinikiwi/pezframe/grandpa/src/weights.rs | 2 +- .../pezframe/honzon/oracle/src/weights.rs | 2 +- bizinikiwi/pezframe/identity/src/migration.rs | 4 +- bizinikiwi/pezframe/identity/src/weights.rs | 2 +- bizinikiwi/pezframe/im-online/src/weights.rs | 2 +- bizinikiwi/pezframe/indices/src/weights.rs | 2 +- bizinikiwi/pezframe/lottery/src/weights.rs | 2 +- bizinikiwi/pezframe/membership/src/weights.rs | 2 +- .../merkle-mountain-range/src/weights.rs | 2 +- .../pezframe/message-queue/src/weights.rs | 2 +- bizinikiwi/pezframe/migrations/src/weights.rs | 2 +- .../multi-asset-bounties/src/weights.rs | 2 +- bizinikiwi/pezframe/multisig/src/weights.rs | 2 +- .../nft-fractionalization/src/weights.rs | 2 +- bizinikiwi/pezframe/nfts/src/weights.rs | 2 +- bizinikiwi/pezframe/nis/src/weights.rs | 2 +- bizinikiwi/pezframe/offences/src/weights.rs | 2 +- bizinikiwi/pezframe/parameters/src/weights.rs | 2 +- bizinikiwi/pezframe/preimage/src/weights.rs | 2 +- bizinikiwi/pezframe/proxy/src/weights.rs | 2 +- .../pezframe/ranked-collective/src/weights.rs | 2 +- bizinikiwi/pezframe/recovery/src/weights.rs | 2 +- bizinikiwi/pezframe/referenda/src/weights.rs | 2 +- bizinikiwi/pezframe/revive/Cargo.toml | 2 +- .../pezframe/revive/dev-node/node/Cargo.toml | 10 +- .../revive/dev-node/node/src/chain_spec.rs | 2 +- .../revive/dev-node/node/src/command.rs | 2 +- .../pezframe/revive/dev-node/node/src/rpc.rs | 2 +- .../revive/dev-node/node/src/service.rs | 2 +- .../revive/dev-node/runtime/Cargo.toml | 4 +- .../revive/dev-node/runtime/src/lib.rs | 4 +- bizinikiwi/pezframe/revive/rpc/Cargo.toml | 8 +- bizinikiwi/pezframe/revive/rpc/build.rs | 2 +- .../revive/rpc/examples/eth-rpc-tester.rs | 2 +- bizinikiwi/pezframe/revive/rpc/src/cli.rs | 10 +- bizinikiwi/pezframe/revive/rpc/src/client.rs | 8 +- bizinikiwi/pezframe/revive/rpc/src/tests.rs | 26 +- .../pezframe/revive/src/impl_fungibles.rs | 2 +- bizinikiwi/pezframe/revive/src/migrations.rs | 2 +- .../pezframe/revive/src/migrations/v1.rs | 2 +- .../pezframe/revive/src/migrations/v2.rs | 2 +- bizinikiwi/pezframe/revive/src/weights.rs | 2 +- bizinikiwi/pezframe/safe-mode/src/weights.rs | 2 +- bizinikiwi/pezframe/salary/src/weights.rs | 2 +- bizinikiwi/pezframe/scheduler/src/weights.rs | 2 +- bizinikiwi/pezframe/session/src/weights.rs | 2 +- bizinikiwi/pezframe/society/src/weights.rs | 2 +- .../runtimes/papi-tests/src/vmp-monitor.ts | 6 +- .../staking-async/runtimes/rc/Cargo.toml | 6 +- .../staking-async/runtimes/rc/src/lib.rs | 22 +- .../staking-async/runtimes/rc/src/tests.rs | 2 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../runtimes/teyrchain/Cargo.toml | 12 +- .../runtimes/teyrchain/src/lib.rs | 78 +- .../runtimes/teyrchain/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../runtimes/teyrchain/src/xcm_config.rs | 6 +- bizinikiwi/pezframe/staking/src/weights.rs | 2 +- .../state-trie-migration/src/weights.rs | 2 +- bizinikiwi/pezframe/sudo/src/weights.rs | 2 +- bizinikiwi/pezframe/support/test/Cargo.toml | 6 +- .../test/{pallet => pezpallet}/Cargo.toml | 4 +- .../test/{pallet => pezpallet}/src/lib.rs | 0 .../system/benchmarking/res/README.md | 2 +- .../pezframe/system/benchmarking/src/inner.rs | 4 +- bizinikiwi/pezframe/system/src/lib.rs | 8 +- bizinikiwi/pezframe/system/src/weights.rs | 2 +- bizinikiwi/pezframe/timestamp/src/weights.rs | 2 +- bizinikiwi/pezframe/tips/src/weights.rs | 2 +- .../src/weights.rs | 2 +- .../transaction-payment/src/weights.rs | 2 +- bizinikiwi/pezframe/treasury/src/weights.rs | 2 +- bizinikiwi/pezframe/tx-pause/src/weights.rs | 2 +- bizinikiwi/pezframe/uniques/src/weights.rs | 2 +- bizinikiwi/pezframe/utility/src/weights.rs | 2 +- .../pezframe/verify-signature/src/weights.rs | 2 +- bizinikiwi/pezframe/vesting/src/weights.rs | 2 +- bizinikiwi/pezframe/whitelist/src/weights.rs | 2 +- bizinikiwi/primitives/core/src/crypto.rs | 4 +- .../Cargo.toml | 4 +- .../src/IERC20.sol | 0 .../src/lib.rs | 0 ...ubkey.Dockerfile => pez-subkey.Dockerfile} | 0 ...DME.md => pez-subkey.Dockerfile.README.md} | 4 +- ...elease.sh => pez-node-template-release.sh} | 0 .../Cargo.toml | 4 +- .../src/main.rs | 0 bizinikiwi/test-utils/cli/Cargo.toml | 4 +- bizinikiwi/test-utils/cli/src/lib.rs | 2 +- .../{fork-tree => pez-fork-tree}/Cargo.toml | 4 +- .../{fork-tree => pez-fork-tree}/README.md | 0 .../{fork-tree => pez-fork-tree}/src/lib.rs | 36 +- .../Cargo.toml | 4 +- .../node-runtime/Cargo.toml | 14 +- .../node-runtime/src/main.rs | 4 +- .../src/lib.rs | 4 +- .../storage-access-test-runtime/src/lib.rs | 4 +- bizinikiwi/utils/wasm-builder/src/lib.rs | 2 +- bridges/bin/runtime-common/Cargo.toml | 20 +- bridges/bin/runtime-common/src/extensions.rs | 6 +- bridges/bin/runtime-common/src/integrity.rs | 26 +- .../src/messages_benchmarking.rs | 18 +- bridges/bin/runtime-common/src/mock.rs | 4 +- .../src/teyrchains_benchmarking.rs | 2 +- bridges/chains/chain-pezcumulus/Cargo.toml | 6 +- bridges/chains/chain-pezcumulus/src/lib.rs | 2 +- .../chains/chain-pezkuwi-bulletin/Cargo.toml | 12 +- .../chains/chain-pezkuwi-bulletin/src/lib.rs | 4 +- ...y.html => grandpa-pez-finality-relay.html} | 0 bridges/docs/high-level-overview.md | 6 +- ...ges-relay.html => pez-messages-relay.html} | 0 ...tml => teyrchains-pez-finality-relay.html} | 0 bridges/modules/beefy/Cargo.toml | 6 +- bridges/modules/beefy/src/lib.rs | 10 +- bridges/modules/beefy/src/mock.rs | 2 +- bridges/modules/grandpa/Cargo.toml | 14 +- bridges/modules/grandpa/src/benchmarking.rs | 4 +- bridges/modules/grandpa/src/call_ext.rs | 8 +- bridges/modules/grandpa/src/lib.rs | 30 +- bridges/modules/grandpa/src/mock.rs | 4 +- bridges/modules/grandpa/src/storage_types.rs | 2 +- bridges/modules/messages/Cargo.toml | 18 +- bridges/modules/messages/README.md | 2 +- bridges/modules/messages/src/benchmarking.rs | 2 +- bridges/modules/messages/src/call_ext.rs | 2 +- bridges/modules/messages/src/inbound_lane.rs | 2 +- bridges/modules/messages/src/lanes_manager.rs | 2 +- bridges/modules/messages/src/lib.rs | 8 +- bridges/modules/messages/src/migration.rs | 2 +- bridges/modules/messages/src/proofs.rs | 10 +- .../messages/src/tests/messages_generation.rs | 2 +- bridges/modules/messages/src/tests/mock.rs | 10 +- .../messages/src/tests/pezpallet_tests.rs | 6 +- bridges/modules/messages/src/weights_ext.rs | 2 +- bridges/modules/relayers/Cargo.toml | 12 +- .../relayers/src/extension/grandpa_adapter.rs | 2 +- .../src/extension/messages_adapter.rs | 2 +- bridges/modules/relayers/src/extension/mod.rs | 14 +- .../relayers/src/extension/priority.rs | 6 +- .../src/extension/teyrchain_adapter.rs | 2 +- bridges/modules/relayers/src/lib.rs | 2 +- bridges/modules/relayers/src/migration.rs | 4 +- bridges/modules/relayers/src/mock.rs | 4 +- .../modules/relayers/src/payment_adapter.rs | 6 +- bridges/modules/teyrchains/Cargo.toml | 14 +- .../modules/teyrchains/src/benchmarking.rs | 4 +- bridges/modules/teyrchains/src/call_ext.rs | 8 +- bridges/modules/teyrchains/src/lib.rs | 18 +- bridges/modules/teyrchains/src/mock.rs | 6 +- bridges/modules/teyrchains/src/proofs.rs | 4 +- bridges/modules/teyrchains/src/weights_ext.rs | 2 +- bridges/modules/xcm-bridge-hub/Cargo.toml | 12 +- .../modules/xcm-bridge-hub/src/dispatcher.rs | 2 +- .../modules/xcm-bridge-hub/src/exporter.rs | 2 +- bridges/modules/xcm-bridge-hub/src/lib.rs | 2 +- bridges/modules/xcm-bridge-hub/src/mock.rs | 4 +- bridges/primitives/beefy/Cargo.toml | 6 +- bridges/primitives/beefy/src/lib.rs | 2 +- bridges/primitives/header-chain/Cargo.toml | 10 +- .../primitives/header-chain/src/call_info.rs | 2 +- .../header-chain/src/justification/mod.rs | 2 +- .../verification/equivocation.rs | 2 +- .../src/justification/verification/mod.rs | 2 +- bridges/primitives/header-chain/src/lib.rs | 4 +- .../header-chain/src/storage_keys.rs | 6 +- .../tests/implementation_match.rs | 6 +- .../tests/justification/equivocation.rs | 2 +- .../tests/justification/optimizer.rs | 2 +- .../tests/justification/strict.rs | 2 +- bridges/primitives/messages/Cargo.toml | 12 +- bridges/primitives/messages/src/lib.rs | 8 +- .../primitives/messages/src/source_chain.rs | 8 +- .../primitives/messages/src/storage_keys.rs | 8 +- .../primitives/messages/src/target_chain.rs | 2 +- bridges/primitives/pezkuwi-core/Cargo.toml | 6 +- bridges/primitives/pezkuwi-core/src/lib.rs | 8 +- .../primitives/pezkuwi-core/src/teyrchains.rs | 2 +- bridges/primitives/relayers/Cargo.toml | 12 +- bridges/primitives/relayers/src/extension.rs | 4 +- bridges/primitives/relayers/src/lib.rs | 2 +- .../primitives/relayers/src/registration.rs | 2 +- bridges/primitives/runtime/Cargo.toml | 4 +- bridges/primitives/runtime/src/chain.rs | 12 +- bridges/primitives/test-utils/Cargo.toml | 12 +- bridges/primitives/test-utils/src/keyring.rs | 2 +- bridges/primitives/test-utils/src/lib.rs | 4 +- bridges/primitives/teyrchains/Cargo.toml | 12 +- .../primitives/teyrchains/src/call_info.rs | 2 +- bridges/primitives/teyrchains/src/lib.rs | 10 +- bridges/primitives/xcm-bridge-hub/Cargo.toml | 6 +- bridges/primitives/xcm-bridge-hub/src/lib.rs | 2 +- bridges/relays/client-bizinikiwi/Cargo.toml | 12 +- bridges/relays/client-bizinikiwi/src/chain.rs | 4 +- .../client-bizinikiwi/src/client/rpc.rs | 2 +- .../client-bizinikiwi/src/client/traits.rs | 2 +- bridges/relays/client-bizinikiwi/src/error.rs | 2 +- bridges/relays/client-bizinikiwi/src/lib.rs | 2 +- .../client-bizinikiwi/src/sync_header.rs | 6 +- .../client-bizinikiwi/src/test_chain.rs | 14 +- bridges/relays/equivocation/Cargo.toml | 12 +- .../relays/equivocation/src/block_checker.rs | 4 +- .../equivocation/src/equivocation_loop.rs | 2 +- bridges/relays/equivocation/src/lib.rs | 6 +- bridges/relays/equivocation/src/mock.rs | 4 +- bridges/relays/finality/Cargo.toml | 8 +- bridges/relays/finality/README.md | 2 +- bridges/relays/finality/src/base.rs | 2 +- .../relays/finality/src/finality_proofs.rs | 2 +- bridges/relays/finality/src/headers.rs | 2 +- bridges/relays/finality/src/lib.rs | 2 +- bridges/relays/finality/src/mock.rs | 2 +- .../relays/lib-bizinikiwi-relay/Cargo.toml | 20 +- .../src/cli/chain_schema.rs | 6 +- .../src/cli/init_bridge.rs | 2 +- .../src/cli/relay_headers_and_messages/mod.rs | 8 +- .../relay_to_relay.rs | 2 +- .../relay_to_teyrchain.rs | 2 +- .../teyrchain_to_teyrchain.rs | 2 +- .../src/cli/relay_messages.rs | 2 +- .../src/cli/relay_teyrchains.rs | 2 +- .../src/equivocation/mod.rs | 10 +- .../src/equivocation/source.rs | 6 +- .../src/equivocation/target.rs | 6 +- .../src/finality/initialize.rs | 2 +- .../lib-bizinikiwi-relay/src/finality/mod.rs | 22 +- .../src/finality/source.rs | 6 +- .../src/finality/target.rs | 4 +- .../src/finality_base/engine.rs | 16 +- .../src/finality_base/mod.rs | 2 +- .../relays/lib-bizinikiwi-relay/src/lib.rs | 6 +- .../src/messages/metrics.rs | 2 +- .../lib-bizinikiwi-relay/src/messages/mod.rs | 32 +- .../src/messages/source.rs | 4 +- .../src/messages/target.rs | 2 +- .../src/on_demand/headers.rs | 16 +- .../src/on_demand/teyrchains.rs | 2 +- .../src/teyrchains/mod.rs | 2 +- .../src/teyrchains/source.rs | 2 +- .../src/teyrchains/target.rs | 2 +- bridges/relays/messages/Cargo.toml | 8 +- bridges/relays/messages/src/metrics.rs | 2 +- bridges/relays/teyrchains/README.md | 2 +- bridges/relays/utils/Cargo.toml | 4 +- bridges/relays/utils/src/lib.rs | 2 +- .../pallets/ethereum-client/src/types.rs | 28 - .../ethereum-client/Cargo.toml | 24 +- .../ethereum-client/README.md | 0 .../ethereum-client/benchmark.md | 6 +- .../ethereum-client/fixtures/Cargo.toml | 12 +- .../ethereum-client/fixtures/src/lib.rs | 8 +- .../ethereum-client/src/benchmarking/mod.rs | 4 +- .../ethereum-client/src/benchmarking/util.rs | 2 +- .../ethereum-client/src/config/altair.rs | 0 .../ethereum-client/src/config/electra.rs | 0 .../ethereum-client/src/config/mod.rs | 0 .../ethereum-client/src/functions.rs | 2 +- .../ethereum-client/src/impls.rs | 8 +- .../ethereum-client/src/lib.rs | 4 +- .../ethereum-client/src/mock.rs | 26 +- .../ethereum-client/src/tests.rs | 10 +- .../pezpallets/ethereum-client/src/types.rs | 28 + .../ethereum-client/src/weights.rs | 0 .../tests/fixtures/execution-proof.json | 0 .../fixtures/finalized-header-update.json | 0 .../tests/fixtures/inbound-message.json | 0 .../tests/fixtures/initial-checkpoint.json | 0 .../interim-finalized-header-update.json | 0 .../next-finalized-header-update.json | 0 .../fixtures/next-sync-committee-update.json | 0 .../sync-committee-update-period-0-newer.json | 0 .../sync-committee-update-period-0-older.json | 0 .../sync-committee-update-period-0.json | 0 .../tests/fixtures/sync-committee-update.json | 0 .../inbound-queue-v2/Cargo.toml | 24 +- .../inbound-queue-v2/README.md | 2 +- .../inbound-queue-v2/fixtures/Cargo.toml | 18 +- .../inbound-queue-v2/fixtures/src/lib.rs | 0 .../fixtures/src/register_token.rs | 4 +- .../inbound-queue-v2/src/benchmarking.rs | 0 .../inbound-queue-v2/src/lib.rs | 6 +- .../inbound-queue-v2/src/mock.rs | 14 +- .../inbound-queue-v2/src/test.rs | 12 +- .../inbound-queue-v2/src/weights.rs | 0 .../inbound-queue/Cargo.toml | 20 +- .../inbound-queue/README.md | 0 .../inbound-queue/fixtures/Cargo.toml | 18 +- .../inbound-queue/fixtures/src/lib.rs | 0 .../fixtures/src/register_token.rs | 4 +- .../fixtures/src/send_native_eth.rs | 4 +- .../inbound-queue/fixtures/src/send_token.rs | 4 +- .../fixtures/src/send_token_to_penpal.rs | 4 +- .../inbound-queue/src/benchmarking/mod.rs | 0 .../inbound-queue/src/envelope.rs | 4 +- .../inbound-queue/src/lib.rs | 6 +- .../inbound-queue/src/mock.rs | 16 +- .../inbound-queue/src/test.rs | 8 +- .../inbound-queue/src/weights.rs | 0 .../outbound-queue-v2/Cargo.toml | 34 +- .../outbound-queue-v2/runtime-api/Cargo.toml | 10 +- .../outbound-queue-v2/runtime-api/src/lib.rs | 2 +- .../outbound-queue-v2/src/api.rs | 2 +- .../outbound-queue-v2/src/benchmarking.rs | 2 +- .../outbound-queue-v2/src/fixture.rs | 4 +- .../outbound-queue-v2/src/lib.rs | 16 +- .../outbound-queue-v2/src/mock.rs | 6 +- .../src/process_message_impl.rs | 0 .../src/send_message_impl.rs | 4 +- .../outbound-queue-v2/src/test.rs | 4 +- .../outbound-queue-v2/src/types.rs | 2 +- .../outbound-queue-v2/src/weights.rs | 0 .../outbound-queue/Cargo.toml | 18 +- .../outbound-queue/README.md | 0 .../outbound-queue/runtime-api/Cargo.toml | 22 +- .../outbound-queue/runtime-api/README.md | 0 .../outbound-queue/runtime-api/src/lib.rs | 6 +- .../outbound-queue/src/api.rs | 6 +- .../outbound-queue/src/benchmarking.rs | 4 +- .../outbound-queue/src/lib.rs | 16 +- .../outbound-queue/src/mock.rs | 4 +- .../src/process_message_impl.rs | 0 .../outbound-queue/src/send_message_impl.rs | 6 +- .../outbound-queue/src/test.rs | 6 +- .../outbound-queue/src/types.rs | 2 +- .../outbound-queue/src/weights.rs | 0 .../system-frontend/Cargo.toml | 10 +- .../system-frontend/src/backend_weights.rs | 0 .../system-frontend/src/benchmarking.rs | 0 .../system-frontend/src/lib.rs | 2 +- .../system-frontend/src/mock.rs | 6 +- .../system-frontend/src/tests.rs | 4 +- .../system-frontend/src/weights.rs | 0 .../system-v2/Cargo.toml | 16 +- .../system-v2/README.md | 0 .../system-v2/runtime-api/Cargo.toml | 10 +- .../system-v2/runtime-api/README.md | 0 .../system-v2/runtime-api/src/lib.rs | 2 +- .../system-v2/src/api.rs | 0 .../system-v2/src/benchmarking.rs | 0 .../system-v2/src/lib.rs | 10 +- .../system-v2/src/mock.rs | 12 +- .../system-v2/src/tests.rs | 2 +- .../system-v2/src/weights.rs | 0 .../{pallets => pezpallets}/system/Cargo.toml | 12 +- .../{pallets => pezpallets}/system/README.md | 0 .../system/runtime-api/Cargo.toml | 10 +- .../system/runtime-api/README.md | 0 .../system/runtime-api/src/lib.rs | 2 +- .../{pallets => pezpallets}/system/src/api.rs | 2 +- .../system/src/benchmarking.rs | 4 +- .../{pallets => pezpallets}/system/src/lib.rs | 6 +- .../system/src/migration.rs | 4 +- .../system/src/mock.rs | 10 +- .../system/src/tests.rs | 2 +- .../system/src/weights.rs | 0 .../snowbridge/primitives/beacon/Cargo.toml | 10 +- .../primitives/beacon/src/receipt.rs | 2 +- bridges/snowbridge/primitives/core/Cargo.toml | 4 +- .../snowbridge/primitives/core/tests/mod.rs | 2 +- .../snowbridge/primitives/ethereum/Cargo.toml | 4 +- .../primitives/inbound-queue/Cargo.toml | 26 +- .../primitives/inbound-queue/src/lib.rs | 2 +- .../primitives/inbound-queue/src/v1.rs | 4 +- .../inbound-queue/src/v2/converter.rs | 6 +- .../primitives/inbound-queue/src/v2/mod.rs | 2 +- .../primitives/merkle-tree/Cargo.toml | 4 +- .../primitives/outbound-queue/Cargo.toml | 16 +- .../primitives/outbound-queue/src/lib.rs | 2 +- .../outbound-queue/src/v1/converter/mod.rs | 2 +- .../outbound-queue/src/v1/converter/tests.rs | 2 +- .../outbound-queue/src/v1/message.rs | 2 +- .../src/v2/converter/convert.rs | 2 +- .../outbound-queue/src/v2/converter/mod.rs | 4 +- .../outbound-queue/src/v2/converter/tests.rs | 2 +- .../outbound-queue/src/v2/exporter.rs | 2 +- .../primitives/verification/Cargo.toml | 10 +- .../primitives/verification/src/lib.rs | 2 +- .../runtime/runtime-common/Cargo.toml | 4 +- .../snowbridge/runtime/test-common/Cargo.toml | 10 +- .../snowbridge/runtime/test-common/src/lib.rs | 106 +- bridges/snowbridge/test-utils/Cargo.toml | 12 +- .../test-utils/src/mock_converter.rs | 2 +- .../test-utils/src/mock_inbound_queue.rs | 2 +- .../test-utils/src/mock_outbound_queue.rs | 12 +- .../bp-asset-hub-pezkuwichain/Cargo.toml | 2 + .../bp-asset-hub-zagros/Cargo.toml | 2 + .../bp-bridge-hub-pezcumulus/Cargo.toml | 2 + .../bp-bridge-hub-pezkuwichain/Cargo.toml | 2 + .../bp-bridge-hub-zagros/Cargo.toml | 2 + .../bp-header-pez-chain/Cargo.toml | 2 + crate_placeholders/bp-pez-messages/Cargo.toml | 2 + crate_placeholders/bp-pez-relayers/Cargo.toml | 2 + crate_placeholders/bp-pezbeefy/Cargo.toml | 2 + .../bp-pezkuwi-bulletin/Cargo.toml | 2 + crate_placeholders/bp-pezkuwi-core/Cargo.toml | 2 + crate_placeholders/bp-pezkuwichain/Cargo.toml | 2 + .../bp-test-pezutils/Cargo.toml | 2 + crate_placeholders/bp-teyrchains/Cargo.toml | 2 + .../bp-xcm-pezbridge-hub-router/Cargo.toml | 2 + .../bp-xcm-pezbridge-hub/Cargo.toml | 2 + crate_placeholders/bp-zagros/Cargo.toml | 2 + .../collectives-zagros-runtime/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../coretime-pezkuwichain-runtime/Cargo.toml | 2 + .../coretime-zagros-emulated-chain/Cargo.toml | 2 + .../Cargo.toml | 2 + .../coretime-zagros-runtime/Cargo.toml | 2 + .../Cargo.toml | 2 + .../glutton-zagros-runtime/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../people-pezkuwichain-runtime/Cargo.toml | 2 + .../people-zagros-emulated-chain/Cargo.toml | 2 + .../Cargo.toml | 2 + .../people-zagros-runtime/Cargo.toml | 2 + .../pez-equivocation-detector/Cargo.toml | 2 + .../pez-erasure-coding-fuzzer/Cargo.toml | 2 + .../pez-ethereum-standards/Cargo.toml | 2 + .../pez-finality-relay/Cargo.toml | 2 + crate_placeholders/pez-fork-tree/Cargo.toml | 2 + .../pez-generate-bags/Cargo.toml | 2 + .../pez-kitchensink-runtime/Cargo.toml | 2 + .../pez-messages-relay/Cargo.toml | 2 + .../pez-minimal-template-node/Cargo.toml | 2 + .../pez-minimal-template-runtime/Cargo.toml | 2 + crate_placeholders/pez-node-bench/Cargo.toml | 2 + .../pez-node-primitives/Cargo.toml | 2 + crate_placeholders/pez-node-rpc/Cargo.toml | 2 + .../pez-node-runtime-generate-bags/Cargo.toml | 2 + .../pez-node-template-release/Cargo.toml | 2 + .../pez-node-testing/Cargo.toml | 2 + .../pez-penpal-emulated-chain/Cargo.toml | 2 + .../pez-penpal-runtime/Cargo.toml | 2 + .../pez-remote-ext-tests-bags-list/Cargo.toml | 2 + .../pez-revive-dev-node/Cargo.toml | 2 + .../pez-revive-dev-runtime/Cargo.toml | 2 + .../pez-slot-range-helper/Cargo.toml | 2 + .../pez-solochain-template-node/Cargo.toml | 2 + .../pez-solochain-template-runtime/Cargo.toml | 2 + crate_placeholders/pez-subkey/Cargo.toml | 2 + .../pez-template-zombienet-tests/Cargo.toml | 2 + .../pez-tracing-gum-proc-macro/Cargo.toml | 2 + crate_placeholders/pez-tracing-gum/Cargo.toml | 2 + .../pez-zombienet-backchannel/Cargo.toml | 2 + .../pezassets-common/Cargo.toml | 2 + crate_placeholders/pezbp-runtime/Cargo.toml | 2 + .../pezbridge-hub-common/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezbridge-hub-test-utils/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezbridge-hub-zagros-runtime/Cargo.toml | 2 + .../pezbridge-runtime-common/Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezframe-omni-bencher/Cargo.toml | 2 + .../pezframe-remote-externalities/Cargo.toml | 2 + .../Cargo.toml | 2 + crate_placeholders/pezkuwi/Cargo.toml | 2 + .../pezkuwichain-emulated-chain/Cargo.toml | 2 + .../pezkuwichain-runtime-constants/Cargo.toml | 2 + .../pezkuwichain-runtime/Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezkuwichain-teyrchain-runtime/Cargo.toml | 2 + .../Cargo.toml | 2 + crate_placeholders/pezmmr-gadget/Cargo.toml | 2 + crate_placeholders/pezmmr-rpc/Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezsnowbridge-core/Cargo.toml | 2 + .../pezsnowbridge-ethereum/Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezsnowbridge-merkle-tree/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezsnowbridge-pezpallet-system/Cargo.toml | 2 + .../pezsnowbridge-runtime-common/Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../Cargo.toml | 2 + .../pezsnowbridge-test-utils/Cargo.toml | 2 + .../Cargo.toml | 2 + .../peztest-runtime-constants/Cargo.toml | 2 + .../relay-bizinikiwi-client/Cargo.toml | 2 + crate_placeholders/relay-pezutils/Cargo.toml | 2 + .../test-teyrchain-adder-collator/Cargo.toml | 2 + .../test-teyrchain-adder/Cargo.toml | 2 + .../test-teyrchain-halt/Cargo.toml | 2 + .../Cargo.toml | 2 + .../test-teyrchain-undying/Cargo.toml | 2 + .../testnet-teyrchains-constants/Cargo.toml | 2 + .../teyrchain-template-node/Cargo.toml | 2 + .../teyrchain-template-runtime/Cargo.toml | 2 + .../teyrchain-template/Cargo.toml | 2 + .../teyrchains-common/Cargo.toml | 2 + .../teyrchains-relay/Cargo.toml | 2 + .../teyrchains-runtimes-test-utils/Cargo.toml | 2 + crate_placeholders/xcm-pez-docs/Cargo.toml | 2 + .../xcm-pez-emulator/Cargo.toml | 2 + .../Cargo.toml | 2 + .../xcm-pez-procedural/Cargo.toml | 2 + .../xcm-pez-simulator-example/Cargo.toml | 2 + .../xcm-pez-simulator-fuzzer/Cargo.toml | 2 + .../xcm-pez-simulator/Cargo.toml | 2 + .../xcm-runtime-pezapis/Cargo.toml | 2 + .../yet-another-teyrchain-runtime/Cargo.toml | 2 + .../zagros-emulated-chain/Cargo.toml | 2 + .../zagros-runtime-constants/Cargo.toml | 2 + crate_placeholders/zagros-runtime/Cargo.toml | 2 + .../zagros-system-emulated-network/Cargo.toml | 2 + docs/RELEASE.md | 2 +- docs/runtimes-pallets.md | 28 +- docs/sdk/Cargo.toml | 28 +- .../Cargo.toml | 4 +- .../src/lib.rs | 0 .../packages/guides/first-runtime/Cargo.toml | 6 +- docs/sdk/src/guides/async_backing_guide.rs | 6 +- docs/sdk/src/guides/enable_elastic_scaling.rs | 4 +- docs/sdk/src/guides/enable_pov_reclaim.rs | 2 +- .../src/guides/handling_teyrchain_forks.rs | 2 +- docs/sdk/src/guides/your_first_pallet/mod.rs | 46 +- docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs | 2 +- docs/sdk/src/pezkuwi_sdk/mod.rs | 4 +- docs/sdk/src/pezkuwi_sdk/pezcumulus.rs | 22 +- docs/sdk/src/pezkuwi_sdk/xcm.rs | 4 +- .../src/reference_docs/chain_spec_genesis.rs | 14 +- .../chain_spec_runtime/Cargo.toml | 4 +- .../chain_spec_runtime/src/runtime.rs | 4 +- .../tests/chain_spec_builder_tests.rs | 6 +- .../reference_docs/frame_pallet_coupling.rs | 2 +- docs/sdk/src/reference_docs/omni_node.rs | 6 +- .../reference_docs/transaction_extensions.rs | 2 +- docs/sdk/src/reference_docs/umbrella_crate.rs | 2 +- fix_errors.py | 95 + fix_final.py | 99 + pezcumulus/bin/pov-validator/Cargo.toml | 4 +- pezcumulus/bin/pov-validator/src/main.rs | 2 +- pezcumulus/client/collator/Cargo.toml | 4 +- pezcumulus/client/collator/src/lib.rs | 4 +- pezcumulus/client/collator/src/service.rs | 4 +- pezcumulus/client/consensus/aura/Cargo.toml | 4 +- .../client/consensus/aura/src/collator.rs | 2 +- .../consensus/aura/src/collators/basic.rs | 2 +- .../consensus/aura/src/collators/lookahead.rs | 2 +- .../collators/slot_based/collation_task.rs | 2 +- pezcumulus/client/consensus/aura/src/lib.rs | 2 +- pezcumulus/client/network/Cargo.toml | 4 +- pezcumulus/client/network/src/lib.rs | 2 +- pezcumulus/client/network/src/tests.rs | 2 +- pezcumulus/client/pov-recovery/Cargo.toml | 4 +- .../src/active_candidate_recovery.rs | 2 +- pezcumulus/client/pov-recovery/src/lib.rs | 2 +- pezcumulus/client/pov-recovery/src/tests.rs | 2 +- pezcumulus/pezkuwi-teyrchain/Cargo.toml | 22 +- .../src/chain_spec/bridge_hubs.rs | 4 +- .../src/chain_spec/penpal.rs | 2 +- .../src/chain_spec/yet_another_teyrchain.rs | 2 +- .../{pallets => pezpallets}/ah-ops/Cargo.toml | 0 .../ah-ops/src/benchmarking.rs | 0 .../{pallets => pezpallets}/ah-ops/src/lib.rs | 0 .../ah-ops/src/mock.rs | 0 .../ah-ops/src/tests.rs | 0 .../ah-ops/src/weights.rs | 0 .../aura-ext/Cargo.toml | 2 +- .../aura-ext/src/consensus_hook.rs | 2 +- .../aura-ext/src/lib.rs | 4 +- .../aura-ext/src/migration.rs | 0 .../aura-ext/src/test.rs | 8 +- .../collator-selection/Cargo.toml | 0 .../collator-selection/README.md | 0 .../collator-selection/src/benchmarking.rs | 0 .../collator-selection/src/lib.rs | 0 .../collator-selection/src/migration.rs | 0 .../collator-selection/src/mock.rs | 0 .../collator-selection/src/tests.rs | 0 .../collator-selection/src/weights.rs | 0 .../dmp-queue/Cargo.toml | 0 .../dmp-queue/src/benchmarking.rs | 0 .../dmp-queue/src/lib.rs | 0 .../dmp-queue/src/migration.rs | 0 .../dmp-queue/src/mock.rs | 0 .../dmp-queue/src/tests.rs | 0 .../dmp-queue/src/weights.rs | 8 +- .../session-benchmarking/Cargo.toml | 0 .../session-benchmarking/README.md | 0 .../session-benchmarking/src/inner.rs | 0 .../session-benchmarking/src/lib.rs | 0 .../solo-to-para/Cargo.toml | 0 .../solo-to-para/src/lib.rs | 2 +- .../teyrchain-system/Cargo.toml | 0 .../teyrchain-system/proc-macro/Cargo.toml | 0 .../teyrchain-system/proc-macro/src/lib.rs | 2 +- .../teyrchain-system/src/benchmarking.rs | 0 .../teyrchain-system/src/consensus_hook.rs | 0 .../src/descendant_validation.rs | 0 .../teyrchain-system/src/lib.rs | 2 +- .../teyrchain-system/src/migration.rs | 0 .../teyrchain-system/src/mock.rs | 0 .../src/relay_state_snapshot.rs | 0 .../teyrchain-system/src/tests.rs | 0 .../src/teyrchain_inherent.rs | 0 .../src/unincluded_segment.rs | 0 .../src/validate_block/implementation.rs | 0 .../src/validate_block/mod.rs | 0 .../src/validate_block/tests.rs | 0 .../src/validate_block/trie_cache.rs | 0 .../src/validate_block/trie_recorder.rs | 0 .../teyrchain-system/src/weights.rs | 10 +- .../weight-reclaim/Cargo.toml | 0 .../weight-reclaim/src/benchmarks.rs | 0 .../weight-reclaim/src/lib.rs | 0 .../weight-reclaim/src/tests.rs | 0 .../weight-reclaim/src/weights.rs | 8 +- .../{pallets => pezpallets}/xcm/Cargo.toml | 0 .../{pallets => pezpallets}/xcm/src/lib.rs | 0 .../xcmp-queue/Cargo.toml | 0 .../xcmp-queue/src/benchmarking.rs | 0 .../xcmp-queue/src/bridging.rs | 0 .../xcmp-queue/src/lib.rs | 0 .../xcmp-queue/src/migration.rs | 0 .../xcmp-queue/src/migration/v5.rs | 0 .../xcmp-queue/src/mock.rs | 10 +- .../xcmp-queue/src/tests.rs | 0 .../xcmp-queue/src/weights.rs | 8 +- .../xcmp-queue/src/weights_ext.rs | 0 pezcumulus/test/runtime/src/lib.rs | 24 +- pezcumulus/test/runtime/src/test_pallet.rs | 4 +- pezcumulus/test/service/src/bench_utils.rs | 4 +- .../chains/relays/pezkuwichain/src/lib.rs | 2 +- .../emulated/chains/relays/zagros/src/lib.rs | 2 +- .../asset-hub-pezkuwichain/src/genesis.rs | 2 +- .../assets/asset-hub-pezkuwichain/src/lib.rs | 2 +- .../assets/asset-hub-zagros/src/genesis.rs | 2 +- .../assets/asset-hub-zagros/src/lib.rs | 2 +- .../bridge-hub-pezkuwichain/Cargo.toml | 8 +- .../bridge-hub-pezkuwichain/src/genesis.rs | 26 +- .../bridge-hub-pezkuwichain/src/lib.rs | 26 +- .../bridges/bridge-hub-zagros/Cargo.toml | 8 +- .../bridges/bridge-hub-zagros/src/genesis.rs | 26 +- .../bridges/bridge-hub-zagros/src/lib.rs | 28 +- .../collectives/collectives-zagros/src/lib.rs | 2 +- .../coretime/coretime-pezkuwichain/src/lib.rs | 2 +- .../coretime/coretime-zagros/src/lib.rs | 2 +- .../people/people-pezkuwichain/src/lib.rs | 2 +- .../people/people-zagros/src/lib.rs | 2 +- .../teyrchains/testing/penpal/Cargo.toml | 8 +- .../teyrchains/testing/penpal/src/genesis.rs | 30 +- .../teyrchains/testing/penpal/src/lib.rs | 52 +- .../emulated/common/Cargo.toml | 18 +- .../emulated/common/src/impls.rs | 8 +- .../emulated/common/src/lib.rs | 6 +- .../emulated/common/src/macros.rs | 14 +- .../emulated/common/src/xcm_helpers.rs | 2 +- .../networks/pezkuwichain-system/Cargo.toml | 8 +- .../networks/pezkuwichain-system/src/lib.rs | 10 +- .../pezkuwichain-zagros-system/Cargo.toml | 12 +- .../pezkuwichain-zagros-system/src/lib.rs | 14 +- .../networks/zagros-system/Cargo.toml | 8 +- .../networks/zagros-system/src/lib.rs | 10 +- .../assets/asset-hub-pezkuwichain/Cargo.toml | 10 +- .../assets/asset-hub-pezkuwichain/src/lib.rs | 8 +- .../src/tests/treasury.rs | 4 +- .../src/tests/xcm_fee_estimation.rs | 2 +- .../tests/assets/asset-hub-zagros/Cargo.toml | 10 +- .../tests/assets/asset-hub-zagros/src/lib.rs | 14 +- .../src/tests/exchange_asset.rs | 2 +- .../src/tests/fellowship_treasury.rs | 2 +- .../src/tests/set_asset_claimer.rs | 2 +- .../asset-hub-zagros/src/tests/treasury.rs | 2 +- .../src/tests/xcm_fee_estimation.rs | 2 +- .../bridge-hub-pezkuwichain/Cargo.toml | 14 +- .../bridge-hub-pezkuwichain/src/lib.rs | 8 +- .../src/tests/asset_transfers.rs | 2 +- .../bridge-hub-pezkuwichain/src/tests/mod.rs | 2 +- .../bridges/bridge-hub-zagros/Cargo.toml | 22 +- .../bridges/bridge-hub-zagros/src/lib.rs | 10 +- .../bridge-hub-zagros/src/tests/aliases.rs | 2 +- .../src/tests/asset_transfers.rs | 16 +- .../bridge-hub-zagros/src/tests/mod.rs | 2 +- .../bridge-hub-zagros/src/tests/snowbridge.rs | 76 +- .../src/tests/snowbridge_common.rs | 14 +- .../src/tests/snowbridge_edge_case.rs | 6 +- .../src/tests/snowbridge_v2_inbound.rs | 30 +- .../snowbridge_v2_inbound_to_pezkuwichain.rs | 16 +- .../src/tests/snowbridge_v2_outbound.rs | 38 +- .../tests/snowbridge_v2_outbound_edge_case.rs | 2 +- ...nowbridge_v2_outbound_from_pezkuwichain.rs | 6 +- .../src/tests/snowbridge_v2_rewards.rs | 2 +- .../collectives/collectives-zagros/Cargo.toml | 2 +- .../collectives/collectives-zagros/src/lib.rs | 6 +- .../src/tests/collectives_salary.rs | 4 +- .../src/tests/fellowship_treasury.rs | 4 +- .../coretime/coretime-pezkuwichain/Cargo.toml | 2 +- .../coretime/coretime-pezkuwichain/src/lib.rs | 2 +- .../src/tests/coretime_interface.rs | 6 +- .../tests/coretime/coretime-zagros/Cargo.toml | 2 +- .../tests/coretime/coretime-zagros/src/lib.rs | 6 +- .../src/tests/coretime_interface.rs | 6 +- .../tests/governance/zagros/Cargo.toml | 2 +- .../tests/governance/zagros/src/lib.rs | 2 +- .../zagros/src/open_gov_on_relay.rs | 2 +- .../people/people-pezkuwichain/Cargo.toml | 6 +- .../people/people-pezkuwichain/src/lib.rs | 4 +- .../tests/people/people-zagros/Cargo.toml | 2 +- .../tests/people/people-zagros/src/lib.rs | 6 +- .../collective-content/Cargo.toml | 0 .../collective-content/src/benchmarking.rs | 0 .../collective-content/src/lib.rs | 0 .../collective-content/src/mock.rs | 0 .../collective-content/src/tests.rs | 0 .../collective-content/src/weights.rs | 0 .../identity-kyc/Cargo.toml | 0 .../identity-kyc/src/benchmarking.rs | 0 .../identity-kyc/src/lib.rs | 0 .../identity-kyc/src/mock.rs | 0 .../identity-kyc/src/tests.rs | 0 .../identity-kyc/src/types.rs | 0 .../identity-kyc/src/weights.rs | 2 +- .../perwerde/Cargo.toml | 0 .../perwerde/src/benchmarking.rs | 0 .../perwerde/src/lib.rs | 0 .../perwerde/src/mock.rs | 0 .../perwerde/src/tests.rs | 0 .../perwerde/src/weights.rs | 2 +- .../pez-rewards/Cargo.toml | 0 .../pez-rewards/src/benchmarking.rs | 0 .../pez-rewards/src/lib.rs | 0 .../pez-rewards/src/mock.rs | 0 .../pez-rewards/src/tests.rs | 0 .../pez-rewards/src/weights.rs | 2 +- .../pez-treasury/Cargo.toml | 0 .../pez-treasury/src/benchmarking.rs | 0 .../pez-treasury/src/lib.rs | 0 .../pez-treasury/src/migrations.rs | 0 .../pez-treasury/src/mock.rs | 0 .../pez-treasury/src/tests.rs | 0 .../pez-treasury/src/weights.rs | 2 +- .../{pallets => pezpallets}/ping/Cargo.toml | 0 .../{pallets => pezpallets}/ping/src/lib.rs | 2 +- .../presale/Cargo.toml | 0 .../presale/src/benchmarking.rs | 0 .../presale/src/lib.rs | 0 .../presale/src/mock.rs | 0 .../presale/src/tests.rs | 0 .../presale/src/weights.rs | 2 +- .../referral/Cargo.toml | 0 .../referral/src/benchmarking.rs | 0 .../referral/src/lib.rs | 0 .../referral/src/mock.rs | 0 .../referral/src/tests.rs | 0 .../referral/src/types.rs | 0 .../referral/src/weights.rs | 2 +- .../staking-score/Cargo.toml | 0 .../staking-score/src/benchmarking.rs | 0 .../staking-score/src/lib.rs | 0 .../staking-score/src/mock.rs | 0 .../staking-score/src/tests.rs | 0 .../staking-score/src/weights.rs | 2 +- .../teyrchain-info/Cargo.toml | 0 .../teyrchain-info/src/lib.rs | 0 .../{pallets => pezpallets}/tiki/Cargo.toml | 0 .../tiki/src/benchmarking.rs | 0 .../tiki/src/ensure.rs | 0 .../{pallets => pezpallets}/tiki/src/lib.rs | 0 .../tiki/src/migrations.rs | 0 .../{pallets => pezpallets}/tiki/src/mock.rs | 0 .../{pallets => pezpallets}/tiki/src/tests.rs | 0 .../tiki/src/weights.rs | 2 +- .../token-wrapper/Cargo.toml | 0 .../token-wrapper/src/benchmarking.rs | 0 .../token-wrapper/src/lib.rs | 0 .../token-wrapper/src/mock.rs | 0 .../token-wrapper/src/tests.rs | 0 .../token-wrapper/src/weights.rs | 2 +- .../{pallets => pezpallets}/trust/Cargo.toml | 0 .../trust/src/benchmarking.rs | 0 .../{pallets => pezpallets}/trust/src/lib.rs | 0 .../{pallets => pezpallets}/trust/src/mock.rs | 0 .../trust/src/tests.rs | 0 .../trust/src/weights.rs | 2 +- .../{pallets => pezpallets}/welati/Cargo.toml | 0 .../welati/src/benchmarking.rs | 0 .../{pallets => pezpallets}/welati/src/lib.rs | 0 .../welati/src/migrations.rs | 0 .../welati/src/mock.rs | 0 .../welati/src/tests.rs | 0 .../welati/src/types.rs | 0 .../welati/src/weights.rs | 2 +- .../assets/asset-hub-pezkuwichain/Cargo.toml | 12 +- .../bridge-primitives/Cargo.toml | 6 +- .../bridge-primitives/src/lib.rs | 4 +- .../assets/asset-hub-pezkuwichain/src/lib.rs | 88 +- .../asset-hub-pezkuwichain/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../asset-hub-pezkuwichain/src/xcm_config.rs | 6 +- .../asset-hub-pezkuwichain/tests/tests.rs | 42 +- .../assets/asset-hub-zagros/Cargo.toml | 26 +- .../bridge-primitives/Cargo.toml | 6 +- .../bridge-primitives/src/lib.rs | 4 +- .../src/bridge_to_ethereum_config.rs | 10 +- .../assets/asset-hub-zagros/src/lib.rs | 92 +- .../asset-hub-zagros/src/weights/mod.rs | 10 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../snowbridge_pallet_system_backend.rs | 6 +- .../snowbridge_pallet_system_frontend.rs | 8 +- .../assets/asset-hub-zagros/src/xcm_config.rs | 12 +- .../assets/asset-hub-zagros/tests/tests.rs | 42 +- .../runtimes/assets/common/Cargo.toml | 2 +- .../assets/common/src/erc20_transactor.rs | 2 +- .../runtimes/assets/test-utils/Cargo.toml | 10 +- .../assets/test-utils/src/test_cases.rs | 42 +- .../test-utils/src/test_cases_over_bridge.rs | 18 +- .../teyrchains/runtimes/bridge-hubs/README.md | 2 +- .../bridge-hub-pezkuwichain/Cargo.toml | 82 +- .../bridge-primitives/Cargo.toml | 6 +- .../bridge-primitives/src/lib.rs | 4 +- .../src/bridge_to_bulletin_config.rs | 6 +- .../src/bridge_to_ethereum_config.rs | 44 +- .../src/bridge_to_zagros_config.rs | 12 +- .../bridge-hub-pezkuwichain/src/lib.rs | 144 +- .../src/weights/mod.rs | 14 +- .../pezcumulus_pallet_teyrchain_system.rs | 10 +- .../pezcumulus_pallet_weight_reclaim.rs | 10 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 10 +- .../{frame_system.rs => pezframe_system.rs} | 2 +- ...sions.rs => pezframe_system_extensions.rs} | 2 +- .../src/weights/pezpallet_balances.rs | 2 +- .../src/weights/pezpallet_bridge_grandpa.rs | 2 +- ...s_pezkuwichain_to_pezkuwichain_bulletin.rs | 2 +- ..._bridge_messages_pezkuwichain_to_zagros.rs | 2 +- .../pezpallet_bridge_relayers_legacy.rs | 2 +- ...et_bridge_relayers_permissionless_lanes.rs | 2 +- .../weights/pezpallet_bridge_teyrchains.rs | 2 +- .../weights/pezpallet_collator_selection.rs | 2 +- .../src/weights/pezpallet_message_queue.rs | 2 +- .../src/weights/pezpallet_multisig.rs | 2 +- .../src/weights/pezpallet_session.rs | 2 +- .../src/weights/pezpallet_timestamp.rs | 2 +- .../weights/pezpallet_transaction_payment.rs | 2 +- .../src/weights/pezpallet_utility.rs | 2 +- .../src/weights/pezpallet_xcm.rs | 2 +- .../snowbridge_pallet_ethereum_client.rs | 10 +- .../snowbridge_pallet_inbound_queue.rs | 10 +- .../snowbridge_pallet_outbound_queue.rs | 10 +- .../src/weights/snowbridge_pallet_system.rs | 10 +- .../xcm/pezpallet_xcm_benchmarks_fungible.rs | 2 +- .../xcm/pezpallet_xcm_benchmarks_generic.rs | 2 +- .../bridge-hub-pezkuwichain/src/xcm_config.rs | 6 +- .../tests/snowbridge.rs | 24 +- .../bridge-hub-pezkuwichain/tests/tests.rs | 106 +- .../bridge-hubs/bridge-hub-zagros/Cargo.toml | 94 +- .../bridge-primitives/Cargo.toml | 6 +- .../bridge-primitives/src/lib.rs | 4 +- .../src/bridge_common_config.rs | 2 +- .../src/bridge_to_ethereum_config.rs | 88 +- .../src/bridge_to_pezkuwichain_config.rs | 12 +- .../bridge-hubs/bridge-hub-zagros/src/lib.rs | 166 +- .../bridge-hub-zagros/src/weights/mod.rs | 20 +- .../pezcumulus_pallet_teyrchain_system.rs | 10 +- .../pezcumulus_pallet_weight_reclaim.rs | 10 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 10 +- .../{frame_system.rs => pezframe_system.rs} | 2 +- ...sions.rs => pezframe_system_extensions.rs} | 2 +- .../src/weights/pezpallet_balances.rs | 2 +- .../src/weights/pezpallet_bridge_grandpa.rs | 2 +- .../src/weights/pezpallet_bridge_messages.rs | 2 +- .../src/weights/pezpallet_bridge_relayers.rs | 2 +- .../weights/pezpallet_bridge_teyrchains.rs | 2 +- .../weights/pezpallet_collator_selection.rs | 2 +- .../src/weights/pezpallet_message_queue.rs | 2 +- .../src/weights/pezpallet_multisig.rs | 2 +- .../src/weights/pezpallet_session.rs | 2 +- .../src/weights/pezpallet_timestamp.rs | 2 +- .../weights/pezpallet_transaction_payment.rs | 2 +- .../src/weights/pezpallet_utility.rs | 2 +- .../src/weights/pezpallet_xcm.rs | 2 +- .../snowbridge_pallet_ethereum_client.rs | 10 +- .../snowbridge_pallet_inbound_queue.rs | 10 +- .../snowbridge_pallet_inbound_queue_v2.rs | 8 +- .../snowbridge_pallet_outbound_queue.rs | 10 +- .../snowbridge_pallet_outbound_queue_v2.rs | 10 +- .../src/weights/snowbridge_pallet_system.rs | 10 +- .../weights/snowbridge_pallet_system_v2.rs | 6 +- .../xcm/pezpallet_xcm_benchmarks_fungible.rs | 2 +- .../xcm/pezpallet_xcm_benchmarks_generic.rs | 2 +- .../bridge-hub-zagros/src/xcm_config.rs | 6 +- .../bridge-hub-zagros/tests/snowbridge.rs | 24 +- .../bridge-hub-zagros/tests/tests.rs | 48 +- .../runtimes/bridge-hubs/common/Cargo.toml | 6 +- .../bridge-hubs/common/src/message_queue.rs | 2 +- .../bridge-hubs/test-utils/Cargo.toml | 22 +- .../src/test_cases/from_grandpa_chain.rs | 10 +- .../src/test_cases/from_teyrchain.rs | 22 +- .../test-utils/src/test_cases/helpers.rs | 24 +- .../test-utils/src/test_cases/mod.rs | 32 +- .../src/test_data/from_grandpa_chain.rs | 8 +- .../src/test_data/from_teyrchain.rs | 22 +- .../test-utils/src/test_data/mod.rs | 6 +- .../collectives/collectives-zagros/Cargo.toml | 6 +- .../collectives/collectives-zagros/src/lib.rs | 84 +- .../collectives-zagros/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../collectives-zagros/src/xcm_config.rs | 6 +- .../collectives-zagros/tests/tests.rs | 2 +- .../coretime/coretime-pezkuwichain/Cargo.toml | 6 +- .../coretime-pezkuwichain/src/coretime.rs | 2 +- .../coretime/coretime-pezkuwichain/src/lib.rs | 76 +- .../coretime-pezkuwichain/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../coretime-pezkuwichain/src/xcm_config.rs | 6 +- .../coretime-pezkuwichain/tests/tests.rs | 2 +- .../coretime/coretime-zagros/Cargo.toml | 6 +- .../coretime/coretime-zagros/src/coretime.rs | 2 +- .../coretime/coretime-zagros/src/lib.rs | 84 +- .../coretime-zagros/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../coretime-zagros/src/xcm_config.rs | 6 +- .../coretime/coretime-zagros/tests/tests.rs | 2 +- .../glutton/glutton-zagros/src/lib.rs | 26 +- .../glutton/glutton-zagros/src/weights/mod.rs | 2 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../glutton/glutton-zagros/src/xcm_config.rs | 2 +- .../people/people-pezkuwichain/Cargo.toml | 6 +- .../people/people-pezkuwichain/src/lib.rs | 74 +- .../people-pezkuwichain/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../people-pezkuwichain/src/xcm_config.rs | 6 +- .../people/people-pezkuwichain/tests/tests.rs | 2 +- .../runtimes/people/people-zagros/Cargo.toml | 6 +- .../runtimes/people/people-zagros/src/lib.rs | 80 +- .../people/people-zagros/src/weights/mod.rs | 6 +- .../pezcumulus_pallet_teyrchain_system.rs | 8 +- .../pezcumulus_pallet_weight_reclaim.rs | 8 +- .../weights/pezcumulus_pallet_xcmp_queue.rs | 8 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../people/people-zagros/src/xcm_config.rs | 6 +- .../people/people-zagros/tests/tests.rs | 2 +- .../teyrchains/runtimes/test-utils/Cargo.toml | 6 +- .../teyrchains/runtimes/test-utils/src/lib.rs | 28 +- .../runtimes/test-utils/src/test_cases.rs | 10 +- .../runtimes/testing/penpal/Cargo.toml | 10 +- .../runtimes/testing/penpal/src/lib.rs | 62 +- .../runtimes/testing/penpal/src/xcm_config.rs | 6 +- .../testing/pezkuwichain-teyrchain/src/lib.rs | 38 +- .../testing/yet-another-teyrchain/src/lib.rs | 32 +- .../yet-another-teyrchain/src/xcm_config.rs | 6 +- .../Cargo.toml | 8 +- .../README.md | 4 +- .../src/lib.rs | 8 +- .../tests/zombie_ci/statement_store_bench.rs | 2 +- pezkuwi/cli/Cargo.toml | 4 +- pezkuwi/cli/src/cli.rs | 2 +- pezkuwi/erasure-coding/Cargo.toml | 4 +- pezkuwi/erasure-coding/fuzzer/Cargo.toml | 8 +- .../erasure-coding/fuzzer/src/reconstruct.rs | 2 +- .../erasure-coding/fuzzer/src/round_trip.rs | 2 +- pezkuwi/erasure-coding/src/lib.rs | 4 +- pezkuwi/node/collation-generation/Cargo.toml | 4 +- pezkuwi/node/collation-generation/src/lib.rs | 2 +- .../node/collation-generation/src/tests.rs | 2 +- .../core/approval-voting-parallel/Cargo.toml | 4 +- .../core/approval-voting-parallel/src/lib.rs | 2 +- .../approval-voting-parallel/src/tests.rs | 2 +- pezkuwi/node/core/approval-voting/Cargo.toml | 4 +- .../approval-voting/src/approval_checking.rs | 4 +- .../approval_db/common/migration_helpers.rs | 2 +- .../approval-voting/src/approval_db/v1/mod.rs | 2 +- .../src/approval_db/v2/migration_helpers.rs | 2 +- .../approval-voting/src/approval_db/v2/mod.rs | 2 +- .../src/approval_db/v3/migration_helpers.rs | 2 +- .../approval-voting/src/approval_db/v3/mod.rs | 2 +- .../node/core/approval-voting/src/criteria.rs | 4 +- .../node/core/approval-voting/src/import.rs | 16 +- pezkuwi/node/core/approval-voting/src/lib.rs | 4 +- .../approval-voting/src/persisted_entries.rs | 4 +- .../node/core/approval-voting/src/tests.rs | 12 +- pezkuwi/node/core/av-store/Cargo.toml | 4 +- pezkuwi/node/core/av-store/src/lib.rs | 2 +- pezkuwi/node/core/av-store/src/tests.rs | 2 +- pezkuwi/node/core/backing/Cargo.toml | 4 +- pezkuwi/node/core/backing/src/lib.rs | 2 +- pezkuwi/node/core/backing/src/tests/mod.rs | 2 +- .../node/core/candidate-validation/Cargo.toml | 4 +- .../node/core/candidate-validation/src/lib.rs | 2 +- .../core/candidate-validation/src/tests.rs | 2 +- pezkuwi/node/core/chain-api/Cargo.toml | 4 +- pezkuwi/node/core/chain-api/src/tests.rs | 2 +- pezkuwi/node/core/chain-selection/Cargo.toml | 4 +- .../core/chain-selection/src/db_backend/v1.rs | 2 +- pezkuwi/node/core/chain-selection/src/lib.rs | 2 +- pezkuwi/node/core/chain-selection/src/tree.rs | 2 +- .../node/core/dispute-coordinator/Cargo.toml | 4 +- .../core/dispute-coordinator/src/db/v1.rs | 14 +- .../core/dispute-coordinator/src/import.rs | 2 +- .../dispute-coordinator/src/initialized.rs | 2 +- .../node/core/dispute-coordinator/src/lib.rs | 2 +- .../src/participation/mod.rs | 2 +- .../src/participation/tests.rs | 2 +- .../dispute-coordinator/src/scraping/mod.rs | 2 +- .../dispute-coordinator/src/scraping/tests.rs | 2 +- .../core/dispute-coordinator/src/status.rs | 2 +- .../core/dispute-coordinator/src/tests.rs | 4 +- pezkuwi/node/core/provisioner/Cargo.toml | 4 +- .../node/core/provisioner/src/disputes/mod.rs | 2 +- .../src/disputes/prioritized_selection/mod.rs | 2 +- .../disputes/prioritized_selection/tests.rs | 2 +- pezkuwi/node/core/pvf/Cargo.toml | 4 +- pezkuwi/node/core/pvf/common/Cargo.toml | 4 +- pezkuwi/node/core/pvf/common/src/execute.rs | 2 +- .../node/core/pvf/execute-worker/Cargo.toml | 4 +- .../node/core/pvf/execute-worker/src/lib.rs | 2 +- pezkuwi/node/core/pvf/src/execute/queue.rs | 4 +- .../core/pvf/src/execute/worker_interface.rs | 2 +- pezkuwi/node/core/pvf/src/host.rs | 4 +- pezkuwi/node/core/pvf/src/testing.rs | 2 +- pezkuwi/node/core/pvf/tests/it/adder.rs | 2 +- pezkuwi/node/core/pvf/tests/it/main.rs | 2 +- pezkuwi/node/core/pvf/tests/it/process.rs | 2 +- pezkuwi/node/core/runtime-api/Cargo.toml | 4 +- pezkuwi/node/core/runtime-api/src/tests.rs | 2 +- pezkuwi/node/gum/Cargo.toml | 4 +- pezkuwi/node/gum/README.md | 2 +- pezkuwi/node/gum/proc-macro/Cargo.toml | 4 +- pezkuwi/node/gum/proc-macro/src/lib.rs | 6 +- pezkuwi/node/malus/Cargo.toml | 4 +- pezkuwi/node/malus/src/variants/common.rs | 2 +- .../src/variants/suggest_garbage_candidate.rs | 2 +- .../network/approval-distribution/Cargo.toml | 4 +- .../network/approval-distribution/src/lib.rs | 4 +- .../approval-distribution/src/metrics.rs | 2 +- .../approval-distribution/src/tests.rs | 18 +- .../availability-distribution/Cargo.toml | 4 +- .../src/pov_requester/mod.rs | 4 +- .../src/requester/fetch_task/mod.rs | 2 +- .../src/requester/fetch_task/tests.rs | 2 +- .../src/requester/tests.rs | 2 +- .../src/responder.rs | 2 +- .../src/tests/mock.rs | 2 +- .../src/tests/state.rs | 2 +- .../network/availability-recovery/Cargo.toml | 4 +- .../network/availability-recovery/src/lib.rs | 2 +- .../availability-recovery/src/task/mod.rs | 2 +- .../src/task/strategy/chunks.rs | 2 +- .../src/task/strategy/full.rs | 2 +- .../src/task/strategy/mod.rs | 4 +- .../src/task/strategy/systematic.rs | 2 +- .../availability-recovery/src/tests.rs | 2 +- .../node/network/collator-protocol/Cargo.toml | 4 +- .../src/collator_side/collation.rs | 2 +- .../src/collator_side/error.rs | 2 +- .../src/collator_side/mod.rs | 2 +- .../src/collator_side/tests/mod.rs | 2 +- .../src/validator_side/collation.rs | 2 +- .../src/validator_side/mod.rs | 2 +- .../src/validator_side/tests/mod.rs | 2 +- .../network/dispute-distribution/Cargo.toml | 4 +- .../network/dispute-distribution/src/lib.rs | 2 +- .../src/receiver/batches/batch.rs | 2 +- .../dispute-distribution/src/receiver/mod.rs | 2 +- .../dispute-distribution/src/sender/error.rs | 2 +- .../dispute-distribution/src/sender/mod.rs | 2 +- .../dispute-distribution/src/tests/mock.rs | 2 +- .../dispute-distribution/src/tests/mod.rs | 2 +- pezkuwi/node/network/protocol/Cargo.toml | 4 +- pezkuwi/node/network/protocol/src/lib.rs | 6 +- .../protocol/src/request_response/v1.rs | 2 +- .../protocol/src/request_response/v2.rs | 2 +- .../network/statement-distribution/Cargo.toml | 4 +- .../statement-distribution/src/v2/mod.rs | 2 +- .../src/v2/tests/mod.rs | 2 +- pezkuwi/node/overseer/Cargo.toml | 4 +- .../node/overseer/examples/minimal-example.rs | 2 +- pezkuwi/node/overseer/src/metrics.rs | 8 +- pezkuwi/node/overseer/src/tests.rs | 4 +- pezkuwi/node/primitives/Cargo.toml | 4 +- pezkuwi/node/service/Cargo.toml | 12 +- pezkuwi/node/service/src/builder/mod.rs | 4 +- pezkuwi/node/service/src/fake_runtime_api.rs | 16 +- .../node/service/src/relay_chain_selection.rs | 2 +- pezkuwi/node/service/src/tests.rs | 2 +- pezkuwi/node/subsystem-bench/Cargo.toml | 4 +- .../src/lib/approval/helpers.rs | 2 +- .../src/lib/approval/message_generator.rs | 2 +- .../src/lib/approval/mock_chain_selection.rs | 2 +- .../subsystem-bench/src/lib/approval/mod.rs | 4 +- .../src/lib/availability/test_state.rs | 2 +- .../src/lib/disputes/test_state.rs | 2 +- .../subsystem-bench/src/lib/mock/av_store.rs | 2 +- .../src/lib/mock/availability_recovery.rs | 2 +- .../src/lib/mock/candidate_backing.rs | 2 +- .../src/lib/mock/candidate_validation.rs | 2 +- .../src/lib/statement/test_state.rs | 2 +- .../node/subsystem-test-helpers/Cargo.toml | 4 +- .../node/subsystem-test-helpers/src/lib.rs | 2 +- pezkuwi/node/subsystem-types/Cargo.toml | 4 +- pezkuwi/node/subsystem-types/src/messages.rs | 2 +- pezkuwi/node/subsystem-util/Cargo.toml | 4 +- .../node/subsystem-util/src/runtime/mod.rs | 4 +- pezkuwi/node/test/service/Cargo.toml | 8 +- pezkuwi/node/test/service/src/chain_spec.rs | 2 +- pezkuwi/node/test/service/src/lib.rs | 2 +- .../validator-pool/Cargo.toml | 0 .../validator-pool/src/benchmarking.rs | 0 .../validator-pool/src/lib.rs | 0 .../validator-pool/src/mock.rs | 0 .../validator-pool/src/tests.rs | 0 .../validator-pool/src/types.rs | 0 .../validator-pool/src/weights.rs | 0 pezkuwi/rpc/Cargo.toml | 4 +- pezkuwi/rpc/src/lib.rs | 4 +- pezkuwi/runtime/common/Cargo.toml | 6 +- .../Cargo.toml | 4 +- .../src/lib.rs | 2 +- pezkuwi/runtime/common/src/purchase/mock.rs | 6 +- pezkuwi/runtime/common/src/slot_range.rs | 2 +- pezkuwi/runtime/pezkuwichain/Cargo.toml | 6 +- .../pezkuwichain/bridge-primitives/Cargo.toml | 12 +- .../pezkuwichain/bridge-primitives/src/lib.rs | 4 +- .../src/genesis_config_presets.rs | 2 +- pezkuwi/runtime/pezkuwichain/src/lib.rs | 18 +- pezkuwi/runtime/pezkuwichain/src/tests.rs | 2 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 pezkuwi/runtime/test-runtime/Cargo.toml | 6 +- .../runtime/test-runtime/constants/Cargo.toml | 4 +- pezkuwi/runtime/test-runtime/src/lib.rs | 4 +- pezkuwi/runtime/zagros/Cargo.toml | 6 +- .../zagros/bridge-primitives/Cargo.toml | 12 +- .../zagros/bridge-primitives/src/lib.rs | 4 +- .../zagros/src/genesis_config_presets.rs | 2 +- pezkuwi/runtime/zagros/src/lib.rs | 18 +- pezkuwi/runtime/zagros/src/tests.rs | 2 +- .../{frame_system.rs => pezframe_system.rs} | 0 ...sions.rs => pezframe_system_extensions.rs} | 0 .../test-teyrchains/adder/collator/Cargo.toml | 4 +- .../test-teyrchains/adder/collator/src/lib.rs | 4 +- .../adder/collator/src/main.rs | 2 +- .../undying/collator/Cargo.toml | 4 +- .../undying/collator/src/lib.rs | 2 +- .../undying/collator/src/main.rs | 2 +- .../Cargo.toml | 4 +- .../src/main.rs | 2 +- .../remote-ext-tests/bags-list/Cargo.toml | 4 +- pezkuwi/xcm/Cargo.toml | 4 +- pezkuwi/xcm/docs/Cargo.toml | 8 +- .../relay_token_transactor/network.rs | 2 +- .../relay_chain/xcm_config.rs | 2 +- .../cookbook/relay_token_transactor/tests.rs | 2 +- .../relay_token_transactor/teyrchain/mod.rs | 2 +- .../teyrchain/xcm_config.rs | 2 +- pezkuwi/xcm/docs/src/fundamentals.rs | 2 +- pezkuwi/xcm/pezpallet-xcm/Cargo.toml | 10 +- .../xcm/pezpallet-xcm/precompiles/Cargo.toml | 4 +- .../xcm/pezpallet-xcm/precompiles/src/mock.rs | 2 +- pezkuwi/xcm/pezpallet-xcm/src/lib.rs | 8 +- pezkuwi/xcm/pezpallet-xcm/src/migration.rs | 2 +- pezkuwi/xcm/pezpallet-xcm/src/mock.rs | 2 +- pezkuwi/xcm/pezpallet-xcm/src/tests/mod.rs | 2 +- pezkuwi/xcm/procedural/Cargo.toml | 4 +- pezkuwi/xcm/procedural/tests/enum_variants.rs | 2 +- .../badly_formatted_attribute.rs | 2 +- .../ui/builder_pattern/no_unpaid_execution.rs | 2 +- .../tests/ui/builder_pattern/wrong_target.rs | 2 +- pezkuwi/xcm/src/v3/junctions.rs | 2 +- pezkuwi/xcm/src/v3/mod.rs | 4 +- pezkuwi/xcm/src/v3/multilocation.rs | 2 +- pezkuwi/xcm/src/v4/junctions.rs | 2 +- pezkuwi/xcm/src/v4/location.rs | 2 +- pezkuwi/xcm/src/v4/mod.rs | 4 +- pezkuwi/xcm/src/v5/junctions.rs | 2 +- pezkuwi/xcm/src/v5/location.rs | 2 +- pezkuwi/xcm/src/v5/mod.rs | 6 +- pezkuwi/xcm/xcm-builder/Cargo.toml | 4 +- pezkuwi/xcm/xcm-builder/src/tests/mock.rs | 2 +- pezkuwi/xcm/xcm-builder/src/tests/pay/mock.rs | 2 +- pezkuwi/xcm/xcm-builder/tests/mock/mod.rs | 2 +- pezkuwi/xcm/xcm-builder/tests/scenarios.rs | 2 +- .../xcm-executor/integration-tests/Cargo.toml | 4 +- pezkuwi/xcm/xcm-executor/src/tests/mod.rs | 2 +- .../Cargo.toml | 4 +- .../example/Cargo.toml | 10 +- .../example/src/lib.rs | 2 +- .../example/src/relay_chain/mod.rs | 0 .../xcm_config/asset_transactor.rs | 0 .../src/relay_chain/xcm_config/barrier.rs | 0 .../src/relay_chain/xcm_config/constants.rs | 0 .../xcm_config/location_converter.rs | 0 .../example/src/relay_chain/xcm_config/mod.rs | 0 .../xcm_config/origin_converter.rs | 0 .../src/relay_chain/xcm_config/teleporter.rs | 0 .../src/relay_chain/xcm_config/weigher.rs | 0 .../example/src/tests.rs | 2 +- .../example/src/teyrchain/mod.rs | 2 +- .../teyrchain/xcm_config/asset_transactor.rs | 0 .../src/teyrchain/xcm_config/barrier.rs | 0 .../src/teyrchain/xcm_config/constants.rs | 2 +- .../xcm_config/location_converter.rs | 0 .../example/src/teyrchain/xcm_config/mod.rs | 0 .../teyrchain/xcm_config/origin_converter.rs | 0 .../src/teyrchain/xcm_config/reserve.rs | 0 .../src/teyrchain/xcm_config/teleporter.rs | 0 .../src/teyrchain/xcm_config/weigher.rs | 0 .../fuzzer/.gitignore | 0 .../fuzzer/Cargo.toml | 10 +- .../fuzzer/README.md | 0 .../fuzzer/src/fuzz.rs | 2 +- .../fuzzer/src/relay_chain.rs | 0 .../fuzzer/src/teyrchain.rs | 0 .../src/lib.rs | 2 +- .../src/mock_message_queue.rs | 0 .../Cargo.toml | 8 +- .../src/authorized_aliases.rs | 0 .../src/conversions.rs | 0 .../src/dry_run.rs | 0 .../src/fees.rs | 0 .../src/lib.rs | 0 .../src/trusted_query.rs | 0 .../tests/conversions.rs | 2 +- .../tests/fee_estimation.rs | 4 +- .../tests/mock.rs | 4 +- .../tests/trusted_query.rs | 2 +- prepare_crates_for_publishing.py | 336 -- rebrand_project.py | 215 ++ reserve_crate_names_v2.py | 8 +- scripts/generate-umbrella.py | 2 +- templates/minimal/README.md | 14 +- templates/minimal/node/Cargo.toml | 10 +- templates/minimal/node/src/chain_spec.rs | 2 +- templates/minimal/node/src/command.rs | 2 +- templates/minimal/node/src/rpc.rs | 2 +- templates/minimal/node/src/service.rs | 2 +- .../minimal/{pallets => pezpallets}/README.md | 0 .../template/Cargo.toml | 0 .../template/src/lib.rs | 0 templates/minimal/runtime/Cargo.toml | 4 +- templates/minimal/runtime/src/lib.rs | 4 +- templates/minimal/zombienet.toml | 2 +- templates/solochain/README.md | 12 +- templates/solochain/node/Cargo.toml | 12 +- templates/solochain/node/src/benchmarking.rs | 2 +- templates/solochain/node/src/chain_spec.rs | 2 +- templates/solochain/node/src/command.rs | 6 +- templates/solochain/node/src/rpc.rs | 2 +- templates/solochain/node/src/service.rs | 2 +- .../template/Cargo.toml | 0 .../template/README.md | 0 .../template/src/benchmarking.rs | 0 .../template/src/lib.rs | 0 .../template/src/mock.rs | 0 .../template/src/tests.rs | 0 .../template/src/weights.rs | 0 templates/solochain/runtime/Cargo.toml | 4 +- templates/solochain/runtime/src/lib.rs | 4 +- .../{pallets => pezpallets}/README.md | 0 .../template/Cargo.toml | 0 .../template/src/benchmarking.rs | 0 .../template/src/lib.rs | 0 .../template/src/mock.rs | 0 .../template/src/tests.rs | 0 .../template/src/weights.rs | 0 templates/teyrchain/runtime/src/apis.rs | 8 +- templates/teyrchain/runtime/src/benchmarks.rs | 6 +- .../teyrchain/runtime/src/configs/mod.rs | 12 +- .../runtime/src/configs/xcm_config.rs | 6 +- templates/teyrchain/runtime/src/lib.rs | 18 +- templates/zombienet/Cargo.toml | 4 +- templates/zombienet/tests/smoke.rs | 6 +- umbrella/Cargo.toml | 166 +- umbrella/src/lib.rs | 96 +- 1423 files changed, 6413 insertions(+), 6062 deletions(-) rename bizinikiwi/bin/utils/{subkey => pez-subkey}/Cargo.toml (88%) rename bizinikiwi/bin/utils/{subkey => pez-subkey}/README.md (75%) rename bizinikiwi/bin/utils/{subkey => pez-subkey}/SECURITY.md (96%) rename bizinikiwi/bin/utils/{subkey => pez-subkey}/src/lib.rs (80%) rename bizinikiwi/bin/utils/{subkey => pez-subkey}/src/main.rs (92%) rename bizinikiwi/docs/{node-template-release.md => pez-node-template-release.md} (90%) rename bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename bizinikiwi/pezframe/support/test/{pallet => pezpallet}/Cargo.toml (89%) rename bizinikiwi/pezframe/support/test/{pallet => pezpallet}/src/lib.rs (100%) rename bizinikiwi/primitives/{ethereum-standards => pez-ethereum-standards}/Cargo.toml (77%) rename bizinikiwi/primitives/{ethereum-standards => pez-ethereum-standards}/src/IERC20.sol (100%) rename bizinikiwi/primitives/{ethereum-standards => pez-ethereum-standards}/src/lib.rs (100%) rename bizinikiwi/scripts/ci/docker/{subkey.Dockerfile => pez-subkey.Dockerfile} (100%) rename bizinikiwi/scripts/ci/docker/{subkey.Dockerfile.README.md => pez-subkey.Dockerfile.README.md} (71%) rename bizinikiwi/scripts/ci/{node-template-release.sh => pez-node-template-release.sh} (100%) rename bizinikiwi/scripts/ci/{node-template-release => pez-node-template-release}/Cargo.toml (87%) rename bizinikiwi/scripts/ci/{node-template-release => pez-node-template-release}/src/main.rs (100%) rename bizinikiwi/utils/{fork-tree => pez-fork-tree}/Cargo.toml (87%) rename bizinikiwi/utils/{fork-tree => pez-fork-tree}/README.md (100%) rename bizinikiwi/utils/{fork-tree => pez-fork-tree}/src/lib.rs (98%) rename bizinikiwi/utils/pezframe/{generate-bags => pez-generate-bags}/Cargo.toml (92%) rename bizinikiwi/utils/pezframe/{generate-bags => pez-generate-bags}/node-runtime/Cargo.toml (52%) rename bizinikiwi/utils/pezframe/{generate-bags => pez-generate-bags}/node-runtime/src/main.rs (93%) rename bizinikiwi/utils/pezframe/{generate-bags => pez-generate-bags}/src/lib.rs (98%) rename bridges/docs/{grandpa-finality-relay.html => grandpa-pez-finality-relay.html} (100%) rename bridges/docs/{messages-relay.html => pez-messages-relay.html} (100%) rename bridges/docs/{teyrchains-finality-relay.html => teyrchains-pez-finality-relay.html} (100%) delete mode 100644 bridges/snowbridge/pallets/ethereum-client/src/types.rs rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/Cargo.toml (83%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/benchmark.md (96%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/fixtures/Cargo.toml (72%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/fixtures/src/lib.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/benchmarking/mod.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/benchmarking/util.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/config/altair.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/config/electra.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/config/mod.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/functions.rs (93%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/impls.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/lib.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/mock.rs (81%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/tests.rs (99%) create mode 100644 bridges/snowbridge/pezpallets/ethereum-client/src/types.rs rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/execution-proof.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/finalized-header-update.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/inbound-message.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/initial-checkpoint.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/interim-finalized-header-update.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/next-finalized-header-update.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/next-sync-committee-update.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/sync-committee-update-period-0.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/ethereum-client/tests/fixtures/sync-committee-update.json (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/Cargo.toml (82%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/README.md (95%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/fixtures/Cargo.toml (65%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/fixtures/src/lib.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/fixtures/src/register_token.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/src/benchmarking.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/src/lib.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/src/mock.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/src/test.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue-v2/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/Cargo.toml (84%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/Cargo.toml (65%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/src/lib.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/src/register_token.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/src/send_native_eth.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/src/send_token.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/fixtures/src/send_token_to_penpal.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/benchmarking/mod.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/envelope.rs (94%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/lib.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/mock.rs (95%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/test.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/inbound-queue/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/Cargo.toml (74%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/runtime-api/Cargo.toml (77%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/runtime-api/src/lib.rs (92%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/api.rs (89%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/benchmarking.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/fixture.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/lib.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/mock.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/process_message_impl.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/send_message_impl.rs (88%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/test.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/types.rs (95%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue-v2/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/Cargo.toml (82%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/runtime-api/Cargo.toml (60%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/runtime-api/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/runtime-api/src/lib.rs (82%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/api.rs (82%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/benchmarking.rs (94%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/lib.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/mock.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/process_message_impl.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/send_message_impl.rs (93%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/test.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/types.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/outbound-queue/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/Cargo.toml (91%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/backend_weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/benchmarking.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/lib.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/mock.rs (95%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/tests.rs (98%) rename bridges/snowbridge/{pallets => pezpallets}/system-frontend/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/Cargo.toml (85%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/runtime-api/Cargo.toml (77%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/runtime-api/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/runtime-api/src/lib.rs (91%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/api.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/benchmarking.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/lib.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/mock.rs (95%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/tests.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/system-v2/src/weights.rs (100%) rename bridges/snowbridge/{pallets => pezpallets}/system/Cargo.toml (89%) rename bridges/snowbridge/{pallets => pezpallets}/system/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/system/runtime-api/Cargo.toml (77%) rename bridges/snowbridge/{pallets => pezpallets}/system/runtime-api/README.md (100%) rename bridges/snowbridge/{pallets => pezpallets}/system/runtime-api/src/lib.rs (90%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/api.rs (92%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/benchmarking.rs (95%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/lib.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/migration.rs (97%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/mock.rs (96%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/tests.rs (99%) rename bridges/snowbridge/{pallets => pezpallets}/system/src/weights.rs (100%) rename docs/sdk/packages/guides/{first-pallet => first-pezpallet}/Cargo.toml (85%) rename docs/sdk/packages/guides/{first-pallet => first-pezpallet}/src/lib.rs (100%) create mode 100644 fix_errors.py create mode 100644 fix_final.py rename pezcumulus/{pallets => pezpallets}/ah-ops/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/ah-ops/src/benchmarking.rs (100%) rename pezcumulus/{pallets => pezpallets}/ah-ops/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/ah-ops/src/mock.rs (100%) rename pezcumulus/{pallets => pezpallets}/ah-ops/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/ah-ops/src/weights.rs (100%) rename pezcumulus/{pallets => pezpallets}/aura-ext/Cargo.toml (97%) rename pezcumulus/{pallets => pezpallets}/aura-ext/src/consensus_hook.rs (99%) rename pezcumulus/{pallets => pezpallets}/aura-ext/src/lib.rs (97%) rename pezcumulus/{pallets => pezpallets}/aura-ext/src/migration.rs (100%) rename pezcumulus/{pallets => pezpallets}/aura-ext/src/test.rs (98%) rename pezcumulus/{pallets => pezpallets}/collator-selection/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/README.md (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/benchmarking.rs (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/migration.rs (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/mock.rs (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/collator-selection/src/weights.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/benchmarking.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/migration.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/mock.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/dmp-queue/src/weights.rs (97%) rename pezcumulus/{pallets => pezpallets}/session-benchmarking/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/session-benchmarking/README.md (100%) rename pezcumulus/{pallets => pezpallets}/session-benchmarking/src/inner.rs (100%) rename pezcumulus/{pallets => pezpallets}/session-benchmarking/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/solo-to-para/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/solo-to-para/src/lib.rs (98%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/proc-macro/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/proc-macro/src/lib.rs (97%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/benchmarking.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/consensus_hook.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/descendant_validation.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/lib.rs (99%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/migration.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/mock.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/relay_state_snapshot.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/teyrchain_inherent.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/unincluded_segment.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/validate_block/implementation.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/validate_block/mod.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/validate_block/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/validate_block/trie_cache.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/validate_block/trie_recorder.rs (100%) rename pezcumulus/{pallets => pezpallets}/teyrchain-system/src/weights.rs (93%) rename pezcumulus/{pallets => pezpallets}/weight-reclaim/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/weight-reclaim/src/benchmarks.rs (100%) rename pezcumulus/{pallets => pezpallets}/weight-reclaim/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/weight-reclaim/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/weight-reclaim/src/weights.rs (87%) rename pezcumulus/{pallets => pezpallets}/xcm/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/xcm/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/Cargo.toml (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/benchmarking.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/bridging.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/lib.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/migration.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/migration/v5.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/mock.rs (96%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/tests.rs (100%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/weights.rs (98%) rename pezcumulus/{pallets => pezpallets}/xcmp-queue/src/weights_ext.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/collective-content/src/weights.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/types.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/identity-kyc/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/perwerde/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-rewards/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/migrations.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/pez-treasury/src/weights.rs (98%) rename pezcumulus/teyrchains/{pallets => pezpallets}/ping/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/ping/src/lib.rs (98%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/presale/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/types.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/referral/src/weights.rs (98%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/staking-score/src/weights.rs (97%) rename pezcumulus/teyrchains/{pallets => pezpallets}/teyrchain-info/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/teyrchain-info/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/ensure.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/migrations.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/tiki/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/token-wrapper/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/trust/src/weights.rs (99%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/Cargo.toml (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/benchmarking.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/lib.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/migrations.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/mock.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/tests.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/types.rs (100%) rename pezcumulus/teyrchains/{pallets => pezpallets}/welati/src/weights.rs (99%) rename pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/{frame_system.rs => pezframe_system.rs} (98%) rename pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (97%) rename pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (98%) rename pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (97%) rename pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezcumulus/xcm/{xcm-emulator => xcm-pez-emulator}/Cargo.toml (94%) rename pezcumulus/xcm/{xcm-emulator => xcm-pez-emulator}/README.md (91%) rename pezcumulus/xcm/{xcm-emulator => xcm-pez-emulator}/src/lib.rs (99%) rename pezkuwi/{pallets => pezpallets}/validator-pool/Cargo.toml (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/benchmarking.rs (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/lib.rs (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/mock.rs (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/tests.rs (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/types.rs (100%) rename pezkuwi/{pallets => pezpallets}/validator-pool/src/weights.rs (100%) rename pezkuwi/runtime/common/{slot_range_helper => pez-slot-range-helper}/Cargo.toml (86%) rename pezkuwi/runtime/common/{slot_range_helper => pez-slot-range-helper}/src/lib.rs (99%) rename pezkuwi/runtime/pezkuwichain/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezkuwi/runtime/pezkuwichain/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezkuwi/runtime/zagros/src/weights/{frame_system.rs => pezframe_system.rs} (100%) rename pezkuwi/runtime/zagros/src/weights/{frame_system_extensions.rs => pezframe_system_extensions.rs} (100%) rename pezkuwi/utils/{generate-bags => pez-generate-bags}/Cargo.toml (83%) rename pezkuwi/utils/{generate-bags => pez-generate-bags}/src/main.rs (98%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/Cargo.toml (95%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/Cargo.toml (88%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/lib.rs (97%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/mod.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/asset_transactor.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/barrier.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/constants.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/location_converter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/mod.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/origin_converter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/teleporter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/relay_chain/xcm_config/weigher.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/tests.rs (99%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/mod.rs (99%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/asset_transactor.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/barrier.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/constants.rs (95%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/location_converter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/mod.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/origin_converter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/reserve.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/teleporter.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/example/src/teyrchain/xcm_config/weigher.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/.gitignore (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/Cargo.toml (90%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/README.md (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/src/fuzz.rs (98%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/src/relay_chain.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/fuzzer/src/teyrchain.rs (100%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/src/lib.rs (99%) rename pezkuwi/xcm/{xcm-simulator => xcm-pez-simulator}/src/mock_message_queue.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/Cargo.toml (89%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/authorized_aliases.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/conversions.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/dry_run.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/fees.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/lib.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/src/trusted_query.rs (100%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/tests/conversions.rs (98%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/tests/fee_estimation.rs (99%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/tests/mock.rs (99%) rename pezkuwi/xcm/{xcm-runtime-apis => xcm-runtime-pezapis}/tests/trusted_query.rs (98%) delete mode 100644 prepare_crates_for_publishing.py create mode 100644 rebrand_project.py rename templates/minimal/{pallets => pezpallets}/README.md (100%) rename templates/minimal/{pallets => pezpallets}/template/Cargo.toml (100%) rename templates/minimal/{pallets => pezpallets}/template/src/lib.rs (100%) rename templates/solochain/{pallets => pezpallets}/template/Cargo.toml (100%) rename templates/solochain/{pallets => pezpallets}/template/README.md (100%) rename templates/solochain/{pallets => pezpallets}/template/src/benchmarking.rs (100%) rename templates/solochain/{pallets => pezpallets}/template/src/lib.rs (100%) rename templates/solochain/{pallets => pezpallets}/template/src/mock.rs (100%) rename templates/solochain/{pallets => pezpallets}/template/src/tests.rs (100%) rename templates/solochain/{pallets => pezpallets}/template/src/weights.rs (100%) rename templates/teyrchain/{pallets => pezpallets}/README.md (100%) rename templates/teyrchain/{pallets => pezpallets}/template/Cargo.toml (100%) rename templates/teyrchain/{pallets => pezpallets}/template/src/benchmarking.rs (100%) rename templates/teyrchain/{pallets => pezpallets}/template/src/lib.rs (100%) rename templates/teyrchain/{pallets => pezpallets}/template/src/mock.rs (100%) rename templates/teyrchain/{pallets => pezpallets}/template/src/tests.rs (100%) rename templates/teyrchain/{pallets => pezpallets}/template/src/weights.rs (100%) diff --git a/.claude-session-state.md b/.claude-session-state.md index b2135e1f..956ac09e 100644 --- a/.claude-session-state.md +++ b/.claude-session-state.md @@ -15,7 +15,7 @@ Tüm Rebranding Tamamlandı ✅ - [x] Phase 2: cumulus → pezcumulus - [x] Dosya içerikleri - [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] Crate isimleri (frame-support → pezframe-support, vb.) - [x] Rust import'ları (frame_support → pezframe_support) @@ -24,18 +24,18 @@ Tüm Rebranding Tamamlandı ✅ - [x] Phase 6: pallet- → pezpallet- - [x] 172 crate ismi değiştirildi (Cargo.toml'larda) - [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] 8 crate ismi değiştirildi (staging-xcm, staging-node-cli, vb.) - [x] Rust import'ları güncellendi (staging_ → pezstaging_) - [x] Phase 3: sc- → pezsc- - [x] 58 crate ismi değiştirildi (sc-client-api → pezsc-client-api, vb.) - [x] Rust import'ları güncellendi (sc_ → pezsc_) - - [x] Duplicate kontrolü: pezpezsc- yok + - [x] Duplicate kontrolü: pezsc- yok - [x] Phase 4: sp- → pezsp- - [x] 65 crate ismi değiştirildi (sp-core → pezsp-core, vb.) - [x] Rust import'ları güncellendi (sp_ → pezsp_) - - [x] Duplicate kontrolü: pezpezsp- yok + - [x] Duplicate kontrolü: pezsp- yok ## BEKLEYEN İŞLER Yok - Tüm rebranding tamamlandı! diff --git a/Cargo.lock b/Cargo.lock index 64d78a31..745b16b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1198,7 +1198,7 @@ name = "asset-hub-pezkuwichain-integration-tests" version = "1.0.0" dependencies = [ "assert_matches", - "asset-test-utils", + "asset-test-pezutils", "emulated-integration-tests-common", "parity-scale-codec", "pezcumulus-pezpallet-teyrchain-system", @@ -1220,14 +1220,14 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-executor", "teyrchains-common", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] name = "asset-hub-pezkuwichain-runtime" version = "0.11.0" dependencies = [ - "asset-test-utils", + "asset-test-pezutils", "assets-common", "bizinikiwi-wasm-builder", "bp-asset-hub-pezkuwichain", @@ -1326,7 +1326,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -1352,7 +1352,7 @@ name = "asset-hub-zagros-integration-tests" version = "1.0.0" dependencies = [ "assert_matches", - "asset-test-utils", + "asset-test-pezutils", "emulated-integration-tests-common", "parity-scale-codec", "pezcumulus-pezpallet-teyrchain-system", @@ -1374,7 +1374,7 @@ dependencies = [ "pezstaging-xcm-builder", "pezstaging-xcm-executor", "teyrchains-common", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-system-emulated-network", ] @@ -1383,7 +1383,7 @@ name = "asset-hub-zagros-runtime" version = "0.15.0" dependencies = [ "alloy-core", - "asset-test-utils", + "asset-test-pezutils", "assets-common", "bizinikiwi-wasm-builder", "bp-asset-hub-pezkuwichain", @@ -1465,6 +1465,7 @@ dependencies = [ "pezpallet-xcm-benchmarks", "pezpallet-xcm-bridge-hub-router", "pezpallet-xcm-precompiles", + "pezsnowbridge-outbound-queue-primitives", "pezsp-api", "pezsp-arithmetic", "pezsp-block-builder", @@ -1491,19 +1492,18 @@ dependencies = [ "primitive-types 0.13.1", "scale-info", "serde_json", - "snowbridge-outbound-queue-primitives", "snowbridge-pezpallet-system-frontend", - "snowbridge-runtime-common", + "snowpezbridge-runtime-common", "testnet-teyrchains-constants", "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] [[package]] -name = "asset-test-utils" +name = "asset-test-pezutils" version = "7.0.0" dependencies = [ "assets-common", @@ -1529,16 +1529,16 @@ dependencies = [ "pezstaging-xcm-executor", "teyrchains-common", "teyrchains-runtimes-test-utils", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] name = "assets-common" version = "0.7.0" dependencies = [ - "ethereum-standards", "impl-trait-for-tuples", "parity-scale-codec", + "pez-ethereum-standards", "pezcumulus-primitives-core", "pezframe-support", "pezframe-system", @@ -2130,7 +2130,7 @@ dependencies = [ "bizinikiwi-rpc-client", "futures", "nix 0.29.0", - "node-primitives", + "pez-node-primitives", "pezsc-cli", "pezsc-service", "pezsp-rpc", @@ -2200,20 +2200,20 @@ dependencies = [ "anyhow", "async-std", "async-trait", - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", "bp-relayers", - "bp-runtime", "bp-teyrchains", "clap", - "equivocation-detector", - "finality-relay", "futures", "hex", - "messages-relay", "num-traits", "parity-scale-codec", + "pez-equivocation-detector", + "pez-finality-relay", + "pez-messages-relay", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezpallet-balances", @@ -2637,9 +2637,9 @@ version = "0.4.0" dependencies = [ "bp-bridge-hub-pezcumulus", "bp-messages", - "bp-runtime", "bp-xcm-bridge-hub-router", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-core", @@ -2654,9 +2654,9 @@ version = "0.3.0" dependencies = [ "bp-bridge-hub-pezcumulus", "bp-messages", - "bp-runtime", "bp-xcm-bridge-hub-router", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-core", @@ -2670,8 +2670,8 @@ name = "bp-beefy" version = "0.1.0" dependencies = [ "binary-merkle-tree", - "bp-runtime", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezpallet-beefy-mmr", "pezpallet-mmr", @@ -2688,7 +2688,7 @@ version = "0.7.0" dependencies = [ "bp-messages", "bp-pezkuwi-core", - "bp-runtime", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezkuwi-primitives", @@ -2703,9 +2703,9 @@ version = "0.7.0" dependencies = [ "bp-bridge-hub-pezcumulus", "bp-messages", - "bp-runtime", "bp-xcm-bridge-hub", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-runtime", @@ -2718,9 +2718,9 @@ version = "0.3.0" dependencies = [ "bp-bridge-hub-pezcumulus", "bp-messages", - "bp-runtime", "bp-xcm-bridge-hub", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-runtime", @@ -2728,15 +2728,15 @@ dependencies = [ ] [[package]] -name = "bp-header-chain" +name = "bp-header-pez-chain" version = "0.7.0" dependencies = [ - "bp-runtime", "bp-test-utils", "finality-grandpa", "hex", "hex-literal", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-consensus-grandpa", "pezsp-core", @@ -2750,11 +2750,11 @@ dependencies = [ name = "bp-messages" version = "0.7.0" dependencies = [ - "bp-header-chain", - "bp-runtime", + "bp-header-pez-chain", "hex", "hex-literal", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-core", "pezsp-io", @@ -2767,11 +2767,11 @@ dependencies = [ name = "bp-pezkuwi-bulletin" version = "0.4.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", - "bp-runtime", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezsp-api", @@ -2785,9 +2785,9 @@ name = "bp-pezkuwi-core" version = "0.7.0" dependencies = [ "bp-messages", - "bp-runtime", "hex", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezsp-core", @@ -2801,9 +2801,9 @@ dependencies = [ name = "bp-pezkuwichain" version = "0.6.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-pezkuwi-core", - "bp-runtime", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-std", @@ -2813,12 +2813,12 @@ dependencies = [ name = "bp-relayers" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", - "bp-runtime", "bp-teyrchains", "hex-literal", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezpallet-utility", @@ -2827,40 +2827,17 @@ dependencies = [ "scale-info", ] -[[package]] -name = "bp-runtime" -version = "0.7.0" -dependencies = [ - "hash-db", - "hex-literal", - "impl-trait-for-tuples", - "num-traits", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-state-machine", - "pezsp-std", - "pezsp-trie", - "scale-info", - "serde", - "tracing", - "trie-db 0.30.0", -] - [[package]] name = "bp-test-utils" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-pezkuwi-core", - "bp-runtime", "bp-teyrchains", "ed25519-dalek", "finality-grandpa", "parity-scale-codec", + "pezbp-runtime", "pezsp-application-crypto", "pezsp-consensus-grandpa", "pezsp-core", @@ -2873,11 +2850,11 @@ dependencies = [ name = "bp-teyrchains" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-pezkuwi-core", - "bp-runtime", "impl-trait-for-tuples", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-core", "pezsp-runtime", @@ -2890,8 +2867,8 @@ name = "bp-xcm-bridge-hub" version = "0.2.0" dependencies = [ "bp-messages", - "bp-runtime", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezsp-core", "pezsp-io", @@ -2916,9 +2893,9 @@ dependencies = [ name = "bp-zagros" version = "0.3.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-pezkuwi-core", - "bp-runtime", + "pezbp-runtime", "pezframe-support", "pezsp-api", "pezsp-std", @@ -2932,6 +2909,7 @@ dependencies = [ "pezcumulus-primitives-core", "pezframe-support", "pezpallet-message-queue", + "pezsnowbridge-core", "pezsp-core", "pezsp-runtime", "pezsp-std", @@ -2939,402 +2917,6 @@ dependencies = [ "pezstaging-xcm-builder", "pezstaging-xcm-executor", "scale-info", - "snowbridge-core", -] - -[[package]] -name = "bridge-hub-pezkuwichain-emulated-chain" -version = "0.0.0" -dependencies = [ - "bp-messages", - "bridge-hub-common", - "bridge-hub-pezkuwichain-runtime", - "emulated-integration-tests-common", - "pezframe-support", - "pezsp-core", - "pezsp-keyring", - "pezstaging-xcm", - "testnet-teyrchains-constants", - "teyrchains-common", -] - -[[package]] -name = "bridge-hub-pezkuwichain-integration-tests" -version = "1.0.0" -dependencies = [ - "asset-hub-pezkuwichain-runtime", - "bp-asset-hub-pezkuwichain", - "emulated-integration-tests-common", - "hex-literal", - "parity-scale-codec", - "pezcumulus-pezpallet-xcmp-queue", - "pezframe-support", - "pezkuwichain-system-emulated-network", - "pezkuwichain-zagros-system-emulated-network", - "pezpallet-asset-conversion", - "pezpallet-assets", - "pezpallet-balances", - "pezpallet-bridge-messages", - "pezpallet-message-queue", - "pezpallet-xcm", - "pezsp-core", - "pezsp-runtime", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "snowbridge-inbound-queue-primitives", - "snowbridge-outbound-queue-primitives", - "snowbridge-pezpallet-inbound-queue-fixtures", - "snowbridge-pezpallet-outbound-queue", - "snowbridge-pezpallet-system", - "testnet-teyrchains-constants", - "teyrchains-common", -] - -[[package]] -name = "bridge-hub-pezkuwichain-runtime" -version = "0.5.0" -dependencies = [ - "bizinikiwi-wasm-builder", - "bp-asset-hub-pezkuwichain", - "bp-asset-hub-zagros", - "bp-bridge-hub-pezkuwichain", - "bp-bridge-hub-zagros", - "bp-header-chain", - "bp-messages", - "bp-pezkuwi-bulletin", - "bp-pezkuwi-core", - "bp-relayers", - "bp-runtime", - "bp-teyrchains", - "bp-xcm-bridge-hub-router", - "bp-zagros", - "bridge-hub-common", - "bridge-hub-test-utils", - "bridge-runtime-common", - "hex-literal", - "parity-scale-codec", - "pezcumulus-pezpallet-aura-ext", - "pezcumulus-pezpallet-session-benchmarking", - "pezcumulus-pezpallet-teyrchain-system", - "pezcumulus-pezpallet-weight-reclaim", - "pezcumulus-pezpallet-xcm", - "pezcumulus-pezpallet-xcmp-queue", - "pezcumulus-primitives-aura", - "pezcumulus-primitives-core", - "pezcumulus-primitives-utility", - "pezframe-benchmarking", - "pezframe-executive", - "pezframe-metadata-hash-extension", - "pezframe-support", - "pezframe-system", - "pezframe-system-benchmarking", - "pezframe-system-rpc-runtime-api", - "pezframe-try-runtime", - "pezkuwi-runtime-common", - "pezkuwi-teyrchain-primitives", - "pezkuwichain-runtime-constants", - "pezpallet-aura", - "pezpallet-authorship", - "pezpallet-balances", - "pezpallet-bridge-grandpa", - "pezpallet-bridge-messages", - "pezpallet-bridge-relayers", - "pezpallet-bridge-teyrchains", - "pezpallet-collator-selection", - "pezpallet-message-queue", - "pezpallet-multisig", - "pezpallet-session", - "pezpallet-timestamp", - "pezpallet-transaction-payment", - "pezpallet-transaction-payment-rpc-runtime-api", - "pezpallet-utility", - "pezpallet-xcm", - "pezpallet-xcm-benchmarks", - "pezpallet-xcm-bridge-hub", - "pezsp-api", - "pezsp-block-builder", - "pezsp-consensus-aura", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-inherents", - "pezsp-io", - "pezsp-keyring", - "pezsp-offchain", - "pezsp-runtime", - "pezsp-session", - "pezsp-std", - "pezsp-storage", - "pezsp-transaction-pool", - "pezsp-version", - "pezstaging-teyrchain-info", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "serde", - "serde_json", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", - "snowbridge-outbound-queue-runtime-api", - "snowbridge-pezpallet-ethereum-client", - "snowbridge-pezpallet-inbound-queue", - "snowbridge-pezpallet-inbound-queue-fixtures", - "snowbridge-pezpallet-outbound-queue", - "snowbridge-pezpallet-system", - "snowbridge-runtime-test-common", - "snowbridge-system-runtime-api", - "testnet-teyrchains-constants", - "teyrchains-common", - "teyrchains-runtimes-test-utils", - "tracing", - "xcm-runtime-apis", -] - -[[package]] -name = "bridge-hub-test-utils" -version = "0.7.0" -dependencies = [ - "asset-test-utils", - "bp-header-chain", - "bp-messages", - "bp-pezkuwi-core", - "bp-relayers", - "bp-runtime", - "bp-test-utils", - "bp-teyrchains", - "impl-trait-for-tuples", - "parity-scale-codec", - "pezcumulus-pezpallet-teyrchain-system", - "pezcumulus-pezpallet-xcmp-queue", - "pezframe-support", - "pezframe-system", - "pezpallet-balances", - "pezpallet-bridge-grandpa", - "pezpallet-bridge-messages", - "pezpallet-bridge-relayers", - "pezpallet-bridge-teyrchains", - "pezpallet-timestamp", - "pezpallet-utility", - "pezpallet-xcm", - "pezpallet-xcm-bridge-hub", - "pezsp-core", - "pezsp-io", - "pezsp-keyring", - "pezsp-runtime", - "pezsp-std", - "pezsp-tracing", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "teyrchains-common", - "teyrchains-runtimes-test-utils", - "tracing", -] - -[[package]] -name = "bridge-hub-zagros-emulated-chain" -version = "0.0.0" -dependencies = [ - "bp-messages", - "bridge-hub-common", - "bridge-hub-zagros-runtime", - "emulated-integration-tests-common", - "pezframe-support", - "pezsp-core", - "pezsp-keyring", - "pezstaging-xcm", - "testnet-teyrchains-constants", - "teyrchains-common", -] - -[[package]] -name = "bridge-hub-zagros-integration-tests" -version = "1.0.0" -dependencies = [ - "asset-hub-zagros-runtime", - "bp-asset-hub-zagros", - "bridge-hub-common", - "bridge-hub-zagros-runtime", - "emulated-integration-tests-common", - "hex-literal", - "parity-scale-codec", - "pezcumulus-pezpallet-teyrchain-system", - "pezcumulus-pezpallet-xcmp-queue", - "pezframe-support", - "pezkuwichain-zagros-system-emulated-network", - "pezpallet-asset-conversion", - "pezpallet-assets", - "pezpallet-balances", - "pezpallet-bridge-messages", - "pezpallet-bridge-relayers", - "pezpallet-message-queue", - "pezpallet-xcm", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", - "snowbridge-outbound-queue-primitives", - "snowbridge-pezpallet-inbound-queue", - "snowbridge-pezpallet-inbound-queue-fixtures", - "snowbridge-pezpallet-inbound-queue-v2", - "snowbridge-pezpallet-outbound-queue", - "snowbridge-pezpallet-outbound-queue-v2", - "snowbridge-pezpallet-system", - "snowbridge-pezpallet-system-v2", - "testnet-teyrchains-constants", - "teyrchains-common", -] - -[[package]] -name = "bridge-hub-zagros-runtime" -version = "0.3.0" -dependencies = [ - "bizinikiwi-wasm-builder", - "bp-asset-hub-pezkuwichain", - "bp-asset-hub-zagros", - "bp-bridge-hub-pezkuwichain", - "bp-bridge-hub-zagros", - "bp-header-chain", - "bp-messages", - "bp-pezkuwi-core", - "bp-pezkuwichain", - "bp-relayers", - "bp-runtime", - "bp-teyrchains", - "bp-xcm-bridge-hub-router", - "bridge-hub-common", - "bridge-hub-test-utils", - "bridge-runtime-common", - "hex-literal", - "parity-scale-codec", - "pezcumulus-pezpallet-aura-ext", - "pezcumulus-pezpallet-session-benchmarking", - "pezcumulus-pezpallet-teyrchain-system", - "pezcumulus-pezpallet-weight-reclaim", - "pezcumulus-pezpallet-xcm", - "pezcumulus-pezpallet-xcmp-queue", - "pezcumulus-primitives-aura", - "pezcumulus-primitives-core", - "pezcumulus-primitives-utility", - "pezframe-benchmarking", - "pezframe-executive", - "pezframe-metadata-hash-extension", - "pezframe-support", - "pezframe-system", - "pezframe-system-benchmarking", - "pezframe-system-rpc-runtime-api", - "pezframe-try-runtime", - "pezkuwi-runtime-common", - "pezkuwi-teyrchain-primitives", - "pezpallet-aura", - "pezpallet-authorship", - "pezpallet-balances", - "pezpallet-bridge-grandpa", - "pezpallet-bridge-messages", - "pezpallet-bridge-relayers", - "pezpallet-bridge-teyrchains", - "pezpallet-collator-selection", - "pezpallet-message-queue", - "pezpallet-multisig", - "pezpallet-session", - "pezpallet-timestamp", - "pezpallet-transaction-payment", - "pezpallet-transaction-payment-rpc-runtime-api", - "pezpallet-utility", - "pezpallet-xcm", - "pezpallet-xcm-benchmarks", - "pezpallet-xcm-bridge-hub", - "pezsp-api", - "pezsp-block-builder", - "pezsp-consensus-aura", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-inherents", - "pezsp-io", - "pezsp-keyring", - "pezsp-offchain", - "pezsp-runtime", - "pezsp-session", - "pezsp-std", - "pezsp-storage", - "pezsp-transaction-pool", - "pezsp-version", - "pezstaging-teyrchain-info", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "serde", - "serde_json", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", - "snowbridge-outbound-queue-runtime-api", - "snowbridge-outbound-queue-v2-runtime-api", - "snowbridge-pezpallet-ethereum-client", - "snowbridge-pezpallet-inbound-queue", - "snowbridge-pezpallet-inbound-queue-fixtures", - "snowbridge-pezpallet-inbound-queue-v2", - "snowbridge-pezpallet-inbound-queue-v2-fixtures", - "snowbridge-pezpallet-outbound-queue", - "snowbridge-pezpallet-outbound-queue-v2", - "snowbridge-pezpallet-system", - "snowbridge-pezpallet-system-v2", - "snowbridge-runtime-test-common", - "snowbridge-system-runtime-api", - "snowbridge-system-v2-runtime-api", - "testnet-teyrchains-constants", - "teyrchains-common", - "teyrchains-runtimes-test-utils", - "tracing", - "xcm-runtime-apis", - "zagros-runtime-constants", -] - -[[package]] -name = "bridge-runtime-common" -version = "0.7.0" -dependencies = [ - "bp-header-chain", - "bp-messages", - "bp-pezkuwi-core", - "bp-relayers", - "bp-runtime", - "bp-test-utils", - "bp-teyrchains", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezpallet-balances", - "pezpallet-bridge-grandpa", - "pezpallet-bridge-messages", - "pezpallet-bridge-relayers", - "pezpallet-bridge-teyrchains", - "pezpallet-transaction-payment", - "pezpallet-utility", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "pezsp-trie", - "pezsp-weights", - "pezstaging-xcm", - "scale-info", - "static_assertions", - "tracing", - "tuplex", ] [[package]] @@ -3576,27 +3158,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "chain-spec-guide-runtime" -version = "0.0.0" -dependencies = [ - "bizinikiwi-wasm-builder", - "cmd_lib", - "docify", - "parity-scale-codec", - "pezframe-support", - "pezkuwi-sdk-frame", - "pezsc-chain-spec", - "pezsp-application-crypto", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-keyring", - "pezsp-runtime", - "scale-info", - "serde", - "serde_json", -] - [[package]] name = "chrono" version = "0.4.42" @@ -3916,7 +3477,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] @@ -4258,7 +3819,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -4356,7 +3917,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] @@ -5470,7 +5031,7 @@ checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" name = "emulated-integration-tests-common" version = "3.0.0" dependencies = [ - "asset-test-utils", + "asset-test-pezutils", "bp-messages", "bp-xcm-bridge-hub", "hex-literal", @@ -5503,9 +5064,9 @@ dependencies = [ "pezstaging-xcm-builder", "pezstaging-xcm-executor", "teyrchains-common", - "xcm-emulator", - "xcm-runtime-apis", - "xcm-simulator", + "xcm-pez-emulator", + "xcm-pez-simulator", + "xcm-runtime-pezapis", ] [[package]] @@ -5664,20 +5225,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" -[[package]] -name = "equivocation-detector" -version = "0.1.0" -dependencies = [ - "async-std", - "async-trait", - "bp-header-chain", - "finality-relay", - "futures", - "num-traits", - "relay-utils", - "tracing", -] - [[package]] name = "erased-serde" version = "0.4.9" @@ -5689,16 +5236,6 @@ dependencies = [ "typeid", ] -[[package]] -name = "erasure_coding_fuzzer" -version = "1.0.0" -dependencies = [ - "honggfuzz", - "pezkuwi-erasure-coding", - "pezkuwi-node-primitives", - "pezkuwi-primitives", -] - [[package]] name = "errno" version = "0.3.14" @@ -5745,13 +5282,6 @@ dependencies = [ "tiny-keccak", ] -[[package]] -name = "ethereum-standards" -version = "0.1.0" -dependencies = [ - "alloy-core", -] - [[package]] name = "ethereum-types" version = "0.15.1" @@ -5999,21 +5529,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "finality-relay" -version = "0.1.0" -dependencies = [ - "async-std", - "async-trait", - "backoff", - "bp-header-chain", - "futures", - "num-traits", - "parking_lot 0.12.5", - "relay-utils", - "tracing", -] - [[package]] name = "find-msvc-tools" version = "0.1.5" @@ -6126,13 +5641,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -[[package]] -name = "fork-tree" -version = "12.0.0" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "form_urlencoded" version = "1.2.2" @@ -6483,19 +5991,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "generate-bags" -version = "28.0.0" -dependencies = [ - "chrono", - "num-format", - "pezframe-election-provider-support", - "pezframe-support", - "pezframe-system", - "pezpallet-staking", - "pezsp-staking", -] - [[package]] name = "generic-array" version = "0.12.4" @@ -8224,27 +7719,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" -[[package]] -name = "kitchensink-runtime" -version = "3.0.0-dev" -dependencies = [ - "array-bytes 6.2.3", - "bizinikiwi-wasm-builder", - "log", - "node-primitives", - "parity-scale-codec", - "pezkuwi-sdk", - "pezpallet-example-mbm", - "pezpallet-example-tasks", - "pezsp-debug-derive", - "primitive-types 0.13.1", - "rand 0.8.5", - "rand_pcg", - "scale-info", - "serde_json", - "static_assertions", -] - [[package]] name = "kube" version = "0.87.2" @@ -9382,24 +8856,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "messages-relay" -version = "0.1.0" -dependencies = [ - "async-std", - "async-trait", - "bp-messages", - "finality-relay", - "futures", - "hex", - "num-traits", - "parking_lot 0.12.5", - "pezsp-arithmetic", - "pezsp-core", - "relay-utils", - "tracing", -] - [[package]] name = "mime" version = "0.3.17" @@ -9412,30 +8868,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "minimal-template-node" -version = "0.0.0" -dependencies = [ - "clap", - "docify", - "futures", - "futures-timer", - "jsonrpsee", - "minimal-template-runtime", - "pezkuwi-sdk", -] - -[[package]] -name = "minimal-template-runtime" -version = "0.0.0" -dependencies = [ - "parity-scale-codec", - "pezkuwi-sdk", - "pezpallet-minimal-template", - "scale-info", - "serde_json", -] - [[package]] name = "miniz_oxide" version = "0.8.9" @@ -9482,44 +8914,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "mmr-gadget" -version = "29.0.0" -dependencies = [ - "bizinikiwi-test-runtime-client", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.5", - "pezsc-block-builder", - "pezsc-client-api", - "pezsc-offchain", - "pezsp-api", - "pezsp-blockchain", - "pezsp-consensus", - "pezsp-consensus-beefy", - "pezsp-core", - "pezsp-mmr-primitives", - "pezsp-runtime", - "pezsp-tracing", - "tokio", -] - -[[package]] -name = "mmr-rpc" -version = "28.0.0" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "pezsp-api", - "pezsp-blockchain", - "pezsp-core", - "pezsp-mmr-primitives", - "pezsp-runtime", - "serde", - "serde_json", -] - [[package]] name = "mockall" version = "0.13.1" @@ -9857,141 +9251,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" [[package]] -name = "node-bench" -version = "0.9.0-dev" -dependencies = [ - "array-bytes 6.2.3", - "async-trait", - "clap", - "derive_more 0.99.20", - "fs_extra", - "futures", - "hash-db", - "kitchensink-runtime", - "kvdb", - "kvdb-rocksdb", - "log", - "node-primitives", - "node-testing", - "parity-db", - "pezsc-basic-authorship", - "pezsc-client-api", - "pezsc-transaction-pool", - "pezsc-transaction-pool-api", - "pezsp-consensus", - "pezsp-core", - "pezsp-inherents", - "pezsp-runtime", - "pezsp-state-machine", - "pezsp-timestamp", - "pezsp-tracing", - "pezsp-trie", - "rand 0.8.5", - "serde", - "serde_json", - "tempfile", -] - -[[package]] -name = "node-primitives" -version = "2.0.0" -dependencies = [ - "pezsp-core", - "pezsp-runtime", -] - -[[package]] -name = "node-rpc" -version = "3.0.0-dev" -dependencies = [ - "bizinikiwi-frame-rpc-system", - "bizinikiwi-state-trie-migration-rpc", - "jsonrpsee", - "mmr-rpc", - "node-primitives", - "pezpallet-transaction-payment-rpc", - "pezsc-chain-spec", - "pezsc-client-api", - "pezsc-consensus-babe", - "pezsc-consensus-babe-rpc", - "pezsc-consensus-beefy", - "pezsc-consensus-beefy-rpc", - "pezsc-consensus-grandpa", - "pezsc-consensus-grandpa-rpc", - "pezsc-mixnet", - "pezsc-rpc", - "pezsc-sync-state-rpc", - "pezsc-transaction-pool-api", - "pezsp-api", - "pezsp-application-crypto", - "pezsp-block-builder", - "pezsp-blockchain", - "pezsp-consensus", - "pezsp-consensus-babe", - "pezsp-consensus-beefy", - "pezsp-keystore", - "pezsp-runtime", - "pezsp-statement-store", -] - -[[package]] -name = "node-runtime-generate-bags" +name = "node-runtime-pez-generate-bags" version = "3.0.0" dependencies = [ "clap", - "generate-bags", - "kitchensink-runtime", -] - -[[package]] -name = "node-template-release" -version = "3.0.0" -dependencies = [ - "clap", - "flate2", - "fs_extra", - "glob", - "itertools 0.11.0", - "tar", - "tempfile", - "toml_edit 0.19.15", -] - -[[package]] -name = "node-testing" -version = "3.0.0-dev" -dependencies = [ - "bizinikiwi-test-client", - "fs_extra", - "futures", - "kitchensink-runtime", - "log", - "node-primitives", - "parity-scale-codec", - "pezframe-metadata-hash-extension", - "pezframe-system", - "pezpallet-asset-conversion", - "pezpallet-asset-conversion-tx-payment", - "pezpallet-revive", - "pezpallet-skip-feeless-payment", - "pezsc-block-builder", - "pezsc-client-api", - "pezsc-client-db", - "pezsc-consensus", - "pezsc-executor", - "pezsc-service", - "pezsp-api", - "pezsp-block-builder", - "pezsp-blockchain", - "pezsp-consensus", - "pezsp-core", - "pezsp-crypto-hashing", - "pezsp-inherents", - "pezsp-keyring", - "pezsp-runtime", - "pezsp-timestamp", - "pezstaging-node-cli", - "tempfile", + "pez-generate-bags", + "pez-kitchensink-runtime", ] [[package]] @@ -10623,90 +9888,6 @@ dependencies = [ "base64ct", ] -[[package]] -name = "penpal-emulated-chain" -version = "0.0.0" -dependencies = [ - "emulated-integration-tests-common", - "penpal-runtime", - "pezcumulus-primitives-core", - "pezframe-support", - "pezsp-core", - "pezsp-keyring", - "pezstaging-xcm", - "teyrchains-common", -] - -[[package]] -name = "penpal-runtime" -version = "0.14.0" -dependencies = [ - "assets-common", - "bizinikiwi-wasm-builder", - "hex-literal", - "parity-scale-codec", - "pezcumulus-pezpallet-aura-ext", - "pezcumulus-pezpallet-session-benchmarking", - "pezcumulus-pezpallet-teyrchain-system", - "pezcumulus-pezpallet-xcm", - "pezcumulus-pezpallet-xcmp-queue", - "pezcumulus-primitives-aura", - "pezcumulus-primitives-core", - "pezcumulus-primitives-utility", - "pezframe-benchmarking", - "pezframe-executive", - "pezframe-metadata-hash-extension", - "pezframe-support", - "pezframe-system", - "pezframe-system-benchmarking", - "pezframe-system-rpc-runtime-api", - "pezframe-try-runtime", - "pezkuwi-primitives", - "pezkuwi-runtime-common", - "pezkuwi-teyrchain-primitives", - "pezpallet-asset-conversion", - "pezpallet-asset-tx-payment", - "pezpallet-assets", - "pezpallet-aura", - "pezpallet-authorship", - "pezpallet-balances", - "pezpallet-collator-selection", - "pezpallet-message-queue", - "pezpallet-revive", - "pezpallet-session", - "pezpallet-sudo", - "pezpallet-timestamp", - "pezpallet-transaction-payment", - "pezpallet-transaction-payment-rpc-runtime-api", - "pezpallet-utility", - "pezpallet-xcm", - "pezsp-api", - "pezsp-block-builder", - "pezsp-consensus-aura", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-inherents", - "pezsp-keyring", - "pezsp-offchain", - "pezsp-runtime", - "pezsp-session", - "pezsp-storage", - "pezsp-transaction-pool", - "pezsp-version", - "pezstaging-teyrchain-info", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "primitive-types 0.13.1", - "scale-info", - "serde_json", - "smallvec", - "testnet-teyrchains-constants", - "teyrchains-common", - "tracing", - "xcm-runtime-apis", -] - [[package]] name = "people-pezkuwichain-emulated-chain" version = "0.1.0" @@ -10724,7 +9905,7 @@ dependencies = [ name = "people-pezkuwichain-integration-tests" version = "0.1.0" dependencies = [ - "asset-test-utils", + "asset-test-pezutils", "emulated-integration-tests-common", "pezframe-support", "pezkuwichain-system-emulated-network", @@ -10822,7 +10003,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -10923,7 +10104,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tracing", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] @@ -10996,6 +10177,958 @@ dependencies = [ "indexmap 2.12.1", ] +[[package]] +name = "pez-chain-spec-guide-runtime" +version = "0.0.0" +dependencies = [ + "bizinikiwi-wasm-builder", + "cmd_lib", + "docify", + "parity-scale-codec", + "pezframe-support", + "pezkuwi-sdk-frame", + "pezsc-chain-spec", + "pezsp-application-crypto", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-keyring", + "pezsp-runtime", + "scale-info", + "serde", + "serde_json", +] + +[[package]] +name = "pez-equivocation-detector" +version = "0.1.0" +dependencies = [ + "async-std", + "async-trait", + "bp-header-pez-chain", + "futures", + "num-traits", + "pez-finality-relay", + "relay-utils", + "tracing", +] + +[[package]] +name = "pez-ethereum-standards" +version = "0.1.0" +dependencies = [ + "alloy-core", +] + +[[package]] +name = "pez-finality-relay" +version = "0.1.0" +dependencies = [ + "async-std", + "async-trait", + "backoff", + "bp-header-pez-chain", + "futures", + "num-traits", + "parking_lot 0.12.5", + "relay-utils", + "tracing", +] + +[[package]] +name = "pez-fork-tree" +version = "12.0.0" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "pez-generate-bags" +version = "28.0.0" +dependencies = [ + "chrono", + "num-format", + "pezframe-election-provider-support", + "pezframe-support", + "pezframe-system", + "pezpallet-staking", + "pezsp-staking", +] + +[[package]] +name = "pez-kitchensink-runtime" +version = "3.0.0-dev" +dependencies = [ + "array-bytes 6.2.3", + "bizinikiwi-wasm-builder", + "log", + "parity-scale-codec", + "pez-node-primitives", + "pezkuwi-sdk", + "pezpallet-example-mbm", + "pezpallet-example-tasks", + "pezsp-debug-derive", + "primitive-types 0.13.1", + "rand 0.8.5", + "rand_pcg", + "scale-info", + "serde_json", + "static_assertions", +] + +[[package]] +name = "pez-messages-relay" +version = "0.1.0" +dependencies = [ + "async-std", + "async-trait", + "bp-messages", + "futures", + "hex", + "num-traits", + "parking_lot 0.12.5", + "pez-finality-relay", + "pezsp-arithmetic", + "pezsp-core", + "relay-utils", + "tracing", +] + +[[package]] +name = "pez-minimal-template-node" +version = "0.0.0" +dependencies = [ + "clap", + "docify", + "futures", + "futures-timer", + "jsonrpsee", + "pez-minimal-template-runtime", + "pezkuwi-sdk", +] + +[[package]] +name = "pez-minimal-template-runtime" +version = "0.0.0" +dependencies = [ + "parity-scale-codec", + "pezkuwi-sdk", + "pezpallet-minimal-template", + "scale-info", + "serde_json", +] + +[[package]] +name = "pez-node-bench" +version = "0.9.0-dev" +dependencies = [ + "array-bytes 6.2.3", + "async-trait", + "clap", + "derive_more 0.99.20", + "fs_extra", + "futures", + "hash-db", + "kvdb", + "kvdb-rocksdb", + "log", + "parity-db", + "pez-kitchensink-runtime", + "pez-node-primitives", + "pez-node-testing", + "pezsc-basic-authorship", + "pezsc-client-api", + "pezsc-transaction-pool", + "pezsc-transaction-pool-api", + "pezsp-consensus", + "pezsp-core", + "pezsp-inherents", + "pezsp-runtime", + "pezsp-state-machine", + "pezsp-timestamp", + "pezsp-tracing", + "pezsp-trie", + "rand 0.8.5", + "serde", + "serde_json", + "tempfile", +] + +[[package]] +name = "pez-node-primitives" +version = "2.0.0" +dependencies = [ + "pezsp-core", + "pezsp-runtime", +] + +[[package]] +name = "pez-node-rpc" +version = "3.0.0-dev" +dependencies = [ + "bizinikiwi-frame-rpc-system", + "bizinikiwi-state-trie-migration-rpc", + "jsonrpsee", + "pez-node-primitives", + "pezmmr-rpc", + "pezpallet-transaction-payment-rpc", + "pezsc-chain-spec", + "pezsc-client-api", + "pezsc-consensus-babe", + "pezsc-consensus-babe-rpc", + "pezsc-consensus-beefy", + "pezsc-consensus-beefy-rpc", + "pezsc-consensus-grandpa", + "pezsc-consensus-grandpa-rpc", + "pezsc-mixnet", + "pezsc-rpc", + "pezsc-sync-state-rpc", + "pezsc-transaction-pool-api", + "pezsp-api", + "pezsp-application-crypto", + "pezsp-block-builder", + "pezsp-blockchain", + "pezsp-consensus", + "pezsp-consensus-babe", + "pezsp-consensus-beefy", + "pezsp-keystore", + "pezsp-runtime", + "pezsp-statement-store", +] + +[[package]] +name = "pez-node-template-release" +version = "3.0.0" +dependencies = [ + "clap", + "flate2", + "fs_extra", + "glob", + "itertools 0.11.0", + "tar", + "tempfile", + "toml_edit 0.19.15", +] + +[[package]] +name = "pez-node-testing" +version = "3.0.0-dev" +dependencies = [ + "bizinikiwi-test-client", + "fs_extra", + "futures", + "log", + "parity-scale-codec", + "pez-kitchensink-runtime", + "pez-node-primitives", + "pezframe-metadata-hash-extension", + "pezframe-system", + "pezpallet-asset-conversion", + "pezpallet-asset-conversion-tx-payment", + "pezpallet-revive", + "pezpallet-skip-feeless-payment", + "pezsc-block-builder", + "pezsc-client-api", + "pezsc-client-db", + "pezsc-consensus", + "pezsc-executor", + "pezsc-service", + "pezsp-api", + "pezsp-block-builder", + "pezsp-blockchain", + "pezsp-consensus", + "pezsp-core", + "pezsp-crypto-hashing", + "pezsp-inherents", + "pezsp-keyring", + "pezsp-runtime", + "pezsp-timestamp", + "pezstaging-node-cli", + "tempfile", +] + +[[package]] +name = "pez-penpal-emulated-chain" +version = "0.0.0" +dependencies = [ + "emulated-integration-tests-common", + "pez-penpal-runtime", + "pezcumulus-primitives-core", + "pezframe-support", + "pezsp-core", + "pezsp-keyring", + "pezstaging-xcm", + "teyrchains-common", +] + +[[package]] +name = "pez-penpal-runtime" +version = "0.14.0" +dependencies = [ + "assets-common", + "bizinikiwi-wasm-builder", + "hex-literal", + "parity-scale-codec", + "pezcumulus-pezpallet-aura-ext", + "pezcumulus-pezpallet-session-benchmarking", + "pezcumulus-pezpallet-teyrchain-system", + "pezcumulus-pezpallet-xcm", + "pezcumulus-pezpallet-xcmp-queue", + "pezcumulus-primitives-aura", + "pezcumulus-primitives-core", + "pezcumulus-primitives-utility", + "pezframe-benchmarking", + "pezframe-executive", + "pezframe-metadata-hash-extension", + "pezframe-support", + "pezframe-system", + "pezframe-system-benchmarking", + "pezframe-system-rpc-runtime-api", + "pezframe-try-runtime", + "pezkuwi-primitives", + "pezkuwi-runtime-common", + "pezkuwi-teyrchain-primitives", + "pezpallet-asset-conversion", + "pezpallet-asset-tx-payment", + "pezpallet-assets", + "pezpallet-aura", + "pezpallet-authorship", + "pezpallet-balances", + "pezpallet-collator-selection", + "pezpallet-message-queue", + "pezpallet-revive", + "pezpallet-session", + "pezpallet-sudo", + "pezpallet-timestamp", + "pezpallet-transaction-payment", + "pezpallet-transaction-payment-rpc-runtime-api", + "pezpallet-utility", + "pezpallet-xcm", + "pezsp-api", + "pezsp-block-builder", + "pezsp-consensus-aura", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-inherents", + "pezsp-keyring", + "pezsp-offchain", + "pezsp-runtime", + "pezsp-session", + "pezsp-storage", + "pezsp-transaction-pool", + "pezsp-version", + "pezstaging-teyrchain-info", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "primitive-types 0.13.1", + "scale-info", + "serde_json", + "smallvec", + "testnet-teyrchains-constants", + "teyrchains-common", + "tracing", + "xcm-runtime-pezapis", +] + +[[package]] +name = "pez-remote-ext-tests-bags-list" +version = "1.0.0" +dependencies = [ + "clap", + "log", + "pezframe-system", + "pezpallet-bags-list-remote-tests", + "pezsp-core", + "pezsp-tracing", + "tokio", + "zagros-runtime", + "zagros-runtime-constants", +] + +[[package]] +name = "pez-revive-dev-node" +version = "0.0.0" +dependencies = [ + "clap", + "docify", + "futures", + "futures-timer", + "jsonrpsee", + "pez-revive-dev-runtime", + "pezkuwi-sdk", +] + +[[package]] +name = "pez-revive-dev-runtime" +version = "0.1.0" +dependencies = [ + "array-bytes 6.2.3", + "parity-scale-codec", + "pezkuwi-sdk", + "pezsp-debug-derive", + "scale-info", + "serde_json", +] + +[[package]] +name = "pez-slot-range-helper" +version = "7.0.0" +dependencies = [ + "enumn", + "parity-scale-codec", + "paste", + "pezsp-runtime", +] + +[[package]] +name = "pez-solochain-template-node" +version = "0.0.0" +dependencies = [ + "bizinikiwi-build-script-utils", + "bizinikiwi-frame-rpc-system", + "clap", + "futures", + "jsonrpsee", + "pez-solochain-template-runtime", + "pezframe-benchmarking-cli", + "pezframe-metadata-hash-extension", + "pezframe-system", + "pezpallet-transaction-payment", + "pezpallet-transaction-payment-rpc", + "pezsc-basic-authorship", + "pezsc-cli", + "pezsc-client-api", + "pezsc-consensus", + "pezsc-consensus-aura", + "pezsc-consensus-grandpa", + "pezsc-executor", + "pezsc-network", + "pezsc-offchain", + "pezsc-service", + "pezsc-telemetry", + "pezsc-transaction-pool", + "pezsc-transaction-pool-api", + "pezsp-api", + "pezsp-block-builder", + "pezsp-blockchain", + "pezsp-consensus-aura", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-inherents", + "pezsp-io", + "pezsp-keyring", + "pezsp-runtime", + "pezsp-timestamp", +] + +[[package]] +name = "pez-solochain-template-runtime" +version = "0.0.0" +dependencies = [ + "bizinikiwi-wasm-builder", + "parity-scale-codec", + "pezframe-benchmarking", + "pezframe-executive", + "pezframe-metadata-hash-extension", + "pezframe-support", + "pezframe-system", + "pezframe-system-benchmarking", + "pezframe-system-rpc-runtime-api", + "pezframe-try-runtime", + "pezpallet-aura", + "pezpallet-balances", + "pezpallet-grandpa", + "pezpallet-sudo", + "pezpallet-template", + "pezpallet-timestamp", + "pezpallet-transaction-payment", + "pezpallet-transaction-payment-rpc-runtime-api", + "pezsp-api", + "pezsp-block-builder", + "pezsp-consensus-aura", + "pezsp-consensus-grandpa", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-inherents", + "pezsp-keyring", + "pezsp-offchain", + "pezsp-runtime", + "pezsp-session", + "pezsp-storage", + "pezsp-transaction-pool", + "pezsp-version", + "scale-info", + "serde_json", +] + +[[package]] +name = "pez-subkey" +version = "9.0.0" +dependencies = [ + "clap", + "pezsc-cli", +] + +[[package]] +name = "pez-template-zombienet-tests" +version = "0.0.0" +dependencies = [ + "anyhow", + "env_logger 0.11.8", + "tokio", + "zombienet-sdk", +] + +[[package]] +name = "pez-tracing-gum" +version = "7.0.0" +dependencies = [ + "coarsetime", + "pez-tracing-gum-proc-macro", + "pezkuwi-primitives", + "tracing", +] + +[[package]] +name = "pez-tracing-gum-proc-macro" +version = "5.0.0" +dependencies = [ + "assert_matches", + "expander", + "proc-macro-crate 3.4.0", + "proc-macro2 1.0.103", + "quote 1.0.42", + "syn 2.0.111", +] + +[[package]] +name = "pez_erasure_coding_fuzzer" +version = "1.0.0" +dependencies = [ + "honggfuzz", + "pezkuwi-erasure-coding", + "pezkuwi-pez-node-primitives", + "pezkuwi-primitives", +] + +[[package]] +name = "pezbp-runtime" +version = "0.7.0" +dependencies = [ + "hash-db", + "hex-literal", + "impl-trait-for-tuples", + "num-traits", + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-state-machine", + "pezsp-std", + "pezsp-trie", + "scale-info", + "serde", + "tracing", + "trie-db 0.30.0", +] + +[[package]] +name = "pezbridge-hub-pezkuwichain-emulated-chain" +version = "0.0.0" +dependencies = [ + "bp-messages", + "bridge-hub-common", + "emulated-integration-tests-common", + "pezbridge-hub-pezkuwichain-runtime", + "pezframe-support", + "pezsp-core", + "pezsp-keyring", + "pezstaging-xcm", + "testnet-teyrchains-constants", + "teyrchains-common", +] + +[[package]] +name = "pezbridge-hub-pezkuwichain-integration-tests" +version = "1.0.0" +dependencies = [ + "asset-hub-pezkuwichain-runtime", + "bp-asset-hub-pezkuwichain", + "emulated-integration-tests-common", + "hex-literal", + "parity-scale-codec", + "pezcumulus-pezpallet-xcmp-queue", + "pezframe-support", + "pezkuwichain-system-emulated-network", + "pezkuwichain-zagros-system-emulated-network", + "pezpallet-asset-conversion", + "pezpallet-assets", + "pezpallet-balances", + "pezpallet-bridge-messages", + "pezpallet-message-queue", + "pezpallet-xcm", + "pezsnowbridge-inbound-queue-primitives", + "pezsnowbridge-outbound-queue-primitives", + "pezsp-core", + "pezsp-runtime", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "snowbridge-pezpallet-inbound-queue-fixtures", + "snowbridge-pezpallet-outbound-queue", + "snowbridge-pezpallet-system", + "testnet-teyrchains-constants", + "teyrchains-common", +] + +[[package]] +name = "pezbridge-hub-pezkuwichain-runtime" +version = "0.5.0" +dependencies = [ + "bizinikiwi-wasm-builder", + "bp-asset-hub-pezkuwichain", + "bp-asset-hub-zagros", + "bp-bridge-hub-pezkuwichain", + "bp-bridge-hub-zagros", + "bp-header-pez-chain", + "bp-messages", + "bp-pezkuwi-bulletin", + "bp-pezkuwi-core", + "bp-relayers", + "bp-teyrchains", + "bp-xcm-bridge-hub-router", + "bp-zagros", + "bridge-hub-common", + "hex-literal", + "parity-scale-codec", + "pezbp-runtime", + "pezbridge-hub-test-utils", + "pezbridge-runtime-common", + "pezcumulus-pezpallet-aura-ext", + "pezcumulus-pezpallet-session-benchmarking", + "pezcumulus-pezpallet-teyrchain-system", + "pezcumulus-pezpallet-weight-reclaim", + "pezcumulus-pezpallet-xcm", + "pezcumulus-pezpallet-xcmp-queue", + "pezcumulus-primitives-aura", + "pezcumulus-primitives-core", + "pezcumulus-primitives-utility", + "pezframe-benchmarking", + "pezframe-executive", + "pezframe-metadata-hash-extension", + "pezframe-support", + "pezframe-system", + "pezframe-system-benchmarking", + "pezframe-system-rpc-runtime-api", + "pezframe-try-runtime", + "pezkuwi-runtime-common", + "pezkuwi-teyrchain-primitives", + "pezkuwichain-runtime-constants", + "pezpallet-aura", + "pezpallet-authorship", + "pezpallet-balances", + "pezpallet-bridge-grandpa", + "pezpallet-bridge-messages", + "pezpallet-bridge-relayers", + "pezpallet-bridge-teyrchains", + "pezpallet-collator-selection", + "pezpallet-message-queue", + "pezpallet-multisig", + "pezpallet-session", + "pezpallet-timestamp", + "pezpallet-transaction-payment", + "pezpallet-transaction-payment-rpc-runtime-api", + "pezpallet-utility", + "pezpallet-xcm", + "pezpallet-xcm-benchmarks", + "pezpallet-xcm-bridge-hub", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", + "pezsnowbridge-merkle-tree", + "pezsnowbridge-outbound-queue-primitives", + "pezsnowbridge-outbound-queue-runtime-api", + "pezsnowbridge-runtime-test-common", + "pezsnowbridge-system-runtime-api", + "pezsp-api", + "pezsp-block-builder", + "pezsp-consensus-aura", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-inherents", + "pezsp-io", + "pezsp-keyring", + "pezsp-offchain", + "pezsp-runtime", + "pezsp-session", + "pezsp-std", + "pezsp-storage", + "pezsp-transaction-pool", + "pezsp-version", + "pezstaging-teyrchain-info", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "serde", + "serde_json", + "snowbridge-pezpallet-ethereum-client", + "snowbridge-pezpallet-inbound-queue", + "snowbridge-pezpallet-inbound-queue-fixtures", + "snowbridge-pezpallet-outbound-queue", + "snowbridge-pezpallet-system", + "testnet-teyrchains-constants", + "teyrchains-common", + "teyrchains-runtimes-test-utils", + "tracing", + "xcm-runtime-pezapis", +] + +[[package]] +name = "pezbridge-hub-test-utils" +version = "0.7.0" +dependencies = [ + "asset-test-pezutils", + "bp-header-pez-chain", + "bp-messages", + "bp-pezkuwi-core", + "bp-relayers", + "bp-test-utils", + "bp-teyrchains", + "impl-trait-for-tuples", + "parity-scale-codec", + "pezbp-runtime", + "pezcumulus-pezpallet-teyrchain-system", + "pezcumulus-pezpallet-xcmp-queue", + "pezframe-support", + "pezframe-system", + "pezpallet-balances", + "pezpallet-bridge-grandpa", + "pezpallet-bridge-messages", + "pezpallet-bridge-relayers", + "pezpallet-bridge-teyrchains", + "pezpallet-timestamp", + "pezpallet-utility", + "pezpallet-xcm", + "pezpallet-xcm-bridge-hub", + "pezsp-core", + "pezsp-io", + "pezsp-keyring", + "pezsp-runtime", + "pezsp-std", + "pezsp-tracing", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "teyrchains-common", + "teyrchains-runtimes-test-utils", + "tracing", +] + +[[package]] +name = "pezbridge-hub-zagros-emulated-chain" +version = "0.0.0" +dependencies = [ + "bp-messages", + "bridge-hub-common", + "emulated-integration-tests-common", + "pezbridge-hub-zagros-runtime", + "pezframe-support", + "pezsp-core", + "pezsp-keyring", + "pezstaging-xcm", + "testnet-teyrchains-constants", + "teyrchains-common", +] + +[[package]] +name = "pezbridge-hub-zagros-integration-tests" +version = "1.0.0" +dependencies = [ + "asset-hub-zagros-runtime", + "bp-asset-hub-zagros", + "bridge-hub-common", + "emulated-integration-tests-common", + "hex-literal", + "parity-scale-codec", + "pezbridge-hub-zagros-runtime", + "pezcumulus-pezpallet-teyrchain-system", + "pezcumulus-pezpallet-xcmp-queue", + "pezframe-support", + "pezkuwichain-zagros-system-emulated-network", + "pezpallet-asset-conversion", + "pezpallet-assets", + "pezpallet-balances", + "pezpallet-bridge-messages", + "pezpallet-bridge-relayers", + "pezpallet-message-queue", + "pezpallet-xcm", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", + "pezsnowbridge-outbound-queue-primitives", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "snowbridge-pezpallet-inbound-queue", + "snowbridge-pezpallet-inbound-queue-fixtures", + "snowbridge-pezpallet-inbound-queue-v2", + "snowbridge-pezpallet-outbound-queue", + "snowbridge-pezpallet-outbound-queue-v2", + "snowbridge-pezpallet-system", + "snowbridge-pezpallet-system-v2", + "testnet-teyrchains-constants", + "teyrchains-common", +] + +[[package]] +name = "pezbridge-hub-zagros-runtime" +version = "0.3.0" +dependencies = [ + "bizinikiwi-wasm-builder", + "bp-asset-hub-pezkuwichain", + "bp-asset-hub-zagros", + "bp-bridge-hub-pezkuwichain", + "bp-bridge-hub-zagros", + "bp-header-pez-chain", + "bp-messages", + "bp-pezkuwi-core", + "bp-pezkuwichain", + "bp-relayers", + "bp-teyrchains", + "bp-xcm-bridge-hub-router", + "bridge-hub-common", + "hex-literal", + "parity-scale-codec", + "pezbp-runtime", + "pezbridge-hub-test-utils", + "pezbridge-runtime-common", + "pezcumulus-pezpallet-aura-ext", + "pezcumulus-pezpallet-session-benchmarking", + "pezcumulus-pezpallet-teyrchain-system", + "pezcumulus-pezpallet-weight-reclaim", + "pezcumulus-pezpallet-xcm", + "pezcumulus-pezpallet-xcmp-queue", + "pezcumulus-primitives-aura", + "pezcumulus-primitives-core", + "pezcumulus-primitives-utility", + "pezframe-benchmarking", + "pezframe-executive", + "pezframe-metadata-hash-extension", + "pezframe-support", + "pezframe-system", + "pezframe-system-benchmarking", + "pezframe-system-rpc-runtime-api", + "pezframe-try-runtime", + "pezkuwi-runtime-common", + "pezkuwi-teyrchain-primitives", + "pezpallet-aura", + "pezpallet-authorship", + "pezpallet-balances", + "pezpallet-bridge-grandpa", + "pezpallet-bridge-messages", + "pezpallet-bridge-relayers", + "pezpallet-bridge-teyrchains", + "pezpallet-collator-selection", + "pezpallet-message-queue", + "pezpallet-multisig", + "pezpallet-session", + "pezpallet-timestamp", + "pezpallet-transaction-payment", + "pezpallet-transaction-payment-rpc-runtime-api", + "pezpallet-utility", + "pezpallet-xcm", + "pezpallet-xcm-benchmarks", + "pezpallet-xcm-bridge-hub", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", + "pezsnowbridge-merkle-tree", + "pezsnowbridge-outbound-queue-primitives", + "pezsnowbridge-outbound-queue-runtime-api", + "pezsnowbridge-outbound-queue-v2-runtime-api", + "pezsnowbridge-runtime-test-common", + "pezsnowbridge-system-runtime-api", + "pezsnowbridge-system-v2-runtime-api", + "pezsp-api", + "pezsp-block-builder", + "pezsp-consensus-aura", + "pezsp-core", + "pezsp-genesis-builder", + "pezsp-inherents", + "pezsp-io", + "pezsp-keyring", + "pezsp-offchain", + "pezsp-runtime", + "pezsp-session", + "pezsp-std", + "pezsp-storage", + "pezsp-transaction-pool", + "pezsp-version", + "pezstaging-teyrchain-info", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "serde", + "serde_json", + "snowbridge-pezpallet-ethereum-client", + "snowbridge-pezpallet-inbound-queue", + "snowbridge-pezpallet-inbound-queue-fixtures", + "snowbridge-pezpallet-inbound-queue-v2", + "snowbridge-pezpallet-inbound-queue-v2-fixtures", + "snowbridge-pezpallet-outbound-queue", + "snowbridge-pezpallet-outbound-queue-v2", + "snowbridge-pezpallet-system", + "snowbridge-pezpallet-system-v2", + "testnet-teyrchains-constants", + "teyrchains-common", + "teyrchains-runtimes-test-utils", + "tracing", + "xcm-runtime-pezapis", + "zagros-runtime-constants", +] + +[[package]] +name = "pezbridge-runtime-common" +version = "0.7.0" +dependencies = [ + "bp-header-pez-chain", + "bp-messages", + "bp-pezkuwi-core", + "bp-relayers", + "bp-test-utils", + "bp-teyrchains", + "parity-scale-codec", + "pezbp-runtime", + "pezframe-support", + "pezframe-system", + "pezpallet-balances", + "pezpallet-bridge-grandpa", + "pezpallet-bridge-messages", + "pezpallet-bridge-relayers", + "pezpallet-bridge-teyrchains", + "pezpallet-transaction-payment", + "pezpallet-utility", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "pezsp-trie", + "pezsp-weights", + "pezstaging-xcm", + "scale-info", + "static_assertions", + "tracing", + "tuplex", +] + [[package]] name = "pezcumulus-client-bootnodes" version = "0.1.0" @@ -11049,10 +11182,10 @@ dependencies = [ "pezcumulus-test-client", "pezcumulus-test-relay-sproof-builder", "pezcumulus-test-runtime", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-client-api", "pezsp-api", @@ -11083,10 +11216,10 @@ dependencies = [ "pezcumulus-relay-chain-interface", "pezcumulus-test-client", "pezcumulus-test-relay-sproof-builder", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-client-api", "pezsc-consensus", @@ -11208,8 +11341,8 @@ dependencies = [ "pezcumulus-relay-chain-inprocess-interface", "pezcumulus-relay-chain-interface", "pezcumulus-test-service", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-test-client", @@ -11243,9 +11376,9 @@ dependencies = [ "pezcumulus-relay-chain-interface", "pezcumulus-relay-chain-streams", "pezcumulus-test-client", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-client-api", "pezsc-consensus", @@ -11539,7 +11672,7 @@ dependencies = [ "anyhow", "clap", "parity-scale-codec", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-teyrchain-primitives", "pezsc-executor", @@ -12270,7 +12403,7 @@ dependencies = [ "pezframe-benchmarking", "pezframe-executive", "pezframe-support", - "pezframe-support-test-pallet", + "pezframe-support-test-pezpallet", "pezframe-system", "pezsp-api", "pezsp-arithmetic", @@ -12302,7 +12435,7 @@ dependencies = [ ] [[package]] -name = "pezframe-support-test-pallet" +name = "pezframe-support-test-pezpallet" version = "4.0.0-dev" dependencies = [ "parity-scale-codec", @@ -12408,12 +12541,13 @@ dependencies = [ "futures", "futures-timer", "itertools 0.11.0", + "pez-tracing-gum", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsc-keystore", @@ -12425,7 +12559,6 @@ dependencies = [ "rand_chacha 0.3.1", "rand_core 0.6.4", "schnorrkel 0.11.5", - "tracing-gum", ] [[package]] @@ -12437,6 +12570,7 @@ dependencies = [ "futures", "futures-timer", "maplit", + "pez-tracing-gum", "pezkuwi-node-network-protocol", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", @@ -12450,7 +12584,6 @@ dependencies = [ "pezsp-tracing", "rand 0.8.5", "rand_chacha 0.3.1", - "tracing-gum", ] [[package]] @@ -12462,12 +12595,13 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-erasure-coding", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-subsystem-bench", @@ -12480,7 +12614,6 @@ dependencies = [ "rstest", "schnellru", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12493,12 +12626,13 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-erasure-coding", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-subsystem-bench", @@ -12511,7 +12645,6 @@ dependencies = [ "schnellru", "thiserror 1.0.69", "tokio", - "tracing-gum", ] [[package]] @@ -12534,7 +12667,7 @@ dependencies = [ "log", "pezframe-benchmarking-cli", "pezkuwi-node-metrics", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-service", "pezsc-cli", "pezsc-network-types", @@ -12562,11 +12695,12 @@ dependencies = [ "futures-timer", "itertools 0.11.0", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsc-keystore", @@ -12581,7 +12715,6 @@ dependencies = [ "thiserror 1.0.69", "tokio", "tokio-util", - "tracing-gum", ] [[package]] @@ -12606,11 +12739,12 @@ dependencies = [ "futures-timer", "indexmap 2.12.1", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsc-keystore", @@ -12620,7 +12754,6 @@ dependencies = [ "pezsp-keystore", "pezsp-tracing", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12629,7 +12762,7 @@ version = "7.0.0" dependencies = [ "criterion", "parity-scale-codec", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsp-core", "pezsp-trie", @@ -12647,6 +12780,7 @@ dependencies = [ "futures", "futures-timer", "parking_lot 0.12.5", + "pez-tracing-gum", "pezkuwi-node-network-protocol", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", @@ -12664,7 +12798,6 @@ dependencies = [ "quickcheck", "rand 0.8.5", "rand_chacha 0.3.1", - "tracing-gum", ] [[package]] @@ -12680,6 +12813,7 @@ dependencies = [ "futures-timer", "parity-scale-codec", "parking_lot 0.12.5", + "pez-tracing-gum", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", "pezkuwi-node-subsystem", @@ -12693,7 +12827,6 @@ dependencies = [ "pezsp-core", "pezsp-keyring", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12703,11 +12836,12 @@ dependencies = [ "assert_matches", "futures", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-erasure-coding", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsp-core", @@ -12715,7 +12849,6 @@ dependencies = [ "rstest", "schnellru", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12733,11 +12866,12 @@ dependencies = [ "merlin", "parity-scale-codec", "parking_lot 0.12.5", - "pezkuwi-node-primitives", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-subsystem-bench", @@ -12757,7 +12891,6 @@ dependencies = [ "schnellru", "schnorrkel 0.11.5", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12769,15 +12902,16 @@ dependencies = [ "futures", "itertools 0.11.0", "kvdb-memorydb", + "pez-tracing-gum", "pezkuwi-approval-distribution", "pezkuwi-node-core-approval-voting", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-keystore", "pezsp-consensus", @@ -12788,7 +12922,6 @@ dependencies = [ "rand 0.8.5", "rand_core 0.6.4", "schnorrkel 0.11.5", - "tracing-gum", ] [[package]] @@ -12802,11 +12935,12 @@ dependencies = [ "kvdb-memorydb", "parity-scale-codec", "parking_lot 0.12.5", + "pez-tracing-gum", "pezkuwi-erasure-coding", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsp-consensus", @@ -12814,7 +12948,6 @@ dependencies = [ "pezsp-keyring", "pezsp-tracing", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12825,11 +12958,12 @@ dependencies = [ "bitvec", "fatality", "futures", + "pez-tracing-gum", "pezkuwi-erasure-coding", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-statement-table", @@ -12842,7 +12976,6 @@ dependencies = [ "pezsp-tracing", "schnellru", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12850,6 +12983,7 @@ name = "pezkuwi-node-core-bitfield-signing" version = "7.0.0" dependencies = [ "futures", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", @@ -12857,7 +12991,6 @@ dependencies = [ "pezkuwi-primitives-test-helpers", "pezsp-keystore", "thiserror 1.0.69", - "tracing-gum", "wasm-timer", ] @@ -12870,13 +13003,14 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-core-pvf", "pezkuwi-node-metrics", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-teyrchain-primitives", @@ -12886,7 +13020,6 @@ dependencies = [ "pezsp-keystore", "pezsp-maybe-compressed-blob", "rstest", - "tracing-gum", ] [[package]] @@ -12896,17 +13029,17 @@ dependencies = [ "futures", "maplit", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-metrics", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-client-api", "pezsc-consensus-babe", "pezsp-blockchain", "pezsp-core", - "tracing-gum", ] [[package]] @@ -12919,14 +13052,14 @@ dependencies = [ "kvdb-memorydb", "parity-scale-codec", "parking_lot 0.12.5", - "pezkuwi-node-primitives", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsp-core", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12939,10 +13072,11 @@ dependencies = [ "futures-timer", "kvdb-memorydb", "parity-scale-codec", - "pezkuwi-node-primitives", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-subsystem-bench", @@ -12954,7 +13088,6 @@ dependencies = [ "pezsp-tracing", "schnellru", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12964,6 +13097,7 @@ dependencies = [ "assert_matches", "fatality", "futures", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", @@ -12974,7 +13108,6 @@ dependencies = [ "rand 0.8.5", "rstest", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -12985,10 +13118,11 @@ dependencies = [ "fatality", "futures", "futures-timer", - "pezkuwi-node-primitives", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsc-consensus-slots", @@ -12996,7 +13130,6 @@ dependencies = [ "pezsp-keystore", "schnellru", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -13012,14 +13145,15 @@ dependencies = [ "is_executable", "libc", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-core-pvf", "pezkuwi-node-core-pvf-common", "pezkuwi-node-core-pvf-execute-worker", "pezkuwi-node-core-pvf-prepare-worker", "pezkuwi-node-metrics", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-teyrchain-primitives", "pezkuwichain-runtime", @@ -13038,7 +13172,6 @@ dependencies = [ "test-teyrchain-halt", "thiserror 1.0.69", "tokio", - "tracing-gum", ] [[package]] @@ -13047,6 +13180,7 @@ version = "7.0.0" dependencies = [ "futures", "futures-timer", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", @@ -13058,7 +13192,6 @@ dependencies = [ "pezsp-keyring", "pezsp-keystore", "pezsp-runtime", - "tracing-gum", ] [[package]] @@ -13072,7 +13205,8 @@ dependencies = [ "libc", "nix 0.29.0", "parity-scale-codec", - "pezkuwi-node-primitives", + "pez-tracing-gum", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-teyrchain-primitives", "pezsc-executor", @@ -13086,7 +13220,6 @@ dependencies = [ "seccompiler", "tempfile", "thiserror 1.0.69", - "tracing-gum", "wat", ] @@ -13099,12 +13232,12 @@ dependencies = [ "libc", "nix 0.29.0", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-core-pvf-common", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-teyrchain-primitives", "pezsp-maybe-compressed-blob", - "tracing-gum", ] [[package]] @@ -13116,6 +13249,7 @@ dependencies = [ "libc", "nix 0.29.0", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-core-pvf-common", "pezkuwi-primitives", "pezkuwichain-runtime", @@ -13123,7 +13257,6 @@ dependencies = [ "pezstaging-tracking-allocator", "tikv-jemalloc-ctl", "tikv-jemallocator", - "tracing-gum", ] [[package]] @@ -13132,11 +13265,12 @@ version = "7.0.0" dependencies = [ "async-trait", "futures", + "pez-tracing-gum", "pezkuwi-node-metrics", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsp-api", @@ -13144,7 +13278,6 @@ dependencies = [ "pezsp-core", "pezsp-keyring", "schnellru", - "tracing-gum", ] [[package]] @@ -13154,13 +13287,13 @@ dependencies = [ "async-trait", "futures", "futures-timer", + "pez-tracing-gum", "pezkuwi-node-subsystem", "pezkuwi-overseer", "pezkuwi-primitives", "pezsp-blockchain", "pezsp-inherents", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -13198,7 +13331,8 @@ dependencies = [ "futures", "hex", "parity-scale-codec", - "pezkuwi-node-primitives", + "pez-tracing-gum", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-authority-discovery", "pezsc-network", @@ -13208,30 +13342,6 @@ dependencies = [ "rand_chacha 0.3.1", "strum 0.26.3", "thiserror 1.0.69", - "tracing-gum", -] - -[[package]] -name = "pezkuwi-node-primitives" -version = "7.0.0" -dependencies = [ - "bitvec", - "bounded-vec", - "futures", - "futures-timer", - "parity-scale-codec", - "pezkuwi-primitives", - "pezkuwi-teyrchain-primitives", - "pezsc-keystore", - "pezsp-application-crypto", - "pezsp-consensus-babe", - "pezsp-consensus-slots", - "pezsp-keystore", - "pezsp-maybe-compressed-blob", - "schnorrkel 0.11.5", - "serde", - "thiserror 1.0.69", - "zstd 0.12.4", ] [[package]] @@ -13250,9 +13360,9 @@ dependencies = [ "futures", "parking_lot 0.12.5", "pezkuwi-erasure-coding", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsc-client-api", "pezsc-keystore", @@ -13274,7 +13384,7 @@ dependencies = [ "futures", "orchestra", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-statement-table", "pezsc-client-api", @@ -13303,14 +13413,15 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.5", + "pez-tracing-gum", "pezkuwi-erasure-coding", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsp-application-crypto", @@ -13321,7 +13432,6 @@ dependencies = [ "schnellru", "tempfile", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -13436,18 +13546,41 @@ dependencies = [ "futures", "futures-timer", "orchestra", + "pez-tracing-gum", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezsc-client-api", "pezsp-core", "prioritized-metered-channel", "tikv-jemalloc-ctl", - "tracing-gum", +] + +[[package]] +name = "pezkuwi-pez-node-primitives" +version = "7.0.0" +dependencies = [ + "bitvec", + "bounded-vec", + "futures", + "futures-timer", + "parity-scale-codec", + "pezkuwi-primitives", + "pezkuwi-teyrchain-primitives", + "pezsc-keystore", + "pezsp-application-crypto", + "pezsp-consensus-babe", + "pezsp-consensus-slots", + "pezsp-keystore", + "pezsp-maybe-compressed-blob", + "schnorrkel 0.11.5", + "serde", + "thiserror 1.0.69", + "zstd 0.12.4", ] [[package]] @@ -13500,8 +13633,8 @@ dependencies = [ "bizinikiwi-frame-rpc-system", "bizinikiwi-state-trie-migration-rpc", "jsonrpsee", - "mmr-rpc", "pezkuwi-primitives", + "pezmmr-rpc", "pezpallet-transaction-payment-rpc", "pezsc-chain-spec", "pezsc-client-api", @@ -13535,6 +13668,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", + "pez-slot-range-helper", "pezframe-benchmarking", "pezframe-election-provider-support", "pezframe-support", @@ -13575,7 +13709,6 @@ dependencies = [ "scale-info", "serde", "serde_json", - "slot-range-helper", "static_assertions", ] @@ -13653,7 +13786,7 @@ dependencies = [ name = "pezkuwi-sdk" version = "1.11.0" dependencies = [ - "asset-test-utils", + "asset-test-pezutils", "assets-common", "binary-merkle-tree", "bizinikiwi-bip39", @@ -13664,25 +13797,27 @@ dependencies = [ "bizinikiwi-rpc-client", "bizinikiwi-state-trie-migration-rpc", "bizinikiwi-wasm-builder", - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", "bp-relayers", - "bp-runtime", "bp-test-utils", "bp-teyrchains", "bp-xcm-bridge-hub", "bp-xcm-bridge-hub-router", "bridge-hub-common", - "bridge-hub-test-utils", - "bridge-runtime-common", "emulated-integration-tests-common", - "ethereum-standards", - "fork-tree", "frame-remote-externalities", - "generate-bags", - "mmr-gadget", - "mmr-rpc", + "pez-ethereum-standards", + "pez-fork-tree", + "pez-generate-bags", + "pez-slot-range-helper", + "pez-subkey", + "pez-tracing-gum", + "pez-tracing-gum-proc-macro", + "pezbp-runtime", + "pezbridge-hub-test-utils", + "pezbridge-runtime-common", "pezcumulus-client-bootnodes", "pezcumulus-client-cli", "pezcumulus-client-collator", @@ -13764,12 +13899,12 @@ dependencies = [ "pezkuwi-node-core-teyrchains-inherent", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-types", "pezkuwi-node-subsystem-util", "pezkuwi-omni-node-lib", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-rpc", @@ -13781,6 +13916,8 @@ dependencies = [ "pezkuwi-statement-distribution", "pezkuwi-statement-table", "pezkuwi-teyrchain-primitives", + "pezmmr-gadget", + "pezmmr-rpc", "pezpallet-alliance", "pezpallet-asset-conversion", "pezpallet-asset-conversion-ops", @@ -14023,17 +14160,13 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-builder", "pezstaging-xcm-executor", - "slot-range-helper", - "subkey", "testnet-teyrchains-constants", "teyrchains-common", "teyrchains-runtimes-test-utils", - "tracing-gum", - "tracing-gum-proc-macro", - "xcm-emulator", - "xcm-procedural", - "xcm-runtime-apis", - "xcm-simulator", + "xcm-pez-emulator", + "xcm-pez-procedural", + "xcm-pez-simulator", + "xcm-runtime-pezapis", ] [[package]] @@ -14042,13 +14175,15 @@ version = "0.0.1" dependencies = [ "assert_cmd", "bizinikiwi-wasm-builder", - "chain-spec-guide-runtime", "cmd_lib", "docify", - "kitchensink-runtime", "log", - "minimal-template-runtime", "parity-scale-codec", + "pez-chain-spec-guide-runtime", + "pez-kitchensink-runtime", + "pez-minimal-template-runtime", + "pez-solochain-template-runtime", + "pez-subkey", "pezcumulus-client-service", "pezcumulus-pezpallet-aura-ext", "pezcumulus-pezpallet-teyrchain-system", @@ -14124,15 +14259,13 @@ dependencies = [ "scale-info", "serde_json", "simple-mermaid", - "solochain-template-runtime", - "subkey", "tokio", - "xcm-docs", - "xcm-simulator", + "xcm-pez-docs", + "xcm-pez-simulator", ] [[package]] -name = "pezkuwi-sdk-docs-first-pallet" +name = "pezkuwi-sdk-docs-first-pezpallet" version = "0.0.0" dependencies = [ "docify", @@ -14148,7 +14281,7 @@ dependencies = [ "bizinikiwi-wasm-builder", "docify", "parity-scale-codec", - "pezkuwi-sdk-docs-first-pallet", + "pezkuwi-sdk-docs-first-pezpallet", "pezkuwi-sdk-frame", "pezpallet-balances", "pezpallet-sudo", @@ -14206,10 +14339,10 @@ dependencies = [ "kvdb", "kvdb-rocksdb", "log", - "mmr-gadget", "parity-db", "parity-scale-codec", "parking_lot 0.12.5", + "pez-tracing-gum", "pezframe-benchmarking", "pezframe-benchmarking-cli", "pezframe-metadata-hash-extension", @@ -14241,12 +14374,12 @@ dependencies = [ "pezkuwi-node-core-runtime-api", "pezkuwi-node-core-teyrchains-inherent", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-rpc", @@ -14255,6 +14388,7 @@ dependencies = [ "pezkuwi-test-client", "pezkuwichain-runtime", "pezkuwichain-runtime-constants", + "pezmmr-gadget", "pezpallet-transaction-payment", "pezpallet-transaction-payment-rpc-runtime-api", "pezsc-authority-discovery", @@ -14304,8 +14438,7 @@ dependencies = [ "serde_json", "tempfile", "thiserror 1.0.69", - "tracing-gum", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime", "zagros-runtime-constants", ] @@ -14334,11 +14467,12 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-subsystem-bench", @@ -14353,7 +14487,6 @@ dependencies = [ "rand_chacha 0.3.1", "rstest", "thiserror 1.0.69", - "tracing-gum", ] [[package]] @@ -14361,8 +14494,8 @@ name = "pezkuwi-statement-table" version = "7.0.0" dependencies = [ "parity-scale-codec", + "pez-tracing-gum", "pezkuwi-primitives", - "tracing-gum", ] [[package]] @@ -14383,6 +14516,7 @@ dependencies = [ "orchestra", "parity-scale-codec", "paste", + "pez-tracing-gum", "pezkuwi-approval-distribution", "pezkuwi-availability-bitfield-distribution", "pezkuwi-availability-distribution", @@ -14394,12 +14528,12 @@ dependencies = [ "pezkuwi-node-core-dispute-coordinator", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", "pezkuwi-node-subsystem-util", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-primitives-test-helpers", "pezkuwi-statement-distribution", @@ -14429,7 +14563,6 @@ dependencies = [ "strum 0.26.3", "tikv-jemallocator", "tokio", - "tracing-gum", ] [[package]] @@ -14468,21 +14601,21 @@ dependencies = [ "clap", "color-eyre", "futures", + "pez-tracing-gum", "pezkuwi-cli", "pezkuwi-erasure-coding", "pezkuwi-node-core-pvf-common", "pezkuwi-node-core-pvf-execute-worker", "pezkuwi-node-core-pvf-prepare-worker", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-test-helpers", "pezkuwi-node-subsystem-types", "pezkuwi-node-subsystem-util", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezsp-core", "rand 0.8.5", - "tracing-gum", ] [[package]] @@ -14535,9 +14668,9 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-builder", "pezstaging-xcm-executor", + "peztest-runtime-constants", "scale-info", "serde", - "test-runtime-constants", ] [[package]] @@ -14547,9 +14680,9 @@ dependencies = [ "bizinikiwi-test-client", "futures", "pezframe-system", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-overseer", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-runtime-common", "pezkuwi-runtime-teyrchains", @@ -14576,9 +14709,9 @@ dependencies = [ "pezsp-keyring", "pezsp-runtime", "pezsp-state-machine", + "peztest-runtime-constants", "rand 0.8.5", "serde_json", - "test-runtime-constants", "tokio", ] @@ -14590,8 +14723,6 @@ dependencies = [ "asset-hub-pezkuwichain-runtime", "asset-hub-zagros-runtime", "bizinikiwi-build-script-utils", - "bridge-hub-pezkuwichain-runtime", - "bridge-hub-zagros-runtime", "collectives-zagros-runtime", "color-eyre", "coretime-pezkuwichain-runtime", @@ -14599,9 +14730,11 @@ dependencies = [ "glutton-zagros-runtime", "hex-literal", "log", - "penpal-runtime", "people-pezkuwichain-runtime", "people-zagros-runtime", + "pez-penpal-runtime", + "pezbridge-hub-pezkuwichain-runtime", + "pezbridge-hub-zagros-runtime", "pezcumulus-client-consensus-aura", "pezcumulus-primitives-core", "pezkuwi-omni-node-lib", @@ -14640,7 +14773,7 @@ name = "pezkuwi-voter-bags" version = "7.0.0" dependencies = [ "clap", - "generate-bags", + "pez-generate-bags", "zagros-runtime", ] @@ -14789,7 +14922,7 @@ dependencies = [ "serde_derive", "serde_json", "tokio", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -14812,11 +14945,11 @@ name = "pezkuwichain-system-emulated-network" version = "0.0.0" dependencies = [ "asset-hub-pezkuwichain-emulated-chain", - "bridge-hub-pezkuwichain-emulated-chain", "coretime-pezkuwichain-emulated-chain", "emulated-integration-tests-common", - "penpal-emulated-chain", "people-pezkuwichain-emulated-chain", + "pez-penpal-emulated-chain", + "pezbridge-hub-pezkuwichain-emulated-chain", "pezkuwichain-emulated-chain", ] @@ -14878,14 +15011,52 @@ version = "0.0.0" dependencies = [ "asset-hub-pezkuwichain-emulated-chain", "asset-hub-zagros-emulated-chain", - "bridge-hub-pezkuwichain-emulated-chain", - "bridge-hub-zagros-emulated-chain", "emulated-integration-tests-common", - "penpal-emulated-chain", + "pez-penpal-emulated-chain", + "pezbridge-hub-pezkuwichain-emulated-chain", + "pezbridge-hub-zagros-emulated-chain", "pezkuwichain-emulated-chain", "zagros-emulated-chain", ] +[[package]] +name = "pezmmr-gadget" +version = "29.0.0" +dependencies = [ + "bizinikiwi-test-runtime-client", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.5", + "pezsc-block-builder", + "pezsc-client-api", + "pezsc-offchain", + "pezsp-api", + "pezsp-blockchain", + "pezsp-consensus", + "pezsp-consensus-beefy", + "pezsp-core", + "pezsp-mmr-primitives", + "pezsp-runtime", + "pezsp-tracing", + "tokio", +] + +[[package]] +name = "pezmmr-rpc" +version = "28.0.0" +dependencies = [ + "jsonrpsee", + "parity-scale-codec", + "pezsp-api", + "pezsp-blockchain", + "pezsp-core", + "pezsp-mmr-primitives", + "pezsp-runtime", + "serde", + "serde_json", +] + [[package]] name = "pezpallet-ah-ops" version = "0.1.0" @@ -15114,8 +15285,8 @@ dependencies = [ name = "pezpallet-assets-precompiles" version = "0.1.0" dependencies = [ - "ethereum-standards", "parity-scale-codec", + "pez-ethereum-standards", "pezframe-support", "pezframe-system", "pezpallet-assets", @@ -15352,9 +15523,9 @@ name = "pezpallet-bridge-beefy" version = "0.1.0" dependencies = [ "bp-beefy", - "bp-runtime", "bp-test-utils", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezkuwi-ckb-merkle-mountain-range", @@ -15375,10 +15546,10 @@ dependencies = [ name = "pezpallet-bridge-grandpa" version = "0.7.0" dependencies = [ - "bp-header-chain", - "bp-runtime", + "bp-header-pez-chain", "bp-test-utils", "parity-scale-codec", + "pezbp-runtime", "pezframe-benchmarking", "pezframe-support", "pezframe-system", @@ -15395,11 +15566,11 @@ dependencies = [ name = "pezpallet-bridge-messages" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", - "bp-runtime", "bp-test-utils", "parity-scale-codec", + "pezbp-runtime", "pezframe-benchmarking", "pezframe-support", "pezframe-system", @@ -15418,14 +15589,14 @@ dependencies = [ name = "pezpallet-bridge-relayers" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", "bp-relayers", - "bp-runtime", "bp-test-utils", "bp-teyrchains", "parity-scale-codec", + "pezbp-runtime", "pezframe-benchmarking", "pezframe-support", "pezframe-system", @@ -15447,12 +15618,12 @@ dependencies = [ name = "pezpallet-bridge-teyrchains" version = "0.7.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-pezkuwi-core", - "bp-runtime", "bp-test-utils", "bp-teyrchains", "parity-scale-codec", + "pezbp-runtime", "pezframe-benchmarking", "pezframe-support", "pezframe-system", @@ -15639,7 +15810,7 @@ dependencies = [ "pezstaging-xcm-builder", "pezstaging-xcm-executor", "scale-info", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] @@ -16893,7 +17064,6 @@ dependencies = [ "bizinikiwi-bn", "derive_more 0.99.20", "environmental", - "ethereum-standards", "ethereum-types", "hex-literal", "humantime-serde", @@ -16905,6 +17075,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", + "pez-ethereum-standards", "pezframe-benchmarking", "pezframe-support", "pezframe-system", @@ -16959,6 +17130,8 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", + "pez-revive-dev-node", + "pez-revive-dev-runtime", "pezpallet-revive", "pezpallet-revive-fixtures", "pezsc-cli", @@ -16974,8 +17147,6 @@ dependencies = [ "pezsp-timestamp", "pezsp-weights", "pretty_assertions", - "revive-dev-node", - "revive-dev-runtime", "rlp 0.6.1", "serde", "serde_json", @@ -17412,7 +17583,7 @@ dependencies = [ "smallvec", "tiny-keccak", "tokio", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -17451,7 +17622,7 @@ dependencies = [ name = "pezpallet-staking-async-teyrchain-runtime" version = "0.15.0" dependencies = [ - "asset-test-utils", + "asset-test-pezutils", "assets-common", "bizinikiwi-wasm-builder", "bp-asset-hub-pezkuwichain", @@ -17558,7 +17729,7 @@ dependencies = [ "teyrchains-common", "teyrchains-runtimes-test-utils", "tokio", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] @@ -18035,8 +18206,8 @@ dependencies = [ "scale-info", "serde", "tracing", - "xcm-runtime-apis", - "xcm-simulator", + "xcm-pez-simulator", + "xcm-runtime-pezapis", ] [[package]] @@ -18061,12 +18232,12 @@ dependencies = [ name = "pezpallet-xcm-bridge-hub" version = "0.2.0" dependencies = [ - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", - "bp-runtime", "bp-xcm-bridge-hub", "bp-xcm-bridge-hub-router", "parity-scale-codec", + "pezbp-runtime", "pezframe-support", "pezframe-system", "pezkuwi-teyrchain-primitives", @@ -18124,7 +18295,7 @@ dependencies = [ "pezstaging-xcm-executor", "scale-info", "tracing", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] @@ -18335,7 +18506,6 @@ dependencies = [ "bizinikiwi-test-runtime-client", "criterion", "hash-db", - "kitchensink-runtime", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -18344,6 +18514,7 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.5", + "pez-kitchensink-runtime", "pezsc-client-api", "pezsc-state-db", "pezsp-arithmetic", @@ -18390,11 +18561,11 @@ dependencies = [ "async-trait", "bizinikiwi-prometheus-endpoint", "bizinikiwi-test-runtime-client", - "fork-tree", "futures", "log", "parity-scale-codec", "parking_lot 0.12.5", + "pez-fork-tree", "pezsc-block-builder", "pezsc-client-api", "pezsc-consensus", @@ -18429,7 +18600,6 @@ dependencies = [ "async-trait", "bizinikiwi-prometheus-endpoint", "bizinikiwi-test-runtime-client", - "fork-tree", "futures", "log", "num-bigint", @@ -18437,6 +18607,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.5", + "pez-fork-tree", "pezsc-block-builder", "pezsc-client-api", "pezsc-consensus", @@ -18554,8 +18725,8 @@ dependencies = [ name = "pezsc-consensus-epochs" version = "0.33.0" dependencies = [ - "fork-tree", "parity-scale-codec", + "pez-fork-tree", "pezsc-client-api", "pezsc-consensus", "pezsp-blockchain", @@ -18574,12 +18745,12 @@ dependencies = [ "bizinikiwi-test-runtime-client", "dyn-clone", "finality-grandpa", - "fork-tree", "futures", "futures-timer", "log", "parity-scale-codec", "parking_lot 0.12.5", + "pez-fork-tree", "pezsc-block-builder", "pezsc-chain-spec", "pezsc-client-api", @@ -19000,11 +19171,11 @@ dependencies = [ "async-trait", "bizinikiwi-prometheus-endpoint", "bizinikiwi-test-runtime-client", - "fork-tree", "futures", "log", "mockall", "parity-scale-codec", + "pez-fork-tree", "pezsc-block-builder", "pezsc-client-api", "pezsc-consensus", @@ -19623,6 +19794,247 @@ dependencies = [ "tokio-test", ] +[[package]] +name = "pezsnowbridge-beacon-primitives" +version = "0.2.0" +dependencies = [ + "byte-slice-cast", + "hex", + "hex-literal", + "parity-scale-codec", + "pezframe-support", + "pezsnowbridge-ethereum", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "rlp 0.6.1", + "scale-info", + "serde", + "snowbridge-milagro-bls", + "ssz_rs", + "ssz_rs_derive", +] + +[[package]] +name = "pezsnowbridge-core" +version = "0.2.0" +dependencies = [ + "bp-relayers", + "hex-literal", + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezkuwi-teyrchain-primitives", + "pezsp-arithmetic", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "serde", + "tracing", +] + +[[package]] +name = "pezsnowbridge-ethereum" +version = "0.3.0" +dependencies = [ + "alloy-consensus", + "alloy-core", + "alloy-primitives", + "alloy-rlp", + "ethabi-decode", + "ethbloom", + "ethereum-types", + "hex-literal", + "parity-bytes", + "parity-scale-codec", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "rlp 0.6.1", + "scale-info", + "serde", + "serde-big-array", +] + +[[package]] +name = "pezsnowbridge-inbound-queue-primitives" +version = "0.9.0" +dependencies = [ + "alloy-core", + "assets-common", + "hex-literal", + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-test-utils", + "pezsnowbridge-verification-primitives", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "tracing", +] + +[[package]] +name = "pezsnowbridge-merkle-tree" +version = "0.2.0" +dependencies = [ + "array-bytes 6.2.3", + "hex", + "hex-literal", + "parity-scale-codec", + "pezsp-core", + "pezsp-crypto-hashing", + "pezsp-runtime", + "pezsp-tracing", + "scale-info", +] + +[[package]] +name = "pezsnowbridge-outbound-queue-primitives" +version = "0.2.0" +dependencies = [ + "alloy-core", + "ethabi-decode", + "hex-literal", + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezkuwi-teyrchain-primitives", + "pezsnowbridge-core", + "pezsnowbridge-verification-primitives", + "pezsp-arithmetic", + "pezsp-core", + "pezsp-io", + "pezsp-runtime", + "pezsp-std", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "tracing", +] + +[[package]] +name = "pezsnowbridge-outbound-queue-runtime-api" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezframe-support", + "pezsnowbridge-core", + "pezsnowbridge-merkle-tree", + "pezsnowbridge-outbound-queue-primitives", + "pezsp-api", + "pezsp-std", +] + +[[package]] +name = "pezsnowbridge-outbound-queue-v2-runtime-api" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezframe-support", + "pezsnowbridge-merkle-tree", + "pezsp-api", + "pezsp-std", + "scale-info", +] + +[[package]] +name = "pezsnowbridge-runtime-test-common" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezcumulus-pezpallet-teyrchain-system", + "pezframe-support", + "pezframe-system", + "pezpallet-balances", + "pezpallet-collator-selection", + "pezpallet-message-queue", + "pezpallet-session", + "pezpallet-timestamp", + "pezpallet-utility", + "pezpallet-xcm", + "pezsnowbridge-core", + "pezsp-core", + "pezsp-io", + "pezsp-keyring", + "pezsp-runtime", + "pezstaging-teyrchain-info", + "pezstaging-xcm", + "pezstaging-xcm-executor", + "snowbridge-pezpallet-ethereum-client", + "snowbridge-pezpallet-ethereum-client-fixtures", + "snowbridge-pezpallet-outbound-queue", + "snowbridge-pezpallet-system", + "teyrchains-runtimes-test-utils", +] + +[[package]] +name = "pezsnowbridge-system-runtime-api" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezsnowbridge-core", + "pezsp-api", + "pezsp-std", + "pezstaging-xcm", +] + +[[package]] +name = "pezsnowbridge-system-v2-runtime-api" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezsnowbridge-core", + "pezsp-api", + "pezsp-std", + "pezstaging-xcm", +] + +[[package]] +name = "pezsnowbridge-test-utils" +version = "0.1.0" +dependencies = [ + "bp-relayers", + "parity-scale-codec", + "pezframe-benchmarking", + "pezframe-support", + "pezframe-system", + "pezpallet-asset-conversion", + "pezsnowbridge-core", + "pezsnowbridge-outbound-queue-primitives", + "pezsp-core", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", +] + +[[package]] +name = "pezsnowbridge-verification-primitives" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezframe-support", + "pezsnowbridge-beacon-primitives", + "pezsp-core", + "pezsp-std", + "scale-info", +] + [[package]] name = "pezsp-api" version = "26.0.0" @@ -20549,13 +20961,13 @@ dependencies = [ "criterion", "futures", "jsonrpsee", - "kitchensink-runtime", "log", "nix 0.29.0", - "node-primitives", - "node-rpc", - "node-testing", "parity-scale-codec", + "pez-kitchensink-runtime", + "pez-node-primitives", + "pez-node-rpc", + "pez-node-testing", "pezkuwi-sdk", "pezsc-service-test", "pezsp-keyring", @@ -20626,7 +21038,7 @@ dependencies = [ "schemars 0.8.22", "serde", "tracing", - "xcm-procedural", + "xcm-pez-procedural", ] [[package]] @@ -20659,7 +21071,7 @@ dependencies = [ "primitive-types 0.13.1", "scale-info", "tracing", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] @@ -20681,6 +21093,16 @@ dependencies = [ "tracing", ] +[[package]] +name = "peztest-runtime-constants" +version = "1.0.0" +dependencies = [ + "pezframe-support", + "pezkuwi-primitives", + "pezsp-runtime", + "smallvec", +] + [[package]] name = "phf" version = "0.11.3" @@ -22102,15 +22524,15 @@ version = "0.1.0" dependencies = [ "async-std", "async-trait", - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", - "bp-runtime", - "finality-relay", "futures", "jsonrpsee", "num-traits", "parity-scale-codec", + "pez-finality-relay", + "pezbp-runtime", "pezframe-support", "pezpallet-transaction-payment", "pezpallet-transaction-payment-rpc-runtime-api", @@ -22145,12 +22567,12 @@ dependencies = [ "async-trait", "backoff", "bizinikiwi-prometheus-endpoint", - "bp-runtime", "futures", "isahc", "jsonpath_lib", "num-traits", "parking_lot 0.12.5", + "pezbp-runtime", "pezsp-runtime", "pezsp-tracing", "serde_json", @@ -22161,21 +22583,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "remote-ext-tests-bags-list" -version = "1.0.0" -dependencies = [ - "clap", - "log", - "pezframe-system", - "pezpallet-bags-list-remote-tests", - "pezsp-core", - "pezsp-tracing", - "tokio", - "zagros-runtime", - "zagros-runtime-constants", -] - [[package]] name = "reqwest" version = "0.12.25" @@ -22228,31 +22635,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" -[[package]] -name = "revive-dev-node" -version = "0.0.0" -dependencies = [ - "clap", - "docify", - "futures", - "futures-timer", - "jsonrpsee", - "pezkuwi-sdk", - "revive-dev-runtime", -] - -[[package]] -name = "revive-dev-runtime" -version = "0.1.0" -dependencies = [ - "array-bytes 6.2.3", - "parity-scale-codec", - "pezkuwi-sdk", - "pezsp-debug-derive", - "scale-info", - "serde_json", -] - [[package]] name = "revm" version = "27.1.0" @@ -23777,16 +24159,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" -[[package]] -name = "slot-range-helper" -version = "7.0.0" -dependencies = [ - "enumn", - "parity-scale-codec", - "paste", - "pezsp-runtime", -] - [[package]] name = "slotmap" version = "1.1.1" @@ -23956,114 +24328,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "snowbridge-beacon-primitives" -version = "0.2.0" -dependencies = [ - "byte-slice-cast", - "hex", - "hex-literal", - "parity-scale-codec", - "pezframe-support", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "rlp 0.6.1", - "scale-info", - "serde", - "snowbridge-ethereum", - "snowbridge-milagro-bls", - "ssz_rs", - "ssz_rs_derive", -] - -[[package]] -name = "snowbridge-core" -version = "0.2.0" -dependencies = [ - "bp-relayers", - "hex-literal", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezkuwi-teyrchain-primitives", - "pezsp-arithmetic", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "serde", - "tracing", -] - -[[package]] -name = "snowbridge-ethereum" -version = "0.3.0" -dependencies = [ - "alloy-consensus", - "alloy-core", - "alloy-primitives", - "alloy-rlp", - "ethabi-decode", - "ethbloom", - "ethereum-types", - "hex-literal", - "parity-bytes", - "parity-scale-codec", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "rlp 0.6.1", - "scale-info", - "serde", - "serde-big-array", -] - -[[package]] -name = "snowbridge-inbound-queue-primitives" -version = "0.9.0" -dependencies = [ - "alloy-core", - "assets-common", - "hex-literal", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-test-utils", - "snowbridge-verification-primitives", - "tracing", -] - -[[package]] -name = "snowbridge-merkle-tree" -version = "0.2.0" -dependencies = [ - "array-bytes 6.2.3", - "hex", - "hex-literal", - "parity-scale-codec", - "pezsp-core", - "pezsp-crypto-hashing", - "pezsp-runtime", - "pezsp-tracing", - "scale-info", -] - [[package]] name = "snowbridge-milagro-bls" version = "1.5.4" @@ -24079,56 +24343,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "snowbridge-outbound-queue-primitives" -version = "0.2.0" -dependencies = [ - "alloy-core", - "ethabi-decode", - "hex-literal", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezkuwi-teyrchain-primitives", - "pezsp-arithmetic", - "pezsp-core", - "pezsp-io", - "pezsp-runtime", - "pezsp-std", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "snowbridge-core", - "snowbridge-verification-primitives", - "tracing", -] - -[[package]] -name = "snowbridge-outbound-queue-runtime-api" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezframe-support", - "pezsp-api", - "pezsp-std", - "snowbridge-core", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", -] - -[[package]] -name = "snowbridge-outbound-queue-v2-runtime-api" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezframe-support", - "pezsp-api", - "pezsp-std", - "scale-info", - "snowbridge-merkle-tree", -] - [[package]] name = "snowbridge-pezpallet-ethereum-client" version = "0.2.0" @@ -24139,6 +24353,10 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-timestamp", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-ethereum", + "pezsnowbridge-verification-primitives", "pezsp-core", "pezsp-io", "pezsp-runtime", @@ -24146,11 +24364,7 @@ dependencies = [ "scale-info", "serde", "serde_json", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-ethereum", "snowbridge-pezpallet-ethereum-client-fixtures", - "snowbridge-verification-primitives", "static_assertions", "tracing", ] @@ -24160,10 +24374,10 @@ name = "snowbridge-pezpallet-ethereum-client-fixtures" version = "0.9.0" dependencies = [ "hex-literal", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-verification-primitives", "pezsp-core", "pezsp-std", - "snowbridge-beacon-primitives", - "snowbridge-verification-primitives", ] [[package]] @@ -24177,6 +24391,9 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-balances", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", "pezsp-core", "pezsp-io", "pezsp-keyring", @@ -24186,9 +24403,6 @@ dependencies = [ "pezstaging-xcm-executor", "scale-info", "serde", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", "snowbridge-pezpallet-ethereum-client", "snowbridge-pezpallet-inbound-queue-fixtures", "tracing", @@ -24199,11 +24413,11 @@ name = "snowbridge-pezpallet-inbound-queue-fixtures" version = "0.10.0" dependencies = [ "hex-literal", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", "pezsp-core", "pezsp-std", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", ] [[package]] @@ -24218,6 +24432,10 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-balances", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", + "pezsnowbridge-test-utils", "pezsp-core", "pezsp-io", "pezsp-keyring", @@ -24228,11 +24446,7 @@ dependencies = [ "pezstaging-xcm-executor", "scale-info", "serde", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", "snowbridge-pezpallet-inbound-queue-v2-fixtures", - "snowbridge-test-utils", "tracing", ] @@ -24241,11 +24455,11 @@ name = "snowbridge-pezpallet-inbound-queue-v2-fixtures" version = "0.10.0" dependencies = [ "hex-literal", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-inbound-queue-primitives", "pezsp-core", "pezsp-std", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-inbound-queue-primitives", ] [[package]] @@ -24259,6 +24473,9 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-message-queue", + "pezsnowbridge-core", + "pezsnowbridge-merkle-tree", + "pezsnowbridge-outbound-queue-primitives", "pezsp-arithmetic", "pezsp-core", "pezsp-io", @@ -24266,9 +24483,6 @@ dependencies = [ "pezsp-std", "scale-info", "serde", - "snowbridge-core", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", ] [[package]] @@ -24284,6 +24498,12 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-message-queue", + "pezsnowbridge-beacon-primitives", + "pezsnowbridge-core", + "pezsnowbridge-merkle-tree", + "pezsnowbridge-outbound-queue-primitives", + "pezsnowbridge-test-utils", + "pezsnowbridge-verification-primitives", "pezsp-arithmetic", "pezsp-core", "pezsp-io", @@ -24294,12 +24514,6 @@ dependencies = [ "pezstaging-xcm-executor", "scale-info", "serde", - "snowbridge-beacon-primitives", - "snowbridge-core", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", - "snowbridge-test-utils", - "snowbridge-verification-primitives", ] [[package]] @@ -24315,6 +24529,8 @@ dependencies = [ "pezkuwi-primitives", "pezpallet-balances", "pezpallet-message-queue", + "pezsnowbridge-core", + "pezsnowbridge-outbound-queue-primitives", "pezsp-core", "pezsp-io", "pezsp-runtime", @@ -24322,8 +24538,6 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-executor", "scale-info", - "snowbridge-core", - "snowbridge-outbound-queue-primitives", "snowbridge-pezpallet-outbound-queue", "tracing", ] @@ -24338,6 +24552,8 @@ dependencies = [ "pezframe-system", "pezpallet-asset-conversion", "pezpallet-balances", + "pezsnowbridge-core", + "pezsnowbridge-test-utils", "pezsp-core", "pezsp-io", "pezsp-keyring", @@ -24346,8 +24562,6 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-executor", "scale-info", - "snowbridge-core", - "snowbridge-test-utils", "tracing", ] @@ -24361,6 +24575,9 @@ dependencies = [ "pezframe-support", "pezframe-system", "pezpallet-balances", + "pezsnowbridge-core", + "pezsnowbridge-outbound-queue-primitives", + "pezsnowbridge-test-utils", "pezsp-core", "pezsp-io", "pezsp-keyring", @@ -24369,15 +24586,12 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-executor", "scale-info", - "snowbridge-core", - "snowbridge-outbound-queue-primitives", "snowbridge-pezpallet-system", - "snowbridge-test-utils", "tracing", ] [[package]] -name = "snowbridge-runtime-common" +name = "snowpezbridge-runtime-common" version = "0.2.0" dependencies = [ "parity-scale-codec", @@ -24392,89 +24606,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "snowbridge-runtime-test-common" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezcumulus-pezpallet-teyrchain-system", - "pezframe-support", - "pezframe-system", - "pezpallet-balances", - "pezpallet-collator-selection", - "pezpallet-message-queue", - "pezpallet-session", - "pezpallet-timestamp", - "pezpallet-utility", - "pezpallet-xcm", - "pezsp-core", - "pezsp-io", - "pezsp-keyring", - "pezsp-runtime", - "pezstaging-teyrchain-info", - "pezstaging-xcm", - "pezstaging-xcm-executor", - "snowbridge-core", - "snowbridge-pezpallet-ethereum-client", - "snowbridge-pezpallet-ethereum-client-fixtures", - "snowbridge-pezpallet-outbound-queue", - "snowbridge-pezpallet-system", - "teyrchains-runtimes-test-utils", -] - -[[package]] -name = "snowbridge-system-runtime-api" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezsp-api", - "pezsp-std", - "pezstaging-xcm", - "snowbridge-core", -] - -[[package]] -name = "snowbridge-system-v2-runtime-api" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezsp-api", - "pezsp-std", - "pezstaging-xcm", - "snowbridge-core", -] - -[[package]] -name = "snowbridge-test-utils" -version = "0.1.0" -dependencies = [ - "bp-relayers", - "parity-scale-codec", - "pezframe-benchmarking", - "pezframe-support", - "pezframe-system", - "pezpallet-asset-conversion", - "pezsp-core", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "snowbridge-core", - "snowbridge-outbound-queue-primitives", -] - -[[package]] -name = "snowbridge-verification-primitives" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezframe-support", - "pezsp-core", - "pezsp-std", - "scale-info", - "snowbridge-beacon-primitives", -] - [[package]] name = "socket2" version = "0.5.10" @@ -24511,87 +24642,6 @@ dependencies = [ "sha1", ] -[[package]] -name = "solochain-template-node" -version = "0.0.0" -dependencies = [ - "bizinikiwi-build-script-utils", - "bizinikiwi-frame-rpc-system", - "clap", - "futures", - "jsonrpsee", - "pezframe-benchmarking-cli", - "pezframe-metadata-hash-extension", - "pezframe-system", - "pezpallet-transaction-payment", - "pezpallet-transaction-payment-rpc", - "pezsc-basic-authorship", - "pezsc-cli", - "pezsc-client-api", - "pezsc-consensus", - "pezsc-consensus-aura", - "pezsc-consensus-grandpa", - "pezsc-executor", - "pezsc-network", - "pezsc-offchain", - "pezsc-service", - "pezsc-telemetry", - "pezsc-transaction-pool", - "pezsc-transaction-pool-api", - "pezsp-api", - "pezsp-block-builder", - "pezsp-blockchain", - "pezsp-consensus-aura", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-inherents", - "pezsp-io", - "pezsp-keyring", - "pezsp-runtime", - "pezsp-timestamp", - "solochain-template-runtime", -] - -[[package]] -name = "solochain-template-runtime" -version = "0.0.0" -dependencies = [ - "bizinikiwi-wasm-builder", - "parity-scale-codec", - "pezframe-benchmarking", - "pezframe-executive", - "pezframe-metadata-hash-extension", - "pezframe-support", - "pezframe-system", - "pezframe-system-benchmarking", - "pezframe-system-rpc-runtime-api", - "pezframe-try-runtime", - "pezpallet-aura", - "pezpallet-balances", - "pezpallet-grandpa", - "pezpallet-sudo", - "pezpallet-template", - "pezpallet-timestamp", - "pezpallet-transaction-payment", - "pezpallet-transaction-payment-rpc-runtime-api", - "pezsp-api", - "pezsp-block-builder", - "pezsp-consensus-aura", - "pezsp-consensus-grandpa", - "pezsp-core", - "pezsp-genesis-builder", - "pezsp-inherents", - "pezsp-keyring", - "pezsp-offchain", - "pezsp-runtime", - "pezsp-session", - "pezsp-storage", - "pezsp-transaction-pool", - "pezsp-version", - "scale-info", - "serde_json", -] - [[package]] name = "sp-core" version = "36.1.0" @@ -25136,14 +25186,6 @@ dependencies = [ "syn 2.0.111", ] -[[package]] -name = "subkey" -version = "9.0.0" -dependencies = [ - "clap", - "pezsc-cli", -] - [[package]] name = "substrate-bip39" version = "0.6.0" @@ -25637,16 +25679,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "template-zombienet-tests" -version = "0.0.0" -dependencies = [ - "anyhow", - "env_logger 0.11.8", - "tokio", - "zombienet-sdk", -] - [[package]] name = "termcolor" version = "1.4.1" @@ -25736,16 +25768,6 @@ dependencies = [ "syn 2.0.111", ] -[[package]] -name = "test-runtime-constants" -version = "1.0.0" -dependencies = [ - "pezframe-support", - "pezkuwi-primitives", - "pezsp-runtime", - "smallvec", -] - [[package]] name = "test-teyrchain-adder" version = "1.0.0" @@ -25769,8 +25791,8 @@ dependencies = [ "parity-scale-codec", "pezkuwi-cli", "pezkuwi-node-core-pvf", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-service", "pezkuwi-test-service", @@ -25817,8 +25839,8 @@ dependencies = [ "pezkuwi-cli", "pezkuwi-erasure-coding", "pezkuwi-node-core-pvf", - "pezkuwi-node-primitives", "pezkuwi-node-subsystem", + "pezkuwi-pez-node-primitives", "pezkuwi-primitives", "pezkuwi-service", "pezkuwi-test-service", @@ -25958,7 +25980,7 @@ dependencies = [ "pezstaging-xcm", "pezstaging-xcm-executor", "teyrchains-common", - "xcm-runtime-apis", + "xcm-runtime-pezapis", ] [[package]] @@ -26546,28 +26568,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tracing-gum" -version = "7.0.0" -dependencies = [ - "coarsetime", - "pezkuwi-primitives", - "tracing", - "tracing-gum-proc-macro", -] - -[[package]] -name = "tracing-gum-proc-macro" -version = "5.0.0" -dependencies = [ - "assert_matches", - "expander", - "proc-macro-crate 3.4.0", - "proc-macro2 1.0.103", - "quote 1.0.42", - "syn 2.0.111", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -28356,7 +28356,7 @@ dependencies = [ ] [[package]] -name = "xcm-docs" +name = "xcm-pez-docs" version = "0.1.0" dependencies = [ "docify", @@ -28374,11 +28374,11 @@ dependencies = [ "scale-info", "simple-mermaid", "test-log", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] -name = "xcm-emulator" +name = "xcm-pez-emulator" version = "0.5.0" dependencies = [ "array-bytes 6.2.3", @@ -28409,11 +28409,11 @@ dependencies = [ "pezstaging-xcm-executor", "teyrchains-common", "tracing", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] -name = "xcm-executor-integration-tests" +name = "xcm-pez-executor-integration-tests" version = "1.0.0" dependencies = [ "futures", @@ -28437,7 +28437,7 @@ dependencies = [ ] [[package]] -name = "xcm-procedural" +name = "xcm-pez-procedural" version = "7.0.0" dependencies = [ "Inflector", @@ -28450,30 +28450,7 @@ dependencies = [ ] [[package]] -name = "xcm-runtime-apis" -version = "0.1.1" -dependencies = [ - "hex-literal", - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezpallet-assets", - "pezpallet-balances", - "pezpallet-xcm", - "pezsp-api", - "pezsp-io", - "pezsp-tracing", - "pezsp-weights", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "scale-info", - "tracing", - "xcm-simulator", -] - -[[package]] -name = "xcm-simulator" +name = "xcm-pez-simulator" version = "7.0.0" dependencies = [ "parity-scale-codec", @@ -28493,7 +28470,7 @@ dependencies = [ ] [[package]] -name = "xcm-simulator-example" +name = "xcm-pez-simulator-example" version = "7.0.0" dependencies = [ "parity-scale-codec", @@ -28514,11 +28491,11 @@ dependencies = [ "pezstaging-xcm-executor", "scale-info", "tracing", - "xcm-simulator", + "xcm-pez-simulator", ] [[package]] -name = "xcm-simulator-fuzzer" +name = "xcm-pez-simulator-fuzzer" version = "1.0.0" dependencies = [ "arbitrary", @@ -28541,7 +28518,30 @@ dependencies = [ "pezstaging-xcm-builder", "pezstaging-xcm-executor", "scale-info", - "xcm-simulator", + "xcm-pez-simulator", +] + +[[package]] +name = "xcm-runtime-pezapis" +version = "0.1.1" +dependencies = [ + "hex-literal", + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezpallet-assets", + "pezpallet-balances", + "pezpallet-xcm", + "pezsp-api", + "pezsp-io", + "pezsp-tracing", + "pezsp-weights", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "scale-info", + "tracing", + "xcm-pez-simulator", ] [[package]] @@ -28771,7 +28771,7 @@ dependencies = [ "serde_derive", "serde_json", "tokio", - "xcm-runtime-apis", + "xcm-runtime-pezapis", "zagros-runtime-constants", ] @@ -28795,12 +28795,12 @@ name = "zagros-system-emulated-network" version = "0.0.0" dependencies = [ "asset-hub-zagros-emulated-chain", - "bridge-hub-zagros-emulated-chain", "collectives-zagros-emulated-chain", "coretime-zagros-emulated-chain", "emulated-integration-tests-common", - "penpal-emulated-chain", "people-zagros-emulated-chain", + "pez-penpal-emulated-chain", + "pezbridge-hub-zagros-emulated-chain", "zagros-emulated-chain", ] @@ -28904,12 +28904,12 @@ version = "1.0.0" dependencies = [ "futures-util", "parity-scale-codec", + "pez-tracing-gum", "serde", "serde_json", "thiserror 1.0.69", "tokio", "tokio-tungstenite 0.26.2", - "tracing-gum", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3e2f13fc..ec8c31f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,21 +39,21 @@ members = [ "bridges/relays/messages", "bridges/relays/teyrchains", "bridges/relays/utils", - "bridges/snowbridge/pallets/ethereum-client", - "bridges/snowbridge/pallets/ethereum-client/fixtures", - "bridges/snowbridge/pallets/inbound-queue", - "bridges/snowbridge/pallets/inbound-queue-v2", - "bridges/snowbridge/pallets/inbound-queue-v2/fixtures", - "bridges/snowbridge/pallets/inbound-queue/fixtures", - "bridges/snowbridge/pallets/outbound-queue", - "bridges/snowbridge/pallets/outbound-queue-v2", - "bridges/snowbridge/pallets/outbound-queue-v2/runtime-api", - "bridges/snowbridge/pallets/outbound-queue/runtime-api", - "bridges/snowbridge/pallets/system", - "bridges/snowbridge/pallets/system-frontend", - "bridges/snowbridge/pallets/system-v2", - "bridges/snowbridge/pallets/system-v2/runtime-api", - "bridges/snowbridge/pallets/system/runtime-api", + "bridges/snowbridge/pezpallets/ethereum-client", + "bridges/snowbridge/pezpallets/ethereum-client/fixtures", + "bridges/snowbridge/pezpallets/inbound-queue", + "bridges/snowbridge/pezpallets/inbound-queue-v2", + "bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures", + "bridges/snowbridge/pezpallets/inbound-queue/fixtures", + "bridges/snowbridge/pezpallets/outbound-queue", + "bridges/snowbridge/pezpallets/outbound-queue-v2", + "bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api", + "bridges/snowbridge/pezpallets/outbound-queue/runtime-api", + "bridges/snowbridge/pezpallets/system", + "bridges/snowbridge/pezpallets/system-frontend", + "bridges/snowbridge/pezpallets/system-v2", + "bridges/snowbridge/pezpallets/system-v2/runtime-api", + "bridges/snowbridge/pezpallets/system/runtime-api", "bridges/snowbridge/primitives/beacon", "bridges/snowbridge/primitives/core", "bridges/snowbridge/primitives/ethereum", @@ -81,17 +81,17 @@ members = [ "pezcumulus/client/relay-chain-streams", "pezcumulus/client/service", "pezcumulus/client/teyrchain-inherent", - "pezcumulus/pallets/ah-ops", - "pezcumulus/pallets/aura-ext", - "pezcumulus/pallets/collator-selection", - "pezcumulus/pallets/dmp-queue", - "pezcumulus/pallets/session-benchmarking", - "pezcumulus/pallets/solo-to-para", - "pezcumulus/pallets/teyrchain-system", - "pezcumulus/pallets/teyrchain-system/proc-macro", - "pezcumulus/pallets/weight-reclaim", - "pezcumulus/pallets/xcm", - "pezcumulus/pallets/xcmp-queue", + "pezcumulus/pezpallets/ah-ops", + "pezcumulus/pezpallets/aura-ext", + "pezcumulus/pezpallets/collator-selection", + "pezcumulus/pezpallets/dmp-queue", + "pezcumulus/pezpallets/session-benchmarking", + "pezcumulus/pezpallets/solo-to-para", + "pezcumulus/pezpallets/teyrchain-system", + "pezcumulus/pezpallets/teyrchain-system/proc-macro", + "pezcumulus/pezpallets/weight-reclaim", + "pezcumulus/pezpallets/xcm", + "pezcumulus/pezpallets/xcmp-queue", "pezcumulus/pezkuwi-omni-node", "pezcumulus/pezkuwi-omni-node/lib", "pezcumulus/pezkuwi-teyrchain", @@ -133,20 +133,20 @@ members = [ "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-zagros", - "pezcumulus/teyrchains/pallets/collective-content", - "pezcumulus/teyrchains/pallets/identity-kyc", - "pezcumulus/teyrchains/pallets/perwerde", - "pezcumulus/teyrchains/pallets/pez-rewards", - "pezcumulus/teyrchains/pallets/pez-treasury", - "pezcumulus/teyrchains/pallets/ping", - "pezcumulus/teyrchains/pallets/presale", - "pezcumulus/teyrchains/pallets/referral", - "pezcumulus/teyrchains/pallets/staking-score", - "pezcumulus/teyrchains/pallets/teyrchain-info", - "pezcumulus/teyrchains/pallets/tiki", - "pezcumulus/teyrchains/pallets/token-wrapper", - "pezcumulus/teyrchains/pallets/trust", - "pezcumulus/teyrchains/pallets/welati", + "pezcumulus/teyrchains/pezpallets/collective-content", + "pezcumulus/teyrchains/pezpallets/identity-kyc", + "pezcumulus/teyrchains/pezpallets/perwerde", + "pezcumulus/teyrchains/pezpallets/pez-rewards", + "pezcumulus/teyrchains/pezpallets/pez-treasury", + "pezcumulus/teyrchains/pezpallets/ping", + "pezcumulus/teyrchains/pezpallets/presale", + "pezcumulus/teyrchains/pezpallets/referral", + "pezcumulus/teyrchains/pezpallets/staking-score", + "pezcumulus/teyrchains/pezpallets/teyrchain-info", + "pezcumulus/teyrchains/pezpallets/tiki", + "pezcumulus/teyrchains/pezpallets/token-wrapper", + "pezcumulus/teyrchains/pezpallets/trust", + "pezcumulus/teyrchains/pezpallets/welati", "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain", "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives", "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros", @@ -170,11 +170,11 @@ members = [ "pezcumulus/teyrchains/runtimes/testing/penpal", "pezcumulus/teyrchains/runtimes/testing/pezkuwichain-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-helpers", "docs/sdk", - "docs/sdk/packages/guides/first-pallet", + "docs/sdk/packages/guides/first-pezpallet", "docs/sdk/packages/guides/first-runtime", "docs/sdk/src/reference_docs/chain_spec_runtime", "pezkuwi", @@ -227,12 +227,12 @@ members = [ "pezkuwi/node/test/service", "pezkuwi/node/tracking-allocator", "pezkuwi/node/zombienet-backchannel", - "pezkuwi/pallets/validator-pool", + "pezkuwi/pezpallets/validator-pool", "pezkuwi/primitives", "pezkuwi/primitives/test-helpers", "pezkuwi/rpc", "pezkuwi/runtime/common", - "pezkuwi/runtime/common/slot_range_helper", + "pezkuwi/runtime/common/pez-slot-range-helper", "pezkuwi/runtime/metrics", "pezkuwi/runtime/pezkuwichain", "pezkuwi/runtime/pezkuwichain/bridge-primitives", @@ -249,8 +249,8 @@ members = [ "pezkuwi/teyrchain/test-teyrchains/adder/collator", "pezkuwi/teyrchain/test-teyrchains/halt", "pezkuwi/teyrchain/test-teyrchains/undying", - "pezkuwi/teyrchain/test-teyrchains/undying/collator", # People Parachain Custom Pallets (Phase 2) # Asset Hub Custom Pallets (Phase 3) - "pezkuwi/utils/generate-bags", + "pezkuwi/teyrchain/test-teyrchains/undying/collator", # People Parachain Custom pezpallets (Phase 2) # Asset Hub Custom pezpallets (Phase 3) + "pezkuwi/utils/pez-generate-bags", "pezkuwi/utils/remote-ext-tests/bags-list", "pezkuwi/xcm", "pezkuwi/xcm/docs", @@ -261,10 +261,10 @@ members = [ "pezkuwi/xcm/xcm-builder", "pezkuwi/xcm/xcm-executor", "pezkuwi/xcm/xcm-executor/integration-tests", - "pezkuwi/xcm/xcm-runtime-apis", - "pezkuwi/xcm/xcm-simulator", - "pezkuwi/xcm/xcm-simulator/example", - "pezkuwi/xcm/xcm-simulator/fuzzer", + "pezkuwi/xcm/xcm-runtime-pezapis", + "pezkuwi/xcm/xcm-pez-simulator", + "pezkuwi/xcm/xcm-pez-simulator/example", + "pezkuwi/xcm/xcm-pez-simulator/fuzzer", "pezkuwi/zombienet-sdk-tests", "bizinikiwi/bin/node/bench", "bizinikiwi/bin/node/cli", @@ -274,7 +274,7 @@ members = [ "bizinikiwi/bin/node/runtime", "bizinikiwi/bin/node/testing", "bizinikiwi/bin/utils/chain-spec-builder", - "bizinikiwi/bin/utils/subkey", + "bizinikiwi/bin/utils/pez-subkey", "bizinikiwi/utils/txtesttool", "bizinikiwi/client/allocator", "bizinikiwi/client/api", @@ -480,7 +480,7 @@ members = [ "bizinikiwi/pezframe/support/procedural/tools/derive", "bizinikiwi/pezframe/support/test", "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/system", "bizinikiwi/pezframe/system/benchmarking", @@ -527,7 +527,7 @@ members = [ "bizinikiwi/primitives/crypto/hashing/proc-macro", "bizinikiwi/primitives/database", "bizinikiwi/primitives/debug-derive", - "bizinikiwi/primitives/ethereum-standards", + "bizinikiwi/primitives/pez-ethereum-standards", "bizinikiwi/primitives/externalities", "bizinikiwi/primitives/genesis-builder", "bizinikiwi/primitives/inherents", @@ -565,7 +565,7 @@ members = [ "bizinikiwi/primitives/version/proc-macro", "bizinikiwi/primitives/wasm-interface", "bizinikiwi/primitives/weights", - "bizinikiwi/scripts/ci/node-template-release", + "bizinikiwi/scripts/ci/pez-node-template-release", "bizinikiwi/test-utils", "bizinikiwi/test-utils/cli", "bizinikiwi/test-utils/client", @@ -574,10 +574,10 @@ members = [ "bizinikiwi/test-utils/runtime/transaction-pool", "bizinikiwi/utils/binary-merkle-tree", "bizinikiwi/utils/build-script-utils", - "bizinikiwi/utils/fork-tree", + "bizinikiwi/utils/pez-fork-tree", "bizinikiwi/utils/pezframe/benchmarking-cli", - "bizinikiwi/utils/pezframe/generate-bags", - "bizinikiwi/utils/pezframe/generate-bags/node-runtime", + "bizinikiwi/utils/pezframe/pez-generate-bags", + "bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime", "bizinikiwi/utils/pezframe/omni-bencher", "bizinikiwi/utils/pezframe/remote-externalities", "bizinikiwi/utils/pezframe/rpc/client", @@ -589,14 +589,14 @@ members = [ "bizinikiwi/utils/bizinikiwi-bip39", "bizinikiwi/utils/wasm-builder", "templates/minimal/node", - "templates/minimal/pallets/template", + "templates/minimal/pezpallets/template", "templates/minimal/runtime", "templates/solochain/node", - "templates/solochain/pallets/template", + "templates/solochain/pezpallets/template", "templates/solochain/runtime", "templates/teyrchain", "templates/teyrchain/node", - "templates/teyrchain/pallets/template", + "templates/teyrchain/pezpallets/template", "templates/teyrchain/runtime", "templates/zombienet", "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-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-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 } async-channel = { version = "1.8.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-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-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-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-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-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-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-router = { path = "bridges/primitives/xcm-bridge-hub-router", 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-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 } -bridge-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" } -bridge-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros" } -bridge-runtime-common = { path = "bridges/bin/runtime-common", default-features = false } +pezbridge-hub-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain" } +pezbridge-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain", default-features = false } +pezbridge-hub-test-utils = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils", default-features = false } +pezbridge-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros" } +pezbridge-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros" } +pezbridge-runtime-common = { path = "bridges/bin/runtime-common", default-features = false } bs58 = { version = "0.5.1", default-features = false } build-helper = { version = "0.1.1" } 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-if = { version = "1.0" } 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" } cid = { version = "0.9.0" } 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-service = { path = "pezcumulus/client/service", 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-dmp-queue = { default-features = false, path = "pezcumulus/pallets/dmp-queue" } -pezcumulus-pezpallet-session-benchmarking = { path = "pezcumulus/pallets/session-benchmarking", default-features = false } -pezcumulus-pezpallet-solo-to-para = { path = "pezcumulus/pallets/solo-to-para", default-features = false } -pezcumulus-pezpallet-teyrchain-system = { path = "pezcumulus/pallets/teyrchain-system", default-features = false } -pezcumulus-pezpallet-teyrchain-system-proc-macro = { path = "pezcumulus/pallets/teyrchain-system/proc-macro", default-features = false } -pezcumulus-pezpallet-weight-reclaim = { path = "pezcumulus/pallets/weight-reclaim", default-features = false } -pezcumulus-pezpallet-xcm = { path = "pezcumulus/pallets/xcm", default-features = false } -pezcumulus-pezpallet-xcmp-queue = { path = "pezcumulus/pallets/xcmp-queue", default-features = false } -pezcumulus-ping = { path = "pezcumulus/teyrchains/pallets/ping", default-features = false } +pezcumulus-pezpallet-aura-ext = { path = "pezcumulus/pezpallets/aura-ext", default-features = false } +pezcumulus-pezpallet-dmp-queue = { default-features = false, path = "pezcumulus/pezpallets/dmp-queue" } +pezcumulus-pezpallet-session-benchmarking = { path = "pezcumulus/pezpallets/session-benchmarking", default-features = false } +pezcumulus-pezpallet-solo-to-para = { path = "pezcumulus/pezpallets/solo-to-para", default-features = false } +pezcumulus-pezpallet-teyrchain-system = { path = "pezcumulus/pezpallets/teyrchain-system", 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/pezpallets/weight-reclaim", default-features = false } +pezcumulus-pezpallet-xcm = { path = "pezcumulus/pezpallets/xcm", default-features = false } +pezcumulus-pezpallet-xcmp-queue = { path = "pezcumulus/pezpallets/xcmp-queue", 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-core = { path = "pezcumulus/primitives/core", 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_logger = { version = "0.11.2" } 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" } 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 } exit-future = { version = "0.2.0" } expander = { version = "2.0.0" } @@ -829,13 +829,13 @@ fdlimit = { version = "0.3.0" } femme = { version = "2.2.1" } filetime = { version = "0.2.16" } finality-grandpa = { version = "0.16.3", default-features = false } -finality-relay = { path = "bridges/relays/finality" } -first-pallet = { package = "pezkuwi-sdk-docs-first-pallet", path = "docs/sdk/packages/guides/first-pallet", default-features = false } +pez-finality-relay = { path = "bridges/relays/finality" } +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 } flate2 = { version = "1.0" } fnv = { version = "1.0.6" } 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" } fraction = { version = "0.13.1" } 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-timer = { version = "3.0.2" } 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" } git2 = { version = "0.20.0", default-features = false } glob = { version = "0.3" } glutton-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/glutton/glutton-zagros" } governor = { version = "0.6.0" } -gum = { path = "pezkuwi/node/gum", default-features = false, package = "tracing-gum" } -gum-proc-macro = { path = "pezkuwi/node/gum/proc-macro", default-features = false, package = "tracing-gum-proc-macro" } +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 = "pez-tracing-gum-proc-macro" } handlebars = { version = "5.1.0" } hash-db = { version = "0.16.0", 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-core = { version = "0.24.10" } 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-memorydb = { version = "0.13.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 } merkleized-metadata = { version = "0.5.0" } 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" } milagro-bls = { version = "1.5.4", default-features = false, package = "snowbridge-milagro-bls" } -minimal-template-node = { path = "templates/minimal/node" } -minimal-template-runtime = { path = "templates/minimal/runtime" } +pez-minimal-template-node = { path = "templates/minimal/node" } +pez-minimal-template-runtime = { path = "templates/minimal/runtime" } 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-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" } multiaddr = { version = "0.18.1" } 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" } 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-primitives = { path = "bizinikiwi/bin/node/primitives", default-features = false } -node-rpc = { path = "bizinikiwi/bin/node/rpc" } -node-testing = { path = "bizinikiwi/bin/node/testing" } +pez-node-primitives = { path = "bizinikiwi/bin/node/primitives", default-features = false } +pez-node-rpc = { path = "bizinikiwi/bin/node/rpc" } +pez-node-testing = { path = "bizinikiwi/bin/node/testing" } nohash-hasher = { version = "0.2.0" } novelpoly = { version = "2.0.0", package = "reed-solomon-novelpoly" } 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" } once_cell = { version = "1.21.3" } 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-asset-conversion = { path = "bizinikiwi/pezframe/asset-conversion", 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-broker = { path = "bizinikiwi/pezframe/broker", 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-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-fixtures = { path = "bizinikiwi/pezframe/contracts/fixtures", default-features = false } 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-meta-tx = { path = "bizinikiwi/pezframe/meta-tx", 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-mmr = { path = "bizinikiwi/pezframe/merkle-mountain-range", 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-staking = { path = "bizinikiwi/pezframe/staking", 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-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) -pezpallet-identity-kyc = { path = "pezcumulus/teyrchains/pallets/identity-kyc", default-features = false } -pezpallet-perwerde = { path = "pezcumulus/teyrchains/pallets/perwerde", default-features = false } -pezpallet-referral = { path = "pezcumulus/teyrchains/pallets/referral", default-features = false } -pezpallet-tiki = { path = "pezcumulus/teyrchains/pallets/tiki", default-features = false } -pezpallet-trust = { path = "pezcumulus/teyrchains/pallets/trust", default-features = false } -pezpallet-welati = { path = "pezcumulus/teyrchains/pallets/welati", default-features = false } +# People Parachain pezpallets (Phase 2) +pezpallet-identity-kyc = { path = "pezcumulus/teyrchains/pezpallets/identity-kyc", default-features = false } +pezpallet-perwerde = { path = "pezcumulus/teyrchains/pezpallets/perwerde", default-features = false } +pezpallet-referral = { path = "pezcumulus/teyrchains/pezpallets/referral", default-features = false } +pezpallet-tiki = { path = "pezcumulus/teyrchains/pezpallets/tiki", default-features = false } +pezpallet-trust = { path = "pezcumulus/teyrchains/pezpallets/trust", default-features = false } +pezpallet-welati = { path = "pezcumulus/teyrchains/pezpallets/welati", default-features = false } -# Asset Hub Pallets (Phase 3) -pezpallet-pez-rewards = { path = "pezcumulus/teyrchains/pallets/pez-rewards", default-features = false } -pezpallet-pez-treasury = { path = "pezcumulus/teyrchains/pallets/pez-treasury", default-features = false } -pezpallet-presale = { path = "pezcumulus/teyrchains/pallets/presale", default-features = false } -pezpallet-staking-score = { path = "pezcumulus/teyrchains/pallets/staking-score", default-features = false } -pezpallet-token-wrapper = { path = "pezcumulus/teyrchains/pallets/token-wrapper", default-features = false } +# Asset Hub pezpallets (Phase 3) +pezpallet-pez-rewards = { path = "pezcumulus/teyrchains/pezpallets/pez-rewards", default-features = false } +pezpallet-pez-treasury = { path = "pezcumulus/teyrchains/pezpallets/pez-treasury", default-features = false } +pezpallet-presale = { path = "pezcumulus/teyrchains/pezpallets/presale", default-features = false } +pezpallet-staking-score = { path = "pezcumulus/teyrchains/pezpallets/staking-score", 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-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-statement = { default-features = false, path = "bizinikiwi/pezframe/statement" } 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-tips = { path = "bizinikiwi/pezframe/tips", 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" } paste = { version = "1.0.15", default-features = false } pbkdf2 = { version = "0.12.2", default-features = false } -penpal-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal" } -penpal-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/penpal" } +pez-penpal-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/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-runtime = { path = "pezcumulus/teyrchains/runtimes/people/people-pezkuwichain" } 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-metrics = { path = "pezkuwi/node/metrics", 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-test-helpers = { path = "pezkuwi/node/subsystem-test-helpers" } 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-utils = { path = "bridges/relays/utils" } 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" } -revive-dev-runtime = { path = "bizinikiwi/pezframe/revive/dev-node/runtime" } +pez-revive-dev-node = { path = "bizinikiwi/pezframe/revive/dev-node/node" } +pez-revive-dev-runtime = { path = "bizinikiwi/pezframe/revive/dev-node/runtime" } revm = { version = "27.0.2", default-features = false } ripemd = { version = "0.1.3", 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 } shlex = { version = "1.3.0" } 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" } smallvec = { version = "1.11.0", default-features = false } -snowbridge-beacon-primitives = { path = "bridges/snowbridge/primitives/beacon", default-features = false } -snowbridge-core = { path = "bridges/snowbridge/primitives/core", default-features = false } -snowbridge-ethereum = { path = "bridges/snowbridge/primitives/ethereum", default-features = false } -snowbridge-inbound-queue-primitives = { path = "bridges/snowbridge/primitives/inbound-queue", default-features = false } -snowbridge-merkle-tree = { path = "bridges/snowbridge/primitives/merkle-tree", default-features = false } -snowbridge-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 } -snowbridge-outbound-queue-v2-runtime-api = { path = "bridges/snowbridge/pallets/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-fixtures = { path = "bridges/snowbridge/pallets/ethereum-client/fixtures", default-features = false } -snowbridge-pezpallet-inbound-queue = { path = "bridges/snowbridge/pallets/inbound-queue", default-features = false } -snowbridge-pezpallet-inbound-queue-fixtures = { path = "bridges/snowbridge/pallets/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-fixtures = { path = "bridges/snowbridge/pallets/inbound-queue-v2/fixtures", default-features = false } -snowbridge-pezpallet-outbound-queue = { path = "bridges/snowbridge/pallets/outbound-queue", default-features = false } -snowbridge-pezpallet-outbound-queue-v2 = { path = "bridges/snowbridge/pallets/outbound-queue-v2", default-features = false } -snowbridge-pezpallet-system = { path = "bridges/snowbridge/pallets/system", default-features = false } -snowbridge-pezpallet-system-frontend = { path = "bridges/snowbridge/pallets/system-frontend", default-features = false } -snowbridge-pezpallet-system-v2 = { path = "bridges/snowbridge/pallets/system-v2", default-features = false } -snowbridge-runtime-common = { path = "bridges/snowbridge/runtime/runtime-common", default-features = false } -snowbridge-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 } -snowbridge-system-v2-runtime-api = { path = "bridges/snowbridge/pallets/system-v2/runtime-api", default-features = false } -snowbridge-test-utils = { path = "bridges/snowbridge/test-utils" } -snowbridge-verification-primitives = { path = "bridges/snowbridge/primitives/verification", default-features = false } +pezsnowbridge-beacon-primitives = { path = "bridges/snowbridge/primitives/beacon", default-features = false } +pezsnowbridge-core = { path = "bridges/snowbridge/primitives/core", default-features = false } +pezsnowbridge-ethereum = { path = "bridges/snowbridge/primitives/ethereum", default-features = false } +pezsnowbridge-inbound-queue-primitives = { path = "bridges/snowbridge/primitives/inbound-queue", default-features = false } +pezsnowbridge-merkle-tree = { path = "bridges/snowbridge/primitives/merkle-tree", default-features = false } +pezsnowbridge-outbound-queue-primitives = { path = "bridges/snowbridge/primitives/outbound-queue", default-features = false } +pezsnowbridge-outbound-queue-runtime-api = { path = "bridges/snowbridge/pezpallets/outbound-queue/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/pezpallets/ethereum-client", 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/pezpallets/inbound-queue", 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/pezpallets/inbound-queue-v2", 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/pezpallets/outbound-queue", default-features = false } +snowbridge-pezpallet-outbound-queue-v2 = { path = "bridges/snowbridge/pezpallets/outbound-queue-v2", default-features = false } +snowbridge-pezpallet-system = { path = "bridges/snowbridge/pezpallets/system", default-features = false } +snowbridge-pezpallet-system-frontend = { path = "bridges/snowbridge/pezpallets/system-frontend", default-features = false } +snowbridge-pezpallet-system-v2 = { path = "bridges/snowbridge/pezpallets/system-v2", default-features = false } +snowpezbridge-runtime-common = { path = "bridges/snowbridge/runtime/runtime-common", default-features = false } +pezsnowbridge-runtime-test-common = { path = "bridges/snowbridge/runtime/test-common", default-features = false } +pezsnowbridge-system-runtime-api = { path = "bridges/snowbridge/pezpallets/system/runtime-api", default-features = false } +pezsnowbridge-system-v2-runtime-api = { path = "bridges/snowbridge/pezpallets/system-v2/runtime-api", default-features = false } +pezsnowbridge-test-utils = { path = "bridges/snowbridge/test-utils" } +pezsnowbridge-verification-primitives = { path = "bridges/snowbridge/primitives/verification", default-features = false } 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-proc-macro = { path = "bizinikiwi/primitives/api/proc-macro", 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_init = { version = "1.0.3" } 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-build-script-utils = { path = "bizinikiwi/utils/build-script-utils", default-features = false } bizinikiwi-cli-test-utils = { path = "bizinikiwi/test-utils/cli" } @@ -1455,7 +1455,7 @@ syn = { version = "2.0.87" } sysinfo = { version = "0.30" } tar = { version = "0.4" } 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" } teyrchains-common = { path = "pezcumulus/teyrchains/common", default-features = false } 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 test-case = { version = "=3.3.1" } test-log = { version = "0.2.14" } -test-pallet = { path = "bizinikiwi/pezframe/support/test/pallet", default-features = false, package = "pezframe-support-test-pallet" } -test-runtime-constants = { path = "pezkuwi/runtime/test-runtime/constants", default-features = false } +test-pezpallet = { path = "bizinikiwi/pezframe/support/test/pezpallet", default-features = false, package = "pezframe-support-test-pezpallet" } +peztest-runtime-constants = { path = "pezkuwi/runtime/test-runtime/constants", default-features = false } test-teyrchain-adder = { path = "pezkuwi/teyrchain/test-teyrchains/adder" } test-teyrchain-halt = { path = "pezkuwi/teyrchain/test-teyrchains/halt" } test-teyrchain-undying = { path = "pezkuwi/teyrchain/test-teyrchains/undying" } @@ -1517,12 +1517,12 @@ wat = { version = "1.0.0" } x25519-dalek = { version = "2.0" } 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-docs = { path = "pezkuwi/xcm/docs" } -xcm-emulator = { path = "pezcumulus/xcm/xcm-emulator", default-features = false } +xcm-pez-docs = { path = "pezkuwi/xcm/docs" } +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-procedural = { path = "pezkuwi/xcm/procedural", default-features = false } -xcm-runtime-apis = { path = "pezkuwi/xcm/xcm-runtime-apis", default-features = false } -xcm-simulator = { path = "pezkuwi/xcm/xcm-simulator", default-features = false } +xcm-pez-procedural = { path = "pezkuwi/xcm/procedural", default-features = false } +xcm-runtime-pezapis = { path = "pezkuwi/xcm/xcm-runtime-pezapis", 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" } zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros", default-features = false } zagros-runtime = { path = "pezkuwi/runtime/zagros", default-features = false } diff --git a/README.md b/README.md index b85555ad..0f0ac3a4 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Kurdistan SDK uses a distinct naming scheme to ensure complete independence: | Parachain SDK (ex-Pezcumulus) | `pezcumulus-` | `pezcumulus-client` | | Client Crates | `pezsc-` | `pezsc-network`, `pezsc-consensus` | | Primitives | `pezsp-` | `pezsp-runtime`, `pezsp-core` | -| Framework | `pezframe-` | `pezpezframe-support`, `pezpezframe-system` | +| Framework | `pezframe-` | `pezframe-support`, `pezframe-system` | | Pallets | `pezpallet-` | `pezpallet-balances`, `pezpallet-staking` | | Staging | `pezstaging-` | `pezstaging-xcm` | diff --git a/bizinikiwi/bin/node/bench/Cargo.toml b/bizinikiwi/bin/node/bench/Cargo.toml index fad177db..001a2b61 100644 --- a/bizinikiwi/bin/node/bench/Cargo.toml +++ b/bizinikiwi/bin/node/bench/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "node-bench" +name = "pez-node-bench" version = "0.9.0-dev" authors.workspace = true description = "Bizinikiwi node integration benchmarks." @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true repository.workspace = true publish = false -documentation = "https://docs.rs/node-bench" +documentation = "https://docs.rs/pez-node-bench" [lints] workspace = true @@ -23,12 +23,12 @@ derive_more = { features = ["display"], workspace = true } fs_extra = { workspace = true } futures = { features = ["thread-pool"], workspace = true } hash-db = { workspace = true, default-features = true } -kitchensink-runtime = { workspace = true } +pez-kitchensink-runtime = { workspace = true } kvdb = { workspace = true } kvdb-rocksdb = { workspace = true } log = { workspace = true, default-features = true } -node-primitives = { workspace = true, default-features = true } -node-testing = { workspace = true } +pez-node-primitives = { workspace = true, default-features = true } +pez-node-testing = { workspace = true } parity-db = { workspace = true } rand = { features = ["small_rng"], workspace = true, default-features = true } pezsc-basic-authorship = { workspace = true, default-features = true } @@ -49,9 +49,9 @@ tempfile = { workspace = true } [features] runtime-benchmarks = [ - "kitchensink-runtime/runtime-benchmarks", - "node-primitives/runtime-benchmarks", - "node-testing/runtime-benchmarks", + "pez-kitchensink-runtime/runtime-benchmarks", + "pez-node-primitives/runtime-benchmarks", + "pez-node-testing/runtime-benchmarks", "pezsc-basic-authorship/runtime-benchmarks", "pezsc-client-api/runtime-benchmarks", "pezsc-transaction-pool-api/runtime-benchmarks", diff --git a/bizinikiwi/bin/node/bench/src/construct.rs b/bizinikiwi/bin/node/bench/src/construct.rs index da446e33..26dc05b0 100644 --- a/bizinikiwi/bin/node/bench/src/construct.rs +++ b/bizinikiwi/bin/node/bench/src/construct.rs @@ -27,8 +27,8 @@ use std::{borrow::Cow, collections::HashMap, pin::Pin, sync::Arc}; use async_trait::async_trait; -use node_primitives::Block; -use node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes}; +use pez_node_primitives::Block; +use pez_node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes}; use pezsc_transaction_pool_api::{ ImportNotificationStream, PoolStatus, ReadyTransactions, TransactionFor, TransactionSource, TransactionStatusStreamFor, TxHash, TxInvalidityReportMap, @@ -167,18 +167,18 @@ impl core::Benchmark for ConstructionBenchmark { #[derive(Clone, Debug)] pub struct PoolTransaction { data: Arc, - hash: node_primitives::Hash, + hash: pez_node_primitives::Hash, } impl From for PoolTransaction { 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 { type Transaction = Arc; - type Hash = node_primitives::Hash; + type Hash = pez_node_primitives::Hash; fn data(&self) -> &Self::Transaction { &self.data @@ -228,7 +228,7 @@ impl ReadyTransactions for TransactionsIterator { #[async_trait] impl pezsc_transaction_pool_api::TransactionPool for Transactions { type Block = Block; - type Hash = node_primitives::Hash; + type Hash = pez_node_primitives::Hash; type InPoolTransaction = PoolTransaction; type Error = pezsc_transaction_pool_api::error::Error; @@ -238,7 +238,7 @@ impl pezsc_transaction_pool_api::TransactionPool for Transactions { _at: Self::Hash, _source: TransactionSource, _xts: Vec>, - ) -> Result>, Self::Error> { + ) -> Result>, Self::Error> { unimplemented!() } diff --git a/bizinikiwi/bin/node/bench/src/generator.rs b/bizinikiwi/bin/node/bench/src/generator.rs index 96226acf..377a8499 100644 --- a/bizinikiwi/bin/node/bench/src/generator.rs +++ b/bizinikiwi/bin/node/bench/src/generator.rs @@ -19,7 +19,7 @@ use std::{collections::HashMap, sync::Arc}; use kvdb::KeyValueDB; -use node_primitives::Hash; +use pez_node_primitives::Hash; use pezsp_trie::{trie_types::TrieDBMutBuilderV1, TrieMut}; use crate::simple_trie::SimpleTrie; diff --git a/bizinikiwi/bin/node/bench/src/import.rs b/bizinikiwi/bin/node/bench/src/import.rs index 48f737fd..2474a97e 100644 --- a/bizinikiwi/bin/node/bench/src/import.rs +++ b/bizinikiwi/bin/node/bench/src/import.rs @@ -32,8 +32,8 @@ use std::borrow::Cow; -use node_primitives::Block; -use node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes}; +use pez_node_primitives::Block; +use pez_node_testing::bench::{BenchDb, BlockType, DatabaseType, KeyTypes}; use pezsc_client_api::backend::Backend; use crate::{ diff --git a/bizinikiwi/bin/node/bench/src/main.rs b/bizinikiwi/bin/node/bench/src/main.rs index 09c281a7..13d5ea5b 100644 --- a/bizinikiwi/bin/node/bench/src/main.rs +++ b/bizinikiwi/bin/node/bench/src/main.rs @@ -30,7 +30,7 @@ mod txpool; use clap::Parser; -use node_testing::bench::{BlockType, DatabaseType as BenchDataBaseType, KeyTypes}; +use pez_node_testing::bench::{BlockType, DatabaseType as BenchDataBaseType, KeyTypes}; use crate::{ common::SizeType, @@ -43,7 +43,7 @@ use crate::{ }; #[derive(Debug, Parser)] -#[command(name = "node-bench", about = "Node integration benchmarks")] +#[command(name = "pez-node-bench", about = "Node integration benchmarks")] struct Opt { /// Show list of all available benchmarks. /// diff --git a/bizinikiwi/bin/node/bench/src/simple_trie.rs b/bizinikiwi/bin/node/bench/src/simple_trie.rs index f1b814c5..f41e5639 100644 --- a/bizinikiwi/bin/node/bench/src/simple_trie.rs +++ b/bizinikiwi/bin/node/bench/src/simple_trie.rs @@ -20,7 +20,7 @@ use std::{collections::HashMap, sync::Arc}; use hash_db::{AsHashDB, HashDB, Hasher as _, Prefix}; use kvdb::KeyValueDB; -use node_primitives::Hash; +use pez_node_primitives::Hash; use pezsp_trie::DBValue; pub type Hasher = pezsp_core::Blake2Hasher; diff --git a/bizinikiwi/bin/node/bench/src/trie.rs b/bizinikiwi/bin/node/bench/src/trie.rs index 84051219..f51fd610 100644 --- a/bizinikiwi/bin/node/bench/src/trie.rs +++ b/bizinikiwi/bin/node/bench/src/trie.rs @@ -29,7 +29,7 @@ use std::{ sync::{Arc, LazyLock}, }; -use node_primitives::Hash; +use pez_node_primitives::Hash; use crate::{ core::{self, Mode, Path}, diff --git a/bizinikiwi/bin/node/bench/src/txpool.rs b/bizinikiwi/bin/node/bench/src/txpool.rs index 57e4adff..011cef10 100644 --- a/bizinikiwi/bin/node/bench/src/txpool.rs +++ b/bizinikiwi/bin/node/bench/src/txpool.rs @@ -23,7 +23,7 @@ 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_api::{TransactionPool, TransactionSource}; diff --git a/bizinikiwi/bin/node/cli/Cargo.toml b/bizinikiwi/bin/node/cli/Cargo.toml index 7e91cb54..45e49169 100644 --- a/bizinikiwi/bin/node/cli/Cargo.toml +++ b/bizinikiwi/bin/node/cli/Cargo.toml @@ -63,13 +63,13 @@ subxt-signer = { workspace = true, features = ["unstable-eth"] } # The Pezkuwi-SDK: pezkuwi-sdk = { features = [ - "fork-tree", + "pez-fork-tree", "pezframe-benchmarking-cli", "frame-remote-externalities", "pezframe-support-procedural-tools", - "generate-bags", - "mmr-gadget", - "mmr-rpc", + "pez-generate-bags", + "pezmmr-gadget", + "pezmmr-rpc", "pezpallet-transaction-payment-rpc", "pezsc-allocator", "pezsc-authority-discovery", @@ -135,7 +135,7 @@ pezkuwi-sdk = { features = [ "pezstaging-node-inspect", "pezstaging-tracking-allocator", "std", - "subkey", + "pez-subkey", "bizinikiwi-build-script-utils", "bizinikiwi-frame-rpc-support", "bizinikiwi-frame-rpc-system", @@ -143,14 +143,14 @@ pezkuwi-sdk = { features = [ "bizinikiwi-rpc-client", "bizinikiwi-state-trie-migration-rpc", "bizinikiwi-wasm-builder", - "tracing-gum", + "pez-tracing-gum", ], workspace = true, default-features = true } # 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-primitives = { workspace = true, default-features = true } -node-rpc = { workspace = true } +pez-node-primitives = { workspace = true, default-features = true } +pez-node-rpc = { workspace = true } [dev-dependencies] assert_cmd = { workspace = true } @@ -176,7 +176,7 @@ tokio-util = { features = ["compat"], workspace = true } wat = { workspace = true } # 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 } bizinikiwi-cli-test-utils = { workspace = true } @@ -197,18 +197,18 @@ pezkuwi-sdk = { features = [ default = ["cli"] cli = ["clap", "clap_complete", "node-inspect", "pezkuwi-sdk"] runtime-benchmarks = [ - "kitchensink-runtime/runtime-benchmarks", + "pez-kitchensink-runtime/runtime-benchmarks", "node-inspect?/runtime-benchmarks", - "node-primitives/runtime-benchmarks", - "node-rpc/runtime-benchmarks", - "node-testing/runtime-benchmarks", + "pez-node-primitives/runtime-benchmarks", + "pez-node-rpc/runtime-benchmarks", + "pez-node-testing/runtime-benchmarks", "pezkuwi-sdk/runtime-benchmarks", "pezsc-service-test/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", "bizinikiwi-cli-test-utils/runtime-benchmarks", ] try-runtime = [ - "kitchensink-runtime/try-runtime", + "pez-kitchensink-runtime/try-runtime", "pezkuwi-sdk/try-runtime", "bizinikiwi-cli-test-utils/try-runtime", ] diff --git a/bizinikiwi/bin/node/cli/benches/block_production.rs b/bizinikiwi/bin/node/cli/benches/block_production.rs index e8d53535..75127343 100644 --- a/bizinikiwi/bin/node/cli/benches/block_production.rs +++ b/bizinikiwi/bin/node/cli/benches/block_production.rs @@ -20,7 +20,7 @@ use pezkuwi_sdk::*; 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 pezkuwi_sdk::pezsc_service::config::{ExecutorConfiguration, RpcConfiguration}; 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 { - let utx: kitchensink_runtime::UncheckedExtrinsic = generic::UncheckedExtrinsic::new_bare( - kitchensink_runtime::RuntimeCall::Timestamp(pezpallet_timestamp::Call::set { now }), + let utx: pez_kitchensink_runtime::UncheckedExtrinsic = generic::UncheckedExtrinsic::new_bare( + pez_kitchensink_runtime::RuntimeCall::Timestamp(pezpallet_timestamp::Call::set { now }), ) .into(); utx.into() } -fn import_block(client: &FullClient, built: BuiltBlock) { +fn import_block(client: &FullClient, built: BuiltBlock) { let mut params = BlockImportParams::new(BlockOrigin::File, built.block.header); params.state_action = StateAction::ApplyChanges(pezsc_consensus::StorageChanges::Changes(built.storage_changes)); diff --git a/bizinikiwi/bin/node/cli/benches/executor.rs b/bizinikiwi/bin/node/cli/benches/executor.rs index 78e1e0a5..57bfda80 100644 --- a/bizinikiwi/bin/node/cli/benches/executor.rs +++ b/bizinikiwi/bin/node/cli/benches/executor.rs @@ -21,12 +21,12 @@ use pezkuwi_sdk::*; use codec::{Decode, Encode}; use criterion::{criterion_group, criterion_main, BatchSize, Criterion}; use pezframe_support::Hashable; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, RuntimeCall, RuntimeGenesisConfig, UncheckedExtrinsic, }; -use node_primitives::{BlockNumber, Hash}; -use node_testing::keyring::*; +use pez_node_primitives::{BlockNumber, Hash}; +use pez_node_testing::keyring::*; use pezsc_executor::{Externalities, RuntimeVersionOf}; use pezsp_core::{ storage::well_known_keys, @@ -41,7 +41,7 @@ criterion_main!(benches); /// The wasm runtime code. 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 \ disabled.", ) @@ -49,16 +49,16 @@ pub fn compact_code_unwrap() -> &'static [u8] { 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; type TestExternalities = CoreTestExternalities; 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 { @@ -167,7 +167,7 @@ fn bench_execute_block(c: &mut Criterion) { let mut group = c.benchmark_group("execute blocks"); 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 runtime_code = RuntimeCode { diff --git a/bizinikiwi/bin/node/cli/benches/transaction_pool.rs b/bizinikiwi/bin/node/cli/benches/transaction_pool.rs index 5a7e8595..1eddbeb8 100644 --- a/bizinikiwi/bin/node/cli/benches/transaction_pool.rs +++ b/bizinikiwi/bin/node/cli/benches/transaction_pool.rs @@ -18,9 +18,9 @@ use criterion::{criterion_group, criterion_main, BatchSize, Criterion, Throughput}; 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_primitives::AccountId; +use pez_node_primitives::AccountId; use pezkuwi_sdk::{ pezsc_service::config::{ExecutorConfiguration, RpcConfiguration}, pezsc_transaction_pool_api::TransactionPool as _, diff --git a/bizinikiwi/bin/node/cli/src/benchmarking.rs b/bizinikiwi/bin/node/cli/src/benchmarking.rs index 5fe82050..6d0f382e 100644 --- a/bizinikiwi/bin/node/cli/src/benchmarking.rs +++ b/bizinikiwi/bin/node/cli/src/benchmarking.rs @@ -24,8 +24,8 @@ use crate::service::{create_extrinsic, FullClient}; use pezkuwi_sdk::*; -use kitchensink_runtime::{BalancesCall, SystemCall}; -use node_primitives::{AccountId, Balance}; +use pez_kitchensink_runtime::{BalancesCall, SystemCall}; +use pez_node_primitives::{AccountId, Balance}; use pezsc_cli::Result; use pezsp_inherents::{InherentData, InherentDataProvider}; use pezsp_keyring::Sr25519Keyring; diff --git a/bizinikiwi/bin/node/cli/src/chain_spec.rs b/bizinikiwi/bin/node/cli/src/chain_spec.rs index da107440..4fa4299b 100644 --- a/bizinikiwi/bin/node/cli/src/chain_spec.rs +++ b/bizinikiwi/bin/node/cli/src/chain_spec.rs @@ -21,7 +21,7 @@ use pezkuwi_sdk::*; use crate::chain_spec::pezsc_service::Properties; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ genesis_config_presets::{Staker, ENDOWMENT, STASH}, wasm_binary_unwrap, Block, MaxNominations, StakerStatus, }; @@ -38,8 +38,8 @@ use pezsp_consensus_grandpa::AuthorityId as GrandpaId; use pezsp_core::crypto::UncheckedInto; use pezsp_mixnet::types::AuthorityId as MixnetId; -pub use kitchensink_runtime::RuntimeGenesisConfig; -pub use node_primitives::{AccountId, Balance, Signature}; +pub use pez_kitchensink_runtime::RuntimeGenesisConfig; +pub use pez_node_primitives::{AccountId, Balance, Signature}; const STAGING_TELEMETRY_URL: &str = "wss://telemetry.pezkuwichain.io/submit/"; @@ -82,15 +82,15 @@ fn configure_accounts_for_staging_testnet() -> ( #[rustfmt::skip] // stash, controller, session-key, beefy id // 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 // - // 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 // - // 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<( 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( // 5Ff3iXP75ruzroPWRP2FYBHWnmGGBSb63857BgnzCoXNxfPo "9ee5e5bdc0ec239eb164f865ecc345ce4c88e76ee002e0f7e318097347471809", @@ -430,7 +430,7 @@ pub fn local_testnet_config() -> ChainSpec { pub(crate) mod tests { use super::*; 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 pezsp_runtime::{AccountId32, BuildStorage}; diff --git a/bizinikiwi/bin/node/cli/src/command.rs b/bizinikiwi/bin/node/cli/src/command.rs index fd2214e3..cc7a1438 100644 --- a/bizinikiwi/bin/node/cli/src/command.rs +++ b/bizinikiwi/bin/node/cli/src/command.rs @@ -25,8 +25,8 @@ use crate::{ Cli, Subcommand, }; use pezframe_benchmarking_cli::*; -use kitchensink_runtime::{ExistentialDeposit, RuntimeApi}; -use node_primitives::Block; +use pez_kitchensink_runtime::{ExistentialDeposit, RuntimeApi}; +use pez_node_primitives::Block; use pezsc_cli::{Result, BizinikiwiCli}; use pezsc_service::PartialComponents; use pezsp_keyring::Sr25519Keyring; diff --git a/bizinikiwi/bin/node/cli/src/service.rs b/bizinikiwi/bin/node/cli/src/service.rs index 5457df0c..6d59cb64 100644 --- a/bizinikiwi/bin/node/cli/src/service.rs +++ b/bizinikiwi/bin/node/cli/src/service.rs @@ -31,8 +31,8 @@ use codec::Encode; use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE; use pezframe_system_rpc_runtime_api::AccountNonceApi; use futures::prelude::*; -use kitchensink_runtime::RuntimeApi; -use node_primitives::Block; +use pez_kitchensink_runtime::RuntimeApi; +use pez_node_primitives::Block; use pezsc_client_api::{Backend, BlockBackend}; use pezsc_consensus_babe::{self, SlotProportion}; use pezsc_network::{ @@ -107,51 +107,51 @@ pub fn fetch_nonce(client: &FullClient, account: pezsp_core::sr25519::Pair) -> u pub fn create_extrinsic( client: &FullClient, sender: pezsp_core::sr25519::Pair, - function: impl Into, + function: impl Into, nonce: Option, -) -> kitchensink_runtime::UncheckedExtrinsic { +) -> pez_kitchensink_runtime::UncheckedExtrinsic { let function = function.into(); let genesis_hash = client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"); let best_hash = client.chain_info().best_hash; let best_block = client.chain_info().best_number; 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() .map(|c| c / 2) .unwrap_or(2) as u64; let tip = 0; - let tx_ext: kitchensink_runtime::TxExtension = + let tx_ext: pez_kitchensink_runtime::TxExtension = ( - pezframe_system::AuthorizeCall::::new(), - pezframe_system::CheckNonZeroSender::::new(), - pezframe_system::CheckSpecVersion::::new(), - pezframe_system::CheckTxVersion::::new(), - pezframe_system::CheckGenesis::::new(), - pezframe_system::CheckEra::::from(generic::Era::mortal( + pezframe_system::AuthorizeCall::::new(), + pezframe_system::CheckNonZeroSender::::new(), + pezframe_system::CheckSpecVersion::::new(), + pezframe_system::CheckTxVersion::::new(), + pezframe_system::CheckGenesis::::new(), + pezframe_system::CheckEra::::from(generic::Era::mortal( period, best_block.saturated_into(), )), - pezframe_system::CheckNonce::::from(nonce), - pezframe_system::CheckWeight::::new(), + pezframe_system::CheckNonce::::from(nonce), + pezframe_system::CheckWeight::::new(), pezpallet_skip_feeless_payment::SkipCheckIfFeeless::from( pezpallet_asset_conversion_tx_payment::ChargeAssetTxPayment::< - kitchensink_runtime::Runtime, + pez_kitchensink_runtime::Runtime, >::from(tip, None), ), pezframe_metadata_hash_extension::CheckMetadataHash::new(false), - pezpallet_revive::evm::tx_extension::SetOrigin::::default(), - pezframe_system::WeightReclaim::::new(), + pezpallet_revive::evm::tx_extension::SetOrigin::::default(), + pezframe_system::WeightReclaim::::new(), ); - let raw_payload = kitchensink_runtime::SignedPayload::from_raw( + let raw_payload = pez_kitchensink_runtime::SignedPayload::from_raw( function.clone(), tx_ext.clone(), ( (), (), - kitchensink_runtime::VERSION.spec_version, - kitchensink_runtime::VERSION.transaction_version, + pez_kitchensink_runtime::VERSION.spec_version, + pez_kitchensink_runtime::VERSION.transaction_version, genesis_hash, best_hash, (), @@ -167,7 +167,7 @@ pub fn create_extrinsic( generic::UncheckedExtrinsic::new_signed( function, pezsp_runtime::AccountId32::from(sender.public()).into(), - kitchensink_runtime::Signature::Sr25519(signature), + pez_kitchensink_runtime::Signature::Sr25519(signature), tx_ext, ) .into() @@ -331,24 +331,24 @@ pub fn new_partial( let rpc_backend = backend.clone(); let rpc_statement_store = statement_store.clone(); let rpc_extensions_builder = - move |subscription_executor: node_rpc::SubscriptionTaskExecutor| { - let deps = node_rpc::FullDeps { + move |subscription_executor: pez_node_rpc::SubscriptionTaskExecutor| { + let deps = pez_node_rpc::FullDeps { client: client.clone(), pool: pool.clone(), select_chain: select_chain.clone(), chain_spec: chain_spec.cloned_box(), - babe: node_rpc::BabeDeps { + babe: pez_node_rpc::BabeDeps { keystore: keystore.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_authority_set: shared_authority_set.clone(), justification_stream: justification_stream.clone(), subscription_executor: subscription_executor.clone(), finality_provider: finality_proof_provider.clone(), }, - beefy: node_rpc::BeefyDeps:: { + beefy: pez_node_rpc::BeefyDeps:: { beefy_finality_proof_stream: beefy_rpc_links .from_voter_justif_stream .clone(), @@ -362,7 +362,7 @@ pub fn new_partial( 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) @@ -722,9 +722,9 @@ pub fn new_full_base::Hash>>( // When offchain indexing is enabled, MMR gadget should also run. if is_offchain_indexing_enabled { task_manager.spawn_essential_handle().spawn_blocking( - "mmr-gadget", + "pezmmr-gadget", None, - mmr_gadget::MmrGadget::start( + pezmmr_gadget::MmrGadget::start( client.clone(), backend.clone(), pezsp_mmr_primitives::INDEXING_PREFIX.to_vec(), @@ -870,11 +870,11 @@ pub fn new_full(config: Configuration, cli: Cli) -> Result &'static [u8] { - kitchensink_runtime::WASM_BINARY_BLOATY.expect( + pez_kitchensink_runtime::WASM_BINARY_BLOATY.expect( "Development wasm binary is not available. \ Testing is only supported with the flag disabled.", ) @@ -857,14 +857,14 @@ fn successful_execution_gives_ok() { #[test] fn should_import_block_with_test_client() { - use node_testing::client::{ + use pez_node_testing::client::{ pezsp_consensus::BlockOrigin, ClientBlockImportExt, TestClientBuilder, TestClientBuilderExt, }; let client = TestClientBuilder::new().build(); let block1 = changes_trie_block(); 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(); } diff --git a/bizinikiwi/bin/node/cli/tests/common.rs b/bizinikiwi/bin/node/cli/tests/common.rs index 0e14ef31..e552839c 100644 --- a/bizinikiwi/bin/node/cli/tests/common.rs +++ b/bizinikiwi/bin/node/cli/tests/common.rs @@ -36,12 +36,12 @@ use pezsp_runtime::{ }; use pezsp_state_machine::TestExternalities as CoreTestExternalities; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ constants::currency::*, Block, BuildStorage, CheckedExtrinsic, Header, Runtime, UncheckedExtrinsic, }; -use node_primitives::{BlockNumber, Hash}; -use node_testing::keyring::*; +use pez_node_primitives::{BlockNumber, Hash}; +use pez_node_testing::keyring::*; use pezsp_externalities::Externalities; use pezstaging_node_cli::service::RuntimeExecutor; @@ -70,7 +70,7 @@ impl AppCrypto for TestAuthorityId { /// making the binary slimmer. There is a convention to use compact version of the runtime /// as canonical. 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 \ disabled.", ) @@ -78,14 +78,14 @@ pub fn compact_code_unwrap() -> &'static [u8] { 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 = CoreTestExternalities; 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 { @@ -125,7 +125,7 @@ pub fn new_test_ext(code: &[u8]) -> TestExternalities { pezsp_tracing::try_init_simple(); let ext = TestExternalities::new_with_code( code, - node_testing::genesis::config().build_storage().unwrap(), + pez_node_testing::genesis::config().build_storage().unwrap(), ); ext } diff --git a/bizinikiwi/bin/node/cli/tests/fees.rs b/bizinikiwi/bin/node/cli/tests/fees.rs index 012a1158..b4416ceb 100644 --- a/bizinikiwi/bin/node/cli/tests/fees.rs +++ b/bizinikiwi/bin/node/cli/tests/fees.rs @@ -22,13 +22,13 @@ use pezframe_support::{ traits::Currency, weights::{constants::ExtrinsicBaseWeight, IdentityFee, WeightToFee}, }; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ constants::{currency::*, time::SLOT_DURATION}, Balances, CheckedExtrinsic, Multiplier, Runtime, RuntimeCall, TransactionByteFee, TransactionPayment, }; -use node_primitives::Balance; -use node_testing::keyring::*; +use pez_node_primitives::Balance; +use pez_node_testing::keyring::*; use pezkuwi_sdk::*; use pezsp_runtime::{traits::One, Perbill}; diff --git a/bizinikiwi/bin/node/cli/tests/submit_transaction.rs b/bizinikiwi/bin/node/cli/tests/submit_transaction.rs index 1d219775..5c679545 100644 --- a/bizinikiwi/bin/node/cli/tests/submit_transaction.rs +++ b/bizinikiwi/bin/node/cli/tests/submit_transaction.rs @@ -18,7 +18,7 @@ use codec::Decode; 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 pezsp_application_crypto::AppCrypto; use pezsp_core::offchain::{testing::TestTransactionPoolExt, TransactionPoolExt}; diff --git a/bizinikiwi/bin/node/primitives/Cargo.toml b/bizinikiwi/bin/node/primitives/Cargo.toml index 8ef0e3f2..fcd6ce17 100644 --- a/bizinikiwi/bin/node/primitives/Cargo.toml +++ b/bizinikiwi/bin/node/primitives/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "node-primitives" +name = "pez-node-primitives" version = "2.0.0" authors.workspace = true description = "Bizinikiwi node low-level primitives." @@ -8,7 +8,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true publish = false -documentation = "https://docs.rs/node-primitives" +documentation = "https://docs.rs/pez-node-primitives" [lints] workspace = true diff --git a/bizinikiwi/bin/node/rpc/Cargo.toml b/bizinikiwi/bin/node/rpc/Cargo.toml index d77e3227..e996306e 100644 --- a/bizinikiwi/bin/node/rpc/Cargo.toml +++ b/bizinikiwi/bin/node/rpc/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "node-rpc" +name = "pez-node-rpc" version = "3.0.0-dev" authors.workspace = true description = "Bizinikiwi node rpc methods." @@ -8,7 +8,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true publish = false -documentation = "https://docs.rs/node-rpc" +documentation = "https://docs.rs/pez-node-rpc" [lints] workspace = true @@ -18,8 +18,8 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] jsonrpsee = { features = ["server"], workspace = true } -mmr-rpc = { workspace = true, default-features = true } -node-primitives = { workspace = true, default-features = true } +pezmmr-rpc = { workspace = true, default-features = true } +pez-node-primitives = { workspace = true, default-features = true } pezpallet-transaction-payment-rpc = { workspace = true, default-features = true } pezsc-chain-spec = { 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] runtime-benchmarks = [ - "mmr-rpc/runtime-benchmarks", - "node-primitives/runtime-benchmarks", + "pezmmr-rpc/runtime-benchmarks", + "pez-node-primitives/runtime-benchmarks", "pezpallet-transaction-payment-rpc/runtime-benchmarks", "pezsc-chain-spec/runtime-benchmarks", "pezsc-client-api/runtime-benchmarks", diff --git a/bizinikiwi/bin/node/rpc/src/lib.rs b/bizinikiwi/bin/node/rpc/src/lib.rs index 6533f06d..12fc4693 100644 --- a/bizinikiwi/bin/node/rpc/src/lib.rs +++ b/bizinikiwi/bin/node/rpc/src/lib.rs @@ -34,7 +34,7 @@ use std::sync::Arc; 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_consensus_babe::BabeWorkerHandle; use pezsc_consensus_beefy::communication::notification::{ @@ -135,7 +135,7 @@ where + Send + 'static, C::Api: bizinikiwi_frame_rpc_system::AccountNonceApi, - C::Api: mmr_rpc::MmrRuntimeApi::Hash, BlockNumber>, + C::Api: pezmmr_rpc::MmrRuntimeApi::Hash, BlockNumber>, C::Api: pezpallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, @@ -146,7 +146,7 @@ where AuthorityId: AuthorityIdBound, ::Signature: Send + Sync, { - use mmr_rpc::{Mmr, MmrApiServer}; + use pezmmr_rpc::{Mmr, MmrApiServer}; use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use pezsc_consensus_babe_rpc::{Babe, BabeApiServer}; use pezsc_consensus_beefy_rpc::{Beefy, BeefyApiServer}; diff --git a/bizinikiwi/bin/node/runtime/Cargo.toml b/bizinikiwi/bin/node/runtime/Cargo.toml index c97c54c0..68afaa49 100644 --- a/bizinikiwi/bin/node/runtime/Cargo.toml +++ b/bizinikiwi/bin/node/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "kitchensink-runtime" +name = "pez-kitchensink-runtime" version = "3.0.0-dev" authors.workspace = true description = "Bizinikiwi node kitchensink runtime." @@ -9,7 +9,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true publish = false -documentation = "https://docs.rs/kitchensink-runtime" +documentation = "https://docs.rs/pez-kitchensink-runtime" [lints] workspace = true @@ -39,7 +39,7 @@ primitive-types = { features = [ pezkuwi-sdk = { features = ["runtime-full", "tuples-96"], workspace = true } # shared code between runtime and node -node-primitives = { workspace = true } +pez-node-primitives = { workspace = true } # Example pallets that are not published: pezpallet-example-mbm = { workspace = true } @@ -54,7 +54,7 @@ with-tracing = ["pezkuwi-sdk/with-tracing"] std = [ "codec/std", "log/std", - "node-primitives/std", + "pez-node-primitives/std", "pezpallet-example-mbm/std", "pezpallet-example-tasks/std", "pezkuwi-sdk/std", @@ -66,7 +66,7 @@ std = [ "bizinikiwi-wasm-builder", ] runtime-benchmarks = [ - "node-primitives/runtime-benchmarks", + "pez-node-primitives/runtime-benchmarks", "pezpallet-example-mbm/runtime-benchmarks", "pezpallet-example-tasks/runtime-benchmarks", "pezkuwi-sdk/runtime-benchmarks", diff --git a/bizinikiwi/bin/node/runtime/src/constants.rs b/bizinikiwi/bin/node/runtime/src/constants.rs index 80777571..637c28b2 100644 --- a/bizinikiwi/bin/node/runtime/src/constants.rs +++ b/bizinikiwi/bin/node/runtime/src/constants.rs @@ -19,7 +19,7 @@ /// Money matters. pub mod currency { - use node_primitives::Balance; + use pez_node_primitives::Balance; pub const MILLICENTS: Balance = 1_000_000_000; pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent. @@ -32,7 +32,7 @@ pub mod currency { /// 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 /// we are targeting. Blocks will be produced at a minimum duration defined diff --git a/bizinikiwi/bin/node/runtime/src/lib.rs b/bizinikiwi/bin/node/runtime/src/lib.rs index 4aaaefc3..3c19262a 100644 --- a/bizinikiwi/bin/node/runtime/src/lib.rs +++ b/bizinikiwi/bin/node/runtime/src/lib.rs @@ -76,8 +76,8 @@ use pezframe_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureRootWithSuccess, EnsureSigned, EnsureSignedBy, EnsureWithSuccess, }; -pub use node_primitives::{AccountId, Signature}; -use node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce}; +pub use pez_node_primitives::{AccountId, Signature}; +use pez_node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce}; use pezpallet_asset_conversion::{AccountIdConverter, Ascending, Chain, WithFirstAsset}; use pezpallet_asset_conversion_tx_payment::SwapAssetAdapter; use pezpallet_assets_precompiles::{InlineIdConfig, ERC20}; diff --git a/bizinikiwi/bin/node/testing/Cargo.toml b/bizinikiwi/bin/node/testing/Cargo.toml index 732dfbd9..e7e3e594 100644 --- a/bizinikiwi/bin/node/testing/Cargo.toml +++ b/bizinikiwi/bin/node/testing/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "node-testing" +name = "pez-node-testing" version = "3.0.0-dev" authors.workspace = true description = "Test utilities for Bizinikiwi node." @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true repository.workspace = true publish = false -documentation = "https://docs.rs/node-testing" +documentation = "https://docs.rs/pez-node-testing" [lints] workspace = true @@ -22,10 +22,10 @@ pezframe-metadata-hash-extension = { workspace = true, default-features = true } pezframe-system = { workspace = true, default-features = true } fs_extra = { workspace = true } futures = { workspace = true } -kitchensink-runtime = { workspace = true } +pez-kitchensink-runtime = { workspace = true } log = { workspace = true, default-features = 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-tx-payment = { workspace = true, default-features = true } pezpallet-revive = { workspace = true, default-features = true } @@ -57,9 +57,9 @@ tempfile = { workspace = true } runtime-benchmarks = [ "pezframe-metadata-hash-extension/runtime-benchmarks", "pezframe-system/runtime-benchmarks", - "kitchensink-runtime/runtime-benchmarks", + "pez-kitchensink-runtime/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/runtime-benchmarks", "pezpallet-revive/runtime-benchmarks", diff --git a/bizinikiwi/bin/node/testing/src/bench.rs b/bizinikiwi/bin/node/testing/src/bench.rs index 7e40131a..a6eb16cd 100644 --- a/bizinikiwi/bin/node/testing/src/bench.rs +++ b/bizinikiwi/bin/node/testing/src/bench.rs @@ -34,11 +34,11 @@ use crate::{ }; use codec::{Decode, Encode}; use futures::executor; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ constants::currency::DOLLARS, AccountId, BalancesCall, CheckedExtrinsic, MinimumPeriod, RuntimeCall, Signature, SystemCall, UncheckedExtrinsic, }; -use node_primitives::Block; +use pez_node_primitives::Block; use pezsc_block_builder::BlockBuilderBuilder; use pezsc_client_api::{execution_extensions::ExecutionExtensions, UsageProvider}; use pezsc_client_db::PruningMode; @@ -267,7 +267,7 @@ pub struct BlockContentIterator<'a> { iteration: usize, content: BlockContent, runtime_version: pezsc_executor::RuntimeVersion, - genesis_hash: node_primitives::Hash, + genesis_hash: pez_node_primitives::Hash, keyring: &'a BenchKeyring, } @@ -301,13 +301,13 @@ impl<'a> Iterator for BlockContentIterator<'a> { CheckedExtrinsic { format: ExtrinsicFormat::Signed( sender, - tx_ext(0, kitchensink_runtime::ExistentialDeposit::get() + 1), + tx_ext(0, pez_kitchensink_runtime::ExistentialDeposit::get() + 1), ), function: match self.content.block_type { BlockType::RandomTransfersKeepAlive => RuntimeCall::Balances(BalancesCall::transfer_keep_alive { dest: pezsp_runtime::MultiAddress::Id(receiver), - value: kitchensink_runtime::ExistentialDeposit::get() + 1, + value: pez_kitchensink_runtime::ExistentialDeposit::get() + 1, }), BlockType::RandomTransfersReaping => { 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 // deposit so that we kill the sender account. value: 100 * DOLLARS - - (kitchensink_runtime::ExistentialDeposit::get() - 1), + (pez_kitchensink_runtime::ExistentialDeposit::get() - 1), }) }, BlockType::Noop => @@ -610,7 +610,7 @@ impl BenchKeyring { } /// 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 { self } @@ -620,7 +620,7 @@ impl pezsp_runtime::BuildStorage for BenchKeyring { fn assimilate_storage(&self, storage: &mut pezsp_core::storage::Storage) -> Result<(), String> { storage.top.insert( 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) } diff --git a/bizinikiwi/bin/node/testing/src/client.rs b/bizinikiwi/bin/node/testing/src/client.rs index eb546a3d..24549d31 100644 --- a/bizinikiwi/bin/node/testing/src/client.rs +++ b/bizinikiwi/bin/node/testing/src/client.rs @@ -16,24 +16,24 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Utilities to build a `TestClient` for `kitchensink-runtime`. +//! Utilities to build a `TestClient` for `pez-kitchensink-runtime`. use pezsp_runtime::BuildStorage; /// Re-export test-client utilities. pub use bizinikiwi_test_client::*; -/// Call executor for `kitchensink-runtime` `TestClient`. +/// Call executor for `pez-kitchensink-runtime` `TestClient`. use node_cli::service::RuntimeExecutor; /// Default backend type. -pub type Backend = pezsc_client_db::Backend; +pub type Backend = pezsc_client_db::Backend; /// Test client type. pub type Client = client::Client< Backend, - client::LocalCallExecutor, - node_primitives::Block, - kitchensink_runtime::RuntimeApi, + client::LocalCallExecutor, + pez_node_primitives::Block, + pez_kitchensink_runtime::RuntimeApi, >; /// 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(); storage.top.insert( pezsp_core::storage::well_known_keys::CODE.to_vec(), - kitchensink_runtime::wasm_binary_unwrap().into(), + pez_kitchensink_runtime::wasm_binary_unwrap().into(), ); storage } @@ -62,8 +62,8 @@ pub trait TestClientBuilderExt: Sized { impl TestClientBuilderExt for bizinikiwi_test_client::TestClientBuilder< - node_primitives::Block, - client::LocalCallExecutor, + pez_node_primitives::Block, + client::LocalCallExecutor, Backend, GenesisParameters, > diff --git a/bizinikiwi/bin/node/testing/src/genesis.rs b/bizinikiwi/bin/node/testing/src/genesis.rs index 670e1aa2..a8ee2d98 100644 --- a/bizinikiwi/bin/node/testing/src/genesis.rs +++ b/bizinikiwi/bin/node/testing/src/genesis.rs @@ -19,7 +19,7 @@ //! Genesis Configuration. use crate::keyring::*; -use kitchensink_runtime::{ +use pez_kitchensink_runtime::{ constants::currency::*, AccountId, AssetsConfig, BalancesConfig, IndicesConfig, RuntimeGenesisConfig, SessionConfig, SocietyConfig, StakerStatus, StakingConfig, }; diff --git a/bizinikiwi/bin/node/testing/src/keyring.rs b/bizinikiwi/bin/node/testing/src/keyring.rs index 6bf24d27..cc7ee537 100644 --- a/bizinikiwi/bin/node/testing/src/keyring.rs +++ b/bizinikiwi/bin/node/testing/src/keyring.rs @@ -19,8 +19,8 @@ //! Test accounts. use codec::Encode; -use kitchensink_runtime::{CheckedExtrinsic, SessionKeys, TxExtension, UncheckedExtrinsic}; -use node_primitives::{AccountId, Balance, Nonce}; +use pez_kitchensink_runtime::{CheckedExtrinsic, SessionKeys, TxExtension, UncheckedExtrinsic}; +use pez_node_primitives::{AccountId, Balance, Nonce}; use pezsp_core::{crypto::get_public_from_string_or_panic, ecdsa, ed25519, sr25519}; use pezsp_crypto_hashing::blake2_256; use pezsp_keyring::Sr25519Keyring; diff --git a/bizinikiwi/bin/utils/subkey/Cargo.toml b/bizinikiwi/bin/utils/pez-subkey/Cargo.toml similarity index 88% rename from bizinikiwi/bin/utils/subkey/Cargo.toml rename to bizinikiwi/bin/utils/pez-subkey/Cargo.toml index b71fe614..1a75ff98 100644 --- a/bizinikiwi/bin/utils/subkey/Cargo.toml +++ b/bizinikiwi/bin/utils/pez-subkey/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "subkey" +name = "pez-subkey" version = "9.0.0" 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." @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true repository.workspace = true readme = "README.md" -documentation = "https://docs.rs/subkey" +documentation = "https://docs.rs/pez-subkey" [lints] workspace = true @@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"] [[bin]] path = "src/main.rs" -name = "subkey" +name = "pez-subkey" [dependencies] clap = { features = ["derive"], workspace = true } diff --git a/bizinikiwi/bin/utils/subkey/README.md b/bizinikiwi/bin/utils/pez-subkey/README.md similarity index 75% rename from bizinikiwi/bin/utils/subkey/README.md rename to bizinikiwi/bin/utils/pez-subkey/README.md index 8329ca51..9f9e68e1 100644 --- a/bizinikiwi/bin/utils/subkey/README.md +++ b/bizinikiwi/bin/utils/pez-subkey/README.md @@ -3,26 +3,26 @@ 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. -`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 -instance `subkey generate --help` for the `generate` command. +You can see the full list of commands with `pez_subkey --help`. Most commands have additional help available with for +instance `pez_subkey generate --help` for the `generate` command. ## 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. -`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). -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. ## Usage -The following guide explains *some* of the `subkey` commands. For the full list and the most up to date documentation, -make sure to check the integrated help with `subkey --help`. +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 `pez_subkey --help`. ### Install with Cargo @@ -32,8 +32,8 @@ dependencies and Subkey, respectively: Command: ```bash -# Install only `subkey`, at a specific version of the subkey crate -cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version --locked +# Install only `pez_subkey`, at a specific version of the pez_subkey crate +cargo install --force pez_subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version --locked # 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 # Use `--pull=always` with the `latest` tag, or specify a version in a tag -docker run -it --pull=always docker.io/parity/subkey:latest +docker run -it --pull=always docker.io/parity/pez_subkey:latest ``` ### Generate a random account @@ -49,7 +49,7 @@ docker run -it --pull=always docker.io/parity/subkey:latest Generating a new key is as simple as running: ```bash -subkey generate +pez_subkey generate ``` The output looks similar to: @@ -90,12 +90,12 @@ SS58 addresses are: ### 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: ```bash -subkey generate --output-type json +pez_subkey generate --output-type json ``` output: @@ -115,7 +115,7 @@ So if you only want to get the `secretSeed` for instance, you can use: command: ```bash -subkey generate --output-type json | jq -r .secretSeed +pez_subkey generate --output-type json | jq -r .secretSeed ``` output: @@ -126,10 +126,10 @@ output: ### 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 -subkey generate --password extra_secret +pez_subkey generate --password extra_secret ``` output: @@ -146,7 +146,7 @@ Using the `inspect` command (see more details below), we see that knowing only t sufficient to recover the account: ```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 @@ -155,25 +155,25 @@ which recovers the account `5Fe4sqj2K4fRuzEGvToi4KATqZfiDU7TqynjXG6PZE2dxwyh` an this time passing also the required `password` as shown below: ```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`. ### 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: ```bash -subkey inspect < mnemonic | seed > +pez_subkey inspect < mnemonic | seed > ``` If you have only **public data**, you can see a subset of the information: ```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. @@ -184,7 +184,7 @@ subkey inspect --public < pubkey | address > command: ```bash -subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d +pez_subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d ``` output: @@ -199,11 +199,11 @@ Secret Key URI `0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c9 ### 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**: ```bash -echo -n | subkey sign --suri +echo -n | pez_subkey sign --suri ``` example: @@ -211,7 +211,7 @@ example: ```text MESSAGE=hello SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d -echo -n $MESSAGE | subkey sign --suri $SURI +echo -n $MESSAGE | pez_subkey sign --suri $SURI ``` output: @@ -225,11 +225,11 @@ valid. ### 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**: ```bash -echo -n | subkey verify
+echo -n | pez_subkey verify
``` example: @@ -238,7 +238,7 @@ example: MESSAGE=hello URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515 SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c -echo -n $MESSAGE | subkey verify $SIGNATURE $URI +echo -n $MESSAGE | pez_subkey verify $SIGNATURE $URI ``` output: @@ -261,7 +261,7 @@ warned, depending on your hardware this may take a while. command: ```bash -subkey vanity --network pezkuwi --pattern bob +pez_subkey vanity --network pezkuwi --pattern bob ``` output: diff --git a/bizinikiwi/bin/utils/subkey/SECURITY.md b/bizinikiwi/bin/utils/pez-subkey/SECURITY.md similarity index 96% rename from bizinikiwi/bin/utils/subkey/SECURITY.md rename to bizinikiwi/bin/utils/pez-subkey/SECURITY.md index 8e3e9f90..7aac8f76 100644 --- a/bizinikiwi/bin/utils/subkey/SECURITY.md +++ b/bizinikiwi/bin/utils/pez-subkey/SECURITY.md @@ -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 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 seed**: a big hexadecimal value diff --git a/bizinikiwi/bin/utils/subkey/src/lib.rs b/bizinikiwi/bin/utils/pez-subkey/src/lib.rs similarity index 80% rename from bizinikiwi/bin/utils/subkey/src/lib.rs rename to bizinikiwi/bin/utils/pez-subkey/src/lib.rs index a30b4d63..f6c4fe9f 100644 --- a/bizinikiwi/bin/utils/subkey/src/lib.rs +++ b/bizinikiwi/bin/utils/pez-subkey/src/lib.rs @@ -22,28 +22,28 @@ //! for Bizinikiwi based chains such as Pezkuwi, 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 +//! `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 instance `subkey generate --help` for the `generate` command. +//! You can see the full list of commands with `pez_subkey --help`. Most commands have additional help +//! available with for instance `pez_subkey generate --help` for the `generate` command. //! //! ## Safety first //! -//! `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. +//! `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. //! -//! `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 //! 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. //! //! ## Usage //! -//! The following guide explains *some* of the `subkey` commands. For the full list and the most up -//! to date documentation, make sure to check the integrated help with `subkey --help`. +//! 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 `pez_subkey --help`. //! //! ### Install with Cargo //! @@ -53,8 +53,8 @@ //! Command: //! //! ```bash -//! # Install only `subkey`, at a specific version of the subkey crate -//! cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version --locked +//! # Install only `pez_subkey`, at a specific version of the pez_subkey crate +//! cargo install --force pez_subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version --locked //! # If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/ //! ``` //! @@ -62,7 +62,7 @@ //! //! ```bash //! # Use `--pull=always` with the `latest` tag, or specify a version in a tag -//! docker run -it --pull=always docker.io/parity/subkey:latest +//! docker run -it --pull=always docker.io/parity/pez_subkey:latest //! ``` //! //! ### Generate a random account @@ -70,7 +70,7 @@ //! Generating a new key is as simple as running: //! //! ```bash -//! subkey generate +//! pez_subkey generate //! ``` //! //! The output looks similar to: @@ -110,12 +110,12 @@ //! //! ### 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: //! //! ```bash -//! subkey generate --output-type json +//! pez_subkey generate --output-type json //! ``` //! //! output: @@ -135,7 +135,7 @@ //! command: //! //! ```bash -//! subkey generate --output-type json | jq -r .secretSeed +//! pez_subkey generate --output-type json | jq -r .secretSeed //! ``` //! //! output: @@ -146,11 +146,11 @@ //! //! ### 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: //! //! ```bash -//! subkey generate --password extra_secret +//! pez_subkey generate --password extra_secret //! ``` //! //! output: @@ -167,7 +167,7 @@ //! seed** is no longer sufficient to recover the account: //! //! ```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 @@ -177,26 +177,26 @@ //! below: //! //! ```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`. //! //! ### 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. //! //! If you have **secrets** that you would like to verify for instance, you can use: //! //! ```bash -//! subkey inspect < mnemonic | seed > +//! pez_subkey inspect < mnemonic | seed > //! ``` //! //! If you have only **public data**, you can see a subset of the information: //! //! ```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 @@ -208,7 +208,7 @@ //! command: //! //! ```bash -//! subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d +//! pez_subkey inspect 0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d //! ``` //! //! output: @@ -223,11 +223,11 @@ //! //! ### 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**: //! //! ```bash -//! echo -n | subkey sign --suri +//! echo -n | pez_subkey sign --suri //! ``` //! //! example: @@ -235,7 +235,7 @@ //! ```text //! MESSAGE=hello //! SURI=0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d -//! echo -n $MESSAGE | subkey sign --suri $SURI +//! echo -n $MESSAGE | pez_subkey sign --suri $SURI //! ``` //! //! output: @@ -249,12 +249,12 @@ //! //! ### 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 //! **address**: //! //! ```bash -//! echo -n | subkey verify
+//! echo -n | pez_subkey verify
//! ``` //! //! example: @@ -263,7 +263,7 @@ //! MESSAGE=hello //! URI=0xfec70cfbf1977c6965b5af10a4534a6a35d548eb14580594d0bc543286892515 //! SIGNATURE=9201af3788ad4f986b800853c79da47155f2e08fde2070d866be4c27ab060466fea0623dc2b51f4392f4c61f25381a62848dd66c5d8217fae3858e469ebd668c -//! echo -n $MESSAGE | subkey verify $SIGNATURE $URI +//! echo -n $MESSAGE | pez_subkey verify $SIGNATURE $URI //! ``` //! //! output: @@ -286,7 +286,7 @@ //! command: //! //! ```bash -//! subkey vanity --network pezkuwi --pattern bob +//! pez_subkey vanity --network pezkuwi --pattern bob //! ``` //! //! output: @@ -316,7 +316,7 @@ use pezsc_cli::{ #[derive(Debug, Parser)] #[command( - name = "subkey", + name = "pez_subkey", author = "Parity Team ", about = "Utility for generating and restoring with Bizinikiwi keys", version @@ -345,7 +345,7 @@ pub enum Subkey { Verify(VerifyCmd), } -/// Run the subkey command, given the appropriate runtime. +/// Run the pez_subkey command, given the appropriate runtime. pub fn run() -> Result<(), Error> { match Subkey::parse() { Subkey::GenerateNodeKey(cmd) => cmd.run(), diff --git a/bizinikiwi/bin/utils/subkey/src/main.rs b/bizinikiwi/bin/utils/pez-subkey/src/main.rs similarity index 92% rename from bizinikiwi/bin/utils/subkey/src/main.rs rename to bizinikiwi/bin/utils/pez-subkey/src/main.rs index c82320b7..c02fe816 100644 --- a/bizinikiwi/bin/utils/subkey/src/main.rs +++ b/bizinikiwi/bin/utils/pez-subkey/src/main.rs @@ -16,8 +16,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Subkey utility, based on kitchensink_runtime. +//! Subkey utility, based on pez_kitchensink_runtime. fn main() -> Result<(), pezsc_cli::Error> { - subkey::run() + pez_subkey::run() } diff --git a/bizinikiwi/client/cli/src/commands/generate_node_key.rs b/bizinikiwi/client/cli/src/commands/generate_node_key.rs index 0db92646..04d52a4c 100644 --- a/bizinikiwi/client/cli/src/commands/generate_node_key.rs +++ b/bizinikiwi/client/cli/src/commands/generate_node_key.rs @@ -28,7 +28,7 @@ use std::{ 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)] pub struct GenerateKeyCmdCommon { /// Name of file to save secret key to. diff --git a/bizinikiwi/client/cli/src/commands/test/mod.rs b/bizinikiwi/client/cli/src/commands/test/mod.rs index 7763b66b..58ffac16 100644 --- a/bizinikiwi/client/cli/src/commands/test/mod.rs +++ b/bizinikiwi/client/cli/src/commands/test/mod.rs @@ -16,6 +16,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Integration tests for subkey commands. +//! Integration tests for pez_subkey commands. mod sig_verify; diff --git a/bizinikiwi/client/consensus/aura/Cargo.toml b/bizinikiwi/client/consensus/aura/Cargo.toml index 9a940947..291f942e 100644 --- a/bizinikiwi/client/consensus/aura/Cargo.toml +++ b/bizinikiwi/client/consensus/aura/Cargo.toml @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] async-trait = { workspace = 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 } log = { workspace = true, default-features = true } parking_lot = { workspace = true, default-features = true } diff --git a/bizinikiwi/client/consensus/aura/src/authorities_tracker.rs b/bizinikiwi/client/consensus/aura/src/authorities_tracker.rs index c83c8403..fc6c1731 100644 --- a/bizinikiwi/client/consensus/aura/src/authorities_tracker.rs +++ b/bizinikiwi/client/consensus/aura/src/authorities_tracker.rs @@ -21,7 +21,7 @@ use std::{fmt::Debug, sync::Arc}; use codec::Codec; -use fork_tree::ForkTree; +use pez_fork_tree::ForkTree; use parking_lot::RwLock; use pezsp_api::ProvideRuntimeApi; use pezsp_blockchain::{HeaderBackend, HeaderMetadata}; diff --git a/bizinikiwi/client/consensus/babe/Cargo.toml b/bizinikiwi/client/consensus/babe/Cargo.toml index 19278cde..675d7159 100644 --- a/bizinikiwi/client/consensus/babe/Cargo.toml +++ b/bizinikiwi/client/consensus/babe/Cargo.toml @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] async-trait = { workspace = 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 } log = { workspace = true, default-features = true } num-bigint = { workspace = true } diff --git a/bizinikiwi/client/consensus/babe/src/aux_schema.rs b/bizinikiwi/client/consensus/babe/src/aux_schema.rs index 2e24ceb8..e91b4af8 100644 --- a/bizinikiwi/client/consensus/babe/src/aux_schema.rs +++ b/bizinikiwi/client/consensus/babe/src/aux_schema.rs @@ -139,7 +139,7 @@ pub fn load_block_weight( mod test { use super::*; use crate::migration::EpochV0; - use fork_tree::ForkTree; + use pez_fork_tree::ForkTree; use pezsc_consensus_epochs::{EpochHeader, PersistedEpoch, PersistedEpochHeader}; use pezsc_network_test::Block as TestBlock; use pezsp_consensus::Error as ConsensusError; diff --git a/bizinikiwi/client/consensus/babe/src/lib.rs b/bizinikiwi/client/consensus/babe/src/lib.rs index 661f08ec..ff33360d 100644 --- a/bizinikiwi/client/consensus/babe/src/lib.rs +++ b/bizinikiwi/client/consensus/babe/src/lib.rs @@ -354,7 +354,7 @@ pub enum Error { RuntimeApi(pezsp_api::ApiError), /// Fork tree error #[error(transparent)] - ForkTree(Box>), + ForkTree(Box>), } impl From> for String { diff --git a/bizinikiwi/client/consensus/beefy/README.md b/bizinikiwi/client/consensus/beefy/README.md index 0f3913e1..5f79b410 100644 --- a/bizinikiwi/client/consensus/beefy/README.md +++ b/bizinikiwi/client/consensus/beefy/README.md @@ -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`. 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 ```sh -subkey generate --scheme ecdsa +pez_subkey generate --scheme ecdsa ``` The output will look something like diff --git a/bizinikiwi/client/consensus/epochs/Cargo.toml b/bizinikiwi/client/consensus/epochs/Cargo.toml index c5cb923b..db629817 100644 --- a/bizinikiwi/client/consensus/epochs/Cargo.toml +++ b/bizinikiwi/client/consensus/epochs/Cargo.toml @@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] 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-consensus = { workspace = true, default-features = true } pezsp-blockchain = { workspace = true, default-features = true } diff --git a/bizinikiwi/client/consensus/epochs/src/lib.rs b/bizinikiwi/client/consensus/epochs/src/lib.rs index d8c20aae..5552bcca 100644 --- a/bizinikiwi/client/consensus/epochs/src/lib.rs +++ b/bizinikiwi/client/consensus/epochs/src/lib.rs @@ -21,7 +21,7 @@ pub mod migration; use codec::{Decode, Encode}; -use fork_tree::{FilterAction, ForkTree}; +use pez_fork_tree::{FilterAction, ForkTree}; use pezsc_client_api::utils::is_descendent_of; use pezsp_blockchain::{Error as ClientError, HeaderBackend, HeaderMetadata}; use pezsp_runtime::traits::{Block as BlockT, NumberFor, One, Zero}; @@ -195,7 +195,7 @@ where } /// 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 { let next = self.as_ref().increment(next_descriptor); let to_persist = match *self { @@ -305,7 +305,7 @@ impl PersistedEpochHeader { } } -/// 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`. #[must_use = "Freshly-incremented epoch must be imported with `EpochChanges::import`"] @@ -401,7 +401,7 @@ where hash: &Hash, number: Number, slot: E::Slot, - ) -> Result<(), fork_tree::Error> { + ) -> Result<(), pez_fork_tree::Error> { let is_descendent_of = descendent_of_builder.build_is_descendent_of(None); let predicate = |epoch: &PersistedEpochHeader| match *epoch { @@ -518,7 +518,7 @@ where parent_number: Number, slot: E::Slot, make_genesis: G, - ) -> Result, fork_tree::Error> + ) -> Result, pez_fork_tree::Error> where G: FnOnce(E::Slot) -> E, E: Clone, @@ -543,13 +543,13 @@ where parent_hash: &Hash, parent_number: Number, slot: E::Slot, - ) -> Result>, fork_tree::Error> { + ) -> Result>, pez_fork_tree::Error> { if parent_number == Zero::zero() { // need to insert the genesis epoch. 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, // then it won't be returned. we need to create a new fake chain head hash which // "descends" from our parent-hash. @@ -616,7 +616,7 @@ where number: Number, parent_hash: Hash, epoch: IncrementedEpoch, - ) -> Result<(), fork_tree::Error> { + ) -> Result<(), pez_fork_tree::Error> { let is_descendent_of = descendent_of_builder.build_is_descendent_of(Some((hash, parent_hash))); let IncrementedEpoch(epoch) = epoch; @@ -625,7 +625,7 @@ where let res = self.inner.import(hash, number, header, &is_descendent_of); match res { - Ok(_) | Err(fork_tree::Error::Duplicate) => { + Ok(_) | Err(pez_fork_tree::Error::Duplicate) => { self.epochs.insert((hash, number), epoch); Ok(()) }, @@ -641,14 +641,14 @@ where let persisted = PersistedEpoch::Regular(current); let header = PersistedEpochHeader::from(&persisted); let _res = self.inner.import(parent_hash, number - One::one(), header, &|_, _| { - Ok(false) as Result> + Ok(false) as Result> }); self.epochs.insert((parent_hash, number - One::one()), persisted); let persisted = PersistedEpoch::Regular(next); let header = PersistedEpochHeader::from(&persisted); let _res = self.inner.import(hash, number, header, &|_, _| { - Ok(true) as Result> + Ok(true) as Result> }); self.epochs.insert((hash, number), persisted); } diff --git a/bizinikiwi/client/consensus/epochs/src/migration.rs b/bizinikiwi/client/consensus/epochs/src/migration.rs index e3726ee2..a7c3eb42 100644 --- a/bizinikiwi/client/consensus/epochs/src/migration.rs +++ b/bizinikiwi/client/consensus/epochs/src/migration.rs @@ -20,7 +20,7 @@ use crate::{Epoch, EpochChanges, PersistedEpoch, PersistedEpochHeader}; use codec::{Decode, Encode}; -use fork_tree::ForkTree; +use pez_fork_tree::ForkTree; use pezsp_runtime::traits::{Block as BlockT, NumberFor}; use std::collections::BTreeMap; diff --git a/bizinikiwi/client/consensus/grandpa/Cargo.toml b/bizinikiwi/client/consensus/grandpa/Cargo.toml index b78ec024..536150c5 100644 --- a/bizinikiwi/client/consensus/grandpa/Cargo.toml +++ b/bizinikiwi/client/consensus/grandpa/Cargo.toml @@ -25,7 +25,7 @@ dyn-clone = { workspace = true } finality-grandpa = { features = [ "derive-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-timer = { workspace = true } log = { workspace = true, default-features = true } diff --git a/bizinikiwi/client/consensus/grandpa/src/authorities.rs b/bizinikiwi/client/consensus/grandpa/src/authorities.rs index 70396d4e..488ba3b9 100644 --- a/bizinikiwi/client/consensus/grandpa/src/authorities.rs +++ b/bizinikiwi/client/consensus/grandpa/src/authorities.rs @@ -22,7 +22,7 @@ use std::{cmp::Ord, fmt::Debug, ops::Add}; use codec::{Decode, Encode}; use finality_grandpa::voter_set::VoterSet; -use fork_tree::{FilterAction, ForkTree}; +use pez_fork_tree::{FilterAction, ForkTree}; use log::debug; use parking_lot::MappedMutexGuard; use pezsc_consensus::shared_data::{SharedData, SharedDataLocked}; @@ -48,14 +48,14 @@ pub enum Error { )] ForcedAuthoritySetChangeDependencyUnsatisfied(N), #[error("Invalid operation in the pending changes tree: {0}")] - ForkTree(fork_tree::Error), + ForkTree(pez_fork_tree::Error), } -impl From> for Error { - fn from(err: fork_tree::Error) -> Error { +impl From> for Error { + fn from(err: pez_fork_tree::Error) -> Error { match err { - fork_tree::Error::Client(err) => Error::Client(err), - fork_tree::Error::Duplicate => Error::DuplicateAuthoritySetChange, + pez_fork_tree::Error::Client(err) => Error::Client(err), + pez_fork_tree::Error::Duplicate => Error::DuplicateAuthoritySetChange, err => Error::ForkTree(err), } } @@ -558,7 +558,7 @@ where is_descendent_of, |change| change.effective_number() <= finalized_number, )? { - fork_tree::FinalizationResult::Changed(change) => { + pez_fork_tree::FinalizationResult::Changed(change) => { status.changed = true; 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)); } }, - fork_tree::FinalizationResult::Unchanged => {}, + pez_fork_tree::FinalizationResult::Unchanged => {}, } Ok(status) @@ -1050,7 +1050,7 @@ mod tests { // trying to finalize past `change_c` without finalizing `change_a` first assert!(matches!( 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()); diff --git a/bizinikiwi/client/consensus/grandpa/src/aux_schema.rs b/bizinikiwi/client/consensus/grandpa/src/aux_schema.rs index f78008f5..9f08b853 100644 --- a/bizinikiwi/client/consensus/grandpa/src/aux_schema.rs +++ b/bizinikiwi/client/consensus/grandpa/src/aux_schema.rs @@ -24,7 +24,7 @@ use codec::{Decode, Encode}; use finality_grandpa::round::State as RoundState; use log::{info, warn}; -use fork_tree::ForkTree; +use pez_fork_tree::ForkTree; use pezsc_client_api::backend::AuxStore; use pezsp_blockchain::{Error as ClientError, Result as ClientResult}; use pezsp_consensus_grandpa::{AuthorityList, RoundNumber, SetId}; diff --git a/bizinikiwi/client/consensus/grandpa/src/import.rs b/bizinikiwi/client/consensus/grandpa/src/import.rs index d628de06..addb606e 100644 --- a/bizinikiwi/client/consensus/grandpa/src/import.rs +++ b/bizinikiwi/client/consensus/grandpa/src/import.rs @@ -486,7 +486,7 @@ where let authority_set = AuthoritySet::new( authorities.clone(), set_id, - fork_tree::ForkTree::new(), + pez_fork_tree::ForkTree::new(), Vec::new(), AuthoritySetChanges::empty(), ) diff --git a/bizinikiwi/client/db/Cargo.toml b/bizinikiwi/client/db/Cargo.toml index 46f2564e..d0c1cf49 100644 --- a/bizinikiwi/client/db/Cargo.toml +++ b/bizinikiwi/client/db/Cargo.toml @@ -49,7 +49,7 @@ sysinfo = { workspace = true } [dev-dependencies] array-bytes = { workspace = true, default-features = true } criterion = { workspace = true, default-features = true } -kitchensink-runtime = { workspace = true } +pez-kitchensink-runtime = { workspace = true } kvdb-rocksdb = { workspace = true } rand = { workspace = true, default-features = true } pezsp-tracing = { workspace = true, default-features = true } @@ -60,7 +60,7 @@ tempfile = { workspace = true } default = [] test-helpers = [] runtime-benchmarks = [ - "kitchensink-runtime/runtime-benchmarks", + "pez-kitchensink-runtime/runtime-benchmarks", "pezsc-client-api/runtime-benchmarks", "pezsp-blockchain/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bizinikiwi/client/db/benches/state_access.rs b/bizinikiwi/client/db/benches/state_access.rs index aaf38219..bea5d13f 100644 --- a/bizinikiwi/client/db/benches/state_access.rs +++ b/bizinikiwi/client/db/benches/state_access.rs @@ -46,7 +46,7 @@ fn insert_blocks(db: &Backend, storage: Vec<(Vec, Vec)>) -> H256 Storage { top: 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() .collect(), diff --git a/bizinikiwi/client/merkle-mountain-range/Cargo.toml b/bizinikiwi/client/merkle-mountain-range/Cargo.toml index 1614c503..54088e17 100644 --- a/bizinikiwi/client/merkle-mountain-range/Cargo.toml +++ b/bizinikiwi/client/merkle-mountain-range/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mmr-gadget" +name = "pezmmr-gadget" version = "29.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true description = "MMR Client gadget for bizinikiwi" homepage.workspace = true -documentation = "https://docs.rs/mmr-gadget" +documentation = "https://docs.rs/pezmmr-gadget" [lints] workspace = true diff --git a/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml b/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml index 957531db..1ea8ed56 100644 --- a/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml +++ b/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mmr-rpc" +name = "pezmmr-rpc" version = "28.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true 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] workspace = true diff --git a/bizinikiwi/client/merkle-mountain-range/src/aux_schema.rs b/bizinikiwi/client/merkle-mountain-range/src/aux_schema.rs index 354f4c3f..1627269c 100644 --- a/bizinikiwi/client/merkle-mountain-range/src/aux_schema.rs +++ b/bizinikiwi/client/merkle-mountain-range/src/aux_schema.rs @@ -26,7 +26,7 @@ use pezsp_blockchain::{Error as ClientError, Result as ClientResult}; use pezsp_runtime::traits::{Block, NumberFor}; 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; pub(crate) type PersistedState = NumberFor; @@ -101,7 +101,7 @@ where #[cfg(test)] pub(crate) mod tests { 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 pezsp_runtime::generic::BlockId; use std::{sync::Arc, time::Duration}; @@ -136,7 +136,7 @@ pub(crate) mod tests { // state not available in db -> None assert_eq!(load_state::(&*backend).unwrap(), None); // 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(), |_| async {}, |client| async move { @@ -151,7 +151,7 @@ pub(crate) mod tests { ); // 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| async move { let backend = &*client.backend; @@ -183,7 +183,7 @@ pub(crate) mod tests { let blocks_clone = blocks.clone(); // 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(), |_| async {}, |client| async move { @@ -206,7 +206,7 @@ pub(crate) mod tests { let blocks_clone = blocks.clone(); // 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| async move { let blocks = blocks_clone.lock(); diff --git a/bizinikiwi/client/merkle-mountain-range/src/lib.rs b/bizinikiwi/client/merkle-mountain-range/src/lib.rs index cc71894f..c1cae4a7 100644 --- a/bizinikiwi/client/merkle-mountain-range/src/lib.rs +++ b/bizinikiwi/client/merkle-mountain-range/src/lib.rs @@ -201,12 +201,12 @@ where }, }; - let mmr_gadget = MmrGadget:: { + let pezmmr_gadget = MmrGadget:: { finality_notifications: client.finality_notification_stream(), _phantom: Default::default(), }; - mmr_gadget + pezmmr_gadget .run(OffchainMmrBuilder { backend, client, @@ -220,14 +220,14 @@ where #[cfg(test)] 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 std::time::Duration; #[test] fn mmr_first_block_is_computed_correctly() { // 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 // | // | -> first mmr block @@ -243,7 +243,7 @@ mod tests { }); // 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 // | // | -> first mmr block @@ -265,7 +265,7 @@ mod tests { #[test] 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 // | // | -> first mmr block diff --git a/bizinikiwi/client/merkle-mountain-range/src/offchain_mmr.rs b/bizinikiwi/client/merkle-mountain-range/src/offchain_mmr.rs index 1810f123..8de8fad8 100644 --- a/bizinikiwi/client/merkle-mountain-range/src/offchain_mmr.rs +++ b/bizinikiwi/client/merkle-mountain-range/src/offchain_mmr.rs @@ -279,14 +279,14 @@ where #[cfg(test)] 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 pezsp_runtime::generic::BlockId; use std::{sync::Arc, time::Duration}; #[test] fn canonicalize_and_prune_works_correctly() { - run_test_with_mmr_gadget(|client| async move { + run_test_with_pezmmr_gadget(|client| async move { // -> D4 -> D5 // G -> A1 -> A2 -> A3 -> A4 // -> B1 -> B2 -> B3 @@ -325,7 +325,7 @@ mod tests { #[test] 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 // | | // | | -> pallet reset @@ -357,7 +357,7 @@ mod tests { fn canonicalize_catchup_works_correctly() { let mmr_blocks = Arc::new(Mutex::new(vec![])); let mmr_blocks_ref = mmr_blocks.clone(); - run_test_with_mmr_gadget_pre_post( + run_test_with_pezmmr_gadget_pre_post( |client| async move { // G -> A1 -> A2 // | | @@ -402,7 +402,7 @@ mod tests { fn canonicalize_catchup_works_correctly_with_pallet_reset() { let mmr_blocks = Arc::new(Mutex::new(vec![])); let mmr_blocks_ref = mmr_blocks.clone(); - run_test_with_mmr_gadget_pre_post( + run_test_with_pezmmr_gadget_pre_post( |client| async move { // G -> A1 -> A2 // | | diff --git a/bizinikiwi/client/merkle-mountain-range/src/test_utils.rs b/bizinikiwi/client/merkle-mountain-range/src/test_utils.rs index 8dce18fa..924ed33e 100644 --- a/bizinikiwi/client/merkle-mountain-range/src/test_utils.rs +++ b/bizinikiwi/client/merkle-mountain-range/src/test_utils.rs @@ -334,15 +334,15 @@ pezsp_api::mock_impl_runtime_apis! { } } -pub(crate) fn run_test_with_mmr_gadget(post_gadget: F) +pub(crate) fn run_test_with_pezmmr_gadget(post_gadget: F) where F: FnOnce(Arc) -> Fut + 'static, Fut: Future, { - 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(pre_gadget: F, post_gadget: G) +pub(crate) fn run_test_with_pezmmr_gadget_pre_post(pre_gadget: F, post_gadget: G) where F: FnOnce(Arc) -> RetF + 'static, G: FnOnce(Arc) -> RetG + 'static, @@ -350,10 +350,10 @@ where RetG: Future, { 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( +pub(crate) fn run_test_with_pezmmr_gadget_pre_post_using_client( client: Arc, pre_gadget: F, post_gadget: G, diff --git a/bizinikiwi/client/network/sync/Cargo.toml b/bizinikiwi/client/network/sync/Cargo.toml index 720601da..356b078f 100644 --- a/bizinikiwi/client/network/sync/Cargo.toml +++ b/bizinikiwi/client/network/sync/Cargo.toml @@ -20,7 +20,7 @@ array-bytes = { workspace = true, default-features = true } async-channel = { workspace = true } async-trait = { workspace = 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 } log = { workspace = true, default-features = true } mockall = { workspace = true } diff --git a/bizinikiwi/client/network/sync/src/justification_requests.rs b/bizinikiwi/client/network/sync/src/justification_requests.rs index 9776832e..ce93df4e 100644 --- a/bizinikiwi/client/network/sync/src/justification_requests.rs +++ b/bizinikiwi/client/network/sync/src/justification_requests.rs @@ -24,7 +24,7 @@ use crate::{ strategy::chain_sync::{PeerSync, PeerSyncState}, LOG_TARGET, }; -use fork_tree::ForkTree; +use pez_fork_tree::ForkTree; use log::{debug, trace, warn}; use prometheus_endpoint::{ prometheus::core::GenericGauge, register, GaugeVec, Opts, PrometheusError, Registry, U64, @@ -154,7 +154,7 @@ impl ExtraRequests { metrics.pending.inc(); } }, - Err(fork_tree::Error::Revert) => { + Err(pez_fork_tree::Error::Revert) => { // we have finalized further than the given request, presumably // by some other part of the system (not sync). we can safely // ignore the `Revert` error. @@ -230,7 +230,7 @@ impl ExtraRequests { best_finalized_hash: &B::Hash, best_finalized_number: NumberFor, is_descendent_of: F, - ) -> Result<(), fork_tree::Error> + ) -> Result<(), pez_fork_tree::Error> where F: Fn(&B::Hash, &B::Hash) -> Result, { @@ -247,7 +247,7 @@ impl ExtraRequests { best_finalized_number, &is_descendent_of, ) { - Err(fork_tree::Error::Revert) => { + Err(pez_fork_tree::Error::Revert) => { // we might have finalized further already in which case we // will get a `Revert` error which we can safely ignore. }, diff --git a/bizinikiwi/client/transaction-pool/tests/integration.rs b/bizinikiwi/client/transaction-pool/tests/integration.rs index f79d0b0b..b6a3986f 100644 --- a/bizinikiwi/client/transaction-pool/tests/integration.rs +++ b/bizinikiwi/client/transaction-pool/tests/integration.rs @@ -45,7 +45,7 @@ async fn send_future_and_ready_from_many_accounts_to_teyrchain() { net.wait_for_block("charlie", BlockSubscriptionType::Best).await.unwrap(); // 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) .with_rpc_uri(ws.clone()) .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(); // 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) .with_rpc_uri(ws.clone()) .with_start_id(0) @@ -154,7 +154,7 @@ async fn send_future_mortal_txs() { net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap(); // 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) .with_rpc_uri(ws.clone()) .with_start_id(0) @@ -228,7 +228,7 @@ async fn send_lower_priority_mortal_txs() { net.wait_for_block("alice", BlockSubscriptionType::Finalized).await.unwrap(); // 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) .with_rpc_uri(ws.clone()) .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(); // 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) .with_rpc_uri(ws) .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(); // 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) .with_rpc_uri(ws.clone()) .with_start_id(0) @@ -375,7 +375,7 @@ async fn gossiping() { net.wait_for_block("a00", BlockSubscriptionType::Best).await.unwrap(); // 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) .with_rpc_uri(ws) .with_start_id(0) @@ -402,7 +402,7 @@ async fn send_batch( to: u32, prio: u32, ) -> 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"); default_zn_scenario_builder(net) .with_rpc_uri(ws) diff --git a/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs b/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs index 47b81228..54114df9 100644 --- a/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs +++ b/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs @@ -209,7 +209,7 @@ impl NetworkSpawner { } /// Get a certain node rpc uri. - pub fn node_rpc_uri(&self, node_name: &str) -> Result { + pub fn pez_node_rpc_uri(&self, node_name: &str) -> Result { self.network .get_node(node_name) .and_then(|node| Ok(node.ws_uri().to_string())) diff --git a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs index 69299a86..201a43d9 100644 --- a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs +++ b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs @@ -114,7 +114,7 @@ async fn slot_based_3cores_test() -> Result<(), anyhow::Error> { spawner.wait_for_block("dave", BlockSubscriptionType::Best).await.unwrap(); // Create txs executor. - let ws = spawner.node_rpc_uri("dave").unwrap(); + let ws = spawner.pez_node_rpc_uri("dave").unwrap(); let executor = { let shared_params = ScenarioBuilderSharedParams::default(); ScenarioBuilder::new() diff --git a/bizinikiwi/docker/README.md b/bizinikiwi/docker/README.md index 353d4fb8..f1844333 100644 --- a/bizinikiwi/docker/README.md +++ b/bizinikiwi/docker/README.md @@ -10,7 +10,7 @@ You should refer to the [.Dockerfile](./bizinikiwi_builder.Dockerfile) for the a list of included binaries is: - `bizinikiwi` -- `subkey` +- `pez_subkey` - `node-template` - `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: - `./run.sh bizinikiwi --version` -- `./run.sh subkey --help` +- `./run.sh pez_subkey --help` - `./run.sh node-template --version` - `./run.sh chain-spec-builder --help` diff --git a/bizinikiwi/docs/CHANGELOG.md b/bizinikiwi/docs/CHANGELOG.md index c68ebc9b..69149050 100644 --- a/bizinikiwi/docs/CHANGELOG.md +++ b/bizinikiwi/docs/CHANGELOG.md @@ -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) * Use Subscription Manager from `jsonrpc-pubsub` (#6208) * 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 @@ -434,7 +434,7 @@ PR](https://github.com/pezkuwichain/kurdistan-sdk/issues/56). * enum Pays for PaysFee (#5733) * Migrate away from `SimpleDispatchInfo` (#5686) * 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) * Adjustments to Kademlia-related metrics (#5660) * client/authority-discovery: Allow to be run by sentry node (#5568) diff --git a/bizinikiwi/docs/Upgrading-2.0-to-3.0.md b/bizinikiwi/docs/Upgrading-2.0-to-3.0.md index 85a5c72c..efc85cf4 100644 --- a/bizinikiwi/docs/Upgrading-2.0-to-3.0.md +++ b/bizinikiwi/docs/Upgrading-2.0-to-3.0.md @@ -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` anymore](https://github.com/pezkuwichain/kurdistan-sdk/commit/13cdf1c8cd2ee62d411f82b64dc7eba860c9c6c6), if no chain is 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 requires you to now add the `&cli` as a param. ```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 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_rpc::BabeRpcHandler; @@ -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 sc_consensus_babe; -use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider}; - use node_primitives::Block; + use pez_node_primitives::Block; use node_runtime::RuntimeApi; use sc_service::{ - 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 rpc_extensions_builder = move |deny_unsafe, subscription_executor| { - let deps = node_rpc::FullDeps { + let deps = pez_node_rpc::FullDeps { client: client.clone(), pool: pool.clone(), select_chain: select_chain.clone(), + chain_spec: chain_spec.cloned_box(), deny_unsafe, - babe: node_rpc::BabeDeps { + babe: pez_node_rpc::BabeDeps { babe_config: babe_config.clone(), @@ -151,9 +150,15 @@ pub fn new_partial(config: &Configuration) -> Result 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, telemetry_connection_notifier) = diff --git a/bizinikiwi/docs/node-template-release.md b/bizinikiwi/docs/pez-node-template-release.md similarity index 90% rename from bizinikiwi/docs/node-template-release.md rename to bizinikiwi/docs/pez-node-template-release.md index e71373e2..ecccfad0 100644 --- a/bizinikiwi/docs/node-template-release.md +++ b/bizinikiwi/docs/pez-node-template-release.md @@ -7,7 +7,7 @@ ID in the remote repository. Assume you are in root directory of Bizinikiwi. Run: ```bash -cd scripts/ci/ ./node-template-release.sh +cd scripts/ci/ ./pez-node-template-release.sh ``` ## 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 } ``` -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 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 -- Running the script `./node-template-release.sh `, after all tests passed successfully, seeing the +- Running the script `./pez-node-template-release.sh `, after all tests passed successfully, seeing the following error message: ``` diff --git a/bizinikiwi/pezframe/alliance/src/weights.rs b/bizinikiwi/pezframe/alliance/src/weights.rs index 669152ff..fc24f705 100644 --- a/bizinikiwi/pezframe/alliance/src/weights.rs +++ b/bizinikiwi/pezframe/alliance/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_alliance // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/alliance/src/weights.rs diff --git a/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs b/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs index ea0536e4..643b9038 100644 --- a/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs +++ b/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/ops/src/weights.rs diff --git a/bizinikiwi/pezframe/asset-conversion/src/weights.rs b/bizinikiwi/pezframe/asset-conversion/src/weights.rs index b5f4a5cc..eb1c4f54 100644 --- a/bizinikiwi/pezframe/asset-conversion/src/weights.rs +++ b/bizinikiwi/pezframe/asset-conversion/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-conversion/src/weights.rs diff --git a/bizinikiwi/pezframe/asset-rate/src/weights.rs b/bizinikiwi/pezframe/asset-rate/src/weights.rs index fc85feb0..dc56d45a 100644 --- a/bizinikiwi/pezframe/asset-rate/src/weights.rs +++ b/bizinikiwi/pezframe/asset-rate/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rate/src/weights.rs diff --git a/bizinikiwi/pezframe/asset-rewards/src/weights.rs b/bizinikiwi/pezframe/asset-rewards/src/weights.rs index c1f6d6ce..be427a20 100644 --- a/bizinikiwi/pezframe/asset-rewards/src/weights.rs +++ b/bizinikiwi/pezframe/asset-rewards/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/asset-rewards/src/weights.rs diff --git a/bizinikiwi/pezframe/assets/precompiles/Cargo.toml b/bizinikiwi/pezframe/assets/precompiles/Cargo.toml index fcf379e9..15463585 100644 --- a/bizinikiwi/pezframe/assets/precompiles/Cargo.toml +++ b/bizinikiwi/pezframe/assets/precompiles/Cargo.toml @@ -16,7 +16,7 @@ workspace = true targets = ["x86_64-unknown-linux-gnu"] [dependencies] -ethereum-standards = { workspace = true } +pez-ethereum-standards = { workspace = true } pezframe-support = { workspace = true } pezpallet-assets = { workspace = true } pezpallet-revive = { workspace = true } diff --git a/bizinikiwi/pezframe/assets/precompiles/src/lib.rs b/bizinikiwi/pezframe/assets/precompiles/src/lib.rs index 98a8c173..51ecfe83 100644 --- a/bizinikiwi/pezframe/assets/precompiles/src/lib.rs +++ b/bizinikiwi/pezframe/assets/precompiles/src/lib.rs @@ -22,7 +22,7 @@ extern crate alloc; use alloc::vec::Vec; use core::marker::PhantomData; -use ethereum_standards::{ +use pez_ethereum_standards::{ IERC20, IERC20::{IERC20Calls, IERC20Events}, }; diff --git a/bizinikiwi/pezframe/assets/src/weights.rs b/bizinikiwi/pezframe/assets/src/weights.rs index bc3cc987..4f780b03 100644 --- a/bizinikiwi/pezframe/assets/src/weights.rs +++ b/bizinikiwi/pezframe/assets/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_assets // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/assets/src/weights.rs diff --git a/bizinikiwi/pezframe/babe/src/weights.rs b/bizinikiwi/pezframe/babe/src/weights.rs index e096c0d2..ce72d529 100644 --- a/bizinikiwi/pezframe/babe/src/weights.rs +++ b/bizinikiwi/pezframe/babe/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_babe // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/babe/src/weights.rs diff --git a/bizinikiwi/pezframe/bags-list/src/lib.rs b/bizinikiwi/pezframe/bags-list/src/lib.rs index acbc3103..112e273d 100644 --- a/bizinikiwi/pezframe/bags-list/src/lib.rs +++ b/bizinikiwi/pezframe/bags-list/src/lib.rs @@ -217,7 +217,7 @@ pub mod pallet { /// there exists some constant ratio such that `threshold[k + 1] == (threshold[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 /// diff --git a/bizinikiwi/pezframe/bags-list/src/weights.rs b/bizinikiwi/pezframe/bags-list/src/weights.rs index b6488bbe..fafa07b4 100644 --- a/bizinikiwi/pezframe/bags-list/src/weights.rs +++ b/bizinikiwi/pezframe/bags-list/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bags-list/src/weights.rs diff --git a/bizinikiwi/pezframe/balances/src/weights.rs b/bizinikiwi/pezframe/balances/src/weights.rs index 914f419a..63cc94b5 100644 --- a/bizinikiwi/pezframe/balances/src/weights.rs +++ b/bizinikiwi/pezframe/balances/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_balances // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/balances/src/weights.rs diff --git a/bizinikiwi/pezframe/beefy-mmr/src/weights.rs b/bizinikiwi/pezframe/beefy-mmr/src/weights.rs index de2a2635..57fd0d5b 100644 --- a/bizinikiwi/pezframe/beefy-mmr/src/weights.rs +++ b/bizinikiwi/pezframe/beefy-mmr/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/beefy-mmr/src/weights.rs diff --git a/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs b/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs index 46e86767..5ce3a3e3 100644 --- a/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs +++ b/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/pov/src/weights.rs diff --git a/bizinikiwi/pezframe/benchmarking/src/weights.rs b/bizinikiwi/pezframe/benchmarking/src/weights.rs index 1116ecd5..0084e211 100644 --- a/bizinikiwi/pezframe/benchmarking/src/weights.rs +++ b/bizinikiwi/pezframe/benchmarking/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezframe_benchmarking // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/benchmarking/src/weights.rs diff --git a/bizinikiwi/pezframe/bounties/src/weights.rs b/bizinikiwi/pezframe/bounties/src/weights.rs index 76249d7e..3c1afdc4 100644 --- a/bizinikiwi/pezframe/bounties/src/weights.rs +++ b/bizinikiwi/pezframe/bounties/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_bounties // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/bounties/src/weights.rs diff --git a/bizinikiwi/pezframe/broker/src/weights.rs b/bizinikiwi/pezframe/broker/src/weights.rs index 9232b917..9bc9891f 100644 --- a/bizinikiwi/pezframe/broker/src/weights.rs +++ b/bizinikiwi/pezframe/broker/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_broker // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/broker/src/weights.rs diff --git a/bizinikiwi/pezframe/child-bounties/src/weights.rs b/bizinikiwi/pezframe/child-bounties/src/weights.rs index 85277df5..9dad242d 100644 --- a/bizinikiwi/pezframe/child-bounties/src/weights.rs +++ b/bizinikiwi/pezframe/child-bounties/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/child-bounties/src/weights.rs diff --git a/bizinikiwi/pezframe/collective/src/weights.rs b/bizinikiwi/pezframe/collective/src/weights.rs index b96a9e05..c134f052 100644 --- a/bizinikiwi/pezframe/collective/src/weights.rs +++ b/bizinikiwi/pezframe/collective/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_collective // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/collective/src/weights.rs diff --git a/bizinikiwi/pezframe/contracts/mock-network/Cargo.toml b/bizinikiwi/pezframe/contracts/mock-network/Cargo.toml index 5d47eb1b..25274967 100644 --- a/bizinikiwi/pezframe/contracts/mock-network/Cargo.toml +++ b/bizinikiwi/pezframe/contracts/mock-network/Cargo.toml @@ -37,7 +37,7 @@ pezsp-tracing = { workspace = true, default-features = true } xcm = { workspace = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [dev-dependencies] pezpallet-contracts-fixtures = { workspace = true } @@ -80,6 +80,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/bizinikiwi/pezframe/contracts/mock-network/src/lib.rs b/bizinikiwi/pezframe/contracts/mock-network/src/lib.rs index 1d8e281a..b89c5c5c 100644 --- a/bizinikiwi/pezframe/contracts/mock-network/src/lib.rs +++ b/bizinikiwi/pezframe/contracts/mock-network/src/lib.rs @@ -27,8 +27,8 @@ pub use pezpallet_contracts::test_utils::{ALICE, BOB}; use pezsp_runtime::BuildStorage; use xcm::latest::prelude::*; use xcm_executor::traits::ConvertLocation; -pub use xcm_simulator::TestExt; -use xcm_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain}; +pub use xcm_pez_simulator::TestExt; +use xcm_pez_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain}; // Accounts pub const ADMIN: pezsp_runtime::AccountId32 = pezsp_runtime::AccountId32::new([0u8; 32]); diff --git a/bizinikiwi/pezframe/contracts/mock-network/src/mocks/relay_message_queue.rs b/bizinikiwi/pezframe/contracts/mock-network/src/mocks/relay_message_queue.rs index 420f210e..d0ad2d03 100644 --- a/bizinikiwi/pezframe/contracts/mock-network/src/mocks/relay_message_queue.rs +++ b/bizinikiwi/pezframe/contracts/mock-network/src/mocks/relay_message_queue.rs @@ -16,7 +16,7 @@ use pezframe_support::{parameter_types, weights::Weight}; use xcm::latest::prelude::*; -use xcm_simulator::{ +use xcm_pez_simulator::{ AggregateMessageOrigin, ProcessMessage, ProcessMessageError, UmpQueueId, WeightMeter, }; diff --git a/bizinikiwi/pezframe/contracts/mock-network/src/tests.rs b/bizinikiwi/pezframe/contracts/mock-network/src/tests.rs index f96cedb1..d1c79692 100644 --- a/bizinikiwi/pezframe/contracts/mock-network/src/tests.rs +++ b/bizinikiwi/pezframe/contracts/mock-network/src/tests.rs @@ -28,7 +28,7 @@ use pezpallet_contracts::{test_utils::builder::*, Code}; use pezpallet_contracts_fixtures::compile_module; use pezpallet_contracts_uapi::ReturnErrorCode; use xcm::{v4::prelude::*, VersionedLocation, VersionedXcm}; -use xcm_simulator::TestExt; +use xcm_pez_simulator::TestExt; macro_rules! assert_return_code { ( $x:expr , $y:expr $(,)? ) => {{ diff --git a/bizinikiwi/pezframe/contracts/src/weights.rs b/bizinikiwi/pezframe/contracts/src/weights.rs index 6ee34626..0e5fbffe 100644 --- a/bizinikiwi/pezframe/contracts/src/weights.rs +++ b/bizinikiwi/pezframe/contracts/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_contracts // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/contracts/src/weights.rs diff --git a/bizinikiwi/pezframe/conviction-voting/src/weights.rs b/bizinikiwi/pezframe/conviction-voting/src/weights.rs index cad9cb23..0c4db27d 100644 --- a/bizinikiwi/pezframe/conviction-voting/src/weights.rs +++ b/bizinikiwi/pezframe/conviction-voting/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/conviction-voting/src/weights.rs diff --git a/bizinikiwi/pezframe/core-fellowship/src/weights.rs b/bizinikiwi/pezframe/core-fellowship/src/weights.rs index 137396c1..b802e7fd 100644 --- a/bizinikiwi/pezframe/core-fellowship/src/weights.rs +++ b/bizinikiwi/pezframe/core-fellowship/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/core-fellowship/src/weights.rs diff --git a/bizinikiwi/pezframe/democracy/src/weights.rs b/bizinikiwi/pezframe/democracy/src/weights.rs index 4f5b4f6a..96c6b4d7 100644 --- a/bizinikiwi/pezframe/democracy/src/weights.rs +++ b/bizinikiwi/pezframe/democracy/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_democracy // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/democracy/src/weights.rs diff --git a/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs b/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs index 254b4d9a..dfa88329 100644 --- a/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs +++ b/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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 // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/election-provider-multi-phase/src/weights.rs diff --git a/bizinikiwi/pezframe/election-provider-support/benchmarking/src/weights.rs b/bizinikiwi/pezframe/election-provider-support/benchmarking/src/weights.rs index ee1984a8..10221851 100644 --- a/bizinikiwi/pezframe/election-provider-support/benchmarking/src/weights.rs +++ b/bizinikiwi/pezframe/election-provider-support/benchmarking/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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_support_benchmarking // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/election-provider-support/benchmarking/src/weights.rs diff --git a/bizinikiwi/pezframe/elections-phragmen/src/weights.rs b/bizinikiwi/pezframe/elections-phragmen/src/weights.rs index 92f29d84..902a981f 100644 --- a/bizinikiwi/pezframe/elections-phragmen/src/weights.rs +++ b/bizinikiwi/pezframe/elections-phragmen/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_elections_phragmen // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/elections-phragmen/src/weights.rs diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs index 8210f55f..642b43db 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/lib.rs @@ -21,7 +21,7 @@ //! //! This pallet serves as a minimal example of a pallet that uses the [Multi-Block Migrations //! Framework](pezframe_support::migrations). You can observe how to configure it in a runtime in the -//! `kitchensink-runtime` crate. +//! `pez-kitchensink-runtime` crate. //! //! ## Introduction and Purpose //! diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/mod.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/mod.rs index 757168b4..e0b84933 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/mod.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/mod.rs @@ -26,4 +26,4 @@ pub mod v1; /// It helps differentiate migrations for this pallet from those of others. Note that we don't /// directly pull the crate name from the environment, since that would change if the crate were /// ever to be renamed and could cause historic migrations to run again. -pub const PALLET_MIGRATIONS_ID: &[u8; 18] = b"pezpallet-example-mbm"; +pub const PALLET_MIGRATIONS_ID: &[u8; 21] = b"pezpallet-example-mbm"; diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/mod.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/mod.rs index 7ed4f5ae..01ba6ee3 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/mod.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/mod.rs @@ -66,7 +66,7 @@ pub struct LazyMigrationV1(PhantomData<(T, W) impl SteppedMigration for LazyMigrationV1 { type Cursor = u32; // Without the explicit length here the construction of the ID would not be infallible. - type Identifier = MigrationId<18>; + type Identifier = MigrationId<21>; /// The identifier of this migration. Which should be globally unique. fn id() -> Self::Identifier { diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/weights.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/weights.rs index 4ea672a1..ffee0360 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/weights.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/migrations/v1/weights.rs @@ -29,7 +29,7 @@ // benchmark // pallet // --runtime -// target/release/wbuild/kitchensink-runtime/kitchensink_runtime.compact.compressed.wasm +// target/release/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.compact.compressed.wasm // --pallet // pezpallet_example_mbm // --extrinsic diff --git a/bizinikiwi/pezframe/examples/multi-block-migrations/src/weights.rs b/bizinikiwi/pezframe/examples/multi-block-migrations/src/weights.rs index c06b65e2..451f4e73 100644 --- a/bizinikiwi/pezframe/examples/multi-block-migrations/src/weights.rs +++ b/bizinikiwi/pezframe/examples/multi-block-migrations/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_example_mbm // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/examples/multi-block-migrations/src/weights.rs diff --git a/bizinikiwi/pezframe/examples/tasks/src/weights.rs b/bizinikiwi/pezframe/examples/tasks/src/weights.rs index 8413b9e8..a8dfc602 100644 --- a/bizinikiwi/pezframe/examples/tasks/src/weights.rs +++ b/bizinikiwi/pezframe/examples/tasks/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_example_tasks // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/examples/tasks/src/weights.rs diff --git a/bizinikiwi/pezframe/fast-unstake/src/weights.rs b/bizinikiwi/pezframe/fast-unstake/src/weights.rs index 1759a9d8..70e9d9f3 100644 --- a/bizinikiwi/pezframe/fast-unstake/src/weights.rs +++ b/bizinikiwi/pezframe/fast-unstake/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_fast_unstake // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/fast-unstake/src/weights.rs diff --git a/bizinikiwi/pezframe/glutton/src/weights.rs b/bizinikiwi/pezframe/glutton/src/weights.rs index d703bb29..a6ffa5c7 100644 --- a/bizinikiwi/pezframe/glutton/src/weights.rs +++ b/bizinikiwi/pezframe/glutton/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_glutton // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/glutton/src/weights.rs diff --git a/bizinikiwi/pezframe/grandpa/src/weights.rs b/bizinikiwi/pezframe/grandpa/src/weights.rs index 464eed2a..42fecec5 100644 --- a/bizinikiwi/pezframe/grandpa/src/weights.rs +++ b/bizinikiwi/pezframe/grandpa/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_grandpa // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/grandpa/src/weights.rs diff --git a/bizinikiwi/pezframe/honzon/oracle/src/weights.rs b/bizinikiwi/pezframe/honzon/oracle/src/weights.rs index 51bde5a7..2caf2fc3 100644 --- a/bizinikiwi/pezframe/honzon/oracle/src/weights.rs +++ b/bizinikiwi/pezframe/honzon/oracle/src/weights.rs @@ -29,7 +29,7 @@ // benchmark // pallet // --extrinsic=all -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_oracle // --header=bizinikiwi/HEADER-APACHE2 // --output=bizinikiwi/pezframe/honzon/oracle/src/weights.rs diff --git a/bizinikiwi/pezframe/identity/src/migration.rs b/bizinikiwi/pezframe/identity/src/migration.rs index 3b608a6a..14e56a84 100644 --- a/bizinikiwi/pezframe/identity/src/migration.rs +++ b/bizinikiwi/pezframe/identity/src/migration.rs @@ -30,7 +30,7 @@ use codec::{Decode, Encode}; #[cfg(feature = "try-runtime")] use pezsp_runtime::TryRuntimeError; -pub const PALLET_MIGRATIONS_ID: &[u8; 15] = b"pezpallet-identity"; +pub const PALLET_MIGRATIONS_ID: &[u8; 18] = b"pezpallet-identity"; pub mod versioned { use super::*; @@ -233,7 +233,7 @@ pub mod v2 { pub struct LazyMigrationV1ToV2(PhantomData); impl SteppedMigration for LazyMigrationV1ToV2 { type Cursor = MigrationState, Suffix>; - type Identifier = MigrationId<15>; + type Identifier = MigrationId<18>; fn id() -> Self::Identifier { MigrationId { pezpallet_id: *PALLET_MIGRATIONS_ID, version_from: 1, version_to: 2 } diff --git a/bizinikiwi/pezframe/identity/src/weights.rs b/bizinikiwi/pezframe/identity/src/weights.rs index c1b51fcc..dd5e421d 100644 --- a/bizinikiwi/pezframe/identity/src/weights.rs +++ b/bizinikiwi/pezframe/identity/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_identity // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/identity/src/weights.rs diff --git a/bizinikiwi/pezframe/im-online/src/weights.rs b/bizinikiwi/pezframe/im-online/src/weights.rs index 6d813867..32b2445c 100644 --- a/bizinikiwi/pezframe/im-online/src/weights.rs +++ b/bizinikiwi/pezframe/im-online/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_im_online // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/im-online/src/weights.rs diff --git a/bizinikiwi/pezframe/indices/src/weights.rs b/bizinikiwi/pezframe/indices/src/weights.rs index dbfc93b9..28adce06 100644 --- a/bizinikiwi/pezframe/indices/src/weights.rs +++ b/bizinikiwi/pezframe/indices/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_indices // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/indices/src/weights.rs diff --git a/bizinikiwi/pezframe/lottery/src/weights.rs b/bizinikiwi/pezframe/lottery/src/weights.rs index da4b2178..55f9b6ed 100644 --- a/bizinikiwi/pezframe/lottery/src/weights.rs +++ b/bizinikiwi/pezframe/lottery/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_lottery // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/lottery/src/weights.rs diff --git a/bizinikiwi/pezframe/membership/src/weights.rs b/bizinikiwi/pezframe/membership/src/weights.rs index 12262f75..d71d8b06 100644 --- a/bizinikiwi/pezframe/membership/src/weights.rs +++ b/bizinikiwi/pezframe/membership/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_membership // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/membership/src/weights.rs diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs index d872cc83..289b8dd3 100644 --- a/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs +++ b/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_mmr // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs diff --git a/bizinikiwi/pezframe/message-queue/src/weights.rs b/bizinikiwi/pezframe/message-queue/src/weights.rs index ebd88ebc..1eda3aa2 100644 --- a/bizinikiwi/pezframe/message-queue/src/weights.rs +++ b/bizinikiwi/pezframe/message-queue/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_message_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/message-queue/src/weights.rs diff --git a/bizinikiwi/pezframe/migrations/src/weights.rs b/bizinikiwi/pezframe/migrations/src/weights.rs index 66589709..adf0e234 100644 --- a/bizinikiwi/pezframe/migrations/src/weights.rs +++ b/bizinikiwi/pezframe/migrations/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_migrations // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/migrations/src/weights.rs diff --git a/bizinikiwi/pezframe/multi-asset-bounties/src/weights.rs b/bizinikiwi/pezframe/multi-asset-bounties/src/weights.rs index 06f28166..c093f05a 100644 --- a/bizinikiwi/pezframe/multi-asset-bounties/src/weights.rs +++ b/bizinikiwi/pezframe/multi-asset-bounties/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_multi_asset_bounties // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/multi-asset-bounties/src/weights.rs diff --git a/bizinikiwi/pezframe/multisig/src/weights.rs b/bizinikiwi/pezframe/multisig/src/weights.rs index ca530fe0..0028fec9 100644 --- a/bizinikiwi/pezframe/multisig/src/weights.rs +++ b/bizinikiwi/pezframe/multisig/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_multisig // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/multisig/src/weights.rs diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs b/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs index 5f8b0164..38bbeb19 100644 --- a/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs +++ b/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_nft_fractionalization // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs diff --git a/bizinikiwi/pezframe/nfts/src/weights.rs b/bizinikiwi/pezframe/nfts/src/weights.rs index f228a234..4110d9c5 100644 --- a/bizinikiwi/pezframe/nfts/src/weights.rs +++ b/bizinikiwi/pezframe/nfts/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_nfts // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/nfts/src/weights.rs diff --git a/bizinikiwi/pezframe/nis/src/weights.rs b/bizinikiwi/pezframe/nis/src/weights.rs index 19c8b8ab..7a6b95ed 100644 --- a/bizinikiwi/pezframe/nis/src/weights.rs +++ b/bizinikiwi/pezframe/nis/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_nis // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/nis/src/weights.rs diff --git a/bizinikiwi/pezframe/offences/src/weights.rs b/bizinikiwi/pezframe/offences/src/weights.rs index fe468048..412403c1 100644 --- a/bizinikiwi/pezframe/offences/src/weights.rs +++ b/bizinikiwi/pezframe/offences/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_offences // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/offences/src/weights.rs diff --git a/bizinikiwi/pezframe/parameters/src/weights.rs b/bizinikiwi/pezframe/parameters/src/weights.rs index 6d12f2c5..78196ab4 100644 --- a/bizinikiwi/pezframe/parameters/src/weights.rs +++ b/bizinikiwi/pezframe/parameters/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_parameters // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/parameters/src/weights.rs diff --git a/bizinikiwi/pezframe/preimage/src/weights.rs b/bizinikiwi/pezframe/preimage/src/weights.rs index 88c819f5..67e817bc 100644 --- a/bizinikiwi/pezframe/preimage/src/weights.rs +++ b/bizinikiwi/pezframe/preimage/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_preimage // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/preimage/src/weights.rs diff --git a/bizinikiwi/pezframe/proxy/src/weights.rs b/bizinikiwi/pezframe/proxy/src/weights.rs index 77e64b48..68125533 100644 --- a/bizinikiwi/pezframe/proxy/src/weights.rs +++ b/bizinikiwi/pezframe/proxy/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_proxy // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/proxy/src/weights.rs diff --git a/bizinikiwi/pezframe/ranked-collective/src/weights.rs b/bizinikiwi/pezframe/ranked-collective/src/weights.rs index 3dd98ff0..f8e7c744 100644 --- a/bizinikiwi/pezframe/ranked-collective/src/weights.rs +++ b/bizinikiwi/pezframe/ranked-collective/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_ranked_collective // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/ranked-collective/src/weights.rs diff --git a/bizinikiwi/pezframe/recovery/src/weights.rs b/bizinikiwi/pezframe/recovery/src/weights.rs index f4591935..f5e2d85f 100644 --- a/bizinikiwi/pezframe/recovery/src/weights.rs +++ b/bizinikiwi/pezframe/recovery/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_recovery // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/recovery/src/weights.rs diff --git a/bizinikiwi/pezframe/referenda/src/weights.rs b/bizinikiwi/pezframe/referenda/src/weights.rs index 0dcf042c..2b8cac98 100644 --- a/bizinikiwi/pezframe/referenda/src/weights.rs +++ b/bizinikiwi/pezframe/referenda/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_referenda // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/referenda/src/weights.rs diff --git a/bizinikiwi/pezframe/revive/Cargo.toml b/bizinikiwi/pezframe/revive/Cargo.toml index 39efb175..8dab9bc4 100644 --- a/bizinikiwi/pezframe/revive/Cargo.toml +++ b/bizinikiwi/pezframe/revive/Cargo.toml @@ -24,7 +24,7 @@ alloy-trie = { workspace = true } codec = { features = ["derive", "max-encoded-len"], workspace = true } derive_more = { workspace = true, features = ["from", "try_into"] } environmental = { workspace = true } -ethereum-standards = { workspace = true } +pez-ethereum-standards = { workspace = true } ethereum-types = { workspace = true, features = ["codec", "rlp", "serialize"] } hex-literal = { workspace = true } humantime-serde = { optional = true, workspace = true } diff --git a/bizinikiwi/pezframe/revive/dev-node/node/Cargo.toml b/bizinikiwi/pezframe/revive/dev-node/node/Cargo.toml index 8fb97694..6145fbe6 100644 --- a/bizinikiwi/pezframe/revive/dev-node/node/Cargo.toml +++ b/bizinikiwi/pezframe/revive/dev-node/node/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "revive-dev-node" +name = "pez-revive-dev-node" description = "A development Bizinikiwi-based Bizinikiwi node, equipped with pezpallet-revive." version = "0.0.0" authors.workspace = true @@ -8,7 +8,7 @@ repository.workspace = true edition.workspace = true publish = false build = "build.rs" -documentation = "https://docs.rs/revive-dev-node" +documentation = "https://docs.rs/pez-revive-dev-node" license = { workspace = true } [package.metadata.docs.rs] @@ -25,15 +25,15 @@ futures-timer = { workspace = true } jsonrpsee = { features = ["server"], workspace = true } pezkuwi-sdk = { workspace = true, features = ["experimental", "node"] } -revive-dev-runtime = { workspace = true } +pez-revive-dev-runtime = { workspace = true } [build-dependencies] pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] } [features] default = ["std"] -std = ["pezkuwi-sdk/std", "revive-dev-runtime/std"] +std = ["pezkuwi-sdk/std", "pez-revive-dev-runtime/std"] runtime-benchmarks = [ "pezkuwi-sdk/runtime-benchmarks", - "revive-dev-runtime/runtime-benchmarks", + "pez-revive-dev-runtime/runtime-benchmarks", ] diff --git a/bizinikiwi/pezframe/revive/dev-node/node/src/chain_spec.rs b/bizinikiwi/pezframe/revive/dev-node/node/src/chain_spec.rs index 29fcd591..3f762436 100644 --- a/bizinikiwi/pezframe/revive/dev-node/node/src/chain_spec.rs +++ b/bizinikiwi/pezframe/revive/dev-node/node/src/chain_spec.rs @@ -19,7 +19,7 @@ use pezkuwi_sdk::{ pezsc_service::{ChainType, Properties}, *, }; -use revive_dev_runtime::WASM_BINARY; +use pez_revive_dev_runtime::WASM_BINARY; /// This is a specialization of the general Bizinikiwi ChainSpec type. pub type ChainSpec = pezsc_service::GenericChainSpec; diff --git a/bizinikiwi/pezframe/revive/dev-node/node/src/command.rs b/bizinikiwi/pezframe/revive/dev-node/node/src/command.rs index 0776f6fc..14da51ec 100644 --- a/bizinikiwi/pezframe/revive/dev-node/node/src/command.rs +++ b/bizinikiwi/pezframe/revive/dev-node/node/src/command.rs @@ -119,7 +119,7 @@ pub fn run_with_args(args: Vec) -> pezsc_cli::Result<()> { }, Some(Subcommand::ChainInfo(cmd)) => { let runner = cli.create_runner(cmd)?; - runner.sync_run(|config| cmd.run::(&config)) + runner.sync_run(|config| cmd.run::(&config)) }, None => { // Enforce dev diff --git a/bizinikiwi/pezframe/revive/dev-node/node/src/rpc.rs b/bizinikiwi/pezframe/revive/dev-node/node/src/rpc.rs index 6af1a35b..517087c0 100644 --- a/bizinikiwi/pezframe/revive/dev-node/node/src/rpc.rs +++ b/bizinikiwi/pezframe/revive/dev-node/node/src/rpc.rs @@ -29,7 +29,7 @@ use pezkuwi_sdk::{ pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}, *, }; -use revive_dev_runtime::{AccountId, Nonce, OpaqueBlock}; +use pez_revive_dev_runtime::{AccountId, Nonce, OpaqueBlock}; use std::sync::Arc; /// Full client dependencies. diff --git a/bizinikiwi/pezframe/revive/dev-node/node/src/service.rs b/bizinikiwi/pezframe/revive/dev-node/node/src/service.rs index 7697e906..c60e5aad 100644 --- a/bizinikiwi/pezframe/revive/dev-node/node/src/service.rs +++ b/bizinikiwi/pezframe/revive/dev-node/node/src/service.rs @@ -24,7 +24,7 @@ use pezkuwi_sdk::{ pezsp_runtime::traits::Block as BlockT, *, }; -use revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi}; +use pez_revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi}; use std::sync::Arc; type HostFunctions = pezsp_io::BizinikiwiHostFunctions; diff --git a/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml b/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml index bdeec55e..ef2abf6a 100644 --- a/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml +++ b/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "revive-dev-runtime" +name = "pez-revive-dev-runtime" description = "A solochain dev runtime for revive." version = "0.1.0" license = "Apache-2.0" @@ -7,7 +7,7 @@ authors.workspace = true homepage.workspace = true repository.workspace = true edition.workspace = true -documentation = "https://docs.rs/revive-dev-runtime" +documentation = "https://docs.rs/pez-revive-dev-runtime" [dependencies] array-bytes = { workspace = true } diff --git a/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs b/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs index dbd59a5e..db960e8e 100644 --- a/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs +++ b/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs @@ -136,8 +136,8 @@ pub mod genesis_config_presets { /// The runtime version. #[runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: alloc::borrow::Cow::Borrowed("revive-dev-runtime"), - impl_name: alloc::borrow::Cow::Borrowed("revive-dev-runtime"), + spec_name: alloc::borrow::Cow::Borrowed("pez-revive-dev-runtime"), + impl_name: alloc::borrow::Cow::Borrowed("pez-revive-dev-runtime"), authoring_version: 1, spec_version: 0, impl_version: 1, diff --git a/bizinikiwi/pezframe/revive/rpc/Cargo.toml b/bizinikiwi/pezframe/revive/rpc/Cargo.toml index 4034bd44..3b6f5e38 100644 --- a/bizinikiwi/pezframe/revive/rpc/Cargo.toml +++ b/bizinikiwi/pezframe/revive/rpc/Cargo.toml @@ -59,20 +59,20 @@ tokio = { workspace = true, features = ["full"] } env_logger = { workspace = true } pezpallet-revive-fixtures = { workspace = true, default-features = true } pretty_assertions = { workspace = true } -revive-dev-node = { workspace = true } +pez-revive-dev-node = { workspace = true } pezsp-io = { workspace = true, default-features = true } [build-dependencies] git2 = { workspace = true } -revive-dev-runtime = { workspace = true, default-features = true } +pez-revive-dev-runtime = { workspace = true, default-features = true } pezsp-io = { workspace = true, default-features = true } pezsp-runtime = { workspace = true, default-features = true } [features] runtime-benchmarks = [ "pezpallet-revive/runtime-benchmarks", - "revive-dev-node/runtime-benchmarks", - "revive-dev-runtime/runtime-benchmarks", + "pez-revive-dev-node/runtime-benchmarks", + "pez-revive-dev-runtime/runtime-benchmarks", "pezsc-cli/runtime-benchmarks", "pezsc-rpc-api/runtime-benchmarks", "pezsc-rpc/runtime-benchmarks", diff --git a/bizinikiwi/pezframe/revive/rpc/build.rs b/bizinikiwi/pezframe/revive/rpc/build.rs index 1a14adfd..6c68a38b 100644 --- a/bizinikiwi/pezframe/revive/rpc/build.rs +++ b/bizinikiwi/pezframe/revive/rpc/build.rs @@ -55,7 +55,7 @@ fn generate_git_revision() { fn generate_metadata_file() { let mut ext = pezsp_io::TestExternalities::new(Default::default()); ext.execute_with(|| { - let metadata = revive_dev_runtime::Runtime::metadata_at_version(16).unwrap(); + let metadata = pez_revive_dev_runtime::Runtime::metadata_at_version(16).unwrap(); let bytes: &[u8] = &metadata; fs::write("revive_chain.scale", bytes).unwrap(); }); diff --git a/bizinikiwi/pezframe/revive/rpc/examples/eth-rpc-tester.rs b/bizinikiwi/pezframe/revive/rpc/examples/eth-rpc-tester.rs index 127ef066..c7d74fe3 100644 --- a/bizinikiwi/pezframe/revive/rpc/examples/eth-rpc-tester.rs +++ b/bizinikiwi/pezframe/revive/rpc/examples/eth-rpc-tester.rs @@ -93,7 +93,7 @@ fn start_docker(docker_bin: &str, docker_image: &str) -> anyhow::Result { "-p", "8545:8545", &format!("docker.io/paritypr/{docker_image}"), - "--node-rpc-url", + "--pez-node-rpc-url", "wss://zagros-asset-hub-rpc.pezkuwichain.io", "--rpc-cors", "all", diff --git a/bizinikiwi/pezframe/revive/rpc/src/cli.rs b/bizinikiwi/pezframe/revive/rpc/src/cli.rs index 7e67a2b7..abe5528f 100644 --- a/bizinikiwi/pezframe/revive/rpc/src/cli.rs +++ b/bizinikiwi/pezframe/revive/rpc/src/cli.rs @@ -45,7 +45,7 @@ const IN_MEMORY_DB: &str = "sqlite::memory:"; pub struct CliCommand { /// The node url to connect to #[clap(long, default_value = "ws://127.0.0.1:9944")] - pub node_rpc_url: String, + pub pez_node_rpc_url: String, /// The maximum number of blocks to cache in memory. #[clap(long, default_value = "256")] @@ -103,12 +103,12 @@ fn build_client( tokio_handle: &tokio::runtime::Handle, cache_size: usize, earliest_receipt_block: Option, - node_rpc_url: &str, + pez_node_rpc_url: &str, database_url: &str, abort_signal: Signals, ) -> anyhow::Result { let fut = async { - let (api, rpc_client, rpc) = connect(node_rpc_url).await?; + let (api, rpc_client, rpc) = connect(pez_node_rpc_url).await?; let block_provider = SubxtBlockInfoProvider::new( api.clone(), rpc.clone()).await?; let (pool, keep_latest_n_blocks) = if database_url == IN_MEMORY_DB { @@ -158,7 +158,7 @@ pub fn run(cmd: CliCommand) -> anyhow::Result<()> { let CliCommand { rpc_params, prometheus_params, - node_rpc_url, + pez_node_rpc_url, cache_size, database_url, earliest_receipt_block, @@ -204,7 +204,7 @@ pub fn run(cmd: CliCommand) -> anyhow::Result<()> { tokio_handle, cache_size, earliest_receipt_block, - &node_rpc_url, + &pez_node_rpc_url, &database_url, tokio_runtime.block_on(async { Signals::capture() })?, )?; diff --git a/bizinikiwi/pezframe/revive/rpc/src/client.rs b/bizinikiwi/pezframe/revive/rpc/src/client.rs index 579106ff..7139eeb3 100644 --- a/bizinikiwi/pezframe/revive/rpc/src/client.rs +++ b/bizinikiwi/pezframe/revive/rpc/src/client.rs @@ -208,16 +208,16 @@ async fn get_automine(rpc_client: &RpcClient) -> bool { /// Connect to a node at the given URL, and return the underlying API, RPC client, and legacy RPC /// clients. pub async fn connect( - node_rpc_url: &str, + pez_node_rpc_url: &str, ) -> Result<(OnlineClient, RpcClient, LegacyRpcMethods), ClientError> { - log::info!(target: LOG_TARGET, "🌐 Connecting to node at: {node_rpc_url} ..."); + log::info!(target: LOG_TARGET, "🌐 Connecting to node at: {pez_node_rpc_url} ..."); let rpc_client = ReconnectingRpcClient::builder() .retry_policy(ExponentialBackoff::from_millis(100).max_delay(Duration::from_secs(10))) - .build(node_rpc_url.to_string()) + .build(pez_node_rpc_url.to_string()) .await?; let rpc_client = RpcClient::new(rpc_client); - log::info!(target: LOG_TARGET, "🌟 Connected to node at: {node_rpc_url}"); + log::info!(target: LOG_TARGET, "🌟 Connected to node at: {pez_node_rpc_url}"); let api = OnlineClient::::from_rpc_client(rpc_client.clone()).await?; let rpc = LegacyRpcMethods::::new(rpc_client.clone()); diff --git a/bizinikiwi/pezframe/revive/rpc/src/tests.rs b/bizinikiwi/pezframe/revive/rpc/src/tests.rs index 21d14618..36baedaf 100644 --- a/bizinikiwi/pezframe/revive/rpc/src/tests.rs +++ b/bizinikiwi/pezframe/revive/rpc/src/tests.rs @@ -70,9 +70,9 @@ struct SharedResources { impl SharedResources { fn start() -> Self { - // Start revive-dev-node + // Start pez-revive-dev-node let _node_handle = thread::spawn(move || { - if let Err(e) = revive_dev_node::command::run_with_args(vec![ + if let Err(e) = pez_revive_dev_node::command::run_with_args(vec![ "--dev".to_string(), "--rpc-port=45789".to_string(), "-lerror,pezsc_rpc_server=info,runtime::revive=debug".to_string(), @@ -85,7 +85,7 @@ impl SharedResources { let args = CliCommand::parse_from([ "--dev", "--rpc-port=45788", - "--node-rpc-url=ws://localhost:45789", + "--pez-node-rpc-url=ws://localhost:45789", "--no-prometheus", "-linfo,eth-rpc=debug", ]); @@ -103,7 +103,7 @@ impl SharedResources { ws_client_with_retry("ws://localhost:45788").await } - fn node_rpc_url() -> &'static str { + fn pez_node_rpc_url() -> &'static str { "ws://localhost:45789" } } @@ -464,10 +464,10 @@ async fn test_invalid_transaction(client: Arc) -> anyhow::Result<()> { async fn get_evm_block_from_storage( node_client: &OnlineClient, - node_rpc_client: &RpcClient, + pez_node_rpc_client: &RpcClient, block_number: U256, ) -> anyhow::Result { - let block_hash: H256 = node_rpc_client + let block_hash: H256 = pez_node_rpc_client .request("chain_getBlockHash", rpc_params![block_number]) .await .unwrap(); @@ -480,8 +480,8 @@ async fn get_evm_block_from_storage( } async fn test_evm_blocks_should_match(client: Arc) -> anyhow::Result<()> { - let (node_client, node_rpc_client, _) = - client::connect(SharedResources::node_rpc_url()).await.unwrap(); + let (node_client, pez_node_rpc_client, _) = + client::connect(SharedResources::pez_node_rpc_url()).await.unwrap(); // Deploy a contract to have some interesting blocks let (bytes, _) = pezpallet_revive_fixtures::compile_module("dummy")?; @@ -499,7 +499,7 @@ async fn test_evm_blocks_should_match(client: Arc) -> anyhow::Result<( log::trace!(target: LOG_TARGET, "tx hash = {:?}", tx.hash()); let evm_block_from_storage = - get_evm_block_from_storage(&node_client, &node_rpc_client, block_number).await?; + get_evm_block_from_storage(&node_client, &pez_node_rpc_client, block_number).await?; // Fetch the block immediately (should come from storage EthereumBlock) let evm_block_from_rpc_by_number = client @@ -700,7 +700,7 @@ async fn test_mixed_evm_bizinikiwi_transactions(client: Arc) -> anyhow // Prepare bizinikiwi transactions (simple remarks) log::trace!(target: LOG_TARGET, "Creating {num_bizinikiwi_txs} bizinikiwi remark transactions"); let alice_signer = subxt_signer::sr25519::dev::alice(); - let (node_client, _, _) = client::connect(SharedResources::node_rpc_url()).await.unwrap(); + let (node_client, _, _) = client::connect(SharedResources::pez_node_rpc_url()).await.unwrap(); let bizinikiwi_txs = prepare_bizinikiwi_transactions(&node_client, &alice_signer, num_bizinikiwi_txs).await?; @@ -730,15 +730,15 @@ async fn test_mixed_evm_bizinikiwi_transactions(client: Arc) -> anyhow } async fn test_runtime_pallets_address_upload_code(client: Arc) -> anyhow::Result<()> { - let (node_client, node_rpc_client, _) = - client::connect(SharedResources::node_rpc_url()).await?; + let (node_client, pez_node_rpc_client, _) = + client::connect(SharedResources::pez_node_rpc_url()).await?; let (bytecode, _) = pezpallet_revive_fixtures::compile_module("dummy")?; let signer = Account::default(); // Helper function to get bizinikiwi block hash from EVM block number let get_bizinikiwi_block_hash = |block_number: U256| { - let rpc_client = node_rpc_client.clone(); + let rpc_client = pez_node_rpc_client.clone(); async move { rpc_client .request::("chain_getBlockHash", rpc_params![block_number]) diff --git a/bizinikiwi/pezframe/revive/src/impl_fungibles.rs b/bizinikiwi/pezframe/revive/src/impl_fungibles.rs index 3c62b639..4ec7e478 100644 --- a/bizinikiwi/pezframe/revive/src/impl_fungibles.rs +++ b/bizinikiwi/pezframe/revive/src/impl_fungibles.rs @@ -43,7 +43,7 @@ use pezsp_core::{H160, U256}; use pezsp_runtime::{traits::AccountIdConversion, DispatchError}; use super::{address::AddressMapper, pallet, Config, ContractResult, ExecConfig, Pallet, Weight}; -use ethereum_standards::IERC20; +use pez_ethereum_standards::IERC20; const GAS_LIMIT: Weight = Weight::from_parts(500_000_000_000, 10 * 1024 * 1024); diff --git a/bizinikiwi/pezframe/revive/src/migrations.rs b/bizinikiwi/pezframe/revive/src/migrations.rs index cd824a58..01f144dd 100644 --- a/bizinikiwi/pezframe/revive/src/migrations.rs +++ b/bizinikiwi/pezframe/revive/src/migrations.rs @@ -24,4 +24,4 @@ pub mod v1; pub mod v2; /// A unique identifier across all pallets. -const PALLET_MIGRATIONS_ID: &[u8; 17] = b"pezpallet-revive-mbm"; +const PALLET_MIGRATIONS_ID: &[u8; 20] = b"pezpallet-revive-mbm"; diff --git a/bizinikiwi/pezframe/revive/src/migrations/v1.rs b/bizinikiwi/pezframe/revive/src/migrations/v1.rs index bb44306a..62ba368a 100644 --- a/bizinikiwi/pezframe/revive/src/migrations/v1.rs +++ b/bizinikiwi/pezframe/revive/src/migrations/v1.rs @@ -51,7 +51,7 @@ pub struct Migration(PhantomData); impl SteppedMigration for Migration { type Cursor = H160; - type Identifier = MigrationId<17>; + type Identifier = MigrationId<20>; fn id() -> Self::Identifier { MigrationId { pezpallet_id: *PALLET_MIGRATIONS_ID, version_from: 0, version_to: 1 } diff --git a/bizinikiwi/pezframe/revive/src/migrations/v2.rs b/bizinikiwi/pezframe/revive/src/migrations/v2.rs index 90aa231c..5e05917e 100644 --- a/bizinikiwi/pezframe/revive/src/migrations/v2.rs +++ b/bizinikiwi/pezframe/revive/src/migrations/v2.rs @@ -92,7 +92,7 @@ pub struct Migration(PhantomData); impl SteppedMigration for Migration { type Cursor = H256; - type Identifier = MigrationId<17>; + type Identifier = MigrationId<20>; fn id() -> Self::Identifier { MigrationId { pezpallet_id: *PALLET_MIGRATIONS_ID, version_from: 1, version_to: 2 } diff --git a/bizinikiwi/pezframe/revive/src/weights.rs b/bizinikiwi/pezframe/revive/src/weights.rs index b345a52b..66807409 100644 --- a/bizinikiwi/pezframe/revive/src/weights.rs +++ b/bizinikiwi/pezframe/revive/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_revive // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/revive/src/weights.rs diff --git a/bizinikiwi/pezframe/safe-mode/src/weights.rs b/bizinikiwi/pezframe/safe-mode/src/weights.rs index a04f27ef..54eb59ea 100644 --- a/bizinikiwi/pezframe/safe-mode/src/weights.rs +++ b/bizinikiwi/pezframe/safe-mode/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_safe_mode // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/safe-mode/src/weights.rs diff --git a/bizinikiwi/pezframe/salary/src/weights.rs b/bizinikiwi/pezframe/salary/src/weights.rs index ba3933fa..75b34d6c 100644 --- a/bizinikiwi/pezframe/salary/src/weights.rs +++ b/bizinikiwi/pezframe/salary/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_salary // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/salary/src/weights.rs diff --git a/bizinikiwi/pezframe/scheduler/src/weights.rs b/bizinikiwi/pezframe/scheduler/src/weights.rs index d7eeb6b7..d1e354c6 100644 --- a/bizinikiwi/pezframe/scheduler/src/weights.rs +++ b/bizinikiwi/pezframe/scheduler/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_scheduler // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/scheduler/src/weights.rs diff --git a/bizinikiwi/pezframe/session/src/weights.rs b/bizinikiwi/pezframe/session/src/weights.rs index 37b85078..b8280db9 100644 --- a/bizinikiwi/pezframe/session/src/weights.rs +++ b/bizinikiwi/pezframe/session/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_session // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/session/src/weights.rs diff --git a/bizinikiwi/pezframe/society/src/weights.rs b/bizinikiwi/pezframe/society/src/weights.rs index 31e9e980..c5a0fc32 100644 --- a/bizinikiwi/pezframe/society/src/weights.rs +++ b/bizinikiwi/pezframe/society/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_society // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/society/src/weights.rs diff --git a/bizinikiwi/pezframe/staking-async/runtimes/papi-tests/src/vmp-monitor.ts b/bizinikiwi/pezframe/staking-async/runtimes/papi-tests/src/vmp-monitor.ts index 5e34005c..38c74bc5 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/papi-tests/src/vmp-monitor.ts +++ b/bizinikiwi/pezframe/staking-async/runtimes/papi-tests/src/vmp-monitor.ts @@ -84,7 +84,7 @@ * - Check: Rejects if `serialized_len > config.max_downward_message_size` * * **UMP (Upward):** - * - Teyrchain enforcement: `cumulus/pallets/teyrchain-system/src/lib.rs:1665` in `send_upward_message()` + * - Teyrchain enforcement: `cumulus/pezpallets/teyrchain-system/src/lib.rs:1665` in `send_upward_message()` * - Relay validation: `polkadot/runtime/teyrchains/src/inclusion/mod.rs:967` in `check_upward_messages()` * - Configuration: `max_upward_message_size` (hard bound: 128KB defined as MAX_UPWARD_MESSAGE_SIZE_BOUND) * @@ -96,7 +96,7 @@ * - Enforced at: `polkadot/runtime/teyrchains/src/dmp.rs:194` in `can_queue_downward_message()` * * **UMP:** - * - Teyrchain check: `cumulus/pallets/teyrchain-system/src/lib.rs:369-373` (respects relay's remaining capacity) + * - Teyrchain check: `cumulus/pezpallets/teyrchain-system/src/lib.rs:369-373` (respects relay's remaining capacity) * - Relay limit: `max_upward_queue_size` enforced at `polkadot/runtime/teyrchains/src/inclusion/mod.rs:977-980` * * ### 3. Queue Total Count (Messages) @@ -117,7 +117,7 @@ * * **UMP:** * - Configuration: `max_upward_message_num_per_candidate` - * - Teyrchain limit: `cumulus/pallets/teyrchain-system/src/lib.rs:386` in `on_finalize()` + * - Teyrchain limit: `cumulus/pezpallets/teyrchain-system/src/lib.rs:386` in `on_finalize()` * - Relay validation: `polkadot/runtime/teyrchains/src/inclusion/mod.rs:949-952` * - Max bound: 16,384 messages (MAX_UPWARD_MESSAGE_NUM in `polkadot/teyrchain/src/primitives.rs:436`) * diff --git a/bizinikiwi/pezframe/staking-async/runtimes/rc/Cargo.toml b/bizinikiwi/pezframe/staking-async/runtimes/rc/Cargo.toml index 2c57546e..bb70d6f4 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/rc/Cargo.toml +++ b/bizinikiwi/pezframe/staking-async/runtimes/rc/Cargo.toml @@ -117,7 +117,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } [dev-dependencies] approx = { workspace = true } @@ -226,7 +226,7 @@ std = [ "pezsp-version/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -312,7 +312,7 @@ runtime-benchmarks = [ "bizinikiwi-wasm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ diff --git a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/lib.rs b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/lib.rs index dbf8663c..9281441b 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/lib.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/lib.rs @@ -121,7 +121,7 @@ use xcm::{ VersionedXcm, }; use xcm_builder::PayOverXcm; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -2647,7 +2647,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::TokenLocation::get())]; XcmPallet::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -2661,11 +2661,11 @@ pezsp_api::impl_runtime_apis! { Ok(WeightToFee::weight_to_fee(&weight)) }, Ok(asset_id) => { - log::trace!(target: "xcm::xcm_runtime_apis", "query_weight_to_asset_fee - unhandled asset_id: {asset_id:?}!"); + log::trace!(target: "xcm::xcm_runtime_pezapis", "query_weight_to_asset_fee - unhandled asset_id: {asset_id:?}!"); Err(XcmPaymentApiError::AssetNotFound) }, Err(_) => { - log::trace!(target: "xcm::xcm_runtime_apis", "query_weight_to_asset_fee - failed to convert asset: {asset:?}!"); + log::trace!(target: "xcm::xcm_runtime_pezapis", "query_weight_to_asset_fee - failed to convert asset: {asset:?}!"); Err(XcmPaymentApiError::VersionedConversionFailed) } } @@ -2681,7 +2681,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: xcm::prelude::XcmVersion) -> Result, XcmDryRunApiError> { XcmPallet::dry_run_call::(origin, call, result_xcms_version) } @@ -2691,12 +2691,12 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationConverter, >::convert_location(location) @@ -3018,11 +3018,11 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_teleporter(asset, location) } } diff --git a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/tests.rs b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/tests.rs index ff26fc75..9fd865ff 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/tests.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/tests.rs @@ -22,7 +22,7 @@ use crate::{xcm_config::LocationConverter, *}; use pezframe_support::traits::WhitelistedStorageKeys; use pezsp_core::{crypto::Ss58Codec, hexdisplay::HexDisplay}; use pezsp_keyring::Sr25519Keyring::Alice; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; #[test] fn remove_keys_weight_is_sensible() { diff --git a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/frame_system.rs b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/pezframe_system.rs similarity index 100% rename from bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/frame_system.rs rename to bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/pezframe_system.rs diff --git a/bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/frame_system_extensions.rs b/bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/pezframe_system_extensions.rs similarity index 100% rename from bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/frame_system_extensions.rs rename to bizinikiwi/pezframe/staking-async/runtimes/rc/src/weights/pezframe_system_extensions.rs diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml index 2976e00a..879d460d 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml @@ -104,7 +104,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -132,7 +132,7 @@ bp-bridge-hub-zagros = { workspace = true } pezpallet-xcm-bridge-hub-router = { workspace = true } [dev-dependencies] -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezframe-try-runtime = { workspace = true, default-features = true } pezpallet-bags-list-remote-tests = { workspace = true, default-features = true } remote-externalities = { workspace = true, default-features = true } @@ -147,7 +147,7 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features [features] default = ["std"] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "assets-common/runtime-benchmarks", "bp-asset-hub-pezkuwichain/runtime-benchmarks", "bp-bridge-hub-pezkuwichain/runtime-benchmarks", @@ -241,12 +241,12 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] try-runtime = [ - "asset-test-utils/try-runtime", + "asset-test-pezutils/try-runtime", "assets-common/try-runtime", "pezcumulus-pezpallet-aura-ext/try-runtime", "pezcumulus-pezpallet-teyrchain-system/try-runtime", @@ -403,7 +403,7 @@ std = [ "teyrchains-common/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs index c5005760..5e477ac4 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs @@ -44,7 +44,7 @@ use assets_common::{ AssetIdForPoolAssets, AssetIdForPoolAssetsConvert, AssetIdForTrustBackedAssetsConvert, }; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; +use pezcumulus_pezpallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -113,7 +113,7 @@ use xcm::latest::prelude::{ NetworkId, NonFungible, Parent, ParentThen, Response, XCM_VERSION, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -185,14 +185,14 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type MultiBlockMigrator = MultiBlockMigrations; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -801,8 +801,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -816,7 +816,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -855,7 +855,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -871,7 +871,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -884,11 +884,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -1083,7 +1083,7 @@ impl pezpallet_xcm_bridge_hub_router::Config fo >; type ToBridgeHubSender = XcmpQueue; type LocalXcmChannelManager = - pezcumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; + pezcumulus_pezpallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; type ByteFee = xcm_config::bridging::XcmBridgeHubRouterByteFee; type FeeAsset = xcm_config::bridging::XcmBridgeHubRouterFeeAssetId; @@ -1122,11 +1122,11 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, // RandomnessCollectiveFlip = 2 removed Timestamp: pezpallet_timestamp = 3, TeyrchainInfo: teyrchain_info = 4, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 5, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 5, MultiBlockMigrations: pezpallet_migrations = 6, // Monetary stuff. @@ -1140,12 +1140,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, // Bridge utilities. ToPezkuwichainXcmRouter: pezpallet_xcm_bridge_hub_router:: = 34, MessageQueue: pezpallet_message_queue = 35, @@ -1218,7 +1218,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::CheckNonZeroSender, @@ -1356,8 +1356,8 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_treasury, Treasury] [pezpallet_vesting, Vesting] [pezpallet_whitelist, Whitelist] @@ -1368,7 +1368,7 @@ mod benches { // NOTE: Make sure you point to the individual modules below. [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -1565,7 +1565,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let native_token = xcm_config::ZagrosLocation::get(); // We accept the native token to pay fees. @@ -1597,12 +1597,12 @@ impl_runtime_apis! { ) { Ok(swapped_in_native) } else { - log::trace!(target: "xcm::xcm_runtime_apis", "query_weight_to_asset_fee - unhandled asset_id: {asset_id:?}!"); + log::trace!(target: "xcm::xcm_runtime_pezapis", "query_weight_to_asset_fee - unhandled asset_id: {asset_id:?}!"); Err(XcmPaymentApiError::AssetNotFound) } }, Err(_) => { - log::trace!(target: "xcm::xcm_runtime_apis", "query_weight_to_asset_fee - failed to convert asset: {asset:?}!"); + log::trace!(target: "xcm::xcm_runtime_pezapis", "query_weight_to_asset_fee - failed to convert asset: {asset:?}!"); Err(XcmPaymentApiError::VersionedConversionFailed) } } @@ -1618,7 +1618,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: xcm::prelude::XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -1628,12 +1628,12 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) @@ -1805,7 +1805,7 @@ impl_runtime_apis! { use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench; @@ -1865,12 +1865,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} parameter_types! { pub ExistentialDepositAsset: Option = Some(( @@ -1986,7 +1986,7 @@ impl_runtime_apis! { impl XcmBridgeHubRouterConfig for Runtime { fn make_congested() { - pezcumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( + pezcumulus_pezpallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( xcm_config::bridging::SiblingBridgeHubParaId::get().into() ); } @@ -2202,11 +2202,11 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } @@ -2218,9 +2218,9 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } parameter_types! { diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/mod.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/mod.rs index 93dfc99e..bbb14081 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/mod.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/mod.rs @@ -16,9 +16,9 @@ // limitations under the License. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_teyrchain_system.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_teyrchain_system.rs index bfa1d19a..990bf597 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -30,7 +30,7 @@ // --chain // statemine-dev // --pallet -// pezcumulus_pallet_teyrchain_system +// pezcumulus_pezpallet_teyrchain_system // --extrinsic // * // --execution @@ -51,9 +51,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: TeyrchainSystem LastDmqMqcHead (r:1 w:1) /// Proof Skipped: TeyrchainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured) /// Storage: TeyrchainSystem ReservedDmpWeightOverride (r:1 w:0) diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_weight_reclaim.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_weight_reclaim.rs index ae30b573..0902f07c 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2024-12-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -33,7 +33,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --chain=asset-hub-next-zagros-dev // --header=./pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/ @@ -46,9 +46,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { /// Storage: `System::BlockWeight` (r:1 w:1) /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `System::ExtrinsicWeightReclaimed` (r:1 w:1) diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_xcmp_queue.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_xcmp_queue.rs index 30397ff4..8c2035a4 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-09-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -32,7 +32,7 @@ // --chain // asset-hub-next-zagros-dev // --output -// pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +// pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/pezcumulus_pezpallet_xcmp_queue.rs // --extrinsic // @@ -44,9 +44,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/frame_system.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezframe_system.rs similarity index 100% rename from bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/frame_system.rs rename to bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezframe_system.rs diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/frame_system_extensions.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezframe_system_extensions.rs similarity index 100% rename from bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/frame_system_extensions.rs rename to bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/weights/pezframe_system_extensions.rs diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs index e9f717d5..56578bf2 100644 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs @@ -71,7 +71,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const ZagrosLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub UniversalLocationNetworkId: NetworkId = UniversalLocation::get().global_consensus().unwrap(); @@ -237,7 +237,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognised. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -599,7 +599,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/bizinikiwi/pezframe/staking/src/weights.rs b/bizinikiwi/pezframe/staking/src/weights.rs index 71409f22..8b878907 100644 --- a/bizinikiwi/pezframe/staking/src/weights.rs +++ b/bizinikiwi/pezframe/staking/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_staking // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/staking/src/weights.rs diff --git a/bizinikiwi/pezframe/state-trie-migration/src/weights.rs b/bizinikiwi/pezframe/state-trie-migration/src/weights.rs index 289fce42..41398a3a 100644 --- a/bizinikiwi/pezframe/state-trie-migration/src/weights.rs +++ b/bizinikiwi/pezframe/state-trie-migration/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_state_trie_migration // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/state-trie-migration/src/weights.rs diff --git a/bizinikiwi/pezframe/sudo/src/weights.rs b/bizinikiwi/pezframe/sudo/src/weights.rs index eecdc782..6a05473e 100644 --- a/bizinikiwi/pezframe/sudo/src/weights.rs +++ b/bizinikiwi/pezframe/sudo/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_sudo // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/sudo/src/weights.rs diff --git a/bizinikiwi/pezframe/support/test/Cargo.toml b/bizinikiwi/pezframe/support/test/Cargo.toml index 9b355350..ca17dd48 100644 --- a/bizinikiwi/pezframe/support/test/Cargo.toml +++ b/bizinikiwi/pezframe/support/test/Cargo.toml @@ -38,7 +38,7 @@ pezsp-version = { workspace = true } static_assertions = { workspace = true, default-features = true } trybuild = { features = ["diff"], workspace = true } # The "std" feature for this pallet is never activated on purpose, in order to test construct_runtime error message -test-pallet = { workspace = true } +test-pezpallet = { workspace = true } [features] default = ["std"] @@ -59,7 +59,7 @@ std = [ "pezsp-runtime/std", "pezsp-state-machine/std", "pezsp-version/std", - "test-pallet/std", + "test-pezpallet/std", ] experimental = ["pezframe-support/experimental", "pezframe-system/experimental"] runtime-benchmarks = [ @@ -72,7 +72,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine?/runtime-benchmarks", "pezsp-version/runtime-benchmarks", - "test-pallet/runtime-benchmarks", + "test-pezpallet/runtime-benchmarks", ] try-runtime = [ "pezframe-executive/try-runtime", diff --git a/bizinikiwi/pezframe/support/test/pallet/Cargo.toml b/bizinikiwi/pezframe/support/test/pezpallet/Cargo.toml similarity index 89% rename from bizinikiwi/pezframe/support/test/pallet/Cargo.toml rename to bizinikiwi/pezframe/support/test/pezpallet/Cargo.toml index dd9ccdcd..69ca0682 100644 --- a/bizinikiwi/pezframe/support/test/pallet/Cargo.toml +++ b/bizinikiwi/pezframe/support/test/pezpallet/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pezframe-support-test-pallet" +name = "pezframe-support-test-pezpallet" version = "4.0.0-dev" authors.workspace = true edition.workspace = true @@ -8,7 +8,7 @@ publish = false homepage.workspace = true repository.workspace = true description = "Pezkuwi SDK FRAME support: support test pallet" -documentation = "https://docs.rs/pezframe-support-test-pallet" +documentation = "https://docs.rs/pezframe-support-test-pezpallet" [lints] workspace = true diff --git a/bizinikiwi/pezframe/support/test/pallet/src/lib.rs b/bizinikiwi/pezframe/support/test/pezpallet/src/lib.rs similarity index 100% rename from bizinikiwi/pezframe/support/test/pallet/src/lib.rs rename to bizinikiwi/pezframe/support/test/pezpallet/src/lib.rs diff --git a/bizinikiwi/pezframe/system/benchmarking/res/README.md b/bizinikiwi/pezframe/system/benchmarking/res/README.md index 6eca9229..5c0fbf05 100644 --- a/bizinikiwi/pezframe/system/benchmarking/res/README.md +++ b/bizinikiwi/pezframe/system/benchmarking/res/README.md @@ -3,4 +3,4 @@ These runtimes are used for benchmarking the `set_code` intrinsic. **Don't use them in production environments!** To update the just copy the new runtime from -`target/release/wbuild/kitchensink-runtime/kitchensink_runtime.compact.compressed.wasm` to here. +`target/release/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.compact.compressed.wasm` to here. diff --git a/bizinikiwi/pezframe/system/benchmarking/src/inner.rs b/bizinikiwi/pezframe/system/benchmarking/src/inner.rs index 9fbcaba2..0c03ab36 100644 --- a/bizinikiwi/pezframe/system/benchmarking/src/inner.rs +++ b/bizinikiwi/pezframe/system/benchmarking/src/inner.rs @@ -29,9 +29,9 @@ pub struct Pallet(System); pub trait Config: pezframe_system::Config { /// Adds ability to the Runtime to test against their sample code. /// - /// Default is `../res/kitchensink_runtime.compact.compressed.wasm`. + /// Default is `../res/pez_kitchensink_runtime.compact.compressed.wasm`. fn prepare_set_code_data() -> Vec { - include_bytes!("../res/kitchensink_runtime.compact.compressed.wasm").to_vec() + include_bytes!("../res/pez_kitchensink_runtime.compact.compressed.wasm").to_vec() } /// Adds ability to the Runtime to prepare/initialize before running benchmark `set_code`. diff --git a/bizinikiwi/pezframe/system/src/lib.rs b/bizinikiwi/pezframe/system/src/lib.rs index b3185085..cd5e14b8 100644 --- a/bizinikiwi/pezframe/system/src/lib.rs +++ b/bizinikiwi/pezframe/system/src/lib.rs @@ -785,20 +785,20 @@ pub mod pallet { /// Kill all storage items with a key that starts with the given prefix. /// - /// **NOTE:** We rely on the Root origin to provide us the number of subkeys under + /// **NOTE:** We rely on the Root origin to provide us the number of pez_subkeys under /// the prefix we are removing to accurately calculate the weight of this function. #[pallet::call_index(6)] #[pallet::weight(( - T::SystemWeightInfo::kill_prefix(subkeys.saturating_add(1)), + T::SystemWeightInfo::kill_prefix(pez_subkeys.saturating_add(1)), DispatchClass::Operational, ))] pub fn kill_prefix( origin: OriginFor, prefix: Key, - subkeys: u32, + pez_subkeys: u32, ) -> DispatchResultWithPostInfo { ensure_root(origin)?; - let _ = storage::unhashed::clear_prefix(&prefix, Some(subkeys), None); + let _ = storage::unhashed::clear_prefix(&prefix, Some(pez_subkeys), None); Ok(().into()) } diff --git a/bizinikiwi/pezframe/system/src/weights.rs b/bizinikiwi/pezframe/system/src/weights.rs index 11ef49b4..c3a0a992 100644 --- a/bizinikiwi/pezframe/system/src/weights.rs +++ b/bizinikiwi/pezframe/system/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezframe_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/system/src/weights.rs diff --git a/bizinikiwi/pezframe/timestamp/src/weights.rs b/bizinikiwi/pezframe/timestamp/src/weights.rs index b8222c76..faea18ac 100644 --- a/bizinikiwi/pezframe/timestamp/src/weights.rs +++ b/bizinikiwi/pezframe/timestamp/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_timestamp // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/timestamp/src/weights.rs diff --git a/bizinikiwi/pezframe/tips/src/weights.rs b/bizinikiwi/pezframe/tips/src/weights.rs index 04b8a664..103510cc 100644 --- a/bizinikiwi/pezframe/tips/src/weights.rs +++ b/bizinikiwi/pezframe/tips/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_tips // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/tips/src/weights.rs diff --git a/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/src/weights.rs b/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/src/weights.rs index b15a096a..215842be 100644 --- a/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/src/weights.rs +++ b/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --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_tx_payment // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/src/weights.rs diff --git a/bizinikiwi/pezframe/transaction-payment/src/weights.rs b/bizinikiwi/pezframe/transaction-payment/src/weights.rs index f0def8ca..11b776af 100644 --- a/bizinikiwi/pezframe/transaction-payment/src/weights.rs +++ b/bizinikiwi/pezframe/transaction-payment/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_transaction_payment // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/transaction-payment/src/weights.rs diff --git a/bizinikiwi/pezframe/treasury/src/weights.rs b/bizinikiwi/pezframe/treasury/src/weights.rs index f1f5b8a3..d3c3c1f0 100644 --- a/bizinikiwi/pezframe/treasury/src/weights.rs +++ b/bizinikiwi/pezframe/treasury/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_treasury // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/treasury/src/weights.rs diff --git a/bizinikiwi/pezframe/tx-pause/src/weights.rs b/bizinikiwi/pezframe/tx-pause/src/weights.rs index 4dec6bf0..a3887b55 100644 --- a/bizinikiwi/pezframe/tx-pause/src/weights.rs +++ b/bizinikiwi/pezframe/tx-pause/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_tx_pause // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/tx-pause/src/weights.rs diff --git a/bizinikiwi/pezframe/uniques/src/weights.rs b/bizinikiwi/pezframe/uniques/src/weights.rs index 99134f93..844d0812 100644 --- a/bizinikiwi/pezframe/uniques/src/weights.rs +++ b/bizinikiwi/pezframe/uniques/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_uniques // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/uniques/src/weights.rs diff --git a/bizinikiwi/pezframe/utility/src/weights.rs b/bizinikiwi/pezframe/utility/src/weights.rs index 5f6816ef..4c38ecd8 100644 --- a/bizinikiwi/pezframe/utility/src/weights.rs +++ b/bizinikiwi/pezframe/utility/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_utility // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/utility/src/weights.rs diff --git a/bizinikiwi/pezframe/verify-signature/src/weights.rs b/bizinikiwi/pezframe/verify-signature/src/weights.rs index aee89fcf..d0d87054 100644 --- a/bizinikiwi/pezframe/verify-signature/src/weights.rs +++ b/bizinikiwi/pezframe/verify-signature/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_verify_signature // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/verify-signature/src/weights.rs diff --git a/bizinikiwi/pezframe/vesting/src/weights.rs b/bizinikiwi/pezframe/vesting/src/weights.rs index cf434e4d..3c6c8d2a 100644 --- a/bizinikiwi/pezframe/vesting/src/weights.rs +++ b/bizinikiwi/pezframe/vesting/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_vesting // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/vesting/src/weights.rs diff --git a/bizinikiwi/pezframe/whitelist/src/weights.rs b/bizinikiwi/pezframe/whitelist/src/weights.rs index f7b1345c..693603b3 100644 --- a/bizinikiwi/pezframe/whitelist/src/weights.rs +++ b/bizinikiwi/pezframe/whitelist/src/weights.rs @@ -46,7 +46,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm +// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm // --pallet=pezpallet_whitelist // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/whitelist/src/weights.rs diff --git a/bizinikiwi/primitives/core/src/crypto.rs b/bizinikiwi/primitives/core/src/crypto.rs index 5dda2dfc..089beff3 100644 --- a/bizinikiwi/primitives/core/src/crypto.rs +++ b/bizinikiwi/primitives/core/src/crypto.rs @@ -737,7 +737,7 @@ mod dummy { /// The `SURI` can be parsed from a string. The string is interpreted in the following way: /// /// - If `string` is a possibly `0x` prefixed 64-digit hex string, then it will be interpreted -/// directly as a `MiniSecretKey` (aka "seed" in `subkey`). +/// directly as a `MiniSecretKey` (aka "seed" in `pez_subkey`). /// - If `string` is a valid BIP-39 key phrase of 12, 15, 18, 21 or 24 words, then the key will /// be derived from it. In this case: /// - the phrase may be followed by one or more items delimited by `/` characters. @@ -928,7 +928,7 @@ pub trait Pair: CryptoType + Sized { /// junction iterator. /// /// - If `s` is a possibly `0x` prefixed 64-digit hex string, then it will be interpreted - /// directly as a `MiniSecretKey` (aka "seed" in `subkey`). + /// directly as a `MiniSecretKey` (aka "seed" in `pez_subkey`). /// - If `s` is a valid BIP-39 key phrase of 12, 15, 18, 21 or 24 words, then the key will /// be derived from it. In this case: /// - the phrase may be followed by one or more items delimited by `/` characters. diff --git a/bizinikiwi/primitives/ethereum-standards/Cargo.toml b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml similarity index 77% rename from bizinikiwi/primitives/ethereum-standards/Cargo.toml rename to bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml index 30e20810..6875a446 100644 --- a/bizinikiwi/primitives/ethereum-standards/Cargo.toml +++ b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ethereum-standards" +name = "pez-ethereum-standards" version = "0.1.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ description = "Interfaces for Ethereum standards" license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/ethereum-standards" +documentation = "https://docs.rs/pez-ethereum-standards" [lints] workspace = true diff --git a/bizinikiwi/primitives/ethereum-standards/src/IERC20.sol b/bizinikiwi/primitives/pez-ethereum-standards/src/IERC20.sol similarity index 100% rename from bizinikiwi/primitives/ethereum-standards/src/IERC20.sol rename to bizinikiwi/primitives/pez-ethereum-standards/src/IERC20.sol diff --git a/bizinikiwi/primitives/ethereum-standards/src/lib.rs b/bizinikiwi/primitives/pez-ethereum-standards/src/lib.rs similarity index 100% rename from bizinikiwi/primitives/ethereum-standards/src/lib.rs rename to bizinikiwi/primitives/pez-ethereum-standards/src/lib.rs diff --git a/bizinikiwi/scripts/ci/docker/subkey.Dockerfile b/bizinikiwi/scripts/ci/docker/pez-subkey.Dockerfile similarity index 100% rename from bizinikiwi/scripts/ci/docker/subkey.Dockerfile rename to bizinikiwi/scripts/ci/docker/pez-subkey.Dockerfile diff --git a/bizinikiwi/scripts/ci/docker/subkey.Dockerfile.README.md b/bizinikiwi/scripts/ci/docker/pez-subkey.Dockerfile.README.md similarity index 71% rename from bizinikiwi/scripts/ci/docker/subkey.Dockerfile.README.md rename to bizinikiwi/scripts/ci/docker/pez-subkey.Dockerfile.README.md index b05e732e..7980e924 100644 --- a/bizinikiwi/scripts/ci/docker/subkey.Dockerfile.README.md +++ b/bizinikiwi/scripts/ci/docker/pez-subkey.Dockerfile.README.md @@ -1,6 +1,6 @@ # Subkey -The `subkey` program is a key management utility for Bizinikiwi-based blockchains. You can use the `subkey` program to +The `pez_subkey` program is a key management utility for Bizinikiwi-based blockchains. You can use the `pez_subkey` program to perform the following tasks * Generate and inspect cryptographically-secure public and private key pairs. @@ -8,4 +8,4 @@ perform the following tasks * Sign and verify signatures on messages. * Sign and verify signatures for encoded transactions. * Derive hierarchical deterministic child key pairs. -* [Documentation](https://docs.pezkuwichain.io/reference/command-line-tools/subkey/) +* [Documentation](https://docs.pezkuwichain.io/reference/command-line-tools/pez_subkey/) diff --git a/bizinikiwi/scripts/ci/node-template-release.sh b/bizinikiwi/scripts/ci/pez-node-template-release.sh similarity index 100% rename from bizinikiwi/scripts/ci/node-template-release.sh rename to bizinikiwi/scripts/ci/pez-node-template-release.sh diff --git a/bizinikiwi/scripts/ci/node-template-release/Cargo.toml b/bizinikiwi/scripts/ci/pez-node-template-release/Cargo.toml similarity index 87% rename from bizinikiwi/scripts/ci/node-template-release/Cargo.toml rename to bizinikiwi/scripts/ci/pez-node-template-release/Cargo.toml index b90b35e3..fd1fa670 100644 --- a/bizinikiwi/scripts/ci/node-template-release/Cargo.toml +++ b/bizinikiwi/scripts/ci/pez-node-template-release/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "node-template-release" +name = "pez-node-template-release" version = "3.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true publish = false description = "Pezkuwi SDK component: node template release" -documentation = "https://docs.rs/node-template-release" +documentation = "https://docs.rs/pez-node-template-release" repository = { workspace = true } [lints] diff --git a/bizinikiwi/scripts/ci/node-template-release/src/main.rs b/bizinikiwi/scripts/ci/pez-node-template-release/src/main.rs similarity index 100% rename from bizinikiwi/scripts/ci/node-template-release/src/main.rs rename to bizinikiwi/scripts/ci/pez-node-template-release/src/main.rs diff --git a/bizinikiwi/test-utils/cli/Cargo.toml b/bizinikiwi/test-utils/cli/Cargo.toml index 55e4abbf..359b962f 100644 --- a/bizinikiwi/test-utils/cli/Cargo.toml +++ b/bizinikiwi/test-utils/cli/Cargo.toml @@ -21,7 +21,7 @@ assert_cmd = { workspace = true } futures = { workspace = true } nix = { features = ["signal"], workspace = true } node-cli = { workspace = true } -node-primitives = { workspace = true, default-features = true } +pez-node-primitives = { workspace = true, default-features = true } regex = { workspace = true } pezsc-cli = { workspace = true, default-features = false } pezsc-service = { workspace = true, default-features = false } @@ -33,7 +33,7 @@ tokio = { features = ["full"], workspace = true, default-features = true } try-runtime = ["node-cli/try-runtime"] runtime-benchmarks = [ "node-cli/runtime-benchmarks", - "node-primitives/runtime-benchmarks", + "pez-node-primitives/runtime-benchmarks", "pezsc-cli/runtime-benchmarks", "pezsc-service/runtime-benchmarks", "bizinikiwi-rpc-client/runtime-benchmarks", diff --git a/bizinikiwi/test-utils/cli/src/lib.rs b/bizinikiwi/test-utils/cli/src/lib.rs index 64a4c789..72f52a84 100644 --- a/bizinikiwi/test-utils/cli/src/lib.rs +++ b/bizinikiwi/test-utils/cli/src/lib.rs @@ -22,7 +22,7 @@ use nix::{ sys::signal::{kill, Signal, Signal::SIGINT}, unistd::Pid, }; -use node_primitives::{Hash, Header}; +use pez_node_primitives::{Hash, Header}; use regex::Regex; use pezsp_rpc::{list::ListOrValue, number::NumberOrHex}; use std::{ diff --git a/bizinikiwi/utils/fork-tree/Cargo.toml b/bizinikiwi/utils/pez-fork-tree/Cargo.toml similarity index 87% rename from bizinikiwi/utils/fork-tree/Cargo.toml rename to bizinikiwi/utils/pez-fork-tree/Cargo.toml index c8569a75..ebbea3d0 100644 --- a/bizinikiwi/utils/fork-tree/Cargo.toml +++ b/bizinikiwi/utils/pez-fork-tree/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "fork-tree" +name = "pez-fork-tree" version = "12.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "Utility library for managing tree-like ordered data with logic for pruning the tree while finalizing nodes." -documentation = "https://docs.rs/fork-tree" +documentation = "https://docs.rs/pez-fork-tree" readme = "README.md" [lints] diff --git a/bizinikiwi/utils/fork-tree/README.md b/bizinikiwi/utils/pez-fork-tree/README.md similarity index 100% rename from bizinikiwi/utils/fork-tree/README.md rename to bizinikiwi/utils/pez-fork-tree/README.md diff --git a/bizinikiwi/utils/fork-tree/src/lib.rs b/bizinikiwi/utils/pez-fork-tree/src/lib.rs similarity index 98% rename from bizinikiwi/utils/fork-tree/src/lib.rs rename to bizinikiwi/utils/pez-fork-tree/src/lib.rs index 995876ab..7935d401 100644 --- a/bizinikiwi/utils/fork-tree/src/lib.rs +++ b/bizinikiwi/utils/pez-fork-tree/src/lib.rs @@ -856,7 +856,7 @@ mod test { impl std::error::Error for TestError {} - fn test_fork_tree<'a>( + fn test_pez_fork_tree<'a>( ) -> (ForkTree<&'a str, u64, u32>, impl Fn(&&str, &&str) -> Result) { let mut tree = ForkTree::new(); @@ -925,7 +925,7 @@ mod test { #[test] fn import_doesnt_revert() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); tree.finalize_root(&"A"); @@ -936,7 +936,7 @@ mod test { #[test] fn import_doesnt_add_duplicates() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); assert_eq!(tree.import("A", 10, 1, &is_descendent_of), Err(Error::Duplicate)); @@ -950,7 +950,7 @@ mod test { #[test] fn finalize_root_works() { let finalize_a = || { - let (mut tree, ..) = test_fork_tree(); + let (mut tree, ..) = test_pez_fork_tree(); assert_eq!(tree.roots().map(|(h, n, _)| (*h, *n)).collect::>(), vec![("A", 10)]); @@ -992,7 +992,7 @@ mod test { #[test] fn finalize_works() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); let original_roots = tree.roots.clone(); @@ -1047,7 +1047,7 @@ mod test { #[test] fn finalize_with_ancestor_works() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); let original_roots = tree.roots.clone(); @@ -1226,7 +1226,7 @@ mod test { #[test] fn iter_iterates_in_preorder() { - let (tree, ..) = test_fork_tree(); + let (tree, ..) = test_pez_fork_tree(); assert_eq!( tree.iter().map(|(h, n, _)| (*h, *n)).collect::>(), vec![ @@ -1306,9 +1306,9 @@ mod test { #[test] fn map_works() { - let (mut tree, _) = test_fork_tree(); + let (mut tree, _) = test_pez_fork_tree(); - // Extend the single root fork-tree to also exercise the roots order during map. + // Extend the single root pez-fork-tree to also exercise the roots order during map. let is_descendent_of = |_: &&str, _: &&str| -> Result { Ok(false) }; let is_root = tree.import("A1", 10, 1, &is_descendent_of).unwrap(); assert!(is_root); @@ -1328,7 +1328,7 @@ mod test { #[test] fn prune_works_for_in_tree_hashes() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); let removed = tree.prune(&"C", &30, &is_descendent_of, &|_| true).unwrap(); @@ -1355,7 +1355,7 @@ mod test { #[test] fn prune_works_for_out_of_tree_hashes() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); let removed = tree.prune(&"c", &25, &is_descendent_of, &|_| true).unwrap(); @@ -1374,7 +1374,7 @@ mod test { #[test] fn prune_works_for_not_direct_ancestor() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); // This is to re-root the tree not at the immediate ancestor, but the one just before. let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 3).unwrap(); @@ -1391,7 +1391,7 @@ mod test { #[test] fn prune_works_for_far_away_ancestor() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 2).unwrap(); @@ -1439,7 +1439,7 @@ mod test { #[test] fn rebalance_works() { - let (mut tree, _) = test_fork_tree(); + let (mut tree, _) = test_pez_fork_tree(); // the tree is automatically rebalanced on import, therefore we should iterate in preorder // exploring the longest forks first. check the ascii art above to understand the expected @@ -1470,7 +1470,7 @@ mod test { #[test] fn drain_filter_works() { - let (mut tree, _) = test_fork_tree(); + let (mut tree, _) = test_pez_fork_tree(); let filter = |h: &&str, _: &u64, _: &u32| match *h { "A" | "B" | "F" | "G" => FilterAction::KeepNode, @@ -1494,7 +1494,7 @@ mod test { #[test] fn find_node_index_works() { - let (tree, is_descendent_of) = test_fork_tree(); + let (tree, is_descendent_of) = test_pez_fork_tree(); let path = tree .find_node_index_where(&"D", &40, &is_descendent_of, &|_| true) @@ -1563,7 +1563,7 @@ mod test { #[test] fn find_node_works() { - let (tree, is_descendent_of) = test_fork_tree(); + let (tree, is_descendent_of) = test_pez_fork_tree(); let node = tree.find_node_where(&"B", &20, &is_descendent_of, &|_| true).unwrap().unwrap(); assert_eq!((node.hash, node.number), ("A", 10)); @@ -1580,7 +1580,7 @@ mod test { #[test] fn post_order_traversal_requirement() { - let (mut tree, is_descendent_of) = test_fork_tree(); + let (mut tree, is_descendent_of) = test_pez_fork_tree(); // Test for the post-order DFS traversal requirement as specified by the // `find_node_index_where` and `import` comments. diff --git a/bizinikiwi/utils/pezframe/generate-bags/Cargo.toml b/bizinikiwi/utils/pezframe/pez-generate-bags/Cargo.toml similarity index 92% rename from bizinikiwi/utils/pezframe/generate-bags/Cargo.toml rename to bizinikiwi/utils/pezframe/pez-generate-bags/Cargo.toml index 3ebe545c..b2ebfc50 100644 --- a/bizinikiwi/utils/pezframe/generate-bags/Cargo.toml +++ b/bizinikiwi/utils/pezframe/pez-generate-bags/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "generate-bags" +name = "pez-generate-bags" version = "28.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "Bag threshold generation script for pezpallet-bag-list" -documentation = "https://docs.rs/generate-bags" +documentation = "https://docs.rs/pez-generate-bags" [lints] workspace = true diff --git a/bizinikiwi/utils/pezframe/generate-bags/node-runtime/Cargo.toml b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml similarity index 52% rename from bizinikiwi/utils/pezframe/generate-bags/node-runtime/Cargo.toml rename to bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml index 24c2b84b..be4cc4da 100644 --- a/bizinikiwi/utils/pezframe/generate-bags/node-runtime/Cargo.toml +++ b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml @@ -1,27 +1,27 @@ [package] -name = "node-runtime-generate-bags" +name = "node-runtime-pez-generate-bags" version = "3.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true -description = "Bag threshold generation script for pezpallet-bag-list and kitchensink-runtime." +description = "Bag threshold generation script for pezpallet-bag-list and pez-kitchensink-runtime." publish = false -documentation = "https://docs.rs/node-runtime-generate-bags" +documentation = "https://docs.rs/node-runtime-pez-generate-bags" [lints] workspace = true [dependencies] -generate-bags = { workspace = true, default-features = true } -kitchensink-runtime = { workspace = true } +pez-generate-bags = { workspace = true, default-features = true } +pez-kitchensink-runtime = { workspace = true } # third-party clap = { features = ["derive"], workspace = true } [features] runtime-benchmarks = [ - "generate-bags/runtime-benchmarks", - "kitchensink-runtime/runtime-benchmarks", + "pez-generate-bags/runtime-benchmarks", + "pez-kitchensink-runtime/runtime-benchmarks", ] diff --git a/bizinikiwi/utils/pezframe/generate-bags/node-runtime/src/main.rs b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/src/main.rs similarity index 93% rename from bizinikiwi/utils/pezframe/generate-bags/node-runtime/src/main.rs rename to bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/src/main.rs index 49987152..496e3d03 100644 --- a/bizinikiwi/utils/pezframe/generate-bags/node-runtime/src/main.rs +++ b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/src/main.rs @@ -18,7 +18,7 @@ //! Make the set of bag thresholds to be used with pezpallet-bags-list. use clap::Parser; -use generate_bags::generate_thresholds; +use pez_generate_bags::generate_thresholds; use std::path::PathBuf; #[derive(Debug, Parser)] @@ -43,7 +43,7 @@ struct Opt { fn main() -> Result<(), std::io::Error> { let Opt { n_bags, output, total_issuance, minimum_balance } = Opt::parse(); - generate_thresholds::( + generate_thresholds::( n_bags, &output, total_issuance, diff --git a/bizinikiwi/utils/pezframe/generate-bags/src/lib.rs b/bizinikiwi/utils/pezframe/pez-generate-bags/src/lib.rs similarity index 98% rename from bizinikiwi/utils/pezframe/generate-bags/src/lib.rs rename to bizinikiwi/utils/pezframe/pez-generate-bags/src/lib.rs index 6035b814..89fe4083 100644 --- a/bizinikiwi/utils/pezframe/generate-bags/src/lib.rs +++ b/bizinikiwi/utils/pezframe/pez-generate-bags/src/lib.rs @@ -37,12 +37,12 @@ //! //! 2. Write a little program to generate the definitions. This program exists only to hook together //! the runtime definitions with the various calculations here. Take a look at -//! _utils/pezframe/generate_bags/node-runtime_ for an example. +//! _utils/pezframe/pez_generate_bags/node-runtime_ for an example. //! //! 3. Run that program: //! //! ```sh,notrust -//! $ cargo run -p node-runtime-generate-bags -- --total-issuance 1234 --minimum-balance 1 +//! $ cargo run -p node-runtime-pez-generate-bags -- --total-issuance 1234 --minimum-balance 1 //! output.rs ``` //! //! 4. Update the runtime definition. diff --git a/bizinikiwi/utils/pezframe/storage-access-test-runtime/src/lib.rs b/bizinikiwi/utils/pezframe/storage-access-test-runtime/src/lib.rs index fd799e0a..3aee09e1 100644 --- a/bizinikiwi/utils/pezframe/storage-access-test-runtime/src/lib.rs +++ b/bizinikiwi/utils/pezframe/storage-access-test-runtime/src/lib.rs @@ -29,7 +29,7 @@ use pezsp_trie::StorageProof; #[cfg(all(not(feature = "std"), feature = "runtime-benchmarks"))] use { - pezcumulus_pallet_teyrchain_system::validate_block::{ + pezcumulus_pezpallet_teyrchain_system::validate_block::{ trie_cache::CacheProvider, trie_recorder::SizeOnlyRecorderProvider, }, pezsp_core::storage::StateVersion, @@ -103,7 +103,7 @@ impl StorageAccessParams { } } -/// Imitates `pezcumulus_pallet_teyrchain_system::validate_block::implementation::validate_block` +/// Imitates `pezcumulus_pezpallet_teyrchain_system::validate_block::implementation::validate_block` /// /// Only performs the storage access, this is used to benchmark the storage access cost. #[doc(hidden)] diff --git a/bizinikiwi/utils/wasm-builder/src/lib.rs b/bizinikiwi/utils/wasm-builder/src/lib.rs index 30d77993..adecc145 100644 --- a/bizinikiwi/utils/wasm-builder/src/lib.rs +++ b/bizinikiwi/utils/wasm-builder/src/lib.rs @@ -98,7 +98,7 @@ //! //! Each project can be skipped individually by using the environment variable //! `SKIP_PROJECT_NAME_WASM_BUILD`. Where `PROJECT_NAME` needs to be replaced by the name of the -//! cargo project, e.g. `kitchensink-runtime` will be `NODE_RUNTIME`. +//! cargo project, e.g. `pez-kitchensink-runtime` will be `NODE_RUNTIME`. //! //! ## Prerequisites: //! diff --git a/bridges/bin/runtime-common/Cargo.toml b/bridges/bin/runtime-common/Cargo.toml index 611cc22d..feb69f50 100644 --- a/bridges/bin/runtime-common/Cargo.toml +++ b/bridges/bin/runtime-common/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bridge-runtime-common" +name = "pezbridge-runtime-common" version = "0.7.0" description = "Common types and functions that may be used by bizinikiwi-based runtimes of all bridged chains" authors.workspace = true edition.workspace = true repository.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" -documentation = "https://docs.rs/bridge-runtime-common" +documentation = "https://docs.rs/pezbridge-runtime-common" homepage = { workspace = true } [lints] @@ -20,11 +20,11 @@ tracing = { workspace = true } tuplex = { workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-pezkuwi-core = { workspace = true } bp-relayers = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-teyrchains = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } pezpallet-bridge-messages = { workspace = true } @@ -57,11 +57,11 @@ pezsp-core = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-core/std", "bp-relayers/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-test-utils/std", "bp-teyrchains/std", "codec/std", @@ -84,12 +84,12 @@ std = [ "xcm/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", - "bp-runtime/test-helpers", + "pezbp-runtime/runtime-benchmarks", + "pezbp-runtime/test-helpers", "bp-test-utils/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezframe-support/runtime-benchmarks", @@ -109,4 +109,4 @@ runtime-benchmarks = [ "xcm/runtime-benchmarks", ] integrity-test = ["static_assertions"] -test-helpers = ["bp-runtime/test-helpers", "pezsp-trie"] +test-helpers = ["pezbp-runtime/test-helpers", "pezsp-trie"] diff --git a/bridges/bin/runtime-common/src/extensions.rs b/bridges/bin/runtime-common/src/extensions.rs index 5269c384..e019b930 100644 --- a/bridges/bin/runtime-common/src/extensions.rs +++ b/bridges/bin/runtime-common/src/extensions.rs @@ -19,7 +19,7 @@ //! checks. use bp_relayers::ExplicitOrAccountParams; -use bp_runtime::Teyrchain; +use pezbp_runtime::Teyrchain; use bp_teyrchains::SubmitTeyrchainHeadsInfo; use pezpallet_bridge_grandpa::{ BridgedBlockNumber, CallSubType as GrandpaCallSubType, SubmitFinalityProofHelper, @@ -374,11 +374,11 @@ macro_rules! generate_bridge_reject_obsolete_headers_and_messages { mod tests { use super::*; use crate::mock::*; - use bp_header_chain::StoredHeaderDataBuilder; + use bp_header_pez_chain::StoredHeaderDataBuilder; use bp_messages::{InboundLaneData, MessageNonce, OutboundLaneData}; use bp_pezkuwi_core::teyrchains::{ParaHeadsProof, ParaId}; use bp_relayers::{RewardsAccountOwner, RewardsAccountParams}; - use bp_runtime::HeaderId; + use pezbp_runtime::HeaderId; use bp_test_utils::{make_default_justification, test_keyring, TEST_GRANDPA_SET_ID}; use bp_teyrchains::{BestParaHeadHash, ParaInfo}; use codec::{Decode, Encode, MaxEncodedLen}; diff --git a/bridges/bin/runtime-common/src/integrity.rs b/bridges/bin/runtime-common/src/integrity.rs index 50b1902e..233c72b9 100644 --- a/bridges/bin/runtime-common/src/integrity.rs +++ b/bridges/bin/runtime-common/src/integrity.rs @@ -19,9 +19,9 @@ //! Most of the tests in this module assume that the bridge is using standard (see `crate::messages` //! module for details) configuration. -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::{ChainWithMessages, InboundLaneData, MessageNonce}; -use bp_runtime::{AccountIdOf, Chain}; +use pezbp_runtime::{AccountIdOf, Chain}; use codec::Encode; use pezframe_support::{storage::generator::StorageValue, traits::Get, weights::Weight}; use pezframe_system::limits; @@ -46,12 +46,12 @@ macro_rules! assert_chain_types( // configuration is used), or something has broke existing configuration (meaning that all bridged chains // and relays will stop functioning) - assert_type_eq_all!(<$r as SystemConfig>::Nonce, bp_runtime::NonceOf<$this>); - assert_type_eq_all!(BlockNumberFor<$r>, bp_runtime::BlockNumberOf<$this>); - assert_type_eq_all!(<$r as SystemConfig>::Hash, bp_runtime::HashOf<$this>); - assert_type_eq_all!(<$r as SystemConfig>::Hashing, bp_runtime::HasherOf<$this>); - assert_type_eq_all!(<$r as SystemConfig>::AccountId, bp_runtime::AccountIdOf<$this>); - assert_type_eq_all!(HeaderFor<$r>, bp_runtime::HeaderOf<$this>); + assert_type_eq_all!(<$r as SystemConfig>::Nonce, pezbp_runtime::NonceOf<$this>); + assert_type_eq_all!(BlockNumberFor<$r>, pezbp_runtime::BlockNumberOf<$this>); + assert_type_eq_all!(<$r as SystemConfig>::Hash, pezbp_runtime::HashOf<$this>); + assert_type_eq_all!(<$r as SystemConfig>::Hashing, pezbp_runtime::HasherOf<$this>); + assert_type_eq_all!(<$r as SystemConfig>::AccountId, pezbp_runtime::AccountIdOf<$this>); + assert_type_eq_all!(HeaderFor<$r>, pezbp_runtime::HeaderOf<$this>); } } ); @@ -70,7 +70,7 @@ macro_rules! assert_bridge_messages_pallet_types( { use $crate::integrity::__private::static_assertions::assert_type_eq_all; use bp_messages::ChainWithMessages; - use bp_runtime::Chain; + use pezbp_runtime::Chain; use pezpallet_bridge_messages::Config as BridgeMessagesConfig; // if one of asserts fail, then either bridge isn't configured properly (or alternatively - non-standard @@ -203,7 +203,7 @@ where // check that the bridge GRANDPA pallet has required name assert_eq!( pezpallet_bridge_grandpa::PalletOwner::::storage_value_final_key().to_vec(), - bp_runtime::storage_value_key( + pezbp_runtime::storage_value_key( params.with_bridged_chain_grandpa_pallet_name, "PalletOwner", ) @@ -211,7 +211,7 @@ where ); assert_eq!( pezpallet_bridge_grandpa::PalletOperatingMode::::storage_value_final_key().to_vec(), - bp_runtime::storage_value_key( + pezbp_runtime::storage_value_key( params.with_bridged_chain_grandpa_pallet_name, "PalletOperatingMode", ) @@ -237,7 +237,7 @@ where // check that the bridge messages pallet has required name assert_eq!( pezpallet_bridge_messages::PalletOwner::::storage_value_final_key().to_vec(), - bp_runtime::storage_value_key( + pezbp_runtime::storage_value_key( params.with_bridged_chain_messages_pallet_name, "PalletOwner", ) @@ -245,7 +245,7 @@ where ); assert_eq!( pezpallet_bridge_messages::PalletOperatingMode::::storage_value_final_key().to_vec(), - bp_runtime::storage_value_key( + pezbp_runtime::storage_value_key( params.with_bridged_chain_messages_pallet_name, "PalletOperatingMode", ) diff --git a/bridges/bin/runtime-common/src/messages_benchmarking.rs b/bridges/bin/runtime-common/src/messages_benchmarking.rs index d5c60e55..1ceb27db 100644 --- a/bridges/bin/runtime-common/src/messages_benchmarking.rs +++ b/bridges/bin/runtime-common/src/messages_benchmarking.rs @@ -15,7 +15,7 @@ // along with Parity Bridges Common. If not, see . //! Everything required to run benchmarks of messages module, based on -//! `bridge_runtime_common::messages` implementation. +//! `pezbridge_runtime_common::messages` implementation. #![cfg(feature = "runtime-benchmarks")] @@ -24,7 +24,7 @@ use bp_messages::{ target_chain::FromBridgedChainMessagesProof, MessagePayload, }; use bp_pezkuwi_core::teyrchains::ParaHash; -use bp_runtime::{AccountIdOf, Chain, HashOf, Teyrchain}; +use pezbp_runtime::{AccountIdOf, Chain, HashOf, Teyrchain}; use codec::Encode; use pezframe_support::weights::Weight; use pezpallet_bridge_messages::{ @@ -236,15 +236,15 @@ where /// Insert header to the bridge GRANDPA pallet. pub(crate) fn insert_header_to_grandpa_pallet( - state_root: bp_runtime::HashOf, -) -> (bp_runtime::BlockNumberOf, bp_runtime::HashOf) + state_root: pezbp_runtime::HashOf, +) -> (pezbp_runtime::BlockNumberOf, pezbp_runtime::HashOf) where R: pezpallet_bridge_grandpa::Config, GI: 'static, - R::BridgedChain: bp_runtime::Chain, + R::BridgedChain: pezbp_runtime::Chain, { let bridged_block_number = Zero::zero(); - let bridged_header = bp_runtime::HeaderOf::::new( + let bridged_header = pezbp_runtime::HeaderOf::::new( bridged_block_number, Default::default(), state_root, @@ -258,15 +258,15 @@ where /// Insert header to the bridge teyrchains pallet. pub(crate) fn insert_header_to_teyrchains_pallet( - state_root: bp_runtime::HashOf, -) -> (bp_runtime::BlockNumberOf, bp_runtime::HashOf) + state_root: pezbp_runtime::HashOf, +) -> (pezbp_runtime::BlockNumberOf, pezbp_runtime::HashOf) where R: pezpallet_bridge_teyrchains::Config, PI: 'static, PC: Chain + Teyrchain, { let bridged_block_number = Zero::zero(); - let bridged_header = bp_runtime::HeaderOf::::new( + let bridged_header = pezbp_runtime::HeaderOf::::new( bridged_block_number, Default::default(), state_root, diff --git a/bridges/bin/runtime-common/src/mock.rs b/bridges/bin/runtime-common/src/mock.rs index e3d8fa4d..fd3c93e6 100644 --- a/bridges/bin/runtime-common/src/mock.rs +++ b/bridges/bin/runtime-common/src/mock.rs @@ -18,13 +18,13 @@ #![cfg(test)] -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::{ target_chain::{DispatchMessage, MessageDispatch}, ChainWithMessages, HashedLaneId, LaneIdType, MessageNonce, }; use bp_relayers::{PayRewardFromAccount, RewardsAccountParams}; -use bp_runtime::{messages::MessageDispatchResult, Chain, ChainId, Teyrchain}; +use pezbp_runtime::{messages::MessageDispatchResult, Chain, ChainId, Teyrchain}; use bp_teyrchains::SingleParaStoredHeaderDataBuilder; use codec::Encode; use pezframe_support::{ diff --git a/bridges/bin/runtime-common/src/teyrchains_benchmarking.rs b/bridges/bin/runtime-common/src/teyrchains_benchmarking.rs index 3d806584..bd1155d1 100644 --- a/bridges/bin/runtime-common/src/teyrchains_benchmarking.rs +++ b/bridges/bin/runtime-common/src/teyrchains_benchmarking.rs @@ -21,7 +21,7 @@ use crate::messages_benchmarking::insert_header_to_grandpa_pallet; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId}; -use bp_runtime::{grow_storage_value, record_all_trie_keys, Chain, UnverifiedStorageProofParams}; +use pezbp_runtime::{grow_storage_value, record_all_trie_keys, Chain, UnverifiedStorageProofParams}; use bp_teyrchains::{ teyrchain_head_storage_key_at_source, RelayBlockHash, RelayBlockHasher, RelayBlockNumber, }; diff --git a/bridges/chains/chain-pezcumulus/Cargo.toml b/bridges/chains/chain-pezcumulus/Cargo.toml index 233bcff6..fdf7e5ae 100644 --- a/bridges/chains/chain-pezcumulus/Cargo.toml +++ b/bridges/chains/chain-pezcumulus/Cargo.toml @@ -19,7 +19,7 @@ workspace = true # Bridge Dependencies bp-messages = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Based Dependencies pezframe-support = { workspace = true } @@ -36,7 +36,7 @@ default = ["std"] std = [ "bp-messages/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "pezframe-support/std", "pezframe-system/std", "pezkuwi-primitives/std", @@ -47,7 +47,7 @@ std = [ runtime-benchmarks = [ "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", diff --git a/bridges/chains/chain-pezcumulus/src/lib.rs b/bridges/chains/chain-pezcumulus/src/lib.rs index 5563aae9..74909f09 100644 --- a/bridges/chains/chain-pezcumulus/src/lib.rs +++ b/bridges/chains/chain-pezcumulus/src/lib.rs @@ -32,7 +32,7 @@ pub use teyrchains_common::{ use bp_messages::*; use bp_pezkuwi_core::SuffixedCommonTransactionExtension; -use bp_runtime::extensions::{ +use pezbp_runtime::extensions::{ BridgeRejectObsoleteHeadersAndMessages, RefundBridgedTeyrchainMessagesSchema, }; use pezframe_support::{ diff --git a/bridges/chains/chain-pezkuwi-bulletin/Cargo.toml b/bridges/chains/chain-pezkuwi-bulletin/Cargo.toml index 2fd73c5d..6ff30536 100644 --- a/bridges/chains/chain-pezkuwi-bulletin/Cargo.toml +++ b/bridges/chains/chain-pezkuwi-bulletin/Cargo.toml @@ -20,10 +20,10 @@ codec = { features = ["derive"], workspace = true } scale-info = { features = ["derive"], workspace = true } # Bridge Dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Based Dependencies pezframe-support = { workspace = true } @@ -35,10 +35,10 @@ pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "pezframe-system/std", @@ -48,10 +48,10 @@ std = [ "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezsp-api/runtime-benchmarks", diff --git a/bridges/chains/chain-pezkuwi-bulletin/src/lib.rs b/bridges/chains/chain-pezkuwi-bulletin/src/lib.rs index c3394cc2..2f954a3d 100644 --- a/bridges/chains/chain-pezkuwi-bulletin/src/lib.rs +++ b/bridges/chains/chain-pezkuwi-bulletin/src/lib.rs @@ -19,9 +19,9 @@ #![warn(missing_docs)] #![cfg_attr(not(feature = "std"), no_std)] -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::{ChainWithMessages, MessageNonce}; -use bp_runtime::{ +use pezbp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, extensions::{ CheckEra, CheckGenesis, CheckNonZeroSender, CheckNonce, CheckSpecVersion, CheckTxVersion, diff --git a/bridges/docs/grandpa-finality-relay.html b/bridges/docs/grandpa-pez-finality-relay.html similarity index 100% rename from bridges/docs/grandpa-finality-relay.html rename to bridges/docs/grandpa-pez-finality-relay.html diff --git a/bridges/docs/high-level-overview.md b/bridges/docs/high-level-overview.md index 38ed5fc1..3fb05b43 100644 --- a/bridges/docs/high-level-overview.md +++ b/bridges/docs/high-level-overview.md @@ -115,7 +115,7 @@ stream and submits every new justification it sees to the target chain GRANDPA l searching for mandatory headers and submits their justifications - without that the pallet will be unable to move forward. -More: [GRANDPA Finality Relay Sequence Diagram](./grandpa-finality-relay.html), [pallet level documentation and +More: [GRANDPA Finality Relay Sequence Diagram](./grandpa-pez-finality-relay.html), [pallet level documentation and code](../relays/finality/). ### Teyrchains Finality Relay @@ -134,7 +134,7 @@ As its on-chain component (which requires bridge GRANDPA pallet to be deployed n requires GRANDPA finality relay to be running in parallel. Without it, the header `B` or any of its children's finality at source won't be relayed at target, and target chain won't be able to verify generated storage proof. -More: [Teyrchains Finality Relay Sequence Diagram](./teyrchains-finality-relay.html), [code](../relays/teyrchains/). +More: [Teyrchains Finality Relay Sequence Diagram](./teyrchains-pez-finality-relay.html), [code](../relays/teyrchains/). ### Messages Relay @@ -160,7 +160,7 @@ submits transactions to both source and target chains, it requires both _source- finality relays. They can be GRANDPA finality relays or GRANDPA+teyrchains finality relays, depending on the type of connected chain. -More: [Messages Relay Sequence Diagram](./messages-relay.html), [pallet level documentation and +More: [Messages Relay Sequence Diagram](./pez-messages-relay.html), [pallet level documentation and code](../relays/messages/). ### Complex Relay diff --git a/bridges/docs/messages-relay.html b/bridges/docs/pez-messages-relay.html similarity index 100% rename from bridges/docs/messages-relay.html rename to bridges/docs/pez-messages-relay.html diff --git a/bridges/docs/teyrchains-finality-relay.html b/bridges/docs/teyrchains-pez-finality-relay.html similarity index 100% rename from bridges/docs/teyrchains-finality-relay.html rename to bridges/docs/teyrchains-pez-finality-relay.html diff --git a/bridges/modules/beefy/Cargo.toml b/bridges/modules/beefy/Cargo.toml index fb5d74cf..19c46ea9 100644 --- a/bridges/modules/beefy/Cargo.toml +++ b/bridges/modules/beefy/Cargo.toml @@ -21,7 +21,7 @@ tracing = { workspace = true } # Bridge Dependencies bp-beefy = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true } @@ -43,7 +43,7 @@ pezsp-io = { workspace = true, default-features = true } default = ["std"] std = [ "bp-beefy/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "pezframe-system/std", @@ -63,7 +63,7 @@ try-runtime = [ ] runtime-benchmarks = [ "bp-beefy/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", diff --git a/bridges/modules/beefy/src/lib.rs b/bridges/modules/beefy/src/lib.rs index fb1c4422..7d350749 100644 --- a/bridges/modules/beefy/src/lib.rs +++ b/bridges/modules/beefy/src/lib.rs @@ -51,9 +51,9 @@ pub const LOG_TARGET: &str = "runtime::bridge-beefy"; /// Configured bridged chain. pub type BridgedChain = >::BridgedChain; /// Block number, used by configured bridged chain. -pub type BridgedBlockNumber = bp_runtime::BlockNumberOf>; +pub type BridgedBlockNumber = pezbp_runtime::BlockNumberOf>; /// Block hash, used by configured bridged chain. -pub type BridgedBlockHash = bp_runtime::HashOf>; +pub type BridgedBlockHash = pezbp_runtime::HashOf>; /// Pallet initialization data. pub type InitializationDataOf = @@ -98,7 +98,7 @@ pub struct ImportedCommitmentsInfoData { #[pezframe_support::pallet(dev_mode)] pub mod pallet { use super::*; - use bp_runtime::{BasicOperatingMode, OwnedBridgeModule}; + use pezbp_runtime::{BasicOperatingMode, OwnedBridgeModule}; use pezframe_support::pezpallet_prelude::*; use pezframe_system::pezpallet_prelude::*; @@ -383,7 +383,7 @@ pub mod pallet { /// The validators are not matching the merkle tree root of the authority set. InvalidValidatorSetRoot, /// Error generated by the `OwnedBridgeModule` trait. - BridgeModule(bp_runtime::OwnedBridgeModuleError), + BridgeModule(pezbp_runtime::OwnedBridgeModuleError), } /// Initialize pallet with given parameters. @@ -415,7 +415,7 @@ pub mod pallet { #[cfg(test)] mod tests { use super::*; - use bp_runtime::{BasicOperatingMode, OwnedBridgeModuleError}; + use pezbp_runtime::{BasicOperatingMode, OwnedBridgeModuleError}; use bp_test_utils::generate_owned_bridge_module_tests; use pezframe_support::{assert_noop, assert_ok, traits::Get}; use mock::*; diff --git a/bridges/modules/beefy/src/mock.rs b/bridges/modules/beefy/src/mock.rs index 452c725c..a9cf515d 100644 --- a/bridges/modules/beefy/src/mock.rs +++ b/bridges/modules/beefy/src/mock.rs @@ -22,7 +22,7 @@ use crate::{ }; use bp_beefy::{BeefyValidatorSignatureOf, ChainWithBeefy, Commitment, MmrDataOrHash}; -use bp_runtime::{BasicOperatingMode, Chain, ChainId}; +use pezbp_runtime::{BasicOperatingMode, Chain, ChainId}; use codec::Encode; use pezframe_support::{construct_runtime, derive_impl, weights::Weight}; use pezsp_core::{sr25519::Signature, Pair}; diff --git a/bridges/modules/grandpa/Cargo.toml b/bridges/modules/grandpa/Cargo.toml index 15fbf7ae..11c7aa81 100644 --- a/bridges/modules/grandpa/Cargo.toml +++ b/bridges/modules/grandpa/Cargo.toml @@ -20,8 +20,8 @@ scale-info = { features = ["derive"], workspace = true } tracing = { workspace = true } # Bridge Dependencies -bp-header-chain = { workspace = true } -bp-runtime = { workspace = true } +bp-header-pez-chain = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true } @@ -35,15 +35,15 @@ bp-test-utils = { optional = true, workspace = true } pezframe-benchmarking = { optional = true, workspace = true } [dev-dependencies] -bp-runtime = { features = ["test-helpers"], workspace = true } +pezbp-runtime = { features = ["test-helpers"], workspace = true } pezsp-core = { workspace = true, default-features = true } pezsp-io = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-header-chain/std", - "bp-runtime/std", + "bp-header-pez-chain/std", + "pezbp-runtime/std", "bp-test-utils/std", "codec/std", "pezframe-benchmarking/std", @@ -56,8 +56,8 @@ std = [ "tracing/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils", "bp-test-utils?/runtime-benchmarks", "pezframe-benchmarking/runtime-benchmarks", diff --git a/bridges/modules/grandpa/src/benchmarking.rs b/bridges/modules/grandpa/src/benchmarking.rs index 9481cf6f..437cac7c 100644 --- a/bridges/modules/grandpa/src/benchmarking.rs +++ b/bridges/modules/grandpa/src/benchmarking.rs @@ -42,8 +42,8 @@ use crate::*; -use bp_header_chain::justification::required_justification_precommits; -use bp_runtime::BasicOperatingMode; +use bp_header_pez_chain::justification::required_justification_precommits; +use pezbp_runtime::BasicOperatingMode; use bp_test_utils::{ accounts, make_justification_for_header, JustificationGeneratorParams, TEST_GRANDPA_ROUND, TEST_GRANDPA_SET_ID, diff --git a/bridges/modules/grandpa/src/call_ext.rs b/bridges/modules/grandpa/src/call_ext.rs index de073b6e..10524a4b 100644 --- a/bridges/modules/grandpa/src/call_ext.rs +++ b/bridges/modules/grandpa/src/call_ext.rs @@ -18,11 +18,11 @@ use crate::{ weights::WeightInfo, BestFinalized, BridgedBlockNumber, BridgedHeader, Config, CurrentAuthoritySet, Error, FreeHeadersRemaining, Pallet, }; -use bp_header_chain::{ +use bp_header_pez_chain::{ justification::GrandpaJustification, submit_finality_proof_limits_extras, SubmitFinalityProofInfo, }; -use bp_runtime::{BlockNumberOf, Chain, OwnedBridgeModule}; +use pezbp_runtime::{BlockNumberOf, Chain, OwnedBridgeModule}; use pezframe_support::{ dispatch::CallableCallFor, traits::{Get, IsSubType}, @@ -307,8 +307,8 @@ mod tests { BestFinalized, Config, CurrentAuthoritySet, FreeHeadersRemaining, PalletOperatingMode, StoredAuthoritySet, WeightInfo, }; - use bp_header_chain::{ChainWithGrandpa, SubmitFinalityProofInfo}; - use bp_runtime::{BasicOperatingMode, HeaderId}; + use bp_header_pez_chain::{ChainWithGrandpa, SubmitFinalityProofInfo}; + use pezbp_runtime::{BasicOperatingMode, HeaderId}; use bp_test_utils::{ make_default_justification, make_justification_for_header, JustificationGeneratorParams, TEST_GRANDPA_SET_ID, diff --git a/bridges/modules/grandpa/src/lib.rs b/bridges/modules/grandpa/src/lib.rs index 9f07f7f7..20742ee4 100644 --- a/bridges/modules/grandpa/src/lib.rs +++ b/bridges/modules/grandpa/src/lib.rs @@ -37,12 +37,12 @@ pub use storage_types::StoredAuthoritySet; -use bp_header_chain::{ +use bp_header_pez_chain::{ justification::GrandpaJustification, AuthoritySet, ChainWithGrandpa, GrandpaConsensusLogReader, HeaderChain, InitializationData, StoredHeaderData, StoredHeaderDataBuilder, StoredHeaderGrandpaInfo, }; -use bp_runtime::{BlockNumberOf, HashOf, HasherOf, HeaderId, HeaderOf, OwnedBridgeModule}; +use pezbp_runtime::{BlockNumberOf, HashOf, HasherOf, HeaderId, HeaderOf, OwnedBridgeModule}; use pezframe_support::{dispatch::PostDispatchInfo, ensure, DefaultNoBound}; use pezsp_consensus_grandpa::{AuthorityList, SetId}; use pezsp_runtime::{ @@ -91,7 +91,7 @@ pub type BridgedStoredHeaderData = #[pezframe_support::pallet] pub mod pallet { use super::*; - use bp_runtime::BasicOperatingMode; + use pezbp_runtime::BasicOperatingMode; use pezframe_support::pezpallet_prelude::*; use pezframe_system::pezpallet_prelude::*; @@ -530,7 +530,7 @@ pub mod pallet { /// Too many authorities in the set. TooManyAuthoritiesInSet, /// Error generated by the `OwnedBridgeModule` trait. - BridgeModule(bp_runtime::OwnedBridgeModuleError), + BridgeModule(pezbp_runtime::OwnedBridgeModuleError), /// The `current_set_id` argument of the `submit_finality_proof_ex` doesn't match /// the id of the current set, known to the pallet. InvalidAuthoritySetId, @@ -677,9 +677,9 @@ pub mod pallet { justification: &GrandpaJustification>, hash: BridgedBlockHash, number: BridgedBlockNumber, - authority_set: bp_header_chain::AuthoritySet, + authority_set: bp_header_pez_chain::AuthoritySet, ) -> Result<(), pezsp_runtime::DispatchError> { - use bp_header_chain::justification::verify_justification; + use bp_header_pez_chain::justification::verify_justification; Ok(verify_justification::>( (hash, number), @@ -816,7 +816,7 @@ pub fn initialize_for_benchmarks, I: 'static>(header: BridgedHeader authority_list: pezsp_std::vec::Vec::new(), /* we don't verify any proofs in external * benchmarks */ set_id: 0, - operating_mode: bp_runtime::BasicOperatingMode::Normal, + operating_mode: pezbp_runtime::BasicOperatingMode::Normal, }) .expect("only used from benchmarks; benchmarks are correct; qed"); } @@ -835,8 +835,8 @@ mod tests { run_test, test_header, FreeHeadersInterval, RuntimeEvent as TestEvent, RuntimeOrigin, System, TestBridgedChain, TestHeader, TestNumber, TestRuntime, MAX_BRIDGED_AUTHORITIES, }; - use bp_header_chain::BridgeGrandpaCall; - use bp_runtime::BasicOperatingMode; + use bp_header_pez_chain::BridgeGrandpaCall; + use pezbp_runtime::BasicOperatingMode; use bp_test_utils::{ authority_list, generate_owned_bridge_module_tests, make_default_justification, make_justification_for_header, JustificationGeneratorParams, ALICE, BOB, @@ -1059,7 +1059,7 @@ mod tests { )); assert_noop!( submit_finality_proof(1), - Error::::BridgeModule(bp_runtime::OwnedBridgeModuleError::Halted) + Error::::BridgeModule(pezbp_runtime::OwnedBridgeModuleError::Halted) ); assert_ok!(Pallet::::set_operating_mode( @@ -1453,7 +1453,7 @@ mod tests { Default::default(), ) .map(|_| ()), - bp_header_chain::HeaderChainError::UnknownHeader, + bp_header_pez_chain::HeaderChainError::UnknownHeader, ); }); } @@ -1461,7 +1461,7 @@ mod tests { #[test] fn parse_finalized_storage_accepts_valid_proof() { run_test(|| { - let (state_root, storage_proof) = bp_runtime::craft_valid_storage_proof(); + let (state_root, storage_proof) = pezbp_runtime::craft_valid_storage_proof(); let mut header = test_header(2); header.set_state_root(state_root); @@ -1666,17 +1666,17 @@ mod tests { fn storage_keys_computed_properly() { assert_eq!( PalletOperatingMode::::storage_value_final_key().to_vec(), - bp_header_chain::storage_keys::pezpallet_operating_mode_key("Grandpa").0, + bp_header_pez_chain::storage_keys::pezpallet_operating_mode_key("Grandpa").0, ); assert_eq!( CurrentAuthoritySet::::storage_value_final_key().to_vec(), - bp_header_chain::storage_keys::current_authority_set_key("Grandpa").0, + bp_header_pez_chain::storage_keys::current_authority_set_key("Grandpa").0, ); assert_eq!( BestFinalized::::storage_value_final_key().to_vec(), - bp_header_chain::storage_keys::best_finalized_key("Grandpa").0, + bp_header_pez_chain::storage_keys::best_finalized_key("Grandpa").0, ); } diff --git a/bridges/modules/grandpa/src/mock.rs b/bridges/modules/grandpa/src/mock.rs index 1b6aabfb..3fdd82d2 100644 --- a/bridges/modules/grandpa/src/mock.rs +++ b/bridges/modules/grandpa/src/mock.rs @@ -17,8 +17,8 @@ // From construct_runtime macro #![allow(clippy::from_over_into)] -use bp_header_chain::ChainWithGrandpa; -use bp_runtime::{Chain, ChainId}; +use bp_header_pez_chain::ChainWithGrandpa; +use pezbp_runtime::{Chain, ChainId}; use pezframe_support::{ construct_runtime, derive_impl, parameter_types, pezsp_runtime::StateVersion, traits::Hooks, weights::Weight, diff --git a/bridges/modules/grandpa/src/storage_types.rs b/bridges/modules/grandpa/src/storage_types.rs index 878d213a..76306700 100644 --- a/bridges/modules/grandpa/src/storage_types.rs +++ b/bridges/modules/grandpa/src/storage_types.rs @@ -18,7 +18,7 @@ use crate::{Config, Error}; -use bp_header_chain::{AuthoritySet, ChainWithGrandpa}; +use bp_header_pez_chain::{AuthoritySet, ChainWithGrandpa}; use codec::{Decode, Encode, MaxEncodedLen}; use pezframe_support::{traits::Get, BoundedVec, CloneNoBound, RuntimeDebugNoBound}; use scale_info::TypeInfo; diff --git a/bridges/modules/messages/Cargo.toml b/bridges/modules/messages/Cargo.toml index da02cee2..abe547e2 100644 --- a/bridges/modules/messages/Cargo.toml +++ b/bridges/modules/messages/Cargo.toml @@ -18,9 +18,9 @@ scale-info = { features = ["derive"], workspace = true } tracing = { workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-benchmarking = { optional = true, workspace = true } @@ -31,7 +31,7 @@ pezsp-std = { workspace = true } pezsp-trie = { optional = true, workspace = true } [dev-dependencies] -bp-runtime = { features = ["test-helpers"], workspace = true } +pezbp-runtime = { features = ["test-helpers"], workspace = true } bp-test-utils = { workspace = true } pezpallet-balances = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } @@ -41,9 +41,9 @@ pezsp-io = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-test-utils/std", "codec/std", "pezframe-benchmarking/std", @@ -60,10 +60,10 @@ std = [ "tracing/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", - "bp-runtime/test-helpers", + "pezbp-runtime/runtime-benchmarks", + "pezbp-runtime/test-helpers", "bp-test-utils/runtime-benchmarks", "pezframe-benchmarking/runtime-benchmarks", "pezframe-support/runtime-benchmarks", @@ -81,4 +81,4 @@ try-runtime = [ "pezpallet-bridge-grandpa/try-runtime", "pezsp-runtime/try-runtime", ] -test-helpers = ["bp-runtime/test-helpers", "pezsp-trie"] +test-helpers = ["pezbp-runtime/test-helpers", "pezsp-trie"] diff --git a/bridges/modules/messages/README.md b/bridges/modules/messages/README.md index 4efcef95..2a485bad 100644 --- a/bridges/modules/messages/README.md +++ b/bridges/modules/messages/README.md @@ -85,7 +85,7 @@ proofs. Other bridges may use transaction proofs, Bizinikiwi header digests or a **IMPORTANT NOTE**: everything below in this chapter describes details of the messages module configuration. But if you're interested in well-probed and relatively easy integration of two Bizinikiwi-based chains, you may want to look at -the [bridge-runtime-common](../../bin/runtime-common/) crate. This crate is providing a lot of helpers for integration, +the [pezbridge-runtime-common](../../bin/runtime-common/) crate. This crate is providing a lot of helpers for integration, which may be directly used from within your runtime. Then if you'll decide to change something in this scheme, get back here for detailed information. diff --git a/bridges/modules/messages/src/benchmarking.rs b/bridges/modules/messages/src/benchmarking.rs index eb37f4f8..29c9fa2b 100644 --- a/bridges/modules/messages/src/benchmarking.rs +++ b/bridges/modules/messages/src/benchmarking.rs @@ -29,7 +29,7 @@ use bp_messages::{ InboundLaneData, LaneState, MessageNonce, OutboundLaneData, UnrewardedRelayer, UnrewardedRelayersState, }; -use bp_runtime::{AccountIdOf, HashOf, UnverifiedStorageProofParams}; +use pezbp_runtime::{AccountIdOf, HashOf, UnverifiedStorageProofParams}; use codec::Decode; use pezframe_benchmarking::{account, v2::*}; use pezframe_support::weights::Weight; diff --git a/bridges/modules/messages/src/call_ext.rs b/bridges/modules/messages/src/call_ext.rs index 06a67b03..db0e8ca9 100644 --- a/bridges/modules/messages/src/call_ext.rs +++ b/bridges/modules/messages/src/call_ext.rs @@ -23,7 +23,7 @@ use bp_messages::{ MessageNonce, MessagesCallInfo, ReceiveMessagesDeliveryProofInfo, ReceiveMessagesProofInfo, UnrewardedRelayerOccupation, }; -use bp_runtime::{AccountIdOf, OwnedBridgeModule}; +use pezbp_runtime::{AccountIdOf, OwnedBridgeModule}; use pezframe_support::{dispatch::CallableCallFor, traits::IsSubType}; use pezsp_runtime::transaction_validity::TransactionValidity; diff --git a/bridges/modules/messages/src/inbound_lane.rs b/bridges/modules/messages/src/inbound_lane.rs index 97fb03d7..dd623d69 100644 --- a/bridges/modules/messages/src/inbound_lane.rs +++ b/bridges/modules/messages/src/inbound_lane.rs @@ -23,7 +23,7 @@ use bp_messages::{ ChainWithMessages, DeliveredMessages, InboundLaneData, LaneState, MessageKey, MessageNonce, OutboundLaneData, ReceptionResult, UnrewardedRelayer, }; -use bp_runtime::AccountIdOf; +use pezbp_runtime::AccountIdOf; use codec::{Decode, Encode, EncodeLike, MaxEncodedLen}; use scale_info::{Type, TypeInfo}; use pezsp_runtime::RuntimeDebug; diff --git a/bridges/modules/messages/src/lanes_manager.rs b/bridges/modules/messages/src/lanes_manager.rs index 9b00bb50..0e9441e7 100644 --- a/bridges/modules/messages/src/lanes_manager.rs +++ b/bridges/modules/messages/src/lanes_manager.rs @@ -24,7 +24,7 @@ use bp_messages::{ target_chain::MessageDispatch, ChainWithMessages, InboundLaneData, LaneState, MessageKey, MessageNonce, OutboundLaneData, }; -use bp_runtime::AccountIdOf; +use pezbp_runtime::AccountIdOf; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use pezframe_support::{ensure, pezsp_runtime::RuntimeDebug, PalletError}; use scale_info::TypeInfo; diff --git a/bridges/modules/messages/src/lib.rs b/bridges/modules/messages/src/lib.rs index 9a5f5515..f7f9c9ec 100644 --- a/bridges/modules/messages/src/lib.rs +++ b/bridges/modules/messages/src/lib.rs @@ -50,7 +50,7 @@ pub use weights_ext::{ EXPECTED_DEFAULT_MESSAGE_LENGTH, EXTRA_STORAGE_PROOF_SIZE, }; -use bp_header_chain::HeaderChain; +use bp_header_pez_chain::HeaderChain; use bp_messages::{ source_chain::{ DeliveryConfirmationPayments, FromBridgedChainMessagesDeliveryProof, OnMessagesDelivered, @@ -64,7 +64,7 @@ use bp_messages::{ MessageNonce, MessagePayload, MessagesOperatingMode, OutboundLaneData, OutboundMessageDetails, UnrewardedRelayersState, VerificationError, }; -use bp_runtime::{ +use pezbp_runtime::{ AccountIdOf, BasicOperatingMode, HashOf, OwnedBridgeModule, PreComputedSize, RangeInclusiveExt, Size, }; @@ -98,7 +98,7 @@ pub const LOG_TARGET: &str = "runtime::bridge-messages"; pub mod pallet { use super::*; use bp_messages::{LaneIdType, ReceivedMessages, ReceptionResult}; - use bp_runtime::RangeInclusiveExt; + use pezbp_runtime::RangeInclusiveExt; use pezframe_support::pezpallet_prelude::*; use pezframe_system::pezpallet_prelude::*; @@ -497,7 +497,7 @@ pub mod pallet { /// Error confirming messages receival. ReceptionConfirmation(ReceptionConfirmationError), /// Error generated by the `OwnedBridgeModule` trait. - BridgeModule(bp_runtime::OwnedBridgeModuleError), + BridgeModule(pezbp_runtime::OwnedBridgeModuleError), } /// Optional pallet owner. diff --git a/bridges/modules/messages/src/migration.rs b/bridges/modules/messages/src/migration.rs index a6bac83b..0a436fd0 100644 --- a/bridges/modules/messages/src/migration.rs +++ b/bridges/modules/messages/src/migration.rs @@ -31,7 +31,7 @@ pub mod v0 { use super::Config; use crate::BridgedChainOf; use bp_messages::{MessageNonce, UnrewardedRelayer}; - use bp_runtime::AccountIdOf; + use pezbp_runtime::AccountIdOf; use codec::{Decode, Encode}; use pezsp_std::collections::vec_deque::VecDeque; diff --git a/bridges/modules/messages/src/proofs.rs b/bridges/modules/messages/src/proofs.rs index 77f898fd..4451c8e1 100644 --- a/bridges/modules/messages/src/proofs.rs +++ b/bridges/modules/messages/src/proofs.rs @@ -18,14 +18,14 @@ use crate::{BridgedChainOf, BridgedHeaderChainOf, Config}; -use bp_header_chain::{HeaderChain, HeaderChainError}; +use bp_header_pez_chain::{HeaderChain, HeaderChainError}; use bp_messages::{ source_chain::FromBridgedChainMessagesDeliveryProof, target_chain::{FromBridgedChainMessagesProof, ProvedLaneMessages, ProvedMessages}, ChainWithMessages, InboundLaneData, Message, MessageKey, MessageNonce, MessagePayload, OutboundLaneData, VerificationError, }; -use bp_runtime::{ +use pezbp_runtime::{ HashOf, HasherOf, RangeInclusiveExt, RawStorageProof, StorageProofChecker, StorageProofError, }; use codec::Decode; @@ -216,9 +216,9 @@ mod tests { mock::*, }; - use bp_header_chain::{HeaderChainError, StoredHeaderDataBuilder}; + use bp_header_pez_chain::{HeaderChainError, StoredHeaderDataBuilder}; use bp_messages::LaneState; - use bp_runtime::{HeaderId, StorageProofError}; + use pezbp_runtime::{HeaderId, StorageProofError}; use codec::Encode; use pezsp_runtime::traits::Header; @@ -236,7 +236,7 @@ mod tests { test_lane_id(), 1..=nonces_end, outbound_lane_data, - bp_runtime::UnverifiedStorageProofParams::default(), + pezbp_runtime::UnverifiedStorageProofParams::default(), generate_dummy_message, encode_message, encode_outbound_lane_data, diff --git a/bridges/modules/messages/src/tests/messages_generation.rs b/bridges/modules/messages/src/tests/messages_generation.rs index e5ab621e..eff384b4 100644 --- a/bridges/modules/messages/src/tests/messages_generation.rs +++ b/bridges/modules/messages/src/tests/messages_generation.rs @@ -20,7 +20,7 @@ use bp_messages::{ storage_keys, ChainWithMessages, InboundLaneData, MessageKey, MessageNonce, MessagePayload, OutboundLaneData, }; -use bp_runtime::{ +use pezbp_runtime::{ grow_storage_value, record_all_trie_keys, AccountIdOf, Chain, HashOf, HasherOf, RawStorageProof, UnverifiedStorageProofParams, }; diff --git a/bridges/modules/messages/src/tests/mock.rs b/bridges/modules/messages/src/tests/mock.rs index 49fdd3d7..2403cd0d 100644 --- a/bridges/modules/messages/src/tests/mock.rs +++ b/bridges/modules/messages/src/tests/mock.rs @@ -25,7 +25,7 @@ use crate::{ Config, StoredMessagePayload, }; -use bp_header_chain::{ChainWithGrandpa, StoredHeaderData}; +use bp_header_pez_chain::{ChainWithGrandpa, StoredHeaderData}; use bp_messages::{ calc_relayers_rewards, source_chain::{ @@ -39,7 +39,7 @@ use bp_messages::{ Message, MessageKey, MessageNonce, OutboundLaneData, UnrewardedRelayer, UnrewardedRelayersState, }; -use bp_runtime::{ +use pezbp_runtime::{ messages::MessageDispatchResult, Chain, ChainId, Size, UnverifiedStorageProofParams, }; use codec::{Decode, DecodeWithMemTracking, Encode}; @@ -215,7 +215,7 @@ impl crate::benchmarking::Config<()> for TestRuntime { fn prepare_message_proof( params: crate::benchmarking::MessageProofParams, ) -> (FromBridgedChainMessagesProof, Weight) { - use bp_runtime::RangeInclusiveExt; + use pezbp_runtime::RangeInclusiveExt; let dispatch_weight = REGULAR_PAYLOAD.declared_weight * params.message_nonces.saturating_len(); @@ -324,11 +324,11 @@ impl DeliveryConfirmationPayments for TestDeliveryCon fn pay_reward( _lane_id: TestLaneIdType, - messages_relayers: VecDeque>, + pez_messages_relayers: VecDeque>, _confirmation_relayer: &AccountId, received_range: &RangeInclusive, ) -> MessageNonce { - let relayers_rewards = calc_relayers_rewards(messages_relayers, received_range); + let relayers_rewards = calc_relayers_rewards(pez_messages_relayers, received_range); let rewarded_relayers = relayers_rewards.len(); for (relayer, reward) in &relayers_rewards { let key = (b":relayer-reward:", relayer, reward).encode(); diff --git a/bridges/modules/messages/src/tests/pezpallet_tests.rs b/bridges/modules/messages/src/tests/pezpallet_tests.rs index 8d8d0cac..98c96165 100644 --- a/bridges/modules/messages/src/tests/pezpallet_tests.rs +++ b/bridges/modules/messages/src/tests/pezpallet_tests.rs @@ -34,7 +34,7 @@ use bp_messages::{ OutboundLaneData, OutboundMessageDetails, UnrewardedRelayer, UnrewardedRelayersState, VerificationError, }; -use bp_runtime::{BasicOperatingMode, PreComputedSize, RangeInclusiveExt, Size}; +use pezbp_runtime::{BasicOperatingMode, PreComputedSize, RangeInclusiveExt, Size}; use bp_test_utils::generate_owned_bridge_module_tests; use codec::Encode; use pezframe_support::{ @@ -140,7 +140,7 @@ fn pezpallet_rejects_transactions_if_halted() { 1, REGULAR_PAYLOAD.declared_weight, ), - Error::::BridgeModule(bp_runtime::OwnedBridgeModuleError::Halted), + Error::::BridgeModule(pezbp_runtime::OwnedBridgeModuleError::Halted), ); let delivery_proof = prepare_messages_delivery_proof( @@ -162,7 +162,7 @@ fn pezpallet_rejects_transactions_if_halted() { last_delivered_nonce: 1, }, ), - Error::::BridgeModule(bp_runtime::OwnedBridgeModuleError::Halted), + Error::::BridgeModule(pezbp_runtime::OwnedBridgeModuleError::Halted), ); assert_ok!(Pallet::::do_try_state()); }); diff --git a/bridges/modules/messages/src/weights_ext.rs b/bridges/modules/messages/src/weights_ext.rs index 72e942b2..c49464ff 100644 --- a/bridges/modules/messages/src/weights_ext.rs +++ b/bridges/modules/messages/src/weights_ext.rs @@ -19,7 +19,7 @@ use crate::weights::WeightInfo; use bp_messages::{MessageNonce, UnrewardedRelayersState}; -use bp_runtime::{PreComputedSize, Size}; +use pezbp_runtime::{PreComputedSize, Size}; use pezframe_support::weights::Weight; /// Size of the message being delivered in benchmarks. diff --git a/bridges/modules/relayers/Cargo.toml b/bridges/modules/relayers/Cargo.toml index 66e9922d..b927d291 100644 --- a/bridges/modules/relayers/Cargo.toml +++ b/bridges/modules/relayers/Cargo.toml @@ -18,10 +18,10 @@ scale-info = { features = ["derive"], workspace = true } tracing = { workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-relayers = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } pezpallet-bridge-messages = { workspace = true } pezpallet-bridge-teyrchains = { workspace = true } @@ -46,11 +46,11 @@ pezsp-io = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-core/std", "bp-relayers/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-test-utils/std", "bp-teyrchains/std", "codec/std", @@ -70,11 +70,11 @@ std = [ "tracing/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezframe-benchmarking/runtime-benchmarks", diff --git a/bridges/modules/relayers/src/extension/grandpa_adapter.rs b/bridges/modules/relayers/src/extension/grandpa_adapter.rs index b40192ae..455d0ab8 100644 --- a/bridges/modules/relayers/src/extension/grandpa_adapter.rs +++ b/bridges/modules/relayers/src/extension/grandpa_adapter.rs @@ -22,7 +22,7 @@ use crate::{ }; use bp_relayers::{BatchCallUnpacker, ExtensionCallData, ExtensionCallInfo, ExtensionConfig}; -use bp_runtime::{Chain, StaticStrProvider}; +use pezbp_runtime::{Chain, StaticStrProvider}; use core::marker::PhantomData; use pezframe_support::dispatch::{DispatchInfo, PostDispatchInfo}; use pezframe_system::Config as SystemConfig; diff --git a/bridges/modules/relayers/src/extension/messages_adapter.rs b/bridges/modules/relayers/src/extension/messages_adapter.rs index 74ded9ea..ee85cde2 100644 --- a/bridges/modules/relayers/src/extension/messages_adapter.rs +++ b/bridges/modules/relayers/src/extension/messages_adapter.rs @@ -20,7 +20,7 @@ use crate::{extension::verify_messages_call_succeeded, Config as BridgeRelayersConfig}; use bp_relayers::{ExtensionCallData, ExtensionCallInfo, ExtensionConfig}; -use bp_runtime::StaticStrProvider; +use pezbp_runtime::StaticStrProvider; use core::marker::PhantomData; use pezframe_support::dispatch::{DispatchInfo, PostDispatchInfo}; use pezpallet_bridge_messages::{ diff --git a/bridges/modules/relayers/src/extension/mod.rs b/bridges/modules/relayers/src/extension/mod.rs index d6ede7cb..38473b8f 100644 --- a/bridges/modules/relayers/src/extension/mod.rs +++ b/bridges/modules/relayers/src/extension/mod.rs @@ -29,7 +29,7 @@ use bp_relayers::{ ExplicitOrAccountParams, ExtensionCallData, ExtensionCallInfo, ExtensionConfig, RewardsAccountOwner, RewardsAccountParams, }; -use bp_runtime::{Chain, RangeInclusiveExt, StaticStrProvider}; +use pezbp_runtime::{Chain, RangeInclusiveExt, StaticStrProvider}; use codec::{Decode, DecodeWithMemTracking, Encode}; use core::{fmt::Debug, marker::PhantomData}; use pezframe_support::{ @@ -86,7 +86,7 @@ impl Option<&mut bp_header_chain::SubmitFinalityProofInfo> { + ) -> Option<&mut bp_header_pez_chain::SubmitFinalityProofInfo> { match self.call_info { ExtensionCallInfo::AllFinalityAndMsgs(ref mut info, _, _) => Some(info), ExtensionCallInfo::RelayFinalityAndMsgs(ref mut info, _) => Some(info), @@ -454,7 +454,7 @@ mod tests { use super::*; use crate::mock::*; - use bp_header_chain::{StoredHeaderDataBuilder, SubmitFinalityProofInfo}; + use bp_header_pez_chain::{StoredHeaderDataBuilder, SubmitFinalityProofInfo}; use bp_messages::{ source_chain::FromBridgedChainMessagesDeliveryProof, target_chain::FromBridgedChainMessagesProof, BaseMessagesProofInfo, DeliveredMessages, @@ -464,7 +464,7 @@ mod tests { }; use bp_pezkuwi_core::teyrchains::{ParaHeadsProof, ParaId}; use bp_relayers::RuntimeWithUtilityPallet; - use bp_runtime::{BasicOperatingMode, HeaderId, Teyrchain}; + use pezbp_runtime::{BasicOperatingMode, HeaderId, Teyrchain}; use bp_test_utils::{make_default_justification, test_keyring, TEST_GRANDPA_SET_ID}; use bp_teyrchains::{BestParaHeadHash, ParaInfo, SubmitTeyrchainHeadsInfo}; use pezframe_support::{ @@ -499,9 +499,9 @@ mod tests { ); } - bp_runtime::generate_static_str_provider!(TestGrandpaExtension); - bp_runtime::generate_static_str_provider!(TestExtension); - bp_runtime::generate_static_str_provider!(TestMessagesExtension); + pezbp_runtime::generate_static_str_provider!(TestGrandpaExtension); + pezbp_runtime::generate_static_str_provider!(TestExtension); + pezbp_runtime::generate_static_str_provider!(TestMessagesExtension); type TestGrandpaExtensionConfig = grandpa_adapter::WithGrandpaChainExtensionConfig< StrTestGrandpaExtension, diff --git a/bridges/modules/relayers/src/extension/priority.rs b/bridges/modules/relayers/src/extension/priority.rs index 2716d30b..9de24e16 100644 --- a/bridges/modules/relayers/src/extension/priority.rs +++ b/bridges/modules/relayers/src/extension/priority.rs @@ -52,7 +52,7 @@ mod integrity_tests { use super::{compute_priority_boost, ItemCount}; use bp_messages::MessageNonce; - use bp_runtime::PreComputedSize; + use pezbp_runtime::PreComputedSize; use pezframe_support::{ dispatch::{DispatchClass, DispatchInfo, Pays, PostDispatchInfo}, traits::Get, @@ -142,7 +142,7 @@ mod integrity_tests { pub mod per_relay_header { use super::*; - use bp_header_chain::{ + use bp_header_pez_chain::{ max_expected_submit_finality_proof_arguments_size, ChainWithGrandpa, }; use pezpallet_bridge_grandpa::WeightInfoExt; @@ -231,7 +231,7 @@ mod integrity_tests { pub mod per_teyrchain_header { use super::*; - use bp_runtime::Teyrchain; + use pezbp_runtime::Teyrchain; use pezpallet_bridge_teyrchains::WeightInfoExt; /// Ensures that the value of `PriorityBoostPerHeader` matches the value of diff --git a/bridges/modules/relayers/src/extension/teyrchain_adapter.rs b/bridges/modules/relayers/src/extension/teyrchain_adapter.rs index 871b1f6d..28fca52f 100644 --- a/bridges/modules/relayers/src/extension/teyrchain_adapter.rs +++ b/bridges/modules/relayers/src/extension/teyrchain_adapter.rs @@ -25,7 +25,7 @@ use crate::{ }; use bp_relayers::{BatchCallUnpacker, ExtensionCallData, ExtensionCallInfo, ExtensionConfig}; -use bp_runtime::{StaticStrProvider, Teyrchain}; +use pezbp_runtime::{StaticStrProvider, Teyrchain}; use core::marker::PhantomData; use pezframe_support::dispatch::{DispatchInfo, PostDispatchInfo}; use pezframe_system::Config as SystemConfig; diff --git a/bridges/modules/relayers/src/lib.rs b/bridges/modules/relayers/src/lib.rs index 8764ccc6..7471e7ed 100644 --- a/bridges/modules/relayers/src/lib.rs +++ b/bridges/modules/relayers/src/lib.rs @@ -23,7 +23,7 @@ extern crate alloc; pub use bp_relayers::RewardLedger; use bp_relayers::{PaymentProcedure, Registration, RelayerRewardsKeyProvider, StakeAndSlash}; -use bp_runtime::StorageDoubleMapKeyProvider; +use pezbp_runtime::StorageDoubleMapKeyProvider; use core::marker::PhantomData; use pezframe_support::{fail, traits::tokens::Balance}; use pezsp_arithmetic::traits::{AtLeast32BitUnsigned, Zero}; diff --git a/bridges/modules/relayers/src/migration.rs b/bridges/modules/relayers/src/migration.rs index 6d974154..cd3c0584 100644 --- a/bridges/modules/relayers/src/migration.rs +++ b/bridges/modules/relayers/src/migration.rs @@ -30,7 +30,7 @@ pub const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); pub mod v0 { use crate::{Config, Pallet}; use bp_relayers::RewardsAccountOwner; - use bp_runtime::{ChainId, StorageDoubleMapKeyProvider}; + use pezbp_runtime::{ChainId, StorageDoubleMapKeyProvider}; use codec::{Codec, Decode, Encode, EncodeLike, MaxEncodedLen}; use core::marker::PhantomData; use pezframe_support::{pezpallet_prelude::OptionQuery, Blake2_128Concat, Identity}; @@ -122,7 +122,7 @@ pub mod v1 { use crate::{Config, Pallet}; use bp_messages::LaneIdType; use bp_relayers::RewardsAccountParams; - use bp_runtime::StorageDoubleMapKeyProvider; + use pezbp_runtime::StorageDoubleMapKeyProvider; use codec::{Codec, EncodeLike}; use core::marker::PhantomData; use pezframe_support::{ diff --git a/bridges/modules/relayers/src/mock.rs b/bridges/modules/relayers/src/mock.rs index d7daa99a..b9439a08 100644 --- a/bridges/modules/relayers/src/mock.rs +++ b/bridges/modules/relayers/src/mock.rs @@ -18,7 +18,7 @@ use crate as pezpallet_bridge_relayers; -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::{ target_chain::{DispatchMessage, MessageDispatch}, ChainWithMessages, HashedLaneId, LaneIdType, MessageNonce, @@ -26,7 +26,7 @@ use bp_messages::{ use bp_relayers::{ PayRewardFromAccount, PaymentProcedure, RewardsAccountOwner, RewardsAccountParams, }; -use bp_runtime::{messages::MessageDispatchResult, Chain, ChainId, Teyrchain}; +use pezbp_runtime::{messages::MessageDispatchResult, Chain, ChainId, Teyrchain}; use bp_teyrchains::SingleParaStoredHeaderDataBuilder; use codec::Encode; use pezframe_support::{ diff --git a/bridges/modules/relayers/src/payment_adapter.rs b/bridges/modules/relayers/src/payment_adapter.rs index 89e115df..30f89beb 100644 --- a/bridges/modules/relayers/src/payment_adapter.rs +++ b/bridges/modules/relayers/src/payment_adapter.rs @@ -26,7 +26,7 @@ use bp_messages::{ }; pub use bp_relayers::PayRewardFromAccount; use bp_relayers::{RewardsAccountOwner, RewardsAccountParams}; -use bp_runtime::Chain; +use pezbp_runtime::Chain; use core::{marker::PhantomData, ops::RangeInclusive}; use pezframe_support::{pezsp_runtime::SaturatedConversion, traits::Get}; use pezpallet_bridge_messages::LaneIdOf; @@ -51,12 +51,12 @@ where fn pay_reward( lane_id: LaneIdOf, - messages_relayers: VecDeque>, + pez_messages_relayers: VecDeque>, confirmation_relayer: &T::AccountId, received_range: &RangeInclusive, ) -> MessageNonce { let relayers_rewards = - bp_messages::calc_relayers_rewards::(messages_relayers, received_range); + bp_messages::calc_relayers_rewards::(pez_messages_relayers, received_range); let rewarded_relayers = relayers_rewards.len(); register_relayers_rewards::( diff --git a/bridges/modules/teyrchains/Cargo.toml b/bridges/modules/teyrchains/Cargo.toml index 618a8a80..ab29bbbd 100644 --- a/bridges/modules/teyrchains/Cargo.toml +++ b/bridges/modules/teyrchains/Cargo.toml @@ -18,9 +18,9 @@ scale-info = { features = ["derive"], workspace = true } tracing = { workspace = true } # Bridge Dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-teyrchains = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } @@ -32,7 +32,7 @@ pezsp-runtime = { workspace = true } pezsp-std = { workspace = true } [dev-dependencies] -bp-header-chain = { workspace = true, default-features = true } +bp-header-pez-chain = { workspace = true, default-features = true } bp-test-utils = { workspace = true, default-features = true } pezsp-core = { workspace = true, default-features = true } pezsp-io = { workspace = true, default-features = true } @@ -40,9 +40,9 @@ pezsp-io = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-teyrchains/std", "codec/std", "pezframe-benchmarking/std", @@ -55,9 +55,9 @@ std = [ "tracing/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezframe-benchmarking/runtime-benchmarks", diff --git a/bridges/modules/teyrchains/src/benchmarking.rs b/bridges/modules/teyrchains/src/benchmarking.rs index 810df129..1e8e9fba 100644 --- a/bridges/modules/teyrchains/src/benchmarking.rs +++ b/bridges/modules/teyrchains/src/benchmarking.rs @@ -22,7 +22,7 @@ use crate::{ }; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHeadsProof, ParaId}; -use bp_runtime::UnverifiedStorageProofParams; +use pezbp_runtime::UnverifiedStorageProofParams; use pezframe_benchmarking::{account, benchmarks_instance_pallet}; use pezframe_system::RawOrigin; use pezsp_std::prelude::*; @@ -46,7 +46,7 @@ benchmarks_instance_pallet! { where_clause { where >::BridgedChain: - bp_runtime::Chain< + pezbp_runtime::Chain< BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher, diff --git a/bridges/modules/teyrchains/src/call_ext.rs b/bridges/modules/teyrchains/src/call_ext.rs index 07ce9557..8a07c8c6 100644 --- a/bridges/modules/teyrchains/src/call_ext.rs +++ b/bridges/modules/teyrchains/src/call_ext.rs @@ -15,8 +15,8 @@ // along with Parity Bridges Common. If not, see . use crate::{Config, GrandpaPalletOf, Pallet, RelayBlockNumber}; -use bp_header_chain::HeaderChain; -use bp_runtime::{HeaderId, OwnedBridgeModule}; +use bp_header_pez_chain::HeaderChain; +use pezbp_runtime::{HeaderId, OwnedBridgeModule}; use bp_teyrchains::{BestParaHeadHash, SubmitTeyrchainHeadsInfo}; use pezframe_support::{ dispatch::CallableCallFor, @@ -258,9 +258,9 @@ mod tests { mock::{run_test, FreeHeadersInterval, RuntimeCall, TestRuntime}, CallSubType, PalletOperatingMode, ParaInfo, ParasInfo, RelayBlockHash, RelayBlockNumber, }; - use bp_header_chain::StoredHeaderData; + use bp_header_pez_chain::StoredHeaderData; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHeadsProof, ParaId}; - use bp_runtime::BasicOperatingMode; + use pezbp_runtime::BasicOperatingMode; use bp_teyrchains::BestParaHeadHash; fn validate_submit_teyrchain_heads( diff --git a/bridges/modules/teyrchains/src/lib.rs b/bridges/modules/teyrchains/src/lib.rs index fed10067..4d2b8c90 100644 --- a/bridges/modules/teyrchains/src/lib.rs +++ b/bridges/modules/teyrchains/src/lib.rs @@ -27,9 +27,9 @@ pub use weights::WeightInfo; pub use weights_ext::WeightInfoExt; -use bp_header_chain::{HeaderChain, HeaderChainError}; +use bp_header_pez_chain::{HeaderChain, HeaderChainError}; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId}; -use bp_runtime::{Chain, HashOf, HeaderId, HeaderIdOf, Teyrchain}; +use pezbp_runtime::{Chain, HashOf, HeaderId, HeaderIdOf, Teyrchain}; use bp_teyrchains::{ ParaInfo, ParaStoredHeaderData, RelayBlockHash, RelayBlockHasher, RelayBlockNumber, SubmitTeyrchainHeadsInfo, @@ -40,7 +40,7 @@ use proofs::{StorageProofAdapter, TeyrchainsStorageProofAdapter}; use pezsp_std::{marker::PhantomData, vec::Vec}; #[cfg(feature = "runtime-benchmarks")] -use bp_runtime::HeaderOf; +use pezbp_runtime::HeaderOf; #[cfg(feature = "runtime-benchmarks")] use bp_teyrchains::ParaStoredHeaderDataBuilder; #[cfg(feature = "runtime-benchmarks")] @@ -75,7 +75,7 @@ struct UpdateTeyrchainHeadArtifacts { #[pezframe_support::pallet] pub mod pallet { use super::*; - use bp_runtime::{ + use pezbp_runtime::{ BasicOperatingMode, BoundedStorageValue, OwnedBridgeModule, StorageDoubleMapKeyProvider, StorageMapKeyProvider, }; @@ -153,7 +153,7 @@ pub mod pallet { /// Teyrchain heads storage proof is invalid. HeaderChainStorageProof(HeaderChainError), /// Error generated by the `OwnedBridgeModule` trait. - BridgeModule(bp_runtime::OwnedBridgeModuleError), + BridgeModule(pezbp_runtime::OwnedBridgeModuleError), } /// Convenience trait for defining `BridgedChain` bounds. @@ -797,7 +797,7 @@ pub fn initialize_for_benchmarks, I: 'static, PC: Teyrchain, ) { use bp_pezkuwi_core::teyrchains::ParaHead; - use bp_runtime::HeaderIdProvider; + use pezbp_runtime::HeaderIdProvider; use pezsp_runtime::traits::Header; let relay_head = @@ -837,9 +837,9 @@ pub(crate) mod tests { use bp_test_utils::prepare_teyrchain_heads_proof; use codec::Encode; - use bp_header_chain::{justification::GrandpaJustification, StoredHeaderGrandpaInfo}; + use bp_header_pez_chain::{justification::GrandpaJustification, StoredHeaderGrandpaInfo}; use bp_pezkuwi_core::teyrchains::ParaHead; - use bp_runtime::{ + use pezbp_runtime::{ BasicOperatingMode, OwnedBridgeModuleError, StorageDoubleMapKeyProvider, StorageMapKeyProvider, StorageProofError, }; @@ -870,7 +870,7 @@ pub(crate) mod tests { pezpallet_bridge_grandpa::FreeHeadersRemaining::::set(Some(100)); pezpallet_bridge_grandpa::Pallet::::initialize( RuntimeOrigin::root(), - bp_header_chain::InitializationData { + bp_header_pez_chain::InitializationData { header: Box::new(test_relay_header(0, state_root)), authority_list: authority_list(), set_id: 1, diff --git a/bridges/modules/teyrchains/src/mock.rs b/bridges/modules/teyrchains/src/mock.rs index d0fdde48..d8e1498d 100644 --- a/bridges/modules/teyrchains/src/mock.rs +++ b/bridges/modules/teyrchains/src/mock.rs @@ -14,9 +14,9 @@ // You should have received a copy of the GNU General Public License // along with Parity Bridges Common. If not, see . -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_pezkuwi_core::teyrchains::ParaId; -use bp_runtime::{Chain, ChainId, Teyrchain}; +use pezbp_runtime::{Chain, ChainId, Teyrchain}; use pezframe_support::{ construct_runtime, derive_impl, parameter_types, traits::ConstU32, weights::Weight, }; @@ -231,7 +231,7 @@ impl pezpallet_bridge_teyrchains::benchmarking::Config<()> for TestRuntime { fn prepare_teyrchain_heads_proof( teyrchains: &[ParaId], _teyrchain_head_size: u32, - _proof_params: bp_runtime::UnverifiedStorageProofParams, + _proof_params: pezbp_runtime::UnverifiedStorageProofParams, ) -> ( crate::RelayBlockNumber, crate::RelayBlockHash, diff --git a/bridges/modules/teyrchains/src/proofs.rs b/bridges/modules/teyrchains/src/proofs.rs index eae2b23f..4d56b59e 100644 --- a/bridges/modules/teyrchains/src/proofs.rs +++ b/bridges/modules/teyrchains/src/proofs.rs @@ -17,9 +17,9 @@ //! Tools for teyrchain head proof verification. use crate::{Config, GrandpaPalletOf, RelayBlockHash, RelayBlockHasher}; -use bp_header_chain::{HeaderChain, HeaderChainError}; +use bp_header_pez_chain::{HeaderChain, HeaderChainError}; use bp_pezkuwi_core::teyrchains::{ParaHead, ParaId}; -use bp_runtime::{RawStorageProof, StorageProofChecker, StorageProofError}; +use pezbp_runtime::{RawStorageProof, StorageProofChecker, StorageProofError}; use bp_teyrchains::teyrchain_head_storage_key_at_source; use codec::Decode; use pezframe_support::traits::Get; diff --git a/bridges/modules/teyrchains/src/weights_ext.rs b/bridges/modules/teyrchains/src/weights_ext.rs index 6cedd777..5612d9d1 100644 --- a/bridges/modules/teyrchains/src/weights_ext.rs +++ b/bridges/modules/teyrchains/src/weights_ext.rs @@ -18,7 +18,7 @@ use crate::weights::{BridgeWeight, WeightInfo}; -use bp_runtime::Size; +use pezbp_runtime::Size; use pezframe_support::weights::{RuntimeDbWeight, Weight}; /// Size of the regular teyrchain head. diff --git a/bridges/modules/xcm-bridge-hub/Cargo.toml b/bridges/modules/xcm-bridge-hub/Cargo.toml index b2be084c..042ec120 100644 --- a/bridges/modules/xcm-bridge-hub/Cargo.toml +++ b/bridges/modules/xcm-bridge-hub/Cargo.toml @@ -19,7 +19,7 @@ tracing = { workspace = true } # Bridge Dependencies bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-xcm-bridge-hub = { workspace = true } pezpallet-bridge-messages = { workspace = true } @@ -36,7 +36,7 @@ xcm-builder = { workspace = true } xcm-executor = { workspace = true } [dev-dependencies] -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } pezpallet-balances = { workspace = true } pezpallet-xcm-bridge-hub-router = { workspace = true } @@ -46,9 +46,9 @@ pezsp-io = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-xcm-bridge-hub-router/std", "bp-xcm-bridge-hub/std", "codec/std", @@ -69,9 +69,9 @@ std = [ "xcm/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-xcm-bridge-hub-router/runtime-benchmarks", "bp-xcm-bridge-hub/runtime-benchmarks", "pezframe-support/runtime-benchmarks", diff --git a/bridges/modules/xcm-bridge-hub/src/dispatcher.rs b/bridges/modules/xcm-bridge-hub/src/dispatcher.rs index 454f264e..6b8c5ef6 100644 --- a/bridges/modules/xcm-bridge-hub/src/dispatcher.rs +++ b/bridges/modules/xcm-bridge-hub/src/dispatcher.rs @@ -24,7 +24,7 @@ use crate::{Config, Pallet, LOG_TARGET}; use bp_messages::target_chain::{DispatchMessage, MessageDispatch}; -use bp_runtime::messages::MessageDispatchResult; +use pezbp_runtime::messages::MessageDispatchResult; use bp_xcm_bridge_hub::{LocalXcmChannelManager, XcmAsPlainPayload}; use codec::{Decode, DecodeWithMemTracking, Encode}; use pezframe_support::{weights::Weight, CloneNoBound, EqNoBound, PartialEqNoBound}; diff --git a/bridges/modules/xcm-bridge-hub/src/exporter.rs b/bridges/modules/xcm-bridge-hub/src/exporter.rs index 67e05f92..af0591b3 100644 --- a/bridges/modules/xcm-bridge-hub/src/exporter.rs +++ b/bridges/modules/xcm-bridge-hub/src/exporter.rs @@ -371,7 +371,7 @@ mod tests { use super::*; use crate::{mock::*, Bridges, LaneToBridge, LanesManagerOf}; - use bp_runtime::RangeInclusiveExt; + use pezbp_runtime::RangeInclusiveExt; use bp_xcm_bridge_hub::{Bridge, BridgeLocations, BridgeState}; use pezframe_support::{assert_ok, traits::EnsureOrigin}; use pezpallet_bridge_messages::InboundLaneStorage; diff --git a/bridges/modules/xcm-bridge-hub/src/lib.rs b/bridges/modules/xcm-bridge-hub/src/lib.rs index a66209f0..3b0f6e45 100644 --- a/bridges/modules/xcm-bridge-hub/src/lib.rs +++ b/bridges/modules/xcm-bridge-hub/src/lib.rs @@ -144,7 +144,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use bp_messages::{LaneState, MessageNonce}; -use bp_runtime::{AccountIdOf, BalanceOf, RangeInclusiveExt}; +use pezbp_runtime::{AccountIdOf, BalanceOf, RangeInclusiveExt}; use bp_xcm_bridge_hub::BridgeLocationsError; pub use bp_xcm_bridge_hub::{ Bridge, BridgeId, BridgeLocations, BridgeState, LocalXcmChannelManager, diff --git a/bridges/modules/xcm-bridge-hub/src/mock.rs b/bridges/modules/xcm-bridge-hub/src/mock.rs index 374a1a12..c19ce3b0 100644 --- a/bridges/modules/xcm-bridge-hub/src/mock.rs +++ b/bridges/modules/xcm-bridge-hub/src/mock.rs @@ -22,7 +22,7 @@ use bp_messages::{ target_chain::{DispatchMessage, MessageDispatch}, ChainWithMessages, HashedLaneId, MessageNonce, }; -use bp_runtime::{messages::MessageDispatchResult, Chain, ChainId, HashOf}; +use pezbp_runtime::{messages::MessageDispatchResult, Chain, ChainId, HashOf}; use bp_xcm_bridge_hub::{BridgeId, LocalXcmChannelManager}; use codec::{Decode, Encode}; use pezframe_support::{ @@ -620,7 +620,7 @@ impl ChainWithMessages for BridgedUnderlyingChain { } pub struct BridgedHeaderChain; -impl bp_header_chain::HeaderChain for BridgedHeaderChain { +impl bp_header_pez_chain::HeaderChain for BridgedHeaderChain { fn finalized_header_state_root( _hash: HashOf, ) -> Option> { diff --git a/bridges/primitives/beefy/Cargo.toml b/bridges/primitives/beefy/Cargo.toml index b8a802cd..4b55926a 100644 --- a/bridges/primitives/beefy/Cargo.toml +++ b/bridges/primitives/beefy/Cargo.toml @@ -19,7 +19,7 @@ scale-info = { features = ["bit-vec", "derive"], workspace = true } serde = { features = ["alloc", "derive"], workspace = true } # Bridge Dependencies -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies binary-merkle-tree = { workspace = true } @@ -34,7 +34,7 @@ pezsp-std = { workspace = true } default = ["std"] std = [ "binary-merkle-tree/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "pezpallet-beefy-mmr/std", @@ -47,7 +47,7 @@ std = [ ] runtime-benchmarks = [ "binary-merkle-tree/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezpallet-beefy-mmr/runtime-benchmarks", "pezpallet-mmr/runtime-benchmarks", diff --git a/bridges/primitives/beefy/src/lib.rs b/bridges/primitives/beefy/src/lib.rs index 5ea6a72d..dc4f2eaf 100644 --- a/bridges/primitives/beefy/src/lib.rs +++ b/bridges/primitives/beefy/src/lib.rs @@ -35,7 +35,7 @@ pub use pezsp_consensus_beefy::{ ValidatorSetId, BEEFY_ENGINE_ID, }; -use bp_runtime::{BasicOperatingMode, BlockNumberOf, Chain, HashOf}; +use pezbp_runtime::{BasicOperatingMode, BlockNumberOf, Chain, HashOf}; use codec::{Decode, Encode}; use pezframe_support::Parameter; use scale_info::TypeInfo; diff --git a/bridges/primitives/header-chain/Cargo.toml b/bridges/primitives/header-chain/Cargo.toml index 4f0c7c6e..0cca1d8c 100644 --- a/bridges/primitives/header-chain/Cargo.toml +++ b/bridges/primitives/header-chain/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bp-header-chain" +name = "bp-header-pez-chain" description = "A common interface for describing what a bridge pallet should be able to do." version = "0.7.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true -documentation = "https://docs.rs/bp-header-chain" +documentation = "https://docs.rs/bp-header-pez-chain" homepage = { workspace = true } [lints] @@ -19,7 +19,7 @@ scale-info = { features = ["derive"], workspace = true } serde = { features = ["alloc", "derive"], workspace = true } # Bridge dependencies -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true } @@ -36,7 +36,7 @@ hex-literal = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "finality-grandpa/std", "pezframe-support/std", @@ -48,7 +48,7 @@ std = [ "pezsp-std/std", ] runtime-benchmarks = [ - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-consensus-grandpa/runtime-benchmarks", diff --git a/bridges/primitives/header-chain/src/call_info.rs b/bridges/primitives/header-chain/src/call_info.rs index ad39b01b..54de000a 100644 --- a/bridges/primitives/header-chain/src/call_info.rs +++ b/bridges/primitives/header-chain/src/call_info.rs @@ -18,7 +18,7 @@ use crate::{justification, InitializationData}; -use bp_runtime::HeaderOf; +use pezbp_runtime::HeaderOf; use codec::{Decode, Encode}; use pezframe_support::{weights::Weight, RuntimeDebugNoBound}; use scale_info::TypeInfo; diff --git a/bridges/primitives/header-chain/src/justification/mod.rs b/bridges/primitives/header-chain/src/justification/mod.rs index 22896ca3..c519a3f8 100644 --- a/bridges/primitives/header-chain/src/justification/mod.rs +++ b/bridges/primitives/header-chain/src/justification/mod.rs @@ -30,7 +30,7 @@ pub use verification::{ PrecommitError, }; -use bp_runtime::{BlockNumberOf, Chain, HashOf, HeaderId}; +use pezbp_runtime::{BlockNumberOf, Chain, HashOf, HeaderId}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use pezsp_consensus_grandpa::{AuthorityId, AuthoritySignature}; diff --git a/bridges/primitives/header-chain/src/justification/verification/equivocation.rs b/bridges/primitives/header-chain/src/justification/verification/equivocation.rs index 175edbb6..c6c7c270 100644 --- a/bridges/primitives/header-chain/src/justification/verification/equivocation.rs +++ b/bridges/primitives/header-chain/src/justification/verification/equivocation.rs @@ -28,7 +28,7 @@ use crate::{ ChainWithGrandpa, FindEquivocations, }; -use bp_runtime::{BlockNumberOf, HashOf, HeaderOf}; +use pezbp_runtime::{BlockNumberOf, HashOf, HeaderOf}; use pezsp_consensus_grandpa::{AuthorityId, AuthoritySignature, EquivocationProof, Precommit}; use pezsp_runtime::traits::Header as HeaderT; use pezsp_std::{ diff --git a/bridges/primitives/header-chain/src/justification/verification/mod.rs b/bridges/primitives/header-chain/src/justification/verification/mod.rs index 4d06a364..f2ad6829 100644 --- a/bridges/primitives/header-chain/src/justification/verification/mod.rs +++ b/bridges/primitives/header-chain/src/justification/verification/mod.rs @@ -22,7 +22,7 @@ pub mod strict; use crate::{justification::GrandpaJustification, AuthoritySet}; -use bp_runtime::HeaderId; +use pezbp_runtime::HeaderId; use finality_grandpa::voter_set::VoterSet; use pezsp_consensus_grandpa::{AuthorityId, AuthoritySignature, SetId}; use pezsp_runtime::{traits::Header as HeaderT, RuntimeDebug}; diff --git a/bridges/primitives/header-chain/src/lib.rs b/bridges/primitives/header-chain/src/lib.rs index 1526b570..2023c553 100644 --- a/bridges/primitives/header-chain/src/lib.rs +++ b/bridges/primitives/header-chain/src/lib.rs @@ -23,7 +23,7 @@ use crate::justification::{ GrandpaJustification, JustificationVerificationContext, JustificationVerificationError, }; -use bp_runtime::{ +use pezbp_runtime::{ BasicOperatingMode, BlockNumberOf, Chain, HashOf, HasherOf, HeaderOf, RawStorageProof, StorageProofChecker, StorageProofError, UnderlyingChainProvider, }; @@ -393,7 +393,7 @@ pub fn max_expected_submit_finality_proof_arguments_size( #[cfg(test)] mod tests { use super::*; - use bp_runtime::ChainId; + use pezbp_runtime::ChainId; use pezframe_support::weights::Weight; use pezsp_runtime::{ testing::H256, traits::BlakeTwo256, DigestItem, MultiSignature, StateVersion, diff --git a/bridges/primitives/header-chain/src/storage_keys.rs b/bridges/primitives/header-chain/src/storage_keys.rs index a28ab71b..1c097978 100644 --- a/bridges/primitives/header-chain/src/storage_keys.rs +++ b/bridges/primitives/header-chain/src/storage_keys.rs @@ -28,7 +28,7 @@ use pezsp_core::storage::StorageKey; /// Storage key of the `PalletOperatingMode` variable in the runtime storage. pub fn pezpallet_operating_mode_key(pezpallet_prefix: &str) -> StorageKey { StorageKey( - bp_runtime::storage_value_final_key( + pezbp_runtime::storage_value_final_key( pezpallet_prefix.as_bytes(), PALLET_OPERATING_MODE_VALUE_NAME.as_bytes(), ) @@ -39,7 +39,7 @@ pub fn pezpallet_operating_mode_key(pezpallet_prefix: &str) -> StorageKey { /// Storage key of the `CurrentAuthoritySet` variable in the runtime storage. pub fn current_authority_set_key(pezpallet_prefix: &str) -> StorageKey { StorageKey( - bp_runtime::storage_value_final_key( + pezbp_runtime::storage_value_final_key( pezpallet_prefix.as_bytes(), CURRENT_AUTHORITY_SET_VALUE_NAME.as_bytes(), ) @@ -50,7 +50,7 @@ pub fn current_authority_set_key(pezpallet_prefix: &str) -> StorageKey { /// Storage key of the best finalized header number and hash value in the runtime storage. pub fn best_finalized_key(pezpallet_prefix: &str) -> StorageKey { StorageKey( - bp_runtime::storage_value_final_key( + pezbp_runtime::storage_value_final_key( pezpallet_prefix.as_bytes(), BEST_FINALIZED_VALUE_NAME.as_bytes(), ) diff --git a/bridges/primitives/header-chain/tests/implementation_match.rs b/bridges/primitives/header-chain/tests/implementation_match.rs index 7a6bf888..4fb1d4e8 100644 --- a/bridges/primitives/header-chain/tests/implementation_match.rs +++ b/bridges/primitives/header-chain/tests/implementation_match.rs @@ -21,7 +21,7 @@ //! Some of tests in this module may partially duplicate tests from `justification.rs`, //! but their purpose is different. -use bp_header_chain::justification::{ +use bp_header_pez_chain::justification::{ verify_justification, GrandpaJustification, JustificationVerificationContext, JustificationVerificationError, PrecommitError, }; @@ -38,11 +38,11 @@ type TestHash = ::Hash; type TestNumber = ::Number; /// Implementation of `finality_grandpa::Chain` that is used in tests. -struct AncestryChain(bp_header_chain::justification::AncestryChain); +struct AncestryChain(bp_header_pez_chain::justification::AncestryChain); impl AncestryChain { fn new(justification: &GrandpaJustification) -> Self { - Self(bp_header_chain::justification::AncestryChain::new(justification).0) + Self(bp_header_pez_chain::justification::AncestryChain::new(justification).0) } } diff --git a/bridges/primitives/header-chain/tests/justification/equivocation.rs b/bridges/primitives/header-chain/tests/justification/equivocation.rs index 42beb293..b7a74b1e 100644 --- a/bridges/primitives/header-chain/tests/justification/equivocation.rs +++ b/bridges/primitives/header-chain/tests/justification/equivocation.rs @@ -16,7 +16,7 @@ //! Tests for Grandpa equivocations collector code. -use bp_header_chain::justification::EquivocationsCollector; +use bp_header_pez_chain::justification::EquivocationsCollector; use bp_test_utils::*; use finality_grandpa::Precommit; use pezsp_consensus_grandpa::EquivocationProof; diff --git a/bridges/primitives/header-chain/tests/justification/optimizer.rs b/bridges/primitives/header-chain/tests/justification/optimizer.rs index 4236b5a2..5769f0b6 100644 --- a/bridges/primitives/header-chain/tests/justification/optimizer.rs +++ b/bridges/primitives/header-chain/tests/justification/optimizer.rs @@ -16,7 +16,7 @@ //! Tests for Grandpa Justification optimizer code. -use bp_header_chain::justification::verify_and_optimize_justification; +use bp_header_pez_chain::justification::verify_and_optimize_justification; use bp_test_utils::*; use finality_grandpa::SignedPrecommit; use pezsp_consensus_grandpa::AuthoritySignature; diff --git a/bridges/primitives/header-chain/tests/justification/strict.rs b/bridges/primitives/header-chain/tests/justification/strict.rs index b8d45b10..b0f404ca 100644 --- a/bridges/primitives/header-chain/tests/justification/strict.rs +++ b/bridges/primitives/header-chain/tests/justification/strict.rs @@ -16,7 +16,7 @@ //! Tests for Grandpa strict justification verifier code. -use bp_header_chain::justification::{ +use bp_header_pez_chain::justification::{ required_justification_precommits, verify_justification, JustificationVerificationContext, JustificationVerificationError, PrecommitError, }; diff --git a/bridges/primitives/messages/Cargo.toml b/bridges/primitives/messages/Cargo.toml index 04b71424..c1c8d968 100644 --- a/bridges/primitives/messages/Cargo.toml +++ b/bridges/primitives/messages/Cargo.toml @@ -18,8 +18,8 @@ scale-info = { features = ["bit-vec", "derive"], workspace = true } serde = { features = ["alloc", "derive"], workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true } -bp-runtime = { workspace = true } +bp-header-pez-chain = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true } @@ -34,8 +34,8 @@ hex-literal = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-header-chain/std", - "bp-runtime/std", + "bp-header-pez-chain/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "scale-info/std", @@ -45,8 +45,8 @@ std = [ "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-io/runtime-benchmarks", ] diff --git a/bridges/primitives/messages/src/lib.rs b/bridges/primitives/messages/src/lib.rs index 3da927f0..a62de645 100644 --- a/bridges/primitives/messages/src/lib.rs +++ b/bridges/primitives/messages/src/lib.rs @@ -19,8 +19,8 @@ #![warn(missing_docs)] #![cfg_attr(not(feature = "std"), no_std)] -use bp_header_chain::HeaderChainError; -use bp_runtime::{ +use bp_header_pez_chain::HeaderChainError; +use pezbp_runtime::{ messages::MessageDispatchResult, BasicOperatingMode, Chain, OperatingMode, RangeInclusiveExt, StorageProofError, UnderlyingChainOf, UnderlyingChainProvider, }; @@ -506,7 +506,7 @@ impl OutboundLaneData { /// Calculate the number of messages that the relayers have delivered. pub fn calc_relayers_rewards( - messages_relayers: VecDeque>, + pez_messages_relayers: VecDeque>, received_range: &RangeInclusive, ) -> RelayersRewards where @@ -515,7 +515,7 @@ where // remember to reward relayers that have delivered messages // this loop is bounded by `T::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX` on the bridged chain let mut relayers_rewards = RelayersRewards::new(); - for entry in messages_relayers { + for entry in pez_messages_relayers { let nonce_begin = pezsp_std::cmp::max(entry.messages.begin, *received_range.start()); let nonce_end = pezsp_std::cmp::min(entry.messages.end, *received_range.end()); if nonce_end >= nonce_begin { diff --git a/bridges/primitives/messages/src/source_chain.rs b/bridges/primitives/messages/src/source_chain.rs index 88c8ebd3..322391eb 100644 --- a/bridges/primitives/messages/src/source_chain.rs +++ b/bridges/primitives/messages/src/source_chain.rs @@ -18,7 +18,7 @@ use crate::{MessageNonce, UnrewardedRelayer}; -use bp_runtime::{raw_storage_proof_size, RawStorageProof, Size}; +use pezbp_runtime::{raw_storage_proof_size, RawStorageProof, Size}; use codec::{Decode, DecodeWithMemTracking, Encode}; use scale_info::TypeInfo; use pezsp_core::RuntimeDebug; @@ -74,7 +74,7 @@ pub trait DeliveryConfirmationPayments { /// Returns number of actually rewarded relayers. fn pay_reward( lane_id: LaneId, - messages_relayers: VecDeque>, + pez_messages_relayers: VecDeque>, confirmation_relayer: &AccountId, received_range: &RangeInclusive, ) -> MessageNonce; @@ -85,7 +85,7 @@ impl DeliveryConfirmationPayments for () { fn pay_reward( _lane_id: LaneId, - _messages_relayers: VecDeque>, + _pez_messages_relayers: VecDeque>, _confirmation_relayer: &AccountId, _received_range: &RangeInclusive, ) -> MessageNonce { @@ -148,7 +148,7 @@ impl DeliveryConfirmationPayments for Forb fn pay_reward( _lane_id: LaneId, - _messages_relayers: VecDeque>, + _pez_messages_relayers: VecDeque>, _confirmation_relayer: &AccountId, _received_range: &RangeInclusive, ) -> MessageNonce { diff --git a/bridges/primitives/messages/src/storage_keys.rs b/bridges/primitives/messages/src/storage_keys.rs index c1ff655a..1d7a14d8 100644 --- a/bridges/primitives/messages/src/storage_keys.rs +++ b/bridges/primitives/messages/src/storage_keys.rs @@ -34,7 +34,7 @@ use pezsp_core::storage::StorageKey; /// Storage key of the `PalletOperatingMode` value in the runtime storage. pub fn operating_mode_key(pezpallet_prefix: &str) -> StorageKey { StorageKey( - bp_runtime::storage_value_final_key( + pezbp_runtime::storage_value_final_key( pezpallet_prefix.as_bytes(), OPERATING_MODE_VALUE_NAME.as_bytes(), ) @@ -48,7 +48,7 @@ pub fn message_key( lane: LaneId, nonce: MessageNonce, ) -> StorageKey { - bp_runtime::storage_map_final_key::( + pezbp_runtime::storage_map_final_key::( pezpallet_prefix, OUTBOUND_MESSAGES_MAP_NAME, &MessageKey { lane_id: lane, nonce }.encode(), @@ -57,7 +57,7 @@ pub fn message_key( /// Storage key of the outbound message lane state in the runtime storage. pub fn outbound_lane_data_key(pezpallet_prefix: &str, lane: &LaneId) -> StorageKey { - bp_runtime::storage_map_final_key::( + pezbp_runtime::storage_map_final_key::( pezpallet_prefix, OUTBOUND_LANES_MAP_NAME, &lane.encode(), @@ -66,7 +66,7 @@ pub fn outbound_lane_data_key(pezpallet_prefix: &str, lane: &Lan /// Storage key of the inbound message lane state in the runtime storage. pub fn inbound_lane_data_key(pezpallet_prefix: &str, lane: &LaneId) -> StorageKey { - bp_runtime::storage_map_final_key::( + pezbp_runtime::storage_map_final_key::( pezpallet_prefix, INBOUND_LANES_MAP_NAME, &lane.encode(), diff --git a/bridges/primitives/messages/src/target_chain.rs b/bridges/primitives/messages/src/target_chain.rs index ca594190..032c3d4c 100644 --- a/bridges/primitives/messages/src/target_chain.rs +++ b/bridges/primitives/messages/src/target_chain.rs @@ -18,7 +18,7 @@ use crate::{Message, MessageKey, MessageNonce, MessagePayload, OutboundLaneData}; -use bp_runtime::{messages::MessageDispatchResult, raw_storage_proof_size, RawStorageProof, Size}; +use pezbp_runtime::{messages::MessageDispatchResult, raw_storage_proof_size, RawStorageProof, Size}; use codec::{Decode, DecodeWithMemTracking, Encode, Error as CodecError}; use pezframe_support::weights::Weight; use scale_info::TypeInfo; diff --git a/bridges/primitives/pezkuwi-core/Cargo.toml b/bridges/primitives/pezkuwi-core/Cargo.toml index 5ff16d88..8f54c801 100644 --- a/bridges/primitives/pezkuwi-core/Cargo.toml +++ b/bridges/primitives/pezkuwi-core/Cargo.toml @@ -21,7 +21,7 @@ serde = { optional = true, features = [ # Bridge Dependencies bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Based Dependencies pezframe-support = { workspace = true } @@ -37,7 +37,7 @@ hex = { workspace = true, default-features = true } default = ["std"] std = [ "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "pezframe-system/std", @@ -49,7 +49,7 @@ std = [ ] runtime-benchmarks = [ "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bridges/primitives/pezkuwi-core/src/lib.rs b/bridges/primitives/pezkuwi-core/src/lib.rs index ef0d9f5b..12592bc0 100644 --- a/bridges/primitives/pezkuwi-core/src/lib.rs +++ b/bridges/primitives/pezkuwi-core/src/lib.rs @@ -20,7 +20,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use bp_messages::MessageNonce; -use bp_runtime::{ +use pezbp_runtime::{ self, extensions::{ ChargeTransactionPayment, CheckEra, CheckGenesis, CheckNonZeroSender, CheckNonce, @@ -65,7 +65,7 @@ pub const MAX_AUTHORITIES_COUNT: u32 = 1_256; /// Reasonable number of headers in the `votes_ancestries` on Pezkuwi-like chains. /// -/// See [`bp-header-chain::ChainWithGrandpa`] for more details. +/// See [`bp-header-pez-chain::ChainWithGrandpa`] for more details. /// /// This value comes from recent (December, 2023) Kusama and Pezkuwi headers. There are no /// justifications with any additional headers in votes ancestry, so reasonable headers may @@ -76,7 +76,7 @@ pub const REASONABLE_HEADERS_IN_JUSTIFICATION_ANCESTRY: u32 = 2; /// Average header size in `votes_ancestries` field of justification on Pezkuwi-like /// chains. /// -/// See [`bp-header-chain::ChainWithGrandpa`] for more details. +/// See [`bp-header-pez-chain::ChainWithGrandpa`] for more details. /// /// This value comes from recent (December, 2023) Kusama headers. Most of headers are `327` bytes /// there, but let's have some reserve and make it 1024. @@ -84,7 +84,7 @@ pub const AVERAGE_HEADER_SIZE: u32 = 1024; /// Approximate maximal header size on Pezkuwi-like chains. /// -/// See [`bp-header-chain::ChainWithGrandpa`] for more details. +/// See [`bp-header-pez-chain::ChainWithGrandpa`] for more details. /// /// This value comes from recent (December, 2023) Kusama headers. Maximal header is a mandatory /// header. In its SCALE-encoded form it is `113407` bytes. Let's have some reserve here. diff --git a/bridges/primitives/pezkuwi-core/src/teyrchains.rs b/bridges/primitives/pezkuwi-core/src/teyrchains.rs index e466c7f3..f720ffe1 100644 --- a/bridges/primitives/pezkuwi-core/src/teyrchains.rs +++ b/bridges/primitives/pezkuwi-core/src/teyrchains.rs @@ -22,7 +22,7 @@ //! teyrchains. Having pallets that are referencing pezkuwi, would mean that there may //! be two versions of pezkuwi crates included in the runtime. Which is bad. -use bp_runtime::{raw_storage_proof_size, RawStorageProof, Size}; +use pezbp_runtime::{raw_storage_proof_size, RawStorageProof, Size}; use codec::{CompactAs, Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use pezsp_core::Hasher; diff --git a/bridges/primitives/relayers/Cargo.toml b/bridges/primitives/relayers/Cargo.toml index dc8df1ab..0055566f 100644 --- a/bridges/primitives/relayers/Cargo.toml +++ b/bridges/primitives/relayers/Cargo.toml @@ -17,9 +17,9 @@ codec = { features = ["bit-vec", "derive"], workspace = true } scale-info = { features = ["bit-vec", "derive"], workspace = true } # Bridge Dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-teyrchains = { workspace = true } # Bizinikiwi Dependencies @@ -35,9 +35,9 @@ hex-literal = { workspace = true, default-features = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-teyrchains/std", "codec/std", "pezframe-support/std", @@ -48,9 +48,9 @@ std = [ "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", diff --git a/bridges/primitives/relayers/src/extension.rs b/bridges/primitives/relayers/src/extension.rs index 8b483acd..b8ac1666 100644 --- a/bridges/primitives/relayers/src/extension.rs +++ b/bridges/primitives/relayers/src/extension.rs @@ -17,9 +17,9 @@ //! All runtime calls, supported by `pezpallet-bridge-relayers` when it acts as a signed //! extension. -use bp_header_chain::SubmitFinalityProofInfo; +use bp_header_pez_chain::SubmitFinalityProofInfo; use bp_messages::MessagesCallInfo; -use bp_runtime::StaticStrProvider; +use pezbp_runtime::StaticStrProvider; use bp_teyrchains::SubmitTeyrchainHeadsInfo; use codec::{Decode, Encode}; use pezframe_support::{ diff --git a/bridges/primitives/relayers/src/lib.rs b/bridges/primitives/relayers/src/lib.rs index bbc0b43a..1cf417ce 100644 --- a/bridges/primitives/relayers/src/lib.rs +++ b/bridges/primitives/relayers/src/lib.rs @@ -25,7 +25,7 @@ pub use extension::{ }; pub use registration::{ExplicitOrAccountParams, Registration, StakeAndSlash}; -use bp_runtime::{ChainId, StorageDoubleMapKeyProvider}; +use pezbp_runtime::{ChainId, StorageDoubleMapKeyProvider}; use pezframe_support::{traits::tokens::Preservation, Blake2_128Concat, Identity}; use scale_info::TypeInfo; use pezsp_runtime::{ diff --git a/bridges/primitives/relayers/src/registration.rs b/bridges/primitives/relayers/src/registration.rs index 5bf9f120..17153bc2 100644 --- a/bridges/primitives/relayers/src/registration.rs +++ b/bridges/primitives/relayers/src/registration.rs @@ -21,7 +21,7 @@ //! required finality proofs). This extension boosts priority of message delivery //! transactions, based on the number of bundled messages. So transaction with more //! messages has larger priority than the transaction with less messages. -//! See `bridge_runtime_common::extensions::priority_calculator` for details; +//! See `pezbridge_runtime_common::extensions::priority_calculator` for details; //! //! This encourages relayers to include more messages to their delivery transactions. //! At the same time, we are not verifying storage proofs before boosting diff --git a/bridges/primitives/runtime/Cargo.toml b/bridges/primitives/runtime/Cargo.toml index eaa83d81..e3b2a4fc 100644 --- a/bridges/primitives/runtime/Cargo.toml +++ b/bridges/primitives/runtime/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bp-runtime" +name = "pezbp-runtime" description = "Primitives that may be used at (bridges) runtime level." version = "0.7.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true -documentation = "https://docs.rs/bp-runtime" +documentation = "https://docs.rs/pezbp-runtime" homepage = { workspace = true } [lints] diff --git a/bridges/primitives/runtime/src/chain.rs b/bridges/primitives/runtime/src/chain.rs index 07a5dab1..ac0115ae 100644 --- a/bridges/primitives/runtime/src/chain.rs +++ b/bridges/primitives/runtime/src/chain.rs @@ -312,7 +312,7 @@ pub type TransactionEraOf = crate::TransactionEra, HashOf #[macro_export] macro_rules! decl_bridge_finality_runtime_apis { ($chain: ident $(, $consensus: ident => $justification_type: ty)?) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { mod [<$chain _finality_api>] { use super::*; @@ -339,7 +339,7 @@ macro_rules! decl_bridge_finality_runtime_apis { /// chain's runtime itself. pub trait [<$chain:camel FinalityApi>] { /// Returns number and hash of the best finalized header known to the bridge module. - fn best_finalized() -> Option>; + fn best_finalized() -> Option>; /// Returns free headers interval, if it is configured in the runtime. /// The caller expects that if his transaction improves best known header @@ -361,7 +361,7 @@ macro_rules! decl_bridge_finality_runtime_apis { } }; ($chain: ident, grandpa) => { - decl_bridge_finality_runtime_apis!($chain, grandpa => bp_header_chain::StoredHeaderGrandpaInfo
); + decl_bridge_finality_runtime_apis!($chain, grandpa => bp_header_pez_chain::StoredHeaderGrandpaInfo
); }; } @@ -382,7 +382,7 @@ pub mod __private { #[macro_export] macro_rules! decl_bridge_messages_runtime_apis { ($chain: ident, $lane_id_type:ty) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { mod [<$chain _messages_api>] { use super::*; @@ -440,7 +440,7 @@ macro_rules! decl_bridge_messages_runtime_apis { #[macro_export] macro_rules! decl_bridge_runtime_apis { ($chain: ident $(, $consensus: ident, $lane_id_type:ident)?) => { - bp_runtime::decl_bridge_finality_runtime_apis!($chain $(, $consensus)?); - bp_runtime::decl_bridge_messages_runtime_apis!($chain, $lane_id_type); + pezbp_runtime::decl_bridge_finality_runtime_apis!($chain $(, $consensus)?); + pezbp_runtime::decl_bridge_messages_runtime_apis!($chain, $lane_id_type); }; } diff --git a/bridges/primitives/test-utils/Cargo.toml b/bridges/primitives/test-utils/Cargo.toml index f0a9a28e..9c60e671 100644 --- a/bridges/primitives/test-utils/Cargo.toml +++ b/bridges/primitives/test-utils/Cargo.toml @@ -13,9 +13,9 @@ homepage = { workspace = true } workspace = true [dependencies] -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { features = ["test-helpers"], workspace = true } +pezbp-runtime = { features = ["test-helpers"], workspace = true } bp-teyrchains = { workspace = true } codec = { workspace = true } ed25519-dalek = { workspace = true } @@ -30,9 +30,9 @@ pezsp-trie = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-teyrchains/std", "codec/std", "ed25519-dalek/std", @@ -45,9 +45,9 @@ std = [ "pezsp-trie/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezsp-consensus-grandpa/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bridges/primitives/test-utils/src/keyring.rs b/bridges/primitives/test-utils/src/keyring.rs index 1fb77162..a08a12a3 100644 --- a/bridges/primitives/test-utils/src/keyring.rs +++ b/bridges/primitives/test-utils/src/keyring.rs @@ -16,7 +16,7 @@ //! Utilities for working with test accounts. -use bp_header_chain::{justification::JustificationVerificationContext, AuthoritySet}; +use bp_header_pez_chain::{justification::JustificationVerificationContext, AuthoritySet}; use codec::Encode; use ed25519_dalek::{Signature, SigningKey, VerifyingKey}; use finality_grandpa::voter_set::VoterSet; diff --git a/bridges/primitives/test-utils/src/lib.rs b/bridges/primitives/test-utils/src/lib.rs index 08de9f98..29b86273 100644 --- a/bridges/primitives/test-utils/src/lib.rs +++ b/bridges/primitives/test-utils/src/lib.rs @@ -19,9 +19,9 @@ #![warn(missing_docs)] #![cfg_attr(not(feature = "std"), no_std)] -use bp_header_chain::justification::{required_justification_precommits, GrandpaJustification}; +use bp_header_pez_chain::justification::{required_justification_precommits, GrandpaJustification}; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId}; -use bp_runtime::record_all_trie_keys; +use pezbp_runtime::record_all_trie_keys; use bp_teyrchains::teyrchain_head_storage_key_at_source; use codec::Encode; use pezsp_consensus_grandpa::{AuthorityId, AuthoritySignature, AuthorityWeight, SetId}; diff --git a/bridges/primitives/teyrchains/Cargo.toml b/bridges/primitives/teyrchains/Cargo.toml index 90145e93..1c7dd912 100644 --- a/bridges/primitives/teyrchains/Cargo.toml +++ b/bridges/primitives/teyrchains/Cargo.toml @@ -18,9 +18,9 @@ impl-trait-for-tuples = { workspace = true } scale-info = { features = ["derive"], workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi dependencies pezframe-support = { workspace = true } @@ -31,9 +31,9 @@ pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "scale-info/std", @@ -42,9 +42,9 @@ std = [ "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] diff --git a/bridges/primitives/teyrchains/src/call_info.rs b/bridges/primitives/teyrchains/src/call_info.rs index 810bcaf1..f55284da 100644 --- a/bridges/primitives/teyrchains/src/call_info.rs +++ b/bridges/primitives/teyrchains/src/call_info.rs @@ -19,7 +19,7 @@ use crate::{ParaHash, ParaId, RelayBlockHash, RelayBlockNumber}; use bp_pezkuwi_core::teyrchains::ParaHeadsProof; -use bp_runtime::HeaderId; +use pezbp_runtime::HeaderId; use codec::{Decode, Encode}; use scale_info::TypeInfo; use pezsp_runtime::RuntimeDebug; diff --git a/bridges/primitives/teyrchains/src/lib.rs b/bridges/primitives/teyrchains/src/lib.rs index 9ed92db0..26584411 100644 --- a/bridges/primitives/teyrchains/src/lib.rs +++ b/bridges/primitives/teyrchains/src/lib.rs @@ -19,11 +19,11 @@ #![warn(missing_docs)] #![cfg_attr(not(feature = "std"), no_std)] -pub use bp_header_chain::StoredHeaderData; +pub use bp_header_pez_chain::StoredHeaderData; pub use call_info::{BridgeTeyrchainCall, SubmitTeyrchainHeadsInfo}; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaId}; -use bp_runtime::{ +use pezbp_runtime::{ BlockNumberOf, Chain, HashOf, HeaderOf, StorageDoubleMapKeyProvider, StorageMapKeyProvider, Teyrchain, }; @@ -75,7 +75,7 @@ pub fn teyrchain_head_storage_key_at_source( paras_pallet_name: &str, para_id: ParaId, ) -> StorageKey { - bp_runtime::storage_map_final_key::(paras_pallet_name, "Heads", ¶_id.encode()) + pezbp_runtime::storage_map_final_key::(paras_pallet_name, "Heads", ¶_id.encode()) } /// Can be use to access the runtime storage key of the teyrchains info at the target chain. @@ -105,10 +105,10 @@ impl StorageDoubleMapKeyProvider for ImportedParaHeadsKeyProvider { } /// Stored data of the teyrchain head. It is encoded version of the -/// `bp_runtime::StoredHeaderData` structure. +/// `pezbp_runtime::StoredHeaderData` structure. /// /// We do not know exact structure of the teyrchain head, so we always store encoded version -/// of the `bp_runtime::StoredHeaderData`. It is only decoded when we talk about specific teyrchain. +/// of the `pezbp_runtime::StoredHeaderData`. It is only decoded when we talk about specific teyrchain. #[derive(Clone, Decode, Encode, PartialEq, RuntimeDebug, TypeInfo)] pub struct ParaStoredHeaderData(pub Vec); diff --git a/bridges/primitives/xcm-bridge-hub/Cargo.toml b/bridges/primitives/xcm-bridge-hub/Cargo.toml index 649df225..ff5a397f 100644 --- a/bridges/primitives/xcm-bridge-hub/Cargo.toml +++ b/bridges/primitives/xcm-bridge-hub/Cargo.toml @@ -19,7 +19,7 @@ serde = { features = ["alloc", "derive"], workspace = true } # Bridge Dependencies bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true } @@ -34,7 +34,7 @@ xcm = { workspace = true } default = ["std"] std = [ "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "codec/std", "pezframe-support/std", "scale-info/std", @@ -46,7 +46,7 @@ std = [ ] runtime-benchmarks = [ "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "xcm/runtime-benchmarks", diff --git a/bridges/primitives/xcm-bridge-hub/src/lib.rs b/bridges/primitives/xcm-bridge-hub/src/lib.rs index dc33c471..620fc100 100644 --- a/bridges/primitives/xcm-bridge-hub/src/lib.rs +++ b/bridges/primitives/xcm-bridge-hub/src/lib.rs @@ -20,7 +20,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use bp_messages::LaneIdType; -use bp_runtime::{AccountIdOf, BalanceOf, Chain}; +use pezbp_runtime::{AccountIdOf, BalanceOf, Chain}; pub use call_info::XcmBridgeHubCall; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use pezframe_support::{ diff --git a/bridges/relays/client-bizinikiwi/Cargo.toml b/bridges/relays/client-bizinikiwi/Cargo.toml index 830f4556..241e3935 100644 --- a/bridges/relays/client-bizinikiwi/Cargo.toml +++ b/bridges/relays/client-bizinikiwi/Cargo.toml @@ -33,11 +33,11 @@ tokio = { features = [ tracing = { workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true, default-features = true } +bp-header-pez-chain = { workspace = true, default-features = true } bp-messages = { workspace = true, default-features = true } bp-pezkuwi-core = { workspace = true, default-features = true } -bp-runtime = { workspace = true, default-features = true } -finality-relay = { workspace = true } +pezbp-runtime = { workspace = true, default-features = true } +pez-finality-relay = { workspace = true } relay-utils = { workspace = true } # Bizinikiwi Dependencies @@ -63,11 +63,11 @@ xcm = { workspace = true, default-features = true } default = [] test-helpers = [] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", - "finality-relay/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", + "pez-finality-relay/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks", "pezpallet-transaction-payment/runtime-benchmarks", diff --git a/bridges/relays/client-bizinikiwi/src/chain.rs b/bridges/relays/client-bizinikiwi/src/chain.rs index c4c1459d..dc668a43 100644 --- a/bridges/relays/client-bizinikiwi/src/chain.rs +++ b/bridges/relays/client-bizinikiwi/src/chain.rs @@ -17,9 +17,9 @@ use crate::calls::UtilityCall; use crate::SimpleRuntimeVersion; -use bp_header_chain::ChainWithGrandpa as ChainWithGrandpaBase; +use bp_header_pez_chain::ChainWithGrandpa as ChainWithGrandpaBase; use bp_messages::ChainWithMessages as ChainWithMessagesBase; -use bp_runtime::{ +use pezbp_runtime::{ Chain as ChainBase, EncodedOrDecodedCall, HashOf, Teyrchain as TeyrchainBase, TransactionEra, TransactionEraOf, UnderlyingChainProvider, }; diff --git a/bridges/relays/client-bizinikiwi/src/client/rpc.rs b/bridges/relays/client-bizinikiwi/src/client/rpc.rs index 2ffe0970..68f86f35 100644 --- a/bridges/relays/client-bizinikiwi/src/client/rpc.rs +++ b/bridges/relays/client-bizinikiwi/src/client/rpc.rs @@ -37,7 +37,7 @@ use crate::{ use async_std::sync::{Arc, Mutex, RwLock}; use async_trait::async_trait; -use bp_runtime::HeaderIdProvider; +use pezbp_runtime::HeaderIdProvider; use codec::Encode; use pezframe_support::weights::Weight; use futures::TryFutureExt; diff --git a/bridges/relays/client-bizinikiwi/src/client/traits.rs b/bridges/relays/client-bizinikiwi/src/client/traits.rs index 64df01d1..67c1b2ca 100644 --- a/bridges/relays/client-bizinikiwi/src/client/traits.rs +++ b/bridges/relays/client-bizinikiwi/src/client/traits.rs @@ -22,7 +22,7 @@ use crate::{ }; use async_trait::async_trait; -use bp_runtime::{StorageDoubleMapKeyProvider, StorageMapKeyProvider}; +use pezbp_runtime::{StorageDoubleMapKeyProvider, StorageMapKeyProvider}; use codec::{Decode, Encode}; use pezframe_support::weights::Weight; use pezsp_core::{ diff --git a/bridges/relays/client-bizinikiwi/src/error.rs b/bridges/relays/client-bizinikiwi/src/error.rs index df4f2eaa..652d37a5 100644 --- a/bridges/relays/client-bizinikiwi/src/error.rs +++ b/bridges/relays/client-bizinikiwi/src/error.rs @@ -17,7 +17,7 @@ //! Bizinikiwi node RPC errors. use crate::{BlockNumberOf, Chain, HashOf, SimpleRuntimeVersion}; -use bp_header_chain::SubmitFinalityProofCallExtras; +use bp_header_pez_chain::SubmitFinalityProofCallExtras; use bp_pezkuwi_core::teyrchains::ParaId; use jsonrpsee::core::ClientError as RpcError; use relay_utils::MaybeConnectionError; diff --git a/bridges/relays/client-bizinikiwi/src/lib.rs b/bridges/relays/client-bizinikiwi/src/lib.rs index 83ecb63b..baf687c1 100644 --- a/bridges/relays/client-bizinikiwi/src/lib.rs +++ b/bridges/relays/client-bizinikiwi/src/lib.rs @@ -48,7 +48,7 @@ pub use crate::{ sync_header::SyncHeader, transaction_tracker::TransactionTracker, }; -pub use bp_runtime::{ +pub use pezbp_runtime::{ AccountIdOf, AccountPublicOf, BalanceOf, BlockNumberOf, Chain as ChainBase, HashOf, HeaderIdOf, HeaderOf, NonceOf, SignatureOf, Teyrchain as TeyrchainBase, TransactionEra, TransactionEraOf, UnderlyingChainProvider, diff --git a/bridges/relays/client-bizinikiwi/src/sync_header.rs b/bridges/relays/client-bizinikiwi/src/sync_header.rs index 72da40c1..5eda9466 100644 --- a/bridges/relays/client-bizinikiwi/src/sync_header.rs +++ b/bridges/relays/client-bizinikiwi/src/sync_header.rs @@ -14,12 +14,12 @@ // You should have received a copy of the GNU General Public License // along with Parity Bridges Common. If not, see . -use bp_header_chain::ConsensusLogReader; -use finality_relay::SourceHeader as FinalitySourceHeader; +use bp_header_pez_chain::ConsensusLogReader; +use pez_finality_relay::SourceHeader as FinalitySourceHeader; use pezsp_runtime::traits::Header as HeaderT; /// Generic wrapper for `pezsp_runtime::traits::Header` based headers, that -/// implements `finality_relay::SourceHeader` and may be used in headers sync directly. +/// implements `pez_finality_relay::SourceHeader` and may be used in headers sync directly. #[derive(Clone, Debug, PartialEq)] pub struct SyncHeader
(Header); diff --git a/bridges/relays/client-bizinikiwi/src/test_chain.rs b/bridges/relays/client-bizinikiwi/src/test_chain.rs index e0e2fe83..9413c6af 100644 --- a/bridges/relays/client-bizinikiwi/src/test_chain.rs +++ b/bridges/relays/client-bizinikiwi/src/test_chain.rs @@ -26,7 +26,7 @@ use crate::{ Error as BizinikiwiError, SignParam, UnsignedTransaction, }; use bp_messages::{ChainWithMessages as ChainWithMessagesBase, MessageNonce}; -use bp_runtime::ChainId; +use pezbp_runtime::ChainId; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use pezframe_support::{pezsp_runtime::StateVersion, weights::Weight}; use scale_info::TypeInfo; @@ -36,7 +36,7 @@ use std::time::Duration; #[derive(Clone, Debug, PartialEq, Eq)] pub struct TestChain; -impl bp_runtime::Chain for TestChain { +impl pezbp_runtime::Chain for TestChain { const ID: ChainId = *b"test"; type BlockNumber = u32; @@ -125,8 +125,8 @@ impl ChainWithTransactions for TestChain { type SignedTransaction = bp_pezkuwi_core::UncheckedExtrinsic< TestRuntimeCall, bp_pezkuwi_core::SuffixedCommonTransactionExtension<( - bp_runtime::extensions::BridgeRejectObsoleteHeadersAndMessages, - bp_runtime::extensions::RefundBridgedTeyrchainMessagesSchema, + pezbp_runtime::extensions::BridgeRejectObsoleteHeadersAndMessages, + pezbp_runtime::extensions::RefundBridgedTeyrchainMessagesSchema, )>, >; @@ -150,7 +150,7 @@ pub enum TestRuntimeCall { #[derive(Clone, Debug, PartialEq, Eq)] pub struct TestTeyrchainBase; -impl bp_runtime::Chain for TestTeyrchainBase { +impl pezbp_runtime::Chain for TestTeyrchainBase { const ID: ChainId = *b"tstp"; type BlockNumber = u32; @@ -174,7 +174,7 @@ impl bp_runtime::Chain for TestTeyrchainBase { } } -impl bp_runtime::Teyrchain for TestTeyrchainBase { +impl pezbp_runtime::Teyrchain for TestTeyrchainBase { const TEYRCHAIN_ID: u32 = 1000; const MAX_HEADER_SIZE: u32 = 1_024; } @@ -183,7 +183,7 @@ impl bp_runtime::Teyrchain for TestTeyrchainBase { #[derive(Clone, Debug, PartialEq, Eq)] pub struct TestTeyrchain; -impl bp_runtime::UnderlyingChainProvider for TestTeyrchain { +impl pezbp_runtime::UnderlyingChainProvider for TestTeyrchain { type Chain = TestTeyrchainBase; } diff --git a/bridges/relays/equivocation/Cargo.toml b/bridges/relays/equivocation/Cargo.toml index d4ab3acc..d1e499bd 100644 --- a/bridges/relays/equivocation/Cargo.toml +++ b/bridges/relays/equivocation/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "equivocation-detector" +name = "pez-equivocation-detector" version = "0.1.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true description = "Equivocation detector" publish = false -documentation = "https://docs.rs/equivocation-detector" +documentation = "https://docs.rs/pez-equivocation-detector" homepage = { workspace = true } [lints] @@ -16,8 +16,8 @@ workspace = true [dependencies] async-std = { features = ["attributes"], workspace = true } async-trait = { workspace = true } -bp-header-chain = { workspace = true, default-features = true } -finality-relay = { workspace = true } +bp-header-pez-chain = { workspace = true, default-features = true } +pez-finality-relay = { workspace = true } futures = { workspace = true } num-traits = { workspace = true, default-features = true } relay-utils = { workspace = true } @@ -25,7 +25,7 @@ tracing = { workspace = true } [features] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", - "finality-relay/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", + "pez-finality-relay/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] diff --git a/bridges/relays/equivocation/src/block_checker.rs b/bridges/relays/equivocation/src/block_checker.rs index 8ae3baf1..582669a7 100644 --- a/bridges/relays/equivocation/src/block_checker.rs +++ b/bridges/relays/equivocation/src/block_checker.rs @@ -19,8 +19,8 @@ use crate::{ EquivocationReportingContext, HeaderFinalityInfo, SourceClient, TargetClient, }; -use bp_header_chain::{FinalityProof, FindEquivocations as FindEquivocationsT}; -use finality_relay::FinalityProofsBuf; +use bp_header_pez_chain::{FinalityProof, FindEquivocations as FindEquivocationsT}; +use pez_finality_relay::FinalityProofsBuf; use futures::future::{BoxFuture, FutureExt}; use num_traits::Saturating; diff --git a/bridges/relays/equivocation/src/equivocation_loop.rs b/bridges/relays/equivocation/src/equivocation_loop.rs index cb3654e8..33c6c40d 100644 --- a/bridges/relays/equivocation/src/equivocation_loop.rs +++ b/bridges/relays/equivocation/src/equivocation_loop.rs @@ -20,7 +20,7 @@ use crate::{ }; use crate::block_checker::BlockChecker; -use finality_relay::{FinalityProofsBuf, FinalityProofsStream}; +use pez_finality_relay::{FinalityProofsBuf, FinalityProofsStream}; use futures::{select_biased, FutureExt}; use num_traits::Saturating; use relay_utils::{metrics::MetricsParams, FailedClient}; diff --git a/bridges/relays/equivocation/src/lib.rs b/bridges/relays/equivocation/src/lib.rs index 56a71ef3..13b66801 100644 --- a/bridges/relays/equivocation/src/lib.rs +++ b/bridges/relays/equivocation/src/lib.rs @@ -20,8 +20,8 @@ mod mock; mod reporter; use async_trait::async_trait; -use bp_header_chain::{FinalityProof, FindEquivocations}; -use finality_relay::{FinalityPipeline, SourceClientBase}; +use bp_header_pez_chain::{FinalityProof, FindEquivocations}; +use pez_finality_relay::{FinalityPipeline, SourceClientBase}; use relay_utils::{relay_loop::Client as RelayClient, MaybeConnectionError, TransactionTracker}; use std::{fmt::Debug, time::Duration}; @@ -47,7 +47,7 @@ pub trait EquivocationDetectionPipeline: FinalityPipeline { >; } -type HeaderFinalityInfo

= bp_header_chain::HeaderFinalityInfo< +type HeaderFinalityInfo

= bp_header_pez_chain::HeaderFinalityInfo<

::FinalityProof,

::FinalityVerificationContext, >; diff --git a/bridges/relays/equivocation/src/mock.rs b/bridges/relays/equivocation/src/mock.rs index 867ce275..c01cfd07 100644 --- a/bridges/relays/equivocation/src/mock.rs +++ b/bridges/relays/equivocation/src/mock.rs @@ -18,8 +18,8 @@ use crate::{EquivocationDetectionPipeline, HeaderFinalityInfo, SourceClient, TargetClient}; use async_trait::async_trait; -use bp_header_chain::{FinalityProof, FindEquivocations}; -use finality_relay::{FinalityPipeline, SourceClientBase}; +use bp_header_pez_chain::{FinalityProof, FindEquivocations}; +use pez_finality_relay::{FinalityPipeline, SourceClientBase}; use futures::{Stream, StreamExt}; use relay_utils::{ relay_loop::Client as RelayClient, HeaderId, MaybeConnectionError, TrackedTransactionStatus, diff --git a/bridges/relays/finality/Cargo.toml b/bridges/relays/finality/Cargo.toml index 068b3fe6..bca129fa 100644 --- a/bridges/relays/finality/Cargo.toml +++ b/bridges/relays/finality/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "finality-relay" +name = "pez-finality-relay" version = "0.1.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true description = "Finality proofs relay" publish = false -documentation = "https://docs.rs/finality-relay" +documentation = "https://docs.rs/pez-finality-relay" homepage = { workspace = true } [lints] @@ -17,7 +17,7 @@ workspace = true async-std = { workspace = true } async-trait = { workspace = true } backoff = { workspace = true } -bp-header-chain = { workspace = true, default-features = true } +bp-header-pez-chain = { workspace = true, default-features = true } futures = { workspace = true } num-traits = { workspace = true, default-features = true } relay-utils = { workspace = true } @@ -28,6 +28,6 @@ parking_lot = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] diff --git a/bridges/relays/finality/README.md b/bridges/relays/finality/README.md index 15b922f8..92c41df5 100644 --- a/bridges/relays/finality/README.md +++ b/bridges/relays/finality/README.md @@ -14,7 +14,7 @@ mandatory header (header that is changing the current GRANDPA validators set), i this header. The case when the source node can't return the mandatory justification is considered a fatal error, because the pallet can't proceed without it. -More: [GRANDPA Finality Relay Sequence Diagram](../../docs/grandpa-finality-relay.html). +More: [GRANDPA Finality Relay Sequence Diagram](../../docs/grandpa-pez-finality-relay.html). ## How to Use the Finality Relay diff --git a/bridges/relays/finality/src/base.rs b/bridges/relays/finality/src/base.rs index 8704bff9..ecb57bc1 100644 --- a/bridges/relays/finality/src/base.rs +++ b/bridges/relays/finality/src/base.rs @@ -15,7 +15,7 @@ // along with Parity Bridges Common. If not, see . use async_trait::async_trait; -use bp_header_chain::FinalityProof; +use bp_header_pez_chain::FinalityProof; use futures::Stream; use relay_utils::relay_loop::Client as RelayClient; use std::fmt::Debug; diff --git a/bridges/relays/finality/src/finality_proofs.rs b/bridges/relays/finality/src/finality_proofs.rs index 4ef7658c..e5a025b5 100644 --- a/bridges/relays/finality/src/finality_proofs.rs +++ b/bridges/relays/finality/src/finality_proofs.rs @@ -16,7 +16,7 @@ use crate::{base::SourceClientBase, FinalityPipeline}; -use bp_header_chain::FinalityProof; +use bp_header_pez_chain::FinalityProof; use futures::{FutureExt, Stream, StreamExt}; use std::pin::Pin; diff --git a/bridges/relays/finality/src/headers.rs b/bridges/relays/finality/src/headers.rs index 906238fb..c16ed3f0 100644 --- a/bridges/relays/finality/src/headers.rs +++ b/bridges/relays/finality/src/headers.rs @@ -19,7 +19,7 @@ use crate::{ HeadersToRelay, SourceClient, SourceHeader, TargetClient, }; -use bp_header_chain::FinalityProof; +use bp_header_pez_chain::FinalityProof; use num_traits::Saturating; use std::cmp::Ordering; diff --git a/bridges/relays/finality/src/lib.rs b/bridges/relays/finality/src/lib.rs index 4346f966..7a2b0aff 100644 --- a/bridges/relays/finality/src/lib.rs +++ b/bridges/relays/finality/src/lib.rs @@ -28,7 +28,7 @@ pub use crate::{ sync_loop_metrics::SyncLoopMetrics, }; -use bp_header_chain::ConsensusLogReader; +use bp_header_pez_chain::ConsensusLogReader; use relay_utils::{FailedClient, MaybeConnectionError}; use std::fmt::Debug; diff --git a/bridges/relays/finality/src/mock.rs b/bridges/relays/finality/src/mock.rs index 69357f71..b3b6c65c 100644 --- a/bridges/relays/finality/src/mock.rs +++ b/bridges/relays/finality/src/mock.rs @@ -25,7 +25,7 @@ use crate::{ }; use async_trait::async_trait; -use bp_header_chain::{FinalityProof, GrandpaConsensusLogReader}; +use bp_header_pez_chain::{FinalityProof, GrandpaConsensusLogReader}; use futures::{Stream, StreamExt}; use parking_lot::Mutex; use relay_utils::{ diff --git a/bridges/relays/lib-bizinikiwi-relay/Cargo.toml b/bridges/relays/lib-bizinikiwi-relay/Cargo.toml index 7d2056a5..65f39e21 100644 --- a/bridges/relays/lib-bizinikiwi-relay/Cargo.toml +++ b/bridges/relays/lib-bizinikiwi-relay/Cargo.toml @@ -28,14 +28,14 @@ thiserror = { workspace = true } tracing = { workspace = true } # Bridge dependencies -bp-header-chain = { workspace = true, default-features = true } +bp-header-pez-chain = { workspace = true, default-features = true } bp-pezkuwi-core = { workspace = true, default-features = true } bp-relayers = { workspace = true, default-features = true } bp-teyrchains = { workspace = true, default-features = true } -equivocation-detector = { workspace = true } -finality-relay = { workspace = true } -messages-relay = { workspace = true } +pez-equivocation-detector = { workspace = true } +pez-finality-relay = { workspace = true } +pez-messages-relay = { workspace = true } relay-bizinikiwi-client = { workspace = true } relay-utils = { workspace = true } teyrchains-relay = { workspace = true } @@ -45,7 +45,7 @@ pezpallet-bridge-messages = { workspace = true, default-features = true } pezpallet-bridge-teyrchains = { workspace = true, default-features = true } bp-messages = { workspace = true, default-features = true } -bp-runtime = { workspace = true, default-features = true } +pezbp-runtime = { workspace = true, default-features = true } # Bizinikiwi Dependencies pezframe-support = { workspace = true, default-features = true } @@ -63,17 +63,17 @@ scale-info = { features = ["derive"], workspace = true } [features] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", - "equivocation-detector/runtime-benchmarks", - "finality-relay/runtime-benchmarks", + "pez-equivocation-detector/runtime-benchmarks", + "pez-finality-relay/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", - "messages-relay/runtime-benchmarks", + "pez-messages-relay/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", "pezpallet-bridge-grandpa/runtime-benchmarks", "pezpallet-bridge-messages/runtime-benchmarks", diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/chain_schema.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/chain_schema.rs index 739e462e..a1aa3245 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/chain_schema.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/chain_schema.rs @@ -39,7 +39,7 @@ pub enum RuntimeVersionType { #[macro_export] macro_rules! declare_chain_runtime_version_params_cli_schema { ($chain:ident, $chain_prefix:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { #[doc = $chain " runtime version params."] #[derive(Debug, PartialEq, Eq, Clone, Copy, Parser)] pub struct [<$chain RuntimeVersionParams>] { @@ -91,7 +91,7 @@ macro_rules! declare_chain_runtime_version_params_cli_schema { #[macro_export] macro_rules! declare_chain_connection_params_cli_schema { ($chain:ident, $chain_prefix:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { // TODO: https://github.com/pezkuwichain/kurdistan-sdk/issues/86 // remove all obsolete arguments (separate URI components) @@ -131,7 +131,7 @@ macro_rules! declare_chain_connection_params_cli_schema { #[macro_export] macro_rules! declare_chain_signing_params_cli_schema { ($chain:ident, $chain_prefix:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { #[doc = $chain " signing params."] #[derive(Debug, PartialEq, Eq, Clone, Parser)] pub struct [<$chain SigningParams>] { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/init_bridge.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/init_bridge.rs index 997ccc99..2c948fc0 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/init_bridge.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/init_bridge.rs @@ -23,7 +23,7 @@ use crate::{ cli::{bridge::CliBridgeBase, chain_schema::*}, finality_base::engine::Engine, }; -use bp_runtime::Chain as ChainBase; +use pezbp_runtime::Chain as ChainBase; use clap::Parser; use relay_bizinikiwi_client::{AccountKeyPairOf, Chain, UnsignedTransaction}; use pezsp_core::Pair; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/mod.rs index 1082dc3c..0922bf99 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/mod.rs @@ -45,7 +45,7 @@ use crate::{ on_demand::OnDemandRelay, HeadersToRelay, TaggedAccount, TransactionParams, }; -use bp_runtime::BalanceOf; +use pezbp_runtime::BalanceOf; use relay_bizinikiwi_client::{ AccountIdOf, AccountKeyPairOf, Chain, ChainWithBalances, ChainWithMessages, ChainWithRuntimeVersion, ChainWithTransactions, @@ -162,7 +162,7 @@ where } /// Returns message relay parameters. - fn messages_relay_params( + fn pez_messages_relay_params( &self, source_to_target_headers_relay: Arc>, target_to_source_headers_relay: Arc>, @@ -336,7 +336,7 @@ where for lane in lanes_l2r { let left_to_right_messages = crate::messages::run::<::MessagesLane, _, _>( - self.left_to_right().messages_relay_params( + self.left_to_right().pez_messages_relay_params( left_to_right_on_demand_headers.clone(), right_to_left_on_demand_headers.clone(), lane, @@ -350,7 +350,7 @@ where for lane in lanes_r2l { let right_to_left_messages = crate::messages::run::<::MessagesLane, _, _>( - self.right_to_left().messages_relay_params( + self.right_to_left().pez_messages_relay_params( right_to_left_on_demand_headers.clone(), left_to_right_on_demand_headers.clone(), lane, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_relay.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_relay.rs index 8214a9e9..71e80ffe 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_relay.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_relay.rs @@ -51,7 +51,7 @@ pub struct RelayToRelayBridge< /// Create set of configuration objects specific to relay-to-relay relayer. macro_rules! declare_relay_to_relay_bridge_schema { ($left_chain:ident, $right_chain:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { #[doc = $left_chain " and " $right_chain " headers+messages relay params."] #[derive(Debug, PartialEq, Parser)] pub struct [<$left_chain $right_chain HeadersAndMessages>] { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_teyrchain.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_teyrchain.rs index cd967a10..8feb1c04 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_teyrchain.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/relay_to_teyrchain.rs @@ -63,7 +63,7 @@ pub struct RelayToTeyrchainBridge< macro_rules! declare_relay_to_teyrchain_bridge_schema { // chain, teyrchain, relay-chain-of-teyrchain ($left_chain:ident, $right_teyrchain:ident, $right_chain:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { #[doc = $left_chain ", " $right_teyrchain " and " $right_chain " headers+teyrchains+messages relay params."] #[derive(Debug, PartialEq, Parser)] pub struct [<$left_chain $right_teyrchain HeadersAndMessages>] { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/teyrchain_to_teyrchain.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/teyrchain_to_teyrchain.rs index 4e6eaa6e..c617b4ea 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/teyrchain_to_teyrchain.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_headers_and_messages/teyrchain_to_teyrchain.rs @@ -63,7 +63,7 @@ pub struct TeyrchainToTeyrchainBridge< macro_rules! declare_teyrchain_to_teyrchain_bridge_schema { // left-teyrchain, relay-chain-of-left-teyrchain, right-teyrchain, relay-chain-of-right-teyrchain ($left_teyrchain:ident, $left_chain:ident, $right_teyrchain:ident, $right_chain:ident) => { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { #[doc = $left_teyrchain ", " $left_chain ", " $right_teyrchain " and " $right_chain " headers+teyrchains+messages relay params."] #[derive(Debug, PartialEq, Parser)] pub struct [<$left_teyrchain $right_teyrchain HeadersAndMessages>] { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_messages.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_messages.rs index 00c682c1..faeb1011 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_messages.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_messages.rs @@ -27,7 +27,7 @@ use clap::Parser; use pezsp_core::Pair; use bp_messages::MessageNonce; -use bp_runtime::HeaderIdProvider; +use pezbp_runtime::HeaderIdProvider; use relay_bizinikiwi_client::{ AccountIdOf, AccountKeyPairOf, BalanceOf, Chain, ChainWithRuntimeVersion, ChainWithTransactions, Client, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_teyrchains.rs b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_teyrchains.rs index f4fd95c8..da48e3c7 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_teyrchains.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/cli/relay_teyrchains.rs @@ -19,7 +19,7 @@ use async_std::sync::Mutex; use async_trait::async_trait; use bp_pezkuwi_core::BlockNumber as RelayBlockNumber; -use bp_runtime::HeaderIdProvider; +use pezbp_runtime::HeaderIdProvider; use clap::Parser; use relay_bizinikiwi_client::{Client, Teyrchain}; use relay_utils::metrics::{GlobalMetrics, StandaloneMetric}; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/mod.rs index d5a161d2..80442232 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/mod.rs @@ -27,9 +27,9 @@ use crate::{ }; use async_trait::async_trait; -use bp_runtime::{AccountIdOf, BlockNumberOf, HashOf}; -use equivocation_detector::EquivocationDetectionPipeline; -use finality_relay::FinalityPipeline; +use pezbp_runtime::{AccountIdOf, BlockNumberOf, HashOf}; +use pez_equivocation_detector::EquivocationDetectionPipeline; +use pez_finality_relay::FinalityPipeline; use pezpallet_grandpa::{Call as GrandpaCall, Config as GrandpaConfig}; use relay_bizinikiwi_client::{AccountKeyPairOf, CallOf, Chain, ChainWithTransactions, Client}; use relay_utils::metrics::MetricsParams; @@ -186,7 +186,7 @@ macro_rules! generate_report_equivocation_call_builder { ) -> relay_bizinikiwi_client::CallOf< <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::SourceChain > { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { $grandpa($report_equivocation { equivocation_proof: Box::new(equivocation_proof), key_owner_proof: key_owner_proof @@ -211,7 +211,7 @@ pub async fn run( "Starting equivocations detection loop" ); - equivocation_detector::run( + pez_equivocation_detector::run( BizinikiwiEquivocationSource::::new(source_client, source_transaction_params), BizinikiwiEquivocationTarget::::new(target_client), P::TargetChain::AVERAGE_BLOCK_INTERVAL, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/source.rs b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/source.rs index a87ffcce..b6b94167 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/source.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/source.rs @@ -26,9 +26,9 @@ use crate::{ }; use async_trait::async_trait; -use bp_runtime::{HashOf, TransactionEra}; -use equivocation_detector::SourceClient; -use finality_relay::SourceClientBase; +use pezbp_runtime::{HashOf, TransactionEra}; +use pez_equivocation_detector::SourceClient; +use pez_finality_relay::SourceClientBase; use relay_bizinikiwi_client::{ AccountKeyPairOf, Client, Error, TransactionTracker, UnsignedTransaction, }; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/target.rs b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/target.rs index 5b268029..e230cb81 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/equivocation/target.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/equivocation/target.rs @@ -25,9 +25,9 @@ use crate::{ }; use async_trait::async_trait; -use bp_header_chain::HeaderFinalityInfo; -use bp_runtime::{BlockNumberOf, HashOf}; -use equivocation_detector::TargetClient; +use bp_header_pez_chain::HeaderFinalityInfo; +use pezbp_runtime::{BlockNumberOf, HashOf}; +use pez_equivocation_detector::TargetClient; use relay_bizinikiwi_client::{Client, Error}; use relay_utils::relay_loop::Client as RelayClient; use pezsp_runtime::traits::Header; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality/initialize.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality/initialize.rs index d904db22..bf8c80c3 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality/initialize.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality/initialize.rs @@ -24,7 +24,7 @@ use crate::{error::Error, finality_base::engine::Engine}; use pezsp_core::Pair; -use bp_runtime::HeaderIdOf; +use pezbp_runtime::HeaderIdOf; use relay_bizinikiwi_client::{ AccountKeyPairOf, Chain, ChainWithTransactions, Client, Error as BizinikiwiError, UnsignedTransaction, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality/mod.rs index 9adb9e98..5f82b11e 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality/mod.rs @@ -24,8 +24,8 @@ use crate::{ }; use async_trait::async_trait; -use bp_header_chain::justification::{GrandpaJustification, JustificationVerificationContext}; -use finality_relay::{ +use bp_header_pez_chain::justification::{GrandpaJustification, JustificationVerificationContext}; +use pez_finality_relay::{ FinalityPipeline, FinalitySyncPipeline, HeadersToRelay, SourceClient, TargetClient, }; use pezpallet_bridge_grandpa::{Call as BridgeGrandpaCall, Config as BridgeGrandpaConfig}; @@ -134,7 +134,7 @@ where P: BizinikiwiFinalitySyncPipeline, R: BridgeGrandpaConfig, I: 'static, - R::BridgedChain: bp_runtime::Chain

>, + R::BridgedChain: pezbp_runtime::Chain
>, CallOf: From>, P::FinalityEngine: Engine< P::SourceChain, @@ -175,17 +175,17 @@ macro_rules! generate_submit_finality_proof_call_builder { <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::SourceChain > >, - proof: bp_header_chain::justification::GrandpaJustification< + proof: bp_header_pez_chain::justification::GrandpaJustification< relay_bizinikiwi_client::HeaderOf< <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::SourceChain > >, _is_free_execution_expected: bool, - _context: bp_header_chain::justification::JustificationVerificationContext, + _context: bp_header_pez_chain::justification::JustificationVerificationContext, ) -> relay_bizinikiwi_client::CallOf< <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::TargetChain > { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { $bridge_grandpa($submit_finality_proof { finality_target: Box::new(header.into_inner()), justification: proof @@ -215,17 +215,17 @@ macro_rules! generate_submit_finality_proof_ex_call_builder { <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::SourceChain > >, - proof: bp_header_chain::justification::GrandpaJustification< + proof: bp_header_pez_chain::justification::GrandpaJustification< relay_bizinikiwi_client::HeaderOf< <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::SourceChain > >, is_free_execution_expected: bool, - context: bp_header_chain::justification::JustificationVerificationContext, + context: bp_header_pez_chain::justification::JustificationVerificationContext, ) -> relay_bizinikiwi_client::CallOf< <$pipeline as $crate::finality_base::BizinikiwiFinalityPipeline>::TargetChain > { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { $bridge_grandpa($submit_finality_proof { finality_target: Box::new(header.into_inner()), justification: proof, @@ -254,10 +254,10 @@ pub async fn run( "Starting source -> target finality proof relay" ); - finality_relay::run( + pez_finality_relay::run( BizinikiwiFinalitySource::::new(source_client, None), BizinikiwiFinalityTarget::::new(target_client, transaction_params.clone()), - finality_relay::FinalitySyncParams { + pez_finality_relay::FinalitySyncParams { tick: std::cmp::max( P::SourceChain::AVERAGE_BLOCK_INTERVAL, P::TargetChain::AVERAGE_BLOCK_INTERVAL, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality/source.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality/source.rs index 00efcd3b..63e97425 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality/source.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality/source.rs @@ -25,9 +25,9 @@ use crate::{ use async_std::sync::{Arc, Mutex}; use async_trait::async_trait; -use bp_header_chain::FinalityProof; +use bp_header_pez_chain::FinalityProof; use codec::Decode; -use finality_relay::{SourceClient, SourceClientBase}; +use pez_finality_relay::{SourceClient, SourceClientBase}; use futures::{ select, stream::{try_unfold, Stream, StreamExt, TryStreamExt}, @@ -37,7 +37,7 @@ use relay_bizinikiwi_client::{BlockNumberOf, BlockWithJustification, Client, Err use relay_utils::{relay_loop::Client as RelayClient, UniqueSaturatedInto}; /// Shared updatable reference to the maximal header number that we want to sync from the source. -pub type RequiredHeaderNumberRef = Arc::BlockNumber>>; +pub type RequiredHeaderNumberRef = Arc::BlockNumber>>; /// Bizinikiwi node as finality source. pub struct BizinikiwiFinalitySource { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality/target.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality/target.rs index c1a31d5d..f0571f88 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality/target.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality/target.rs @@ -25,8 +25,8 @@ use crate::{ }; use async_trait::async_trait; -use bp_runtime::BlockNumberOf; -use finality_relay::TargetClient; +use pezbp_runtime::BlockNumberOf; +use pez_finality_relay::TargetClient; use relay_bizinikiwi_client::{ AccountIdOf, AccountKeyPairOf, Chain, Client, Error, HeaderIdOf, HeaderOf, SyncHeader, TransactionEra, TransactionTracker, UnsignedTransaction, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality_base/engine.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality_base/engine.rs index 92433e2e..8ae651d5 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality_base/engine.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality_base/engine.rs @@ -18,7 +18,7 @@ use crate::error::Error; use async_trait::async_trait; -use bp_header_chain::{ +use bp_header_pez_chain::{ justification::{ verify_and_optimize_justification, GrandpaEquivocationsFinder, GrandpaJustification, JustificationVerificationContext, @@ -26,7 +26,7 @@ use bp_header_chain::{ AuthoritySet, ConsensusLogReader, FinalityProof, FindEquivocations, GrandpaConsensusLogReader, HeaderFinalityInfo, HeaderGrandpaInfo, StoredHeaderGrandpaInfo, SubmitFinalityProofCallExtras, }; -use bp_runtime::{BasicOperatingMode, HeaderIdProvider, OperatingMode}; +use pezbp_runtime::{BasicOperatingMode, HeaderIdProvider, OperatingMode}; use codec::{Decode, Encode}; use futures::stream::StreamExt; use num_traits::{One, Zero}; @@ -188,15 +188,15 @@ impl Engine for Grandpa { type EquivocationProof = pezsp_consensus_grandpa::EquivocationProof, BlockNumberOf>; type EquivocationsFinder = GrandpaEquivocationsFinder; type KeyOwnerProof = C::KeyOwnerProof; - type InitializationData = bp_header_chain::InitializationData; + type InitializationData = bp_header_pez_chain::InitializationData; type OperatingMode = BasicOperatingMode; fn is_initialized_key() -> StorageKey { - bp_header_chain::storage_keys::best_finalized_key(C::WITH_CHAIN_GRANDPA_PALLET_NAME) + bp_header_pez_chain::storage_keys::best_finalized_key(C::WITH_CHAIN_GRANDPA_PALLET_NAME) } fn pezpallet_operating_mode_key() -> StorageKey { - bp_header_chain::storage_keys::pezpallet_operating_mode_key(C::WITH_CHAIN_GRANDPA_PALLET_NAME) + bp_header_pez_chain::storage_keys::pezpallet_operating_mode_key(C::WITH_CHAIN_GRANDPA_PALLET_NAME) } async fn source_finality_proofs( @@ -239,7 +239,7 @@ impl Engine for Grandpa { header: &C::Header, proof: &Self::FinalityProof, ) -> SubmitFinalityProofCallExtras { - bp_header_chain::submit_finality_proof_limits_extras::(header, proof) + bp_header_pez_chain::submit_finality_proof_limits_extras::(header, proof) } /// Prepare initialization data for the GRANDPA verifier pallet. @@ -353,7 +353,7 @@ impl Engine for Grandpa { } } - Ok(bp_header_chain::InitializationData { + Ok(bp_header_pez_chain::InitializationData { header: Box::new(initial_header), authority_list: initial_authorities_set, set_id: if schedules_change { @@ -369,7 +369,7 @@ impl Engine for Grandpa { target_client: &impl Client, at: HashOf, ) -> Result { - let current_authority_set_key = bp_header_chain::storage_keys::current_authority_set_key( + let current_authority_set_key = bp_header_pez_chain::storage_keys::current_authority_set_key( C::WITH_CHAIN_GRANDPA_PALLET_NAME, ); let authority_set: AuthoritySet = target_client diff --git a/bridges/relays/lib-bizinikiwi-relay/src/finality_base/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/finality_base/mod.rs index b7746443..15fee46f 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/finality_base/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/finality_base/mod.rs @@ -22,7 +22,7 @@ pub mod engine; use crate::finality_base::engine::Engine; use async_trait::async_trait; -use bp_runtime::{HashOf, HeaderIdOf}; +use pezbp_runtime::{HashOf, HeaderIdOf}; use codec::Decode; use futures::{stream::unfold, Stream, StreamExt}; use relay_bizinikiwi_client::{Chain, Client, Error}; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/lib.rs b/bridges/relays/lib-bizinikiwi-relay/src/lib.rs index 3e56bfb4..84b6809a 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/lib.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/lib.rs @@ -22,8 +22,8 @@ use relay_bizinikiwi_client::{Chain, ChainWithUtilityPallet, UtilityPallet}; use std::marker::PhantomData; -// to avoid `finality_relay` dependency in other crates -pub use finality_relay::HeadersToRelay; +// to avoid `pez_finality_relay` dependency in other crates +pub use pez_finality_relay::HeadersToRelay; pub mod cli; pub mod equivocation; @@ -130,7 +130,7 @@ impl BatchCallBuilder for () { /// Module for handling storage proofs compatibility. pub mod proofs { - use bp_runtime::{HashOf, RawStorageProof}; + use pezbp_runtime::{HashOf, RawStorageProof}; use relay_bizinikiwi_client::Chain; use pezsp_trie::StorageProof; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/messages/metrics.rs b/bridges/relays/lib-bizinikiwi-relay/src/messages/metrics.rs index 2b7642bc..f0f00aa9 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/messages/metrics.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/messages/metrics.rs @@ -21,7 +21,7 @@ use crate::TaggedAccount; use bp_relayers::{RewardsAccountOwner, RewardsAccountParams}; use codec::{Decode, EncodeLike}; use pezframe_system::AccountInfo; -use messages_relay::Labeled; +use pez_messages_relay::Labeled; use pezpallet_balances::AccountData; use relay_bizinikiwi_client::{ metrics::{FixedU128OrOne, FloatStorageValue, FloatStorageValueMetric}, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/messages/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/messages/mod.rs index 23ca8589..f6e42216 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/messages/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/messages/mod.rs @@ -29,10 +29,10 @@ use async_std::sync::Arc; use bp_messages::{ target_chain::FromBridgedChainMessagesProof, ChainWithMessages as _, MessageNonce, }; -use bp_runtime::{AccountIdOf, EncodedOrDecodedCall, HeaderIdOf, TransactionEra, WeightExtraOps}; +use pezbp_runtime::{AccountIdOf, EncodedOrDecodedCall, HeaderIdOf, TransactionEra, WeightExtraOps}; use codec::{Codec, Encode, EncodeLike}; use pezframe_support::{dispatch::GetDispatchInfo, weights::Weight}; -use messages_relay::{message_lane::MessageLane, message_lane_loop::BatchTransaction, Labeled}; +use pez_messages_relay::{message_lane::MessageLane, message_lane_loop::BatchTransaction, Labeled}; use pezpallet_bridge_messages::{Call as BridgeMessagesCall, Config as BridgeMessagesConfig}; use relay_bizinikiwi_client::{ transaction_stall_timeout, AccountKeyPairOf, BalanceOf, BlockNumberOf, CallOf, Chain, @@ -250,13 +250,13 @@ where "Starting source -> target messages relay." ); - messages_relay::message_lane_loop::run( - messages_relay::message_lane_loop::Params { + pez_messages_relay::message_lane_loop::run( + pez_messages_relay::message_lane_loop::Params { lane: params.lane_id, source_tick: P::SourceChain::AVERAGE_BLOCK_INTERVAL, target_tick: P::TargetChain::AVERAGE_BLOCK_INTERVAL, reconnect_delay: relay_utils::relay_loop::RECONNECT_DELAY, - delivery_params: messages_relay::message_lane_loop::MessageDeliveryParams { + delivery_params: pez_messages_relay::message_lane_loop::MessageDeliveryParams { max_unrewarded_relayer_entries_at_target: P::SourceChain::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX, max_unconfirmed_nonces_at_target: @@ -310,7 +310,7 @@ where { let relayer_id_at_source: AccountIdOf = source_transaction_params.signer.public().into(); - messages_relay::relay_messages_range( + pez_messages_relay::relay_messages_range( BizinikiwiMessagesSource::::new( source_client.clone(), target_client.clone(), @@ -350,7 +350,7 @@ where { let relayer_id_at_source: AccountIdOf = source_transaction_params.signer.public().into(); - messages_relay::relay_messages_delivery_confirmation( + pez_messages_relay::relay_messages_delivery_confirmation( BizinikiwiMessagesSource::::new( source_client.clone(), target_client.clone(), @@ -397,7 +397,7 @@ where R: BridgeMessagesConfig, I: 'static, R::BridgedChain: - bp_runtime::Chain, Hash = HashOf>, + pezbp_runtime::Chain, Hash = HashOf>, CallOf: From> + GetDispatchInfo, { fn build_receive_messages_proof_call( @@ -459,7 +459,7 @@ macro_rules! generate_receive_message_proof_call_builder { ) -> relay_bizinikiwi_client::CallOf< <$pipeline as $crate::messages::BizinikiwiMessageLane>::TargetChain > { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { $bridge_messages($receive_messages_proof { relayer_id_at_bridged_chain: relayer_id_at_source, proof: proof.1.into(), @@ -494,7 +494,7 @@ where P: BizinikiwiMessageLane, R: BridgeMessagesConfig, I: 'static, - R::BridgedChain: bp_runtime::Chain>, + R::BridgedChain: pezbp_runtime::Chain>, CallOf: From> + GetDispatchInfo, { fn build_receive_messages_delivery_proof_call( @@ -547,7 +547,7 @@ macro_rules! generate_receive_message_delivery_proof_call_builder { ) -> relay_bizinikiwi_client::CallOf< <$pipeline as $crate::messages::BizinikiwiMessageLane>::SourceChain > { - bp_runtime::paste::item! { + pezbp_runtime::paste::item! { $bridge_messages($receive_messages_delivery_proof { proof: proof.1, relayers_state: proof.0 @@ -820,7 +820,7 @@ mod tests { mod mock { use super::super::*; use bp_messages::{target_chain::ForbidInboundMessages, HashedLaneId}; - use bp_runtime::ChainId; + use pezbp_runtime::ChainId; use pezframe_support::derive_impl; use pezsp_core::H256; use pezsp_runtime::{ @@ -863,7 +863,7 @@ mod tests { pub struct ThisUnderlyingChain; - impl bp_runtime::Chain for ThisUnderlyingChain { + impl pezbp_runtime::Chain for ThisUnderlyingChain { const ID: ChainId = *b"tuch"; type BlockNumber = u64; type Hash = H256; @@ -893,7 +893,7 @@ mod tests { pub type BridgedHeaderHash = H256; pub type BridgedChainHeader = BizinikiwiHeader; - impl bp_runtime::Chain for BridgedUnderlyingChain { + impl pezbp_runtime::Chain for BridgedUnderlyingChain { const ID: ChainId = *b"bgdc"; type BlockNumber = u64; type Hash = BridgedHeaderHash; @@ -920,7 +920,7 @@ mod tests { pub struct BridgedHeaderChain; - impl bp_header_chain::HeaderChain for BridgedHeaderChain { + impl bp_header_pez_chain::HeaderChain for BridgedHeaderChain { fn finalized_header_state_root( _hash: HashOf, ) -> Option> { @@ -939,7 +939,7 @@ mod tests { }, UtilityPalletBatchCallBuilder, }; - use bp_runtime::UnderlyingChainProvider; + use pezbp_runtime::UnderlyingChainProvider; use relay_bizinikiwi_client::{MockedRuntimeUtilityPallet, SignParam, UnsignedTransaction}; use std::time::Duration; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/messages/source.rs b/bridges/relays/lib-bizinikiwi-relay/src/messages/source.rs index 8c025d02..97e7fd4a 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/messages/source.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/messages/source.rs @@ -37,10 +37,10 @@ use bp_messages::{ ChainWithMessages as _, InboundMessageDetails, MessageNonce, MessagePayload, MessagesOperatingMode, OutboundMessageDetails, }; -use bp_runtime::{BasicOperatingMode, HeaderIdProvider, RangeInclusiveExt}; +use pezbp_runtime::{BasicOperatingMode, HeaderIdProvider, RangeInclusiveExt}; use codec::{Decode, Encode}; use pezframe_support::weights::Weight; -use messages_relay::{ +use pez_messages_relay::{ message_lane::{MessageLane, SourceHeaderIdOf, TargetHeaderIdOf}, message_lane_loop::{ ClientState, MessageDetails, MessageDetailsMap, MessageProofParameters, SourceClient, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/messages/target.rs b/bridges/relays/lib-bizinikiwi-relay/src/messages/target.rs index d6b3234e..bf2f3422 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/messages/target.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/messages/target.rs @@ -39,7 +39,7 @@ use bp_messages::{ ChainWithMessages as _, LaneState, MessageNonce, UnrewardedRelayer, UnrewardedRelayersState, }; use codec::Decode; -use messages_relay::{ +use pez_messages_relay::{ message_lane::{MessageLane, SourceHeaderIdOf, TargetHeaderIdOf}, message_lane_loop::{NoncesSubmitArtifacts, TargetClient, TargetClientState}, }; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/on_demand/headers.rs b/bridges/relays/lib-bizinikiwi-relay/src/on_demand/headers.rs index f0c61e1f..77b068b9 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/on_demand/headers.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/on_demand/headers.rs @@ -20,13 +20,13 @@ use crate::finality::SubmitFinalityProofCallBuilder; use async_std::sync::{Arc, Mutex}; use async_trait::async_trait; -use bp_header_chain::ConsensusLogReader; -use bp_runtime::HeaderIdProvider; +use bp_header_pez_chain::ConsensusLogReader; +use pezbp_runtime::HeaderIdProvider; use futures::{select, FutureExt}; use num_traits::{One, Saturating, Zero}; use pezsp_runtime::traits::Header; -use finality_relay::{FinalitySyncParams, HeadersToRelay, TargetClient as FinalityTargetClient}; +use pez_finality_relay::{FinalitySyncParams, HeadersToRelay, TargetClient as FinalityTargetClient}; use relay_bizinikiwi_client::{ AccountIdOf, AccountKeyPairOf, BlockNumberOf, CallOf, Chain, Client, Error as BizinikiwiError, HeaderIdOf, @@ -225,13 +225,13 @@ async fn background_task( let mut latest_non_mandatory_at_source = Zero::zero(); let mut restart_relay = true; - let finality_relay_task = futures::future::Fuse::terminated(); - futures::pin_mut!(finality_relay_task); + let pez_finality_relay_task = futures::future::Fuse::terminated(); + futures::pin_mut!(pez_finality_relay_task); loop { select! { _ = async_std::task::sleep(P::TargetChain::AVERAGE_BLOCK_INTERVAL).fuse() => {}, - _ = finality_relay_task => { + _ = pez_finality_relay_task => { // this should never happen in practice given the current code restart_relay = true; }, @@ -358,8 +358,8 @@ async fn background_task( "Starting on-demand headers relay task" ); - finality_relay_task.set( - finality_relay::run( + pez_finality_relay_task.set( + pez_finality_relay::run( finality_source.clone(), finality_target.clone(), FinalitySyncParams { diff --git a/bridges/relays/lib-bizinikiwi-relay/src/on_demand/teyrchains.rs b/bridges/relays/lib-bizinikiwi-relay/src/on_demand/teyrchains.rs index 711ff6b6..d64be52e 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/on_demand/teyrchains.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/on_demand/teyrchains.rs @@ -32,7 +32,7 @@ use async_std::{ }; use async_trait::async_trait; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaId}; -use bp_runtime::HeaderIdProvider; +use pezbp_runtime::HeaderIdProvider; use bp_teyrchains::{RelayBlockHash, RelayBlockHasher, RelayBlockNumber}; use futures::{select, FutureExt}; use num_traits::Zero; diff --git a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/mod.rs b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/mod.rs index 9df5645c..044d0dae 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/mod.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/mod.rs @@ -85,7 +85,7 @@ where P::SourceRelayChain: Chain, R: BridgeTeyrchainsConfig + Send + Sync, I: 'static + Send + Sync, - R::BridgedChain: bp_runtime::Chain< + R::BridgedChain: pezbp_runtime::Chain< BlockNumber = RelayBlockNumber, Hash = RelayBlockHash, Hasher = RelayBlockHasher, diff --git a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/source.rs b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/source.rs index 79f68c06..e846d871 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/source.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/source.rs @@ -23,7 +23,7 @@ use crate::{ use async_std::sync::{Arc, Mutex}; use async_trait::async_trait; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId}; -use bp_runtime::HeaderIdProvider; +use pezbp_runtime::HeaderIdProvider; use bp_teyrchains::teyrchain_head_storage_key_at_source; use codec::Decode; use relay_bizinikiwi_client::{ diff --git a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/target.rs b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/target.rs index a7b43f5f..55263c2b 100644 --- a/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/target.rs +++ b/bridges/relays/lib-bizinikiwi-relay/src/teyrchains/target.rs @@ -28,7 +28,7 @@ use bp_pezkuwi_core::{ teyrchains::{ParaHash, ParaHeadsProof, ParaId}, BlockNumber as RelayBlockNumber, }; -use bp_runtime::{ +use pezbp_runtime::{ Chain as ChainBase, HeaderId, HeaderIdProvider, StorageDoubleMapKeyProvider, StorageMapKeyProvider, }; diff --git a/bridges/relays/messages/Cargo.toml b/bridges/relays/messages/Cargo.toml index 410e622d..ceb41fd2 100644 --- a/bridges/relays/messages/Cargo.toml +++ b/bridges/relays/messages/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "messages-relay" +name = "pez-messages-relay" version = "0.1.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" repository.workspace = true publish = false description = "Pezkuwi SDK component: messages relay" -documentation = "https://docs.rs/messages-relay" +documentation = "https://docs.rs/pez-messages-relay" homepage = { workspace = true } [lints] @@ -24,7 +24,7 @@ tracing = { workspace = true } # Bridge Dependencies bp-messages = { workspace = true, default-features = true } -finality-relay = { workspace = true } +pez-finality-relay = { workspace = true } relay-utils = { workspace = true } pezsp-arithmetic = { workspace = true, default-features = true } @@ -35,6 +35,6 @@ pezsp-core = { workspace = true } [features] runtime-benchmarks = [ "bp-messages/runtime-benchmarks", - "finality-relay/runtime-benchmarks", + "pez-finality-relay/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] diff --git a/bridges/relays/messages/src/metrics.rs b/bridges/relays/messages/src/metrics.rs index 3cd06ab1..276bbeb0 100644 --- a/bridges/relays/messages/src/metrics.rs +++ b/bridges/relays/messages/src/metrics.rs @@ -22,7 +22,7 @@ use crate::{ }; use bp_messages::{HashedLaneId, LegacyLaneId, MessageNonce}; -use finality_relay::SyncLoopMetrics; +use pez_finality_relay::SyncLoopMetrics; use relay_utils::metrics::{ metric_name, register, GaugeVec, Metric, Opts, PrometheusError, Registry, U64, }; diff --git a/bridges/relays/teyrchains/README.md b/bridges/relays/teyrchains/README.md index f45f0add..6f1262cc 100644 --- a/bridges/relays/teyrchains/README.md +++ b/bridges/relays/teyrchains/README.md @@ -9,7 +9,7 @@ The relay is configured to submit heads of one or several teyrchains. It pokes s teyrchain heads that are known to the source relay chain to heads at the target chain. If there are new heads, the relay submits them to the target chain. -More: [Teyrchains Finality Relay Sequence Diagram](../../docs/teyrchains-finality-relay.html). +More: [Teyrchains Finality Relay Sequence Diagram](../../docs/teyrchains-pez-finality-relay.html). ## How to Use the Teyrchains Finality Relay diff --git a/bridges/relays/utils/Cargo.toml b/bridges/relays/utils/Cargo.toml index f16c4382..6b4e0271 100644 --- a/bridges/relays/utils/Cargo.toml +++ b/bridges/relays/utils/Cargo.toml @@ -32,7 +32,7 @@ tokio = { features = ["rt"], workspace = true, default-features = true } tracing = { workspace = true } # Bridge dependencies -bp-runtime = { workspace = true, default-features = true } +pezbp-runtime = { workspace = true, default-features = true } # Bizinikiwi dependencies prometheus-endpoint = { workspace = true, default-features = true } @@ -40,6 +40,6 @@ pezsp-runtime = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] diff --git a/bridges/relays/utils/src/lib.rs b/bridges/relays/utils/src/lib.rs index 0a369163..26d61d11 100644 --- a/bridges/relays/utils/src/lib.rs +++ b/bridges/relays/utils/src/lib.rs @@ -16,7 +16,7 @@ //! Utilities used by different relays. -pub use bp_runtime::HeaderId; +pub use pezbp_runtime::HeaderId; pub use error::Error; pub use relay_loop::{relay_loop, relay_metrics}; pub use pezsp_runtime::traits::{UniqueSaturatedFrom, UniqueSaturatedInto}; diff --git a/bridges/snowbridge/pallets/ethereum-client/src/types.rs b/bridges/snowbridge/pallets/ethereum-client/src/types.rs deleted file mode 100644 index 7dcea159..00000000 --- a/bridges/snowbridge/pallets/ethereum-client/src/types.rs +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 -// SPDX-FileCopyrightText: 2023 Snowfork -pub use crate::config::{ - SLOTS_PER_HISTORICAL_ROOT, SYNC_COMMITTEE_BITS_SIZE as SC_BITS_SIZE, - SYNC_COMMITTEE_SIZE as SC_SIZE, -}; -use pezframe_support::storage::types::OptionQuery; -use snowbridge_core::RingBufferMapImpl; - -// Specialize types based on configured sync committee size -pub type SyncCommittee = snowbridge_beacon_primitives::SyncCommittee; -pub type SyncCommitteePrepared = snowbridge_beacon_primitives::SyncCommitteePrepared; -pub type SyncAggregate = snowbridge_beacon_primitives::SyncAggregate; -pub type CheckpointUpdate = snowbridge_beacon_primitives::CheckpointUpdate; -pub type Update = snowbridge_beacon_primitives::Update; -pub type NextSyncCommitteeUpdate = snowbridge_beacon_primitives::NextSyncCommitteeUpdate; - -pub use snowbridge_beacon_primitives::{AncestryProof, ExecutionProof}; - -/// FinalizedState ring buffer implementation -pub type FinalizedBeaconStateBuffer = RingBufferMapImpl< - u32, - crate::MaxFinalizedHeadersToKeep, - crate::FinalizedBeaconStateIndex, - crate::FinalizedBeaconStateMapping, - crate::FinalizedBeaconState, - OptionQuery, ->; diff --git a/bridges/snowbridge/pallets/ethereum-client/Cargo.toml b/bridges/snowbridge/pezpallets/ethereum-client/Cargo.toml similarity index 83% rename from bridges/snowbridge/pallets/ethereum-client/Cargo.toml rename to bridges/snowbridge/pezpallets/ethereum-client/Cargo.toml index 88ba10bc..c7dabf07 100644 --- a/bridges/snowbridge/pallets/ethereum-client/Cargo.toml +++ b/bridges/snowbridge/pezpallets/ethereum-client/Cargo.toml @@ -36,11 +36,11 @@ pezsp-runtime = { workspace = true } pezsp-std = { workspace = true } pezpallet-timestamp = { optional = true, workspace = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-ethereum = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-ethereum = { workspace = true } snowbridge-pezpallet-ethereum-client-fixtures = { optional = true, workspace = true } -snowbridge-verification-primitives = { workspace = true } +pezsnowbridge-verification-primitives = { workspace = true } static_assertions = { workspace = true } [dev-dependencies] @@ -68,11 +68,11 @@ std = [ "pezpallet-timestamp/std", "scale-info/std", "serde", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-ethereum/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-ethereum/std", "snowbridge-pezpallet-ethereum-client-fixtures/std", - "snowbridge-verification-primitives/std", + "pezsnowbridge-verification-primitives/std", "pezsp-core/std", "pezsp-io/std", "pezsp-runtime/std", @@ -85,11 +85,11 @@ runtime-benchmarks = [ "pezframe-system/runtime-benchmarks", "hex-literal", "pezpallet-timestamp?/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-ethereum/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-ethereum/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client-fixtures/runtime-benchmarks", - "snowbridge-verification-primitives/runtime-benchmarks", + "pezsnowbridge-verification-primitives/runtime-benchmarks", "pezsp-io?/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/ethereum-client/README.md b/bridges/snowbridge/pezpallets/ethereum-client/README.md similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/README.md rename to bridges/snowbridge/pezpallets/ethereum-client/README.md diff --git a/bridges/snowbridge/pallets/ethereum-client/benchmark.md b/bridges/snowbridge/pezpallets/ethereum-client/benchmark.md similarity index 96% rename from bridges/snowbridge/pallets/ethereum-client/benchmark.md rename to bridges/snowbridge/pezpallets/ethereum-client/benchmark.md index 84ea01a0..d6fbc3a3 100644 --- a/bridges/snowbridge/pallets/ethereum-client/benchmark.md +++ b/bridges/snowbridge/pezpallets/ethereum-client/benchmark.md @@ -59,14 +59,14 @@ cargo run --release --bin pezkuwi-teyrchain \ benchmark pallet \ --base-path /mnt/scratch/benchmark \ --chain=bridge-hub-pezkuwichain-dev \ ---pallet=snowbridge_pallet_ethereum_client \ +--pallet=snowbridge_pezpallet_ethereum_client \ --extrinsic="*" \ --execution=wasm --wasm-execution=compiled \ --steps 50 --repeat 20 \ ---output ./teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_ethereum_client.rs +--output ./teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pezpallet_ethereum_client.rs ``` -### [Weights](https://github.com/Snowfork/pezcumulus/blob/ron/benchmark-beacon-bridge/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/snowbridge_pallet_ethereum_client.rs) +### [Weights](https://github.com/Snowfork/pezcumulus/blob/ron/benchmark-beacon-bridge/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/snowbridge_pezpallet_ethereum_client.rs) |extrinsic | minimum execution time benchmarked(us) | | --------------------------------------- |----------------------------------------| diff --git a/bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml b/bridges/snowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml similarity index 72% rename from bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml rename to bridges/snowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml index 0b9eefeb..5480912e 100644 --- a/bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml +++ b/bridges/snowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml @@ -22,20 +22,20 @@ exclude-from-umbrella = true [dependencies] hex-literal = { workspace = true, default-features = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-verification-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-verification-primitives = { workspace = true } pezsp-core = { workspace = true } pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "snowbridge-beacon-primitives/std", - "snowbridge-verification-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-verification-primitives/std", "pezsp-core/std", "pezsp-std/std", ] runtime-benchmarks = [ - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-verification-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-verification-primitives/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/ethereum-client/fixtures/src/lib.rs b/bridges/snowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs similarity index 99% rename from bridges/snowbridge/pallets/ethereum-client/fixtures/src/lib.rs rename to bridges/snowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs index 3ec2b235..604feccb 100644 --- a/bridges/snowbridge/pallets/ethereum-client/fixtures/src/lib.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs @@ -5,18 +5,18 @@ #![cfg_attr(not(feature = "std"), no_std)] use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, NextSyncCommitteeUpdate, SyncAggregate, SyncCommittee, VersionedExecutionPayloadHeader, }; -use snowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::{boxed::Box, vec}; const SC_SIZE: usize = 512; const SC_BITS_SIZE: usize = 64; -type CheckpointUpdate = snowbridge_beacon_primitives::CheckpointUpdate; -type Update = snowbridge_beacon_primitives::Update; +type CheckpointUpdate = pezsnowbridge_beacon_primitives::CheckpointUpdate; +type Update = pezsnowbridge_beacon_primitives::Update; pub fn make_checkpoint() -> Box { Box::new(CheckpointUpdate { diff --git a/bridges/snowbridge/pallets/ethereum-client/src/benchmarking/mod.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs similarity index 97% rename from bridges/snowbridge/pallets/ethereum-client/src/benchmarking/mod.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs index 7d4204d9..1f1c97b0 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/benchmarking/mod.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs @@ -7,12 +7,12 @@ use crate::Pallet as EthereumBeaconClient; use pezframe_benchmarking::v2::*; use pezframe_system::RawOrigin; use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ fast_aggregate_verify, merkle_proof::{generalized_index_length, subtree_index}, prepare_aggregate_pubkey, prepare_aggregate_signature, verify_merkle_branch, Fork, }; -use snowbridge_pallet_ethereum_client_fixtures::*; +use snowbridge_pezpallet_ethereum_client_fixtures::*; use util::*; #[benchmarks] diff --git a/bridges/snowbridge/pallets/ethereum-client/src/benchmarking/util.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs similarity index 96% rename from bridges/snowbridge/pallets/ethereum-client/src/benchmarking/util.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs index 346b04a8..8c52cfbf 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/benchmarking/util.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs @@ -4,7 +4,7 @@ use crate::{ decompress_sync_committee_bits, Config, CurrentSyncCommittee, Pallet as EthereumBeaconClient, Update, ValidatorsRoot, Vec, }; -use snowbridge_beacon_primitives::PublicKeyPrepared; +use pezsnowbridge_beacon_primitives::PublicKeyPrepared; use pezsp_core::H256; pub fn participant_pubkeys( diff --git a/bridges/snowbridge/pallets/ethereum-client/src/config/altair.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/config/altair.rs similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/src/config/altair.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/config/altair.rs diff --git a/bridges/snowbridge/pallets/ethereum-client/src/config/electra.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/config/electra.rs similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/src/config/electra.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/config/electra.rs diff --git a/bridges/snowbridge/pallets/ethereum-client/src/config/mod.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/config/mod.rs similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/src/config/mod.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/config/mod.rs diff --git a/bridges/snowbridge/pallets/ethereum-client/src/functions.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/functions.rs similarity index 93% rename from bridges/snowbridge/pallets/ethereum-client/src/functions.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/functions.rs index 781ae6c6..da49f41a 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/functions.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/functions.rs @@ -10,7 +10,7 @@ use crate::config::{ pub fn decompress_sync_committee_bits( input: [u8; SYNC_COMMITTEE_BITS_SIZE], ) -> [u8; SYNC_COMMITTEE_SIZE] { - snowbridge_beacon_primitives::decompress_sync_committee_bits::< + pezsnowbridge_beacon_primitives::decompress_sync_committee_bits::< SYNC_COMMITTEE_SIZE, SYNC_COMMITTEE_BITS_SIZE, >(input) diff --git a/bridges/snowbridge/pallets/ethereum-client/src/impls.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/impls.rs similarity index 96% rename from bridges/snowbridge/pallets/ethereum-client/src/impls.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/impls.rs index 31e9d8c2..b45fcc50 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/impls.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/impls.rs @@ -2,14 +2,14 @@ // SPDX-FileCopyrightText: 2023 Snowfork use super::*; use pezframe_support::ensure; -use snowbridge_beacon_primitives::ExecutionProof; +use pezsnowbridge_beacon_primitives::ExecutionProof; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ merkle_proof::{generalized_index_length, subtree_index}, receipt::verify_receipt_proof, }; -use snowbridge_ethereum::Log as AlloyLog; -use snowbridge_verification_primitives::{ +use pezsnowbridge_ethereum::Log as AlloyLog; +use pezsnowbridge_verification_primitives::{ VerificationError::{self, *}, Verifier, *, }; diff --git a/bridges/snowbridge/pallets/ethereum-client/src/lib.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/lib.rs similarity index 99% rename from bridges/snowbridge/pallets/ethereum-client/src/lib.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/lib.rs index 6505261e..4069095b 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/lib.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/lib.rs @@ -39,13 +39,13 @@ use pezframe_support::{ transactional, }; use pezframe_system::ensure_signed; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ fast_aggregate_verify, merkle_proof::{generalized_index_length, subtree_index}, verify_merkle_branch, BeaconHeader, BlsError, CompactBeaconState, ForkData, ForkVersion, ForkVersions, PublicKeyPrepared, SigningData, }; -use snowbridge_core::{BasicOperatingMode, RingBufferMap}; +use pezsnowbridge_core::{BasicOperatingMode, RingBufferMap}; use pezsp_core::H256; use pezsp_std::prelude::*; pub use weights::WeightInfo; diff --git a/bridges/snowbridge/pallets/ethereum-client/src/mock.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/mock.rs similarity index 81% rename from bridges/snowbridge/pallets/ethereum-client/src/mock.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/mock.rs index 5d25b50a..cedf682d 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/mock.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/mock.rs @@ -4,8 +4,8 @@ use crate as ethereum_beacon_client; use crate::config; use pezframe_support::{derive_impl, dispatch::DispatchResult, parameter_types}; use pezpallet_timestamp; -use snowbridge_beacon_primitives::{Fork, ForkVersions}; -use snowbridge_verification_primitives::{Log, Proof}; +use pezsnowbridge_beacon_primitives::{Fork, ForkVersions}; +use pezsnowbridge_verification_primitives::{Log, Proof}; use pezsp_std::default::Default; use std::{fs::File, path::PathBuf}; @@ -23,37 +23,37 @@ where serde_json::from_reader(File::open(filepath).unwrap()) } -pub fn load_execution_proof_fixture() -> snowbridge_beacon_primitives::ExecutionProof { +pub fn load_execution_proof_fixture() -> pezsnowbridge_beacon_primitives::ExecutionProof { load_fixture("execution-proof.json".to_string()).unwrap() } pub fn load_checkpoint_update_fixture( -) -> snowbridge_beacon_primitives::CheckpointUpdate<{ config::SYNC_COMMITTEE_SIZE }> { +) -> pezsnowbridge_beacon_primitives::CheckpointUpdate<{ config::SYNC_COMMITTEE_SIZE }> { load_fixture("initial-checkpoint.json".to_string()).unwrap() } -pub fn load_sync_committee_update_fixture() -> snowbridge_beacon_primitives::Update< +pub fn load_sync_committee_update_fixture() -> pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, > { load_fixture("sync-committee-update.json".to_string()).unwrap() } -pub fn load_finalized_header_update_fixture() -> snowbridge_beacon_primitives::Update< +pub fn load_finalized_header_update_fixture() -> pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, > { load_fixture("finalized-header-update.json".to_string()).unwrap() } -pub fn load_next_sync_committee_update_fixture() -> snowbridge_beacon_primitives::Update< +pub fn load_next_sync_committee_update_fixture() -> pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, > { load_fixture("next-sync-committee-update.json".to_string()).unwrap() } -pub fn load_next_finalized_header_update_fixture() -> snowbridge_beacon_primitives::Update< +pub fn load_next_finalized_header_update_fixture() -> pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, > { @@ -61,7 +61,7 @@ pub fn load_next_finalized_header_update_fixture() -> snowbridge_beacon_primitiv } pub fn load_sync_committee_update_period_0() -> Box< - snowbridge_beacon_primitives::Update< + pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, >, @@ -70,7 +70,7 @@ pub fn load_sync_committee_update_period_0() -> Box< } pub fn load_sync_committee_update_period_0_older_fixture() -> Box< - snowbridge_beacon_primitives::Update< + pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, >, @@ -79,7 +79,7 @@ pub fn load_sync_committee_update_period_0_older_fixture() -> Box< } pub fn load_sync_committee_update_period_0_newer_fixture() -> Box< - snowbridge_beacon_primitives::Update< + pezsnowbridge_beacon_primitives::Update< { config::SYNC_COMMITTEE_SIZE }, { config::SYNC_COMMITTEE_BITS_SIZE }, >, @@ -88,7 +88,7 @@ pub fn load_sync_committee_update_period_0_newer_fixture() -> Box< } pub fn get_message_verification_payload() -> (Log, Proof) { - let inbound_fixture = snowbridge_pallet_ethereum_client_fixtures::make_inbound_fixture(); + let inbound_fixture = snowbridge_pezpallet_ethereum_client_fixtures::make_inbound_fixture(); (inbound_fixture.event.event_log, inbound_fixture.event.proof) } @@ -162,7 +162,7 @@ pub fn new_tester() -> pezsp_io::TestExternalities { } pub fn initialize_storage() -> DispatchResult { - let inbound_fixture = snowbridge_pallet_ethereum_client_fixtures::make_inbound_fixture(); + let inbound_fixture = snowbridge_pezpallet_ethereum_client_fixtures::make_inbound_fixture(); EthereumBeaconClient::store_finalized_header( inbound_fixture.finalized_header, inbound_fixture.block_roots_root, diff --git a/bridges/snowbridge/pallets/ethereum-client/src/tests.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/tests.rs similarity index 99% rename from bridges/snowbridge/pallets/ethereum-client/src/tests.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/tests.rs index 5873d23f..0057a9f4 100644 --- a/bridges/snowbridge/pallets/ethereum-client/src/tests.rs +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/tests.rs @@ -15,12 +15,12 @@ use crate::{ }; use pezframe_support::{assert_err, assert_noop, assert_ok, pezpallet_prelude::Pays}; use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ merkle_proof::{generalized_index_length, subtree_index}, types::deneb, Fork, ForkVersions, NextSyncCommitteeUpdate, VersionedExecutionPayloadHeader, }; -use snowbridge_verification_primitives::{VerificationError, Verifier}; +use pezsnowbridge_verification_primitives::{VerificationError, Verifier}; use pezsp_core::H256; use pezsp_runtime::DispatchError; @@ -205,7 +205,7 @@ pub fn sync_committee_participation_is_supermajority() { hex!("bffffffff7f1ffdfcfeffeffbfdffffbfffffdffffefefffdffff7f7ffff77fffdf7bff77ffdf7fffafffffff77fefffeff7effffffff5f7fedfffdfb6ddff7b" ); let participation = - snowbridge_beacon_primitives::decompress_sync_committee_bits::<512, 64>(bits); + pezsnowbridge_beacon_primitives::decompress_sync_committee_bits::<512, 64>(bits); assert_ok!(EthereumBeaconClient::sync_committee_participation_is_supermajority(&participation)); } @@ -833,7 +833,7 @@ fn set_operating_mode() { assert_ok!(EthereumBeaconClient::set_operating_mode( RuntimeOrigin::root(), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted )); assert_noop!( @@ -849,7 +849,7 @@ fn set_operating_mode_root_only() { assert_noop!( EthereumBeaconClient::set_operating_mode( RuntimeOrigin::signed(1), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted ), DispatchError::BadOrigin ); diff --git a/bridges/snowbridge/pezpallets/ethereum-client/src/types.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/types.rs new file mode 100644 index 00000000..42361a36 --- /dev/null +++ b/bridges/snowbridge/pezpallets/ethereum-client/src/types.rs @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: 2023 Snowfork +pub use crate::config::{ + SLOTS_PER_HISTORICAL_ROOT, SYNC_COMMITTEE_BITS_SIZE as SC_BITS_SIZE, + SYNC_COMMITTEE_SIZE as SC_SIZE, +}; +use pezframe_support::storage::types::OptionQuery; +use pezsnowbridge_core::RingBufferMapImpl; + +// Specialize types based on configured sync committee size +pub type SyncCommittee = pezsnowbridge_beacon_primitives::SyncCommittee; +pub type SyncCommitteePrepared = pezsnowbridge_beacon_primitives::SyncCommitteePrepared; +pub type SyncAggregate = pezsnowbridge_beacon_primitives::SyncAggregate; +pub type CheckpointUpdate = pezsnowbridge_beacon_primitives::CheckpointUpdate; +pub type Update = pezsnowbridge_beacon_primitives::Update; +pub type NextSyncCommitteeUpdate = pezsnowbridge_beacon_primitives::NextSyncCommitteeUpdate; + +pub use pezsnowbridge_beacon_primitives::{AncestryProof, ExecutionProof}; + +/// FinalizedState ring buffer implementation +pub type FinalizedBeaconStateBuffer = RingBufferMapImpl< + u32, + crate::MaxFinalizedHeadersToKeep, + crate::FinalizedBeaconStateIndex, + crate::FinalizedBeaconStateMapping, + crate::FinalizedBeaconState, + OptionQuery, +>; diff --git a/bridges/snowbridge/pallets/ethereum-client/src/weights.rs b/bridges/snowbridge/pezpallets/ethereum-client/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/src/weights.rs rename to bridges/snowbridge/pezpallets/ethereum-client/src/weights.rs diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/execution-proof.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/execution-proof.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/finalized-header-update.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/finalized-header-update.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/inbound-message.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/inbound-message.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/initial-checkpoint.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/initial-checkpoint.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/next-finalized-header-update.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/next-finalized-header-update.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/next-sync-committee-update.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/next-sync-committee-update.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json diff --git a/bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update.json b/bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json similarity index 100% rename from bridges/snowbridge/pallets/ethereum-client/tests/fixtures/sync-committee-update.json rename to bridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/Cargo.toml b/bridges/snowbridge/pezpallets/inbound-queue-v2/Cargo.toml similarity index 82% rename from bridges/snowbridge/pallets/inbound-queue-v2/Cargo.toml rename to bridges/snowbridge/pezpallets/inbound-queue-v2/Cargo.toml index df130693..fe68f2b1 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/Cargo.toml +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/Cargo.toml @@ -39,9 +39,9 @@ xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } snowbridge-pezpallet-inbound-queue-v2-fixtures = { optional = true, workspace = true } bp-relayers = { workspace = true } @@ -49,7 +49,7 @@ bp-relayers = { workspace = true } [dev-dependencies] pezframe-benchmarking = { workspace = true, default-features = true } hex-literal = { workspace = true, default-features = true } -snowbridge-test-utils = { workspace = true } +pezsnowbridge-test-utils = { workspace = true } pezsp-keyring = { workspace = true, default-features = true } [features] @@ -64,9 +64,9 @@ std = [ "pezpallet-balances/std", "scale-info/std", "serde", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", "snowbridge-pezpallet-inbound-queue-v2-fixtures?/std", "pezsp-core/std", "pezsp-io/std", @@ -84,11 +84,11 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks", - "snowbridge-test-utils/runtime-benchmarks", + "pezsnowbridge-test-utils/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", @@ -100,6 +100,6 @@ try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", "pezpallet-balances/try-runtime", - "snowbridge-inbound-queue-primitives/try-runtime", + "pezsnowbridge-inbound-queue-primitives/try-runtime", "pezsp-runtime/try-runtime", ] diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/README.md b/bridges/snowbridge/pezpallets/inbound-queue-v2/README.md similarity index 95% rename from bridges/snowbridge/pallets/inbound-queue-v2/README.md rename to bridges/snowbridge/pezpallets/inbound-queue-v2/README.md index d9318679..24b461f4 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/README.md +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/README.md @@ -29,7 +29,7 @@ handler, which accumulates rewards against a relayer account, which may be claim ### Key Components #### Verifier -A trait-based component (snowbridge_inbound_queue_primitives::Verifier) responsible for verifying Ethereum events and proofs. +A trait-based component (pezsnowbridge_inbound_queue_primitives::Verifier) responsible for verifying Ethereum events and proofs. The implementation for the verifier is the Ethereum client. #### Message Converter diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/Cargo.toml b/bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml similarity index 65% rename from bridges/snowbridge/pallets/inbound-queue-v2/fixtures/Cargo.toml rename to bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml index 8719265a..e5ce478b 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/Cargo.toml +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml @@ -22,23 +22,23 @@ exclude-from-umbrella = true [dependencies] hex-literal = { workspace = true, default-features = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } pezsp-core = { workspace = true } pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", "pezsp-core/std", "pezsp-std/std", ] runtime-benchmarks = [ - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/lib.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/lib.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/register_token.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/register_token.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs index 63dc0eeb..65aeebec 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/register_token.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/src/benchmarking.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue-v2/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/src/lib.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/lib.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue-v2/src/lib.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/src/lib.rs index ee75b0f2..0e8f8c72 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/src/lib.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/lib.rs @@ -38,12 +38,12 @@ mod test; pub use crate::weights::WeightInfo; use bp_relayers::RewardLedger; use pezframe_system::ensure_signed; -use snowbridge_core::{ +use pezsnowbridge_core::{ reward::{AddTip, AddTipError}, sparse_bitmap::{SparseBitmap, SparseBitmapImpl}, BasicOperatingMode, }; -use snowbridge_inbound_queue_primitives::{ +use pezsnowbridge_inbound_queue_primitives::{ v2::{ConvertMessage, ConvertMessageError, Message}, EventProof, VerificationError, Verifier, }; @@ -68,7 +68,7 @@ pub mod pallet { use pezframe_system::pezpallet_prelude::*; #[cfg(feature = "runtime-benchmarks")] - use snowbridge_inbound_queue_primitives::EventFixture; + use pezsnowbridge_inbound_queue_primitives::EventFixture; #[pallet::pallet] pub struct Pallet(_); diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/src/mock.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/mock.rs similarity index 96% rename from bridges/snowbridge/pallets/inbound-queue-v2/src/mock.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/src/mock.rs index 6183550e..e12459c0 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/src/mock.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/mock.rs @@ -5,11 +5,11 @@ use super::*; use crate::{self as inbound_queue_v2}; use pezframe_support::{derive_impl, parameter_types, traits::ConstU32}; use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_core::{ParaId, TokenId}; -use snowbridge_inbound_queue_primitives::{ +use pezsnowbridge_core::{ParaId, TokenId}; +use pezsnowbridge_inbound_queue_primitives::{ v2::{CreateAssetCallInfo, MessageToXcm}, Log, Proof, VerificationError, }; @@ -21,13 +21,13 @@ use pezsp_runtime::{ use pezsp_std::{convert::From, default::Default, marker::PhantomData}; use xcm::{opaque::latest::ZAGROS_GENESIS_HASH, prelude::*}; type Block = pezframe_system::mocking::MockBlock; -use snowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger}; -pub use snowbridge_test_utils::mock_xcm::{MockXcmExecutor, MockXcmSender}; +use pezsnowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger}; +pub use pezsnowbridge_test_utils::mock_xcm::{MockXcmExecutor, MockXcmSender}; #[cfg(feature = "runtime-benchmarks")] -use snowbridge_inbound_queue_primitives::EventFixture; +use pezsnowbridge_inbound_queue_primitives::EventFixture; #[cfg(feature = "runtime-benchmarks")] -use snowbridge_pallet_inbound_queue_v2_fixtures::register_token::make_register_token_message; +use snowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message; pezframe_support::construct_runtime!( pub enum Test diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/src/test.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/test.rs similarity index 97% rename from bridges/snowbridge/pallets/inbound-queue-v2/src/test.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/src/test.rs index 2cfab030..8f636696 100644 --- a/bridges/snowbridge/pallets/inbound-queue-v2/src/test.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/test.rs @@ -5,8 +5,8 @@ use super::*; use crate::{mock::*, Error}; use codec::Encode; use pezframe_support::{assert_noop, assert_ok}; -use snowbridge_inbound_queue_primitives::{v2::XcmPayload, EventProof, Proof}; -use snowbridge_test_utils::{ +use pezsnowbridge_inbound_queue_primitives::{v2::XcmPayload, EventProof, Proof}; +use pezsnowbridge_test_utils::{ mock_rewards::{RegisteredRewardAmount, RegisteredRewardsCount}, mock_xcm::{set_charge_fees_override, set_sender_override}, }; @@ -164,7 +164,7 @@ fn test_set_operating_mode() { assert_ok!(InboundQueue::set_operating_mode( RuntimeOrigin::root(), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted )); assert_noop!(InboundQueue::submit(origin, Box::new(event)), Error::::Halted); @@ -177,7 +177,7 @@ fn test_set_operating_mode_root_only() { assert_noop!( InboundQueue::set_operating_mode( RuntimeOrigin::signed(Keyring::Bob.into()), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted ), DispatchError::BadOrigin ); @@ -307,7 +307,7 @@ fn test_switch_operating_mode() { assert_ok!(InboundQueue::set_operating_mode( RuntimeOrigin::root(), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted )); assert_noop!( @@ -317,7 +317,7 @@ fn test_switch_operating_mode() { assert_ok!(InboundQueue::set_operating_mode( RuntimeOrigin::root(), - snowbridge_core::BasicOperatingMode::Normal + pezsnowbridge_core::BasicOperatingMode::Normal )); assert_ok!(InboundQueue::submit(origin, Box::new(event))); diff --git a/bridges/snowbridge/pallets/inbound-queue-v2/src/weights.rs b/bridges/snowbridge/pezpallets/inbound-queue-v2/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue-v2/src/weights.rs rename to bridges/snowbridge/pezpallets/inbound-queue-v2/src/weights.rs diff --git a/bridges/snowbridge/pallets/inbound-queue/Cargo.toml b/bridges/snowbridge/pezpallets/inbound-queue/Cargo.toml similarity index 84% rename from bridges/snowbridge/pallets/inbound-queue/Cargo.toml rename to bridges/snowbridge/pezpallets/inbound-queue/Cargo.toml index 286dab65..7bf70d78 100644 --- a/bridges/snowbridge/pallets/inbound-queue/Cargo.toml +++ b/bridges/snowbridge/pezpallets/inbound-queue/Cargo.toml @@ -38,9 +38,9 @@ pezsp-std = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } snowbridge-pezpallet-inbound-queue-fixtures = { optional = true, workspace = true } [dev-dependencies] @@ -60,9 +60,9 @@ std = [ "pezpallet-balances/std", "scale-info/std", "serde", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", "snowbridge-pezpallet-inbound-queue-fixtures?/std", "pezsp-core/std", "pezsp-io/std", @@ -78,9 +78,9 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks", "pezsp-io/runtime-benchmarks", @@ -93,7 +93,7 @@ try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", "pezpallet-balances/try-runtime", - "snowbridge-inbound-queue-primitives/try-runtime", + "pezsnowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pezpallet-ethereum-client/try-runtime", "pezsp-runtime/try-runtime", ] diff --git a/bridges/snowbridge/pallets/inbound-queue/README.md b/bridges/snowbridge/pezpallets/inbound-queue/README.md similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue/README.md rename to bridges/snowbridge/pezpallets/inbound-queue/README.md diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml similarity index 65% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml index 27fa64da..1db59682 100644 --- a/bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml +++ b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml @@ -22,23 +22,23 @@ exclude-from-umbrella = true [dependencies] hex-literal = { workspace = true, default-features = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } pezsp-core = { workspace = true } pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", "pezsp-core/std", "pezsp-std/std", ] runtime-benchmarks = [ - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/lib.rs b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/src/lib.rs rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/register_token.rs b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/src/register_token.rs rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs index 255d7005..12abd85d 100644 --- a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/register_token.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_native_eth.rs b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_native_eth.rs rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs index 43dc34fa..6e6e11f7 100755 --- a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_native_eth.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token.rs b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token.rs rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs index 93f9e542..d53d4de4 100755 --- a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token_to_penpal.rs b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token_to_penpal.rs rename to bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs index 81ec6117..58163095 100755 --- a/bridges/snowbridge/pallets/inbound-queue/fixtures/src/send_token_to_penpal.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_inbound_queue_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/inbound-queue/src/benchmarking/mod.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue/src/benchmarking/mod.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs diff --git a/bridges/snowbridge/pallets/inbound-queue/src/envelope.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/envelope.rs similarity index 94% rename from bridges/snowbridge/pallets/inbound-queue/src/envelope.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/envelope.rs index ea1d50c1..3b143cfd 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/envelope.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/src/envelope.rs @@ -1,7 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -use snowbridge_core::ChannelId; -use snowbridge_inbound_queue_primitives::Log; +use pezsnowbridge_core::ChannelId; +use pezsnowbridge_inbound_queue_primitives::Log; use pezsp_core::{RuntimeDebug, H160, H256}; use pezsp_std::prelude::*; diff --git a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/lib.rs similarity index 98% rename from bridges/snowbridge/pallets/inbound-queue/src/lib.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/lib.rs index 145aea65..d6d607a3 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/src/lib.rs @@ -56,11 +56,11 @@ use xcm::prelude::{ }; use xcm_executor::traits::TransactAsset; -use snowbridge_core::{ +use pezsnowbridge_core::{ sibling_sovereign_account, BasicOperatingMode, Channel, ChannelId, ParaId, PricingParameters, StaticLookup, }; -use snowbridge_inbound_queue_primitives::{ +use pezsnowbridge_inbound_queue_primitives::{ v1::{ConvertMessage, ConvertMessageError, VersionedMessage}, EventProof, VerificationError, Verifier, }; @@ -85,7 +85,7 @@ pub mod pallet { use pezsp_core::H256; #[cfg(feature = "runtime-benchmarks")] - use snowbridge_inbound_queue_primitives::EventFixture; + use pezsnowbridge_inbound_queue_primitives::EventFixture; #[pallet::pallet] pub struct Pallet(_); diff --git a/bridges/snowbridge/pallets/inbound-queue/src/mock.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/mock.rs similarity index 95% rename from bridges/snowbridge/pallets/inbound-queue/src/mock.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/mock.rs index 542596cd..3c7a4c5f 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/mock.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/src/mock.rs @@ -4,13 +4,13 @@ use super::*; use pezframe_support::{derive_impl, parameter_types, traits::ConstU32, weights::IdentityFee}; use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, BeaconHeader, ExecutionProof, Fork, ForkVersions, VersionedExecutionPayloadHeader, }; -use snowbridge_core::{ +use pezsnowbridge_core::{ gwei, meth, Channel, ChannelId, PricingParameters, Rewards, StaticLookup, TokenId, }; -use snowbridge_inbound_queue_primitives::{v1::MessageToXcm, Log, Proof, VerificationError}; +use pezsnowbridge_inbound_queue_primitives::{v1::MessageToXcm, Log, Proof, VerificationError}; use pezsp_core::{H160, H256}; use pezsp_runtime::{ traits::{IdentifyAccount, IdentityLookup, MaybeConvert, Verify}, @@ -24,9 +24,9 @@ use xcm::{ use xcm_executor::AssetsInHolding; #[cfg(feature = "runtime-benchmarks")] -use snowbridge_inbound_queue_primitives::EventFixture; +use pezsnowbridge_inbound_queue_primitives::EventFixture; #[cfg(feature = "runtime-benchmarks")] -use snowbridge_pallet_inbound_queue_fixtures::register_token::make_register_token_message; +use snowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message; use crate::{self as inbound_queue}; @@ -37,7 +37,7 @@ pezframe_support::construct_runtime!( { System: pezframe_system::{Pallet, Call, Storage, Event}, Balances: pezpallet_balances::{Pallet, Call, Storage, Config, Event}, - EthereumBeaconClient: snowbridge_pallet_ethereum_client::{Pallet, Call, Storage, Event}, + EthereumBeaconClient: snowbridge_pezpallet_ethereum_client::{Pallet, Call, Storage, Event}, InboundQueue: inbound_queue::{Pallet, Call, Storage, Event}, } ); @@ -99,7 +99,7 @@ parameter_types! { }; } -impl snowbridge_pallet_ethereum_client::Config for Test { +impl snowbridge_pezpallet_ethereum_client::Config for Test { type RuntimeEvent = RuntimeEvent; type ForkVersions = ChainForkVersions; type FreeHeadersInterval = ConstU32<32>; @@ -132,7 +132,7 @@ parameter_types! { } #[cfg(feature = "runtime-benchmarks")] -impl BenchmarkHelper for Test { +impl BenchmarkHelper for Test { fn initialize_storage() -> EventFixture { make_register_token_message() } diff --git a/bridges/snowbridge/pallets/inbound-queue/src/test.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/test.rs similarity index 97% rename from bridges/snowbridge/pallets/inbound-queue/src/test.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/test.rs index 70b02258..67146bcb 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/test.rs +++ b/bridges/snowbridge/pezpallets/inbound-queue/src/test.rs @@ -4,8 +4,8 @@ use super::*; use pezframe_support::{assert_noop, assert_ok}; use hex_literal::hex; -use snowbridge_core::ChannelId; -use snowbridge_inbound_queue_primitives::Proof; +use pezsnowbridge_core::ChannelId; +use pezsnowbridge_inbound_queue_primitives::Proof; use pezsp_keyring::Sr25519Keyring as Keyring; use pezsp_runtime::DispatchError; use pezsp_std::convert::From; @@ -183,7 +183,7 @@ fn test_set_operating_mode() { assert_ok!(InboundQueue::set_operating_mode( RuntimeOrigin::root(), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted )); assert_noop!(InboundQueue::submit(origin, event), Error::::Halted); @@ -196,7 +196,7 @@ fn test_set_operating_mode_root_only() { assert_noop!( InboundQueue::set_operating_mode( RuntimeOrigin::signed(Keyring::Bob.into()), - snowbridge_core::BasicOperatingMode::Halted + pezsnowbridge_core::BasicOperatingMode::Halted ), DispatchError::BadOrigin ); diff --git a/bridges/snowbridge/pallets/inbound-queue/src/weights.rs b/bridges/snowbridge/pezpallets/inbound-queue/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/inbound-queue/src/weights.rs rename to bridges/snowbridge/pezpallets/inbound-queue/src/weights.rs diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/Cargo.toml b/bridges/snowbridge/pezpallets/outbound-queue-v2/Cargo.toml similarity index 74% rename from bridges/snowbridge/pallets/outbound-queue-v2/Cargo.toml rename to bridges/snowbridge/pezpallets/outbound-queue-v2/Cargo.toml index 7d948f4d..471f5461 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/Cargo.toml +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/Cargo.toml @@ -38,11 +38,11 @@ pezsp-std = { workspace = true } bp-relayers = { workspace = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-merkle-tree = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } -snowbridge-verification-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-verification-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -50,7 +50,7 @@ xcm-executor = { workspace = true } [dev-dependencies] pezpallet-message-queue = { workspace = true } -snowbridge-test-utils = { workspace = true } +pezsnowbridge-test-utils = { workspace = true } [features] default = ["std"] @@ -65,11 +65,11 @@ std = [ "pezpallet-message-queue/std", "scale-info/std", "serde/std", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-merkle-tree/std", - "snowbridge-outbound-queue-primitives/std", - "snowbridge-verification-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-merkle-tree/std", + "pezsnowbridge-outbound-queue-primitives/std", + "pezsnowbridge-verification-primitives/std", "pezsp-arithmetic/std", "pezsp-core/std", "pezsp-io/std", @@ -86,12 +86,12 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-message-queue/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", - "snowbridge-test-utils/runtime-benchmarks", - "snowbridge-verification-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-test-utils/runtime-benchmarks", + "pezsnowbridge-verification-primitives/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/Cargo.toml b/bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml similarity index 77% rename from bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/Cargo.toml rename to bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml index 03c04780..83a1be48 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/Cargo.toml +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-outbound-queue-v2-runtime-api" +name = "pezsnowbridge-outbound-queue-v2-runtime-api" description = "Snowbridge Outbound Queue Runtime API V2" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-outbound-queue-v2-runtime-api" +documentation = "https://docs.rs/pezsnowbridge-outbound-queue-v2-runtime-api" homepage = { workspace = true } [lints] @@ -23,7 +23,7 @@ exclude-from-umbrella = true codec = { features = ["derive"], workspace = true } pezframe-support = { workspace = true } scale-info = { features = ["derive"], workspace = true } -snowbridge-merkle-tree = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } pezsp-api = { workspace = true } pezsp-std = { workspace = true } @@ -33,12 +33,12 @@ std = [ "codec/std", "pezframe-support/std", "scale-info/std", - "snowbridge-merkle-tree/std", + "pezsnowbridge-merkle-tree/std", "pezsp-api/std", "pezsp-std/std", ] runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", "pezsp-api/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/src/lib.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs similarity index 92% rename from bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/src/lib.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs index 2f359388..278dab46 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/runtime-api/src/lib.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs @@ -7,7 +7,7 @@ #![cfg_attr(not(feature = "std"), no_std)] use pezframe_support::traits::tokens::Balance as BalanceT; -use snowbridge_merkle_tree::MerkleProof; +use pezsnowbridge_merkle_tree::MerkleProof; pezsp_api::decl_runtime_apis! { pub trait OutboundQueueV2Api where Balance: BalanceT diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/api.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/api.rs similarity index 89% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/api.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/api.rs index 42910cd9..497fd057 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/api.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/api.rs @@ -4,7 +4,7 @@ use crate::{Config, MessageLeaves}; use pezframe_support::storage::StorageStreamIter; -use snowbridge_merkle_tree::{merkle_proof, MerkleProof}; +use pezsnowbridge_merkle_tree::{merkle_proof, MerkleProof}; pub fn prove_message(leaf_index: u64) -> Option where diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/benchmarking.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs index 0e458ff3..87a67729 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/benchmarking.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs @@ -7,7 +7,7 @@ use codec::Encode; use pezframe_benchmarking::v2::*; use pezframe_support::{traits::Hooks, BoundedVec}; use pezframe_system::RawOrigin; -use snowbridge_outbound_queue_primitives::v2::{Command, Initializer, Message}; +use pezsnowbridge_outbound_queue_primitives::v2::{Command, Initializer, Message}; use pezsp_core::{H160, H256}; #[allow(unused_imports)] diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/fixture.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/fixture.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/fixture.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/fixture.rs index 12c2166b..badb4fbd 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/fixture.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/fixture.rs @@ -4,10 +4,10 @@ // See ethereum client README.md for instructions to generate use hex_literal::hex; -use snowbridge_beacon_primitives::{ +use pezsnowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; -use snowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof}; +use pezsnowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof}; use pezsp_core::U256; use pezsp_std::vec; diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/lib.rs similarity index 97% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/lib.rs index 28265484..7e17f0fb 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/lib.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/lib.rs @@ -7,14 +7,14 @@ //! Messages come either from sibling teyrchains via XCM, or BridgeHub itself //! via the `snowbridge-pezpallet-system-v2`: //! -//! 1. `snowbridge_outbound_queue_primitives::v2::EthereumBlobExporter::deliver` -//! 2. `snowbridge_pallet_system_v2::Pallet::send` +//! 1. `pezsnowbridge_outbound_queue_primitives::v2::EthereumBlobExporter::deliver` +//! 2. `snowbridge_pezpallet_system_v2::Pallet::send` //! //! The message submission pipeline works like this: //! 1. The message is first validated via the implementation for -//! [`snowbridge_outbound_queue_primitives::v2::SendMessage::validate`] +//! [`pezsnowbridge_outbound_queue_primitives::v2::SendMessage::validate`] //! 2. The message is then enqueued for later processing via the implementation for -//! [`snowbridge_outbound_queue_primitives::v2::SendMessage::deliver`] +//! [`pezsnowbridge_outbound_queue_primitives::v2::SendMessage::deliver`] //! 3. The underlying message queue is implemented by [`Config::MessageQueue`] //! 4. The message queue delivers messages to this pallet via the implementation for //! [`pezframe_support::traits::ProcessMessage::process_message`] @@ -78,13 +78,13 @@ use pezframe_support::{ traits::{tokens::Balance, EnqueueMessage, Get, ProcessMessageError}, weights::{Weight, WeightToFee}, }; -use snowbridge_core::{ +use pezsnowbridge_core::{ digest_item::SnowbridgeDigestItem, reward::{AddTip, AddTipError}, BasicOperatingMode, }; -use snowbridge_merkle_tree::merkle_root; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_merkle_tree::merkle_root; +use pezsnowbridge_outbound_queue_primitives::{ v2::{ abi::{CommandWrapper, OutboundMessageWrapper}, DeliveryReceipt, GasMeter, Message, OutboundCommandWrapper, OutboundMessage, @@ -102,7 +102,7 @@ pub use weights::WeightInfo; use xcm::prelude::NetworkId; #[cfg(feature = "runtime-benchmarks")] -use snowbridge_beacon_primitives::BeaconHeader; +use pezsnowbridge_beacon_primitives::BeaconHeader; pub use pallet::*; diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/mock.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/mock.rs similarity index 96% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/mock.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/mock.rs index 3ae5e4da..7cac4c9a 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/mock.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/mock.rs @@ -12,9 +12,9 @@ use pezframe_support::{ use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use hex_literal::hex; use scale_info::TypeInfo; -use snowbridge_core::{AgentId, AgentIdOf, ChannelId, ParaId}; -use snowbridge_outbound_queue_primitives::{v2::*, Log, Proof, VerificationError, Verifier}; -use snowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger}; +use pezsnowbridge_core::{AgentId, AgentIdOf, ChannelId, ParaId}; +use pezsnowbridge_outbound_queue_primitives::{v2::*, Log, Proof, VerificationError, Verifier}; +use pezsnowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger}; use pezsp_core::{ConstU32, H160, H256}; use pezsp_runtime::{ traits::{BlakeTwo256, IdentityLookup, Keccak256}, diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/process_message_impl.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/process_message_impl.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/send_message_impl.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs similarity index 88% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/send_message_impl.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs index 13a5e0e5..8adf7ec4 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/send_message_impl.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs @@ -1,13 +1,13 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -//! Implementation for [`snowbridge_outbound_queue_primitives::v2::SendMessage`] +//! Implementation for [`pezsnowbridge_outbound_queue_primitives::v2::SendMessage`] use super::*; use codec::Encode; use pezframe_support::{ ensure, traits::{EnqueueMessage, Get}, }; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_outbound_queue_primitives::{ v2::{Message, SendMessage}, SendError, }; diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/test.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/test.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/test.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/test.rs index 4f6d2fc2..250a96e4 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/test.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/test.rs @@ -13,8 +13,8 @@ use pezframe_support::{ BoundedVec, }; use hex_literal::hex; -use snowbridge_core::{digest_item::SnowbridgeDigestItem, ChannelId, ParaId}; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_core::{digest_item::SnowbridgeDigestItem, ChannelId, ParaId}; +use pezsnowbridge_outbound_queue_primitives::{ v2::{abi::OutboundMessageWrapper, Command, Initializer, SendMessage}, SendError, }; diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/types.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/types.rs similarity index 95% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/types.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/types.rs index 58d14535..6fc67f1b 100644 --- a/bridges/snowbridge/pallets/outbound-queue-v2/src/types.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/types.rs @@ -4,7 +4,7 @@ use super::Pallet; use codec::{Decode, Encode, MaxEncodedLen}; use pezframe_support::traits::ProcessMessage; use scale_info::TypeInfo; -pub use snowbridge_merkle_tree::MerkleProof; +pub use pezsnowbridge_merkle_tree::MerkleProof; use pezsp_core::H256; use pezsp_runtime::RuntimeDebug; use pezsp_std::prelude::*; diff --git a/bridges/snowbridge/pallets/outbound-queue-v2/src/weights.rs b/bridges/snowbridge/pezpallets/outbound-queue-v2/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue-v2/src/weights.rs rename to bridges/snowbridge/pezpallets/outbound-queue-v2/src/weights.rs diff --git a/bridges/snowbridge/pallets/outbound-queue/Cargo.toml b/bridges/snowbridge/pezpallets/outbound-queue/Cargo.toml similarity index 82% rename from bridges/snowbridge/pallets/outbound-queue/Cargo.toml rename to bridges/snowbridge/pezpallets/outbound-queue/Cargo.toml index abb43ba9..cc0b102c 100644 --- a/bridges/snowbridge/pallets/outbound-queue/Cargo.toml +++ b/bridges/snowbridge/pezpallets/outbound-queue/Cargo.toml @@ -36,9 +36,9 @@ pezsp-std = { workspace = true } bridge-hub-common = { workspace = true } ethabi = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-merkle-tree = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } [dev-dependencies] pezpallet-message-queue = { workspace = true } @@ -55,9 +55,9 @@ std = [ "pezpallet-message-queue/std", "scale-info/std", "serde/std", - "snowbridge-core/std", - "snowbridge-merkle-tree/std", - "snowbridge-outbound-queue-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-merkle-tree/std", + "pezsnowbridge-outbound-queue-primitives/std", "pezsp-arithmetic/std", "pezsp-core/std", "pezsp-io/std", @@ -71,9 +71,9 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-message-queue/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/outbound-queue/README.md b/bridges/snowbridge/pezpallets/outbound-queue/README.md similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue/README.md rename to bridges/snowbridge/pezpallets/outbound-queue/README.md diff --git a/bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml b/bridges/snowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml similarity index 60% rename from bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml rename to bridges/snowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml index e3359106..a7b2dedc 100644 --- a/bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml +++ b/bridges/snowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-outbound-queue-runtime-api" +name = "pezsnowbridge-outbound-queue-runtime-api" description = "Snowbridge Outbound Queue Runtime API" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-outbound-queue-runtime-api" +documentation = "https://docs.rs/pezsnowbridge-outbound-queue-runtime-api" homepage = { workspace = true } [lints] @@ -22,9 +22,9 @@ exclude-from-umbrella = true [dependencies] codec = { features = ["derive"], workspace = true } pezframe-support = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-merkle-tree = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } pezsp-api = { workspace = true } pezsp-std = { workspace = true } @@ -33,16 +33,16 @@ default = ["std"] std = [ "codec/std", "pezframe-support/std", - "snowbridge-core/std", - "snowbridge-merkle-tree/std", - "snowbridge-outbound-queue-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-merkle-tree/std", + "pezsnowbridge-outbound-queue-primitives/std", "pezsp-api/std", "pezsp-std/std", ] runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "pezsp-api/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/outbound-queue/runtime-api/README.md b/bridges/snowbridge/pezpallets/outbound-queue/runtime-api/README.md similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue/runtime-api/README.md rename to bridges/snowbridge/pezpallets/outbound-queue/runtime-api/README.md diff --git a/bridges/snowbridge/pallets/outbound-queue/runtime-api/src/lib.rs b/bridges/snowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs similarity index 82% rename from bridges/snowbridge/pallets/outbound-queue/runtime-api/src/lib.rs rename to bridges/snowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs index 570100bc..112d6ae9 100644 --- a/bridges/snowbridge/pallets/outbound-queue/runtime-api/src/lib.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs @@ -3,9 +3,9 @@ #![cfg_attr(not(feature = "std"), no_std)] use pezframe_support::traits::tokens::Balance as BalanceT; -use snowbridge_core::PricingParameters; -use snowbridge_merkle_tree::MerkleProof; -use snowbridge_outbound_queue_primitives::v1::{Command, Fee}; +use pezsnowbridge_core::PricingParameters; +use pezsnowbridge_merkle_tree::MerkleProof; +use pezsnowbridge_outbound_queue_primitives::v1::{Command, Fee}; pezsp_api::decl_runtime_apis! { pub trait OutboundQueueApi where Balance: BalanceT diff --git a/bridges/snowbridge/pallets/outbound-queue/src/api.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/api.rs similarity index 82% rename from bridges/snowbridge/pallets/outbound-queue/src/api.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/api.rs index 541999cf..519a1390 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/api.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/api.rs @@ -4,9 +4,9 @@ use crate::{Config, MessageLeaves}; use pezframe_support::storage::StorageStreamIter; -use snowbridge_core::PricingParameters; -use snowbridge_merkle_tree::{merkle_proof, MerkleProof}; -use snowbridge_outbound_queue_primitives::v1::{Command, Fee, GasMeter}; +use pezsnowbridge_core::PricingParameters; +use pezsnowbridge_merkle_tree::{merkle_proof, MerkleProof}; +use pezsnowbridge_outbound_queue_primitives::v1::{Command, Fee, GasMeter}; use pezsp_core::Get; pub fn prove_message(leaf_index: u64) -> Option diff --git a/bridges/snowbridge/pallets/outbound-queue/src/benchmarking.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/benchmarking.rs similarity index 94% rename from bridges/snowbridge/pallets/outbound-queue/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/benchmarking.rs index dead2113..9168f8be 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/benchmarking.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/benchmarking.rs @@ -5,8 +5,8 @@ use super::*; use bridge_hub_common::AggregateMessageOrigin; use codec::Encode; use pezframe_benchmarking::v2::*; -use snowbridge_core::ChannelId; -use snowbridge_outbound_queue_primitives::v1::{Command, Initializer}; +use pezsnowbridge_core::ChannelId; +use pezsnowbridge_outbound_queue_primitives::v1::{Command, Initializer}; use pezsp_core::{H160, H256}; #[allow(unused_imports)] diff --git a/bridges/snowbridge/pallets/outbound-queue/src/lib.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/lib.rs similarity index 96% rename from bridges/snowbridge/pallets/outbound-queue/src/lib.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/lib.rs index 8bbe2ca9..a97a4e59 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/lib.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/lib.rs @@ -7,14 +7,14 @@ //! Messages come either from sibling teyrchains via XCM, or BridgeHub itself //! via the `snowbridge-pezpallet-system`: //! -//! 1. `snowbridge_outbound_queue_primitives::v1::EthereumBlobExporter::deliver` -//! 2. `snowbridge_pallet_system::Pallet::send` +//! 1. `pezsnowbridge_outbound_queue_primitives::v1::EthereumBlobExporter::deliver` +//! 2. `snowbridge_pezpallet_system::Pallet::send` //! //! The message submission pipeline works like this: //! 1. The message is first validated via the implementation for -//! [`snowbridge_outbound_queue_primitives::v1::SendMessage::validate`] +//! [`pezsnowbridge_outbound_queue_primitives::v1::SendMessage::validate`] //! 2. The message is then enqueued for later processing via the implementation for -//! [`snowbridge_outbound_queue_primitives::v1::SendMessage::deliver`] +//! [`pezsnowbridge_outbound_queue_primitives::v1::SendMessage::deliver`] //! 3. The underlying message queue is implemented by [`Config::MessageQueue`] //! 4. The message queue delivers messages back to this pallet via the implementation for //! [`pezframe_support::traits::ProcessMessage::process_message`] @@ -110,9 +110,9 @@ use pezframe_support::{ traits::{tokens::Balance, Contains, Defensive, EnqueueMessage, Get, ProcessMessageError}, weights::{Weight, WeightToFee}, }; -use snowbridge_core::{digest_item::SnowbridgeDigestItem, BasicOperatingMode, ChannelId}; -use snowbridge_merkle_tree::merkle_root; -use snowbridge_outbound_queue_primitives::v1::{ +use pezsnowbridge_core::{digest_item::SnowbridgeDigestItem, BasicOperatingMode, ChannelId}; +use pezsnowbridge_merkle_tree::merkle_root; +use pezsnowbridge_outbound_queue_primitives::v1::{ Fee, GasMeter, QueuedMessage, VersionedQueuedMessage, ETHER_DECIMALS, }; use pezsp_core::{H256, U256}; @@ -131,7 +131,7 @@ pub mod pallet { use super::*; use pezframe_support::pezpallet_prelude::*; use pezframe_system::pezpallet_prelude::*; - use snowbridge_core::PricingParameters; + use pezsnowbridge_core::PricingParameters; use pezsp_arithmetic::FixedU128; #[pallet::pallet] diff --git a/bridges/snowbridge/pallets/outbound-queue/src/mock.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/mock.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue/src/mock.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/mock.rs index 016d4749..f7ef5b57 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/mock.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/mock.rs @@ -8,12 +8,12 @@ use pezframe_support::{ weights::IdentityFee, }; -use snowbridge_core::{ +use pezsnowbridge_core::{ gwei, meth, pricing::{PricingParameters, Rewards}, ParaId, PRIMARY_GOVERNANCE_CHANNEL, }; -use snowbridge_outbound_queue_primitives::v1::*; +use pezsnowbridge_outbound_queue_primitives::v1::*; use pezsp_core::{ConstU32, ConstU8, H160, H256}; use pezsp_runtime::{ traits::{BlakeTwo256, IdentityLookup, Keccak256}, diff --git a/bridges/snowbridge/pallets/outbound-queue/src/process_message_impl.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/process_message_impl.rs similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue/src/process_message_impl.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/process_message_impl.rs diff --git a/bridges/snowbridge/pallets/outbound-queue/src/send_message_impl.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/send_message_impl.rs similarity index 93% rename from bridges/snowbridge/pallets/outbound-queue/src/send_message_impl.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/send_message_impl.rs index a759ca73..a5f6d879 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/send_message_impl.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/send_message_impl.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -//! Implementation for [`snowbridge_outbound_queue_primitives::v1::SendMessage`] +//! Implementation for [`pezsnowbridge_outbound_queue_primitives::v1::SendMessage`] use super::*; use bridge_hub_common::AggregateMessageOrigin; use codec::Encode; @@ -10,8 +10,8 @@ use pezframe_support::{ CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, }; use pezframe_system::unique; -use snowbridge_core::{ChannelId, PRIMARY_GOVERNANCE_CHANNEL}; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_core::{ChannelId, PRIMARY_GOVERNANCE_CHANNEL}; +use pezsnowbridge_outbound_queue_primitives::{ v1::{Fee, Message, QueuedMessage, SendMessage, VersionedQueuedMessage}, SendError, SendMessageFeeProvider, }; diff --git a/bridges/snowbridge/pallets/outbound-queue/src/test.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/test.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue/src/test.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/test.rs index 7ea2778b..25999cd4 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/test.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/test.rs @@ -9,8 +9,8 @@ use pezframe_support::{ }; use codec::Encode; -use snowbridge_core::{digest_item::SnowbridgeDigestItem, ParaId, PricingParameters, Rewards}; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_core::{digest_item::SnowbridgeDigestItem, ParaId, PricingParameters, Rewards}; +use pezsnowbridge_outbound_queue_primitives::{ v1::{Command, SendMessage}, SendError, }; @@ -169,7 +169,7 @@ fn submit_upgrade_message_success_when_queue_halted() { #[test] fn governance_message_does_not_get_the_chance_to_processed_in_same_block_when_congest_of_low_priority_sibling_messages( ) { - use snowbridge_core::PRIMARY_GOVERNANCE_CHANNEL; + use pezsnowbridge_core::PRIMARY_GOVERNANCE_CHANNEL; use AggregateMessageOrigin::*; let sibling_id: u32 = 1000; diff --git a/bridges/snowbridge/pallets/outbound-queue/src/types.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/types.rs similarity index 98% rename from bridges/snowbridge/pallets/outbound-queue/src/types.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/types.rs index 90aff0c0..cd518ed2 100644 --- a/bridges/snowbridge/pallets/outbound-queue/src/types.rs +++ b/bridges/snowbridge/pezpallets/outbound-queue/src/types.rs @@ -4,7 +4,7 @@ use codec::{Decode, Encode}; use ethabi::Token; use pezframe_support::traits::ProcessMessage; use scale_info::TypeInfo; -use snowbridge_core::ChannelId; +use pezsnowbridge_core::ChannelId; use pezsp_core::H256; use pezsp_runtime::RuntimeDebug; use pezsp_std::prelude::*; diff --git a/bridges/snowbridge/pallets/outbound-queue/src/weights.rs b/bridges/snowbridge/pezpallets/outbound-queue/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/outbound-queue/src/weights.rs rename to bridges/snowbridge/pezpallets/outbound-queue/src/weights.rs diff --git a/bridges/snowbridge/pallets/system-frontend/Cargo.toml b/bridges/snowbridge/pezpallets/system-frontend/Cargo.toml similarity index 91% rename from bridges/snowbridge/pallets/system-frontend/Cargo.toml rename to bridges/snowbridge/pezpallets/system-frontend/Cargo.toml index 74a0bdb1..5b71d8f0 100644 --- a/bridges/snowbridge/pallets/system-frontend/Cargo.toml +++ b/bridges/snowbridge/pezpallets/system-frontend/Cargo.toml @@ -26,7 +26,7 @@ pezframe-support = { workspace = true } pezframe-system = { workspace = true } pezpallet-asset-conversion = { workspace = true } scale-info = { features = ["derive"], workspace = true } -snowbridge-core = { workspace = true } +pezsnowbridge-core = { workspace = true } pezsp-core = { workspace = true } pezsp-io = { workspace = true } pezsp-runtime = { workspace = true } @@ -37,7 +37,7 @@ xcm-executor = { workspace = true } [dev-dependencies] pezpallet-balances = { workspace = true, default-features = true } -snowbridge-test-utils = { workspace = true } +pezsnowbridge-test-utils = { workspace = true } pezsp-keyring = { workspace = true } [features] @@ -49,7 +49,7 @@ std = [ "pezframe-system/std", "pezpallet-asset-conversion/std", "scale-info/std", - "snowbridge-core/std", + "pezsnowbridge-core/std", "pezsp-core/std", "pezsp-io/std", "pezsp-keyring/std", @@ -65,8 +65,8 @@ runtime-benchmarks = [ "pezframe-system/runtime-benchmarks", "pezpallet-asset-conversion/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-test-utils/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-test-utils/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bridges/snowbridge/pallets/system-frontend/src/backend_weights.rs b/bridges/snowbridge/pezpallets/system-frontend/src/backend_weights.rs similarity index 100% rename from bridges/snowbridge/pallets/system-frontend/src/backend_weights.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/backend_weights.rs diff --git a/bridges/snowbridge/pallets/system-frontend/src/benchmarking.rs b/bridges/snowbridge/pezpallets/system-frontend/src/benchmarking.rs similarity index 100% rename from bridges/snowbridge/pallets/system-frontend/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/benchmarking.rs diff --git a/bridges/snowbridge/pallets/system-frontend/src/lib.rs b/bridges/snowbridge/pezpallets/system-frontend/src/lib.rs similarity index 99% rename from bridges/snowbridge/pallets/system-frontend/src/lib.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/lib.rs index 9d57ecf0..fc1aaaaf 100644 --- a/bridges/snowbridge/pallets/system-frontend/src/lib.rs +++ b/bridges/snowbridge/pezpallets/system-frontend/src/lib.rs @@ -27,7 +27,7 @@ pub use backend_weights::*; use pezframe_support::{pezpallet_prelude::*, traits::EnsureOriginWithArg}; use pezframe_system::pezpallet_prelude::*; use pezpallet_asset_conversion::Swap; -use snowbridge_core::{ +use pezsnowbridge_core::{ burn_for_teleport, operating_mode::ExportPausedQuery, reward::MessageId, AssetMetadata, BasicOperatingMode as OperatingMode, }; diff --git a/bridges/snowbridge/pallets/system-frontend/src/mock.rs b/bridges/snowbridge/pezpallets/system-frontend/src/mock.rs similarity index 95% rename from bridges/snowbridge/pallets/system-frontend/src/mock.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/mock.rs index 343ba72b..282a7bea 100644 --- a/bridges/snowbridge/pallets/system-frontend/src/mock.rs +++ b/bridges/snowbridge/pezpallets/system-frontend/src/mock.rs @@ -7,9 +7,9 @@ use pezframe_support::{ derive_impl, parameter_types, traits::{AsEnsureOriginWithArg, Everything}, }; -use snowbridge_core::ParaId; -use snowbridge_test_utils::mock_swap_executor::SwapExecutor; -pub use snowbridge_test_utils::{mock_origin::pezpallet_xcm_origin, mock_xcm::*}; +use pezsnowbridge_core::ParaId; +use pezsnowbridge_test_utils::mock_swap_executor::SwapExecutor; +pub use pezsnowbridge_test_utils::{mock_origin::pezpallet_xcm_origin, mock_xcm::*}; use pezsp_core::H256; use pezsp_runtime::{ traits::{AccountIdConversion, BlakeTwo256, IdentityLookup}, diff --git a/bridges/snowbridge/pallets/system-frontend/src/tests.rs b/bridges/snowbridge/pezpallets/system-frontend/src/tests.rs similarity index 98% rename from bridges/snowbridge/pallets/system-frontend/src/tests.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/tests.rs index 7b1f3953..067f4964 100644 --- a/bridges/snowbridge/pallets/system-frontend/src/tests.rs +++ b/bridges/snowbridge/pezpallets/system-frontend/src/tests.rs @@ -3,8 +3,8 @@ use crate::{mock::*, DispatchError::Other, Error}; use pezframe_support::{assert_err, assert_noop, assert_ok}; use pezframe_system::RawOrigin; -use snowbridge_core::{reward::MessageId, AssetMetadata, BasicOperatingMode}; -use snowbridge_test_utils::mock_swap_executor::TRIGGER_SWAP_ERROR_AMOUNT; +use pezsnowbridge_core::{reward::MessageId, AssetMetadata, BasicOperatingMode}; +use pezsnowbridge_test_utils::mock_swap_executor::TRIGGER_SWAP_ERROR_AMOUNT; use pezsp_keyring::sr25519::Keyring; use xcm::{ latest::{Assets, Error as XcmError, Location}, diff --git a/bridges/snowbridge/pallets/system-frontend/src/weights.rs b/bridges/snowbridge/pezpallets/system-frontend/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/system-frontend/src/weights.rs rename to bridges/snowbridge/pezpallets/system-frontend/src/weights.rs diff --git a/bridges/snowbridge/pallets/system-v2/Cargo.toml b/bridges/snowbridge/pezpallets/system-v2/Cargo.toml similarity index 85% rename from bridges/snowbridge/pallets/system-v2/Cargo.toml rename to bridges/snowbridge/pezpallets/system-v2/Cargo.toml index 7f7821d3..944ea436 100644 --- a/bridges/snowbridge/pallets/system-v2/Cargo.toml +++ b/bridges/snowbridge/pezpallets/system-v2/Cargo.toml @@ -34,8 +34,8 @@ pezsp-std = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } snowbridge-pezpallet-system = { workspace = true } tracing = { workspace = true } @@ -43,7 +43,7 @@ tracing = { workspace = true } [dev-dependencies] hex-literal = { workspace = true, default-features = true } pezpallet-balances = { workspace = true, default-features = true } -snowbridge-test-utils = { workspace = true } +pezsnowbridge-test-utils = { workspace = true } pezsp-keyring = { workspace = true, default-features = true } [features] @@ -54,8 +54,8 @@ std = [ "pezframe-support/std", "pezframe-system/std", "scale-info/std", - "snowbridge-core/std", - "snowbridge-outbound-queue-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-outbound-queue-primitives/std", "snowbridge-pezpallet-system/std", "pezsp-core/std", "pezsp-io/std", @@ -70,10 +70,10 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-system/runtime-benchmarks", - "snowbridge-test-utils/runtime-benchmarks", + "pezsnowbridge-test-utils/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bridges/snowbridge/pallets/system-v2/README.md b/bridges/snowbridge/pezpallets/system-v2/README.md similarity index 100% rename from bridges/snowbridge/pallets/system-v2/README.md rename to bridges/snowbridge/pezpallets/system-v2/README.md diff --git a/bridges/snowbridge/pallets/system-v2/runtime-api/Cargo.toml b/bridges/snowbridge/pezpallets/system-v2/runtime-api/Cargo.toml similarity index 77% rename from bridges/snowbridge/pallets/system-v2/runtime-api/Cargo.toml rename to bridges/snowbridge/pezpallets/system-v2/runtime-api/Cargo.toml index 6acfe026..22c582ad 100644 --- a/bridges/snowbridge/pallets/system-v2/runtime-api/Cargo.toml +++ b/bridges/snowbridge/pezpallets/system-v2/runtime-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-system-v2-runtime-api" +name = "pezsnowbridge-system-v2-runtime-api" description = "Snowbridge System Runtime API V2" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-system-v2-runtime-api" +documentation = "https://docs.rs/pezsnowbridge-system-v2-runtime-api" homepage = { workspace = true } [lints] @@ -21,7 +21,7 @@ exclude-from-umbrella = true [dependencies] codec = { features = ["derive"], workspace = true } -snowbridge-core = { workspace = true } +pezsnowbridge-core = { workspace = true } pezsp-api = { workspace = true } pezsp-std = { workspace = true } xcm = { workspace = true } @@ -30,13 +30,13 @@ xcm = { workspace = true } default = ["std"] std = [ "codec/std", - "snowbridge-core/std", + "pezsnowbridge-core/std", "pezsp-api/std", "pezsp-std/std", "xcm/std", ] runtime-benchmarks = [ - "snowbridge-core/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/system-v2/runtime-api/README.md b/bridges/snowbridge/pezpallets/system-v2/runtime-api/README.md similarity index 100% rename from bridges/snowbridge/pallets/system-v2/runtime-api/README.md rename to bridges/snowbridge/pezpallets/system-v2/runtime-api/README.md diff --git a/bridges/snowbridge/pallets/system-v2/runtime-api/src/lib.rs b/bridges/snowbridge/pezpallets/system-v2/runtime-api/src/lib.rs similarity index 91% rename from bridges/snowbridge/pallets/system-v2/runtime-api/src/lib.rs rename to bridges/snowbridge/pezpallets/system-v2/runtime-api/src/lib.rs index 861ba6f6..4cce9ed9 100644 --- a/bridges/snowbridge/pallets/system-v2/runtime-api/src/lib.rs +++ b/bridges/snowbridge/pezpallets/system-v2/runtime-api/src/lib.rs @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork #![cfg_attr(not(feature = "std"), no_std)] -use snowbridge_core::AgentId; +use pezsnowbridge_core::AgentId; use xcm::VersionedLocation; pezsp_api::decl_runtime_apis! { diff --git a/bridges/snowbridge/pallets/system-v2/src/api.rs b/bridges/snowbridge/pezpallets/system-v2/src/api.rs similarity index 100% rename from bridges/snowbridge/pallets/system-v2/src/api.rs rename to bridges/snowbridge/pezpallets/system-v2/src/api.rs diff --git a/bridges/snowbridge/pallets/system-v2/src/benchmarking.rs b/bridges/snowbridge/pezpallets/system-v2/src/benchmarking.rs similarity index 100% rename from bridges/snowbridge/pallets/system-v2/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/system-v2/src/benchmarking.rs diff --git a/bridges/snowbridge/pallets/system-v2/src/lib.rs b/bridges/snowbridge/pezpallets/system-v2/src/lib.rs similarity index 97% rename from bridges/snowbridge/pallets/system-v2/src/lib.rs rename to bridges/snowbridge/pezpallets/system-v2/src/lib.rs index 47075687..e50da8d7 100644 --- a/bridges/snowbridge/pallets/system-v2/src/lib.rs +++ b/bridges/snowbridge/pezpallets/system-v2/src/lib.rs @@ -32,18 +32,18 @@ pub use weights::*; use pezframe_support::{pezpallet_prelude::*, traits::EnsureOrigin}; use pezframe_system::pezpallet_prelude::*; pub use pallet::*; -use snowbridge_core::{ +use pezsnowbridge_core::{ reward::{ AddTip, MessageId, MessageId::{Inbound, Outbound}, }, AgentIdOf as LocationHashOf, AssetMetadata, TokenId, TokenIdOf, }; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_outbound_queue_primitives::{ v2::{Command, Initializer, Message, SendMessage}, OperatingMode, SendError, }; -use snowbridge_pallet_system::ForeignToNativeId; +use snowbridge_pezpallet_system::ForeignToNativeId; use pezsp_core::{H160, H256}; use pezsp_io::hashing::blake2_256; use pezsp_runtime::traits::MaybeConvert; @@ -73,7 +73,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::config] - pub trait Config: pezframe_system::Config + snowbridge_pallet_system::Config { + pub trait Config: pezframe_system::Config + snowbridge_pezpallet_system::Config { #[allow(deprecated)] type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Send messages to Ethereum and add additional relayer rewards if deposited @@ -315,7 +315,7 @@ pub mod pallet { impl MaybeConvert for Pallet { fn maybe_convert(foreign_id: TokenId) -> Option { - snowbridge_pallet_system::Pallet::::maybe_convert(foreign_id) + snowbridge_pezpallet_system::Pallet::::maybe_convert(foreign_id) } } } diff --git a/bridges/snowbridge/pallets/system-v2/src/mock.rs b/bridges/snowbridge/pezpallets/system-v2/src/mock.rs similarity index 95% rename from bridges/snowbridge/pallets/system-v2/src/mock.rs rename to bridges/snowbridge/pezpallets/system-v2/src/mock.rs index 55068885..0d68f0c2 100644 --- a/bridges/snowbridge/pallets/system-v2/src/mock.rs +++ b/bridges/snowbridge/pezpallets/system-v2/src/mock.rs @@ -9,11 +9,11 @@ use pezsp_core::H256; use crate as snowbridge_system_v2; use pezframe_system::EnsureRootWithSuccess; -use snowbridge_core::{ +use pezsnowbridge_core::{ gwei, meth, sibling_sovereign_account, AllowSiblingsOnly, ParaId, PricingParameters, Rewards, }; -pub use snowbridge_test_utils::{ +pub use pezsnowbridge_test_utils::{ mock_inbound_queue::*, mock_origin::pezpallet_xcm_origin, mock_outbound_queue::*, }; use pezsp_runtime::{ @@ -37,7 +37,7 @@ pezframe_support::construct_runtime!( System: pezframe_system, Balances: pezpallet_balances::{Pallet, Call, Storage, Config, Event}, XcmOrigin: pezpallet_xcm_origin::{Pallet, Origin}, - EthereumSystem: snowbridge_pallet_system, + EthereumSystem: snowbridge_pezpallet_system, EthereumSystemV2: snowbridge_system_v2, } ); @@ -126,17 +126,17 @@ parameter_types! { } #[cfg(feature = "runtime-benchmarks")] -impl snowbridge_pallet_system::BenchmarkHelper for () { +impl snowbridge_pezpallet_system::BenchmarkHelper for () { fn make_xcm_origin(location: Location) -> RuntimeOrigin { RuntimeOrigin::from(pezpallet_xcm_origin::Origin(location)) } } -impl snowbridge_pallet_system::Config for Test { +impl snowbridge_pezpallet_system::Config for Test { type RuntimeEvent = RuntimeEvent; type OutboundQueue = MockOkOutboundQueueV1; type SiblingOrigin = pezpallet_xcm_origin::EnsureXcm; - type AgentIdOf = snowbridge_core::AgentIdOf; + type AgentIdOf = pezsnowbridge_core::AgentIdOf; type Token = Balances; type TreasuryAccount = TreasuryAccount; type DefaultPricingParameters = Parameters; diff --git a/bridges/snowbridge/pallets/system-v2/src/tests.rs b/bridges/snowbridge/pezpallets/system-v2/src/tests.rs similarity index 99% rename from bridges/snowbridge/pallets/system-v2/src/tests.rs rename to bridges/snowbridge/pezpallets/system-v2/src/tests.rs index 0603e212..647d7893 100644 --- a/bridges/snowbridge/pallets/system-v2/src/tests.rs +++ b/bridges/snowbridge/pezpallets/system-v2/src/tests.rs @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork use crate::{mock::*, DispatchError::BadOrigin, *}; use pezframe_support::{assert_noop, assert_ok}; -use snowbridge_test_utils::FAILING_NONCE; +use pezsnowbridge_test_utils::FAILING_NONCE; use pezsp_keyring::sr25519::Keyring; use xcm::{latest::ZAGROS_GENESIS_HASH, prelude::*}; diff --git a/bridges/snowbridge/pallets/system-v2/src/weights.rs b/bridges/snowbridge/pezpallets/system-v2/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/system-v2/src/weights.rs rename to bridges/snowbridge/pezpallets/system-v2/src/weights.rs diff --git a/bridges/snowbridge/pallets/system/Cargo.toml b/bridges/snowbridge/pezpallets/system/Cargo.toml similarity index 89% rename from bridges/snowbridge/pallets/system/Cargo.toml rename to bridges/snowbridge/pezpallets/system/Cargo.toml index 54f2a423..a827fe1a 100644 --- a/bridges/snowbridge/pallets/system/Cargo.toml +++ b/bridges/snowbridge/pezpallets/system/Cargo.toml @@ -35,8 +35,8 @@ pezsp-std = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } [dev-dependencies] hex = { workspace = true, default-features = true } @@ -54,8 +54,8 @@ std = [ "pezframe-support/std", "pezframe-system/std", "scale-info/std", - "snowbridge-core/std", - "snowbridge-outbound-queue-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-outbound-queue-primitives/std", "pezsp-core/std", "pezsp-io/std", "pezsp-runtime/std", @@ -71,8 +71,8 @@ runtime-benchmarks = [ "pezpallet-balances/runtime-benchmarks", "pezpallet-message-queue/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-outbound-queue/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", diff --git a/bridges/snowbridge/pallets/system/README.md b/bridges/snowbridge/pezpallets/system/README.md similarity index 100% rename from bridges/snowbridge/pallets/system/README.md rename to bridges/snowbridge/pezpallets/system/README.md diff --git a/bridges/snowbridge/pallets/system/runtime-api/Cargo.toml b/bridges/snowbridge/pezpallets/system/runtime-api/Cargo.toml similarity index 77% rename from bridges/snowbridge/pallets/system/runtime-api/Cargo.toml rename to bridges/snowbridge/pezpallets/system/runtime-api/Cargo.toml index 19d68f9b..3e4e8ecc 100644 --- a/bridges/snowbridge/pallets/system/runtime-api/Cargo.toml +++ b/bridges/snowbridge/pezpallets/system/runtime-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-system-runtime-api" +name = "pezsnowbridge-system-runtime-api" description = "Snowbridge System Runtime API" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-system-runtime-api" +documentation = "https://docs.rs/pezsnowbridge-system-runtime-api" homepage = { workspace = true } [lints] @@ -21,7 +21,7 @@ exclude-from-umbrella = true [dependencies] codec = { features = ["derive"], workspace = true } -snowbridge-core = { workspace = true } +pezsnowbridge-core = { workspace = true } pezsp-api = { workspace = true } pezsp-std = { workspace = true } xcm = { workspace = true } @@ -30,13 +30,13 @@ xcm = { workspace = true } default = ["std"] std = [ "codec/std", - "snowbridge-core/std", + "pezsnowbridge-core/std", "pezsp-api/std", "pezsp-std/std", "xcm/std", ] runtime-benchmarks = [ - "snowbridge-core/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/bridges/snowbridge/pallets/system/runtime-api/README.md b/bridges/snowbridge/pezpallets/system/runtime-api/README.md similarity index 100% rename from bridges/snowbridge/pallets/system/runtime-api/README.md rename to bridges/snowbridge/pezpallets/system/runtime-api/README.md diff --git a/bridges/snowbridge/pallets/system/runtime-api/src/lib.rs b/bridges/snowbridge/pezpallets/system/runtime-api/src/lib.rs similarity index 90% rename from bridges/snowbridge/pallets/system/runtime-api/src/lib.rs rename to bridges/snowbridge/pezpallets/system/runtime-api/src/lib.rs index d7910e2e..2cd8135a 100644 --- a/bridges/snowbridge/pallets/system/runtime-api/src/lib.rs +++ b/bridges/snowbridge/pezpallets/system/runtime-api/src/lib.rs @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork #![cfg_attr(not(feature = "std"), no_std)] -use snowbridge_core::AgentId; +use pezsnowbridge_core::AgentId; use xcm::VersionedLocation; pezsp_api::decl_runtime_apis! { diff --git a/bridges/snowbridge/pallets/system/src/api.rs b/bridges/snowbridge/pezpallets/system/src/api.rs similarity index 92% rename from bridges/snowbridge/pallets/system/src/api.rs rename to bridges/snowbridge/pezpallets/system/src/api.rs index ef12b03e..765b2a7f 100644 --- a/bridges/snowbridge/pallets/system/src/api.rs +++ b/bridges/snowbridge/pezpallets/system/src/api.rs @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork //! Helpers for implementing runtime api -use snowbridge_core::AgentId; +use pezsnowbridge_core::AgentId; use xcm::{prelude::*, VersionedLocation}; use crate::{agent_id_of, Config}; diff --git a/bridges/snowbridge/pallets/system/src/benchmarking.rs b/bridges/snowbridge/pezpallets/system/src/benchmarking.rs similarity index 95% rename from bridges/snowbridge/pallets/system/src/benchmarking.rs rename to bridges/snowbridge/pezpallets/system/src/benchmarking.rs index 985abd0f..9b53581f 100644 --- a/bridges/snowbridge/pallets/system/src/benchmarking.rs +++ b/bridges/snowbridge/pezpallets/system/src/benchmarking.rs @@ -7,8 +7,8 @@ use super::*; use crate::Pallet as SnowbridgeControl; use pezframe_benchmarking::v2::*; use pezframe_system::RawOrigin; -use snowbridge_core::eth; -use snowbridge_outbound_queue_primitives::OperatingMode; +use pezsnowbridge_core::eth; +use pezsnowbridge_outbound_queue_primitives::OperatingMode; use pezsp_runtime::SaturatedConversion; use xcm::prelude::*; diff --git a/bridges/snowbridge/pallets/system/src/lib.rs b/bridges/snowbridge/pezpallets/system/src/lib.rs similarity index 99% rename from bridges/snowbridge/pallets/system/src/lib.rs rename to bridges/snowbridge/pezpallets/system/src/lib.rs index 0fea7106..237a8174 100644 --- a/bridges/snowbridge/pallets/system/src/lib.rs +++ b/bridges/snowbridge/pezpallets/system/src/lib.rs @@ -41,12 +41,12 @@ use pezframe_support::{ }, }; use pezframe_system::pezpallet_prelude::*; -use snowbridge_core::{ +use pezsnowbridge_core::{ meth, AgentId, AssetMetadata, Channel, ChannelId, ParaId, PricingParameters as PricingParametersRecord, TokenId, TokenIdOf, PRIMARY_GOVERNANCE_CHANNEL, SECONDARY_GOVERNANCE_CHANNEL, }; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_outbound_queue_primitives::{ v1::{Command, Initializer, Message, SendMessage}, OperatingMode, SendError, }; @@ -97,7 +97,7 @@ where #[pezframe_support::pallet] pub mod pallet { use pezframe_support::dispatch::PostDispatchInfo; - use snowbridge_core::StaticLookup; + use pezsnowbridge_core::StaticLookup; use pezsp_core::U256; use super::*; diff --git a/bridges/snowbridge/pallets/system/src/migration.rs b/bridges/snowbridge/pezpallets/system/src/migration.rs similarity index 97% rename from bridges/snowbridge/pallets/system/src/migration.rs rename to bridges/snowbridge/pezpallets/system/src/migration.rs index 9b0451b7..9ccd89f1 100644 --- a/bridges/snowbridge/pallets/system/src/migration.rs +++ b/bridges/snowbridge/pezpallets/system/src/migration.rs @@ -96,7 +96,7 @@ pub mod v1 { { /// Calculate the fee required to pay for gas on Ethereum. fn calculate_remote_fee_v1(params: &PricingParametersOf) -> U256 { - use snowbridge_outbound_queue_primitives::v1::{ + use pezsnowbridge_outbound_queue_primitives::v1::{ AgentExecuteCommand, Command, ConstantGasMeter, GasMeter, }; let command = Command::AgentExecute { @@ -116,7 +116,7 @@ pub mod v1 { /// Calculate the fee required to pay for gas on Ethereum. fn calculate_remote_fee_v2(params: &PricingParametersOf) -> U256 { - use snowbridge_outbound_queue_primitives::v2::{Command, ConstantGasMeter, GasMeter}; + use pezsnowbridge_outbound_queue_primitives::v2::{Command, ConstantGasMeter, GasMeter}; let command = Command::UnlockNativeToken { token: H160::zero(), recipient: H160::zero(), diff --git a/bridges/snowbridge/pallets/system/src/mock.rs b/bridges/snowbridge/pezpallets/system/src/mock.rs similarity index 96% rename from bridges/snowbridge/pallets/system/src/mock.rs rename to bridges/snowbridge/pezpallets/system/src/mock.rs index 1439d27b..1d99ab30 100644 --- a/bridges/snowbridge/pallets/system/src/mock.rs +++ b/bridges/snowbridge/pezpallets/system/src/mock.rs @@ -10,11 +10,11 @@ use pezframe_support::{ use pezsp_core::H256; use xcm_executor::traits::ConvertLocation; -use snowbridge_core::{ +use pezsnowbridge_core::{ gwei, meth, sibling_sovereign_account, AgentId, AllowSiblingsOnly, ParaId, PricingParameters, Rewards, }; -use snowbridge_outbound_queue_primitives::v1::ConstantGasMeter; +use pezsnowbridge_outbound_queue_primitives::v1::ConstantGasMeter; use pezsp_runtime::{ traits::{AccountIdConversion, BlakeTwo256, IdentityLookup, Keccak256}, AccountId32, BuildStorage, FixedU128, @@ -99,7 +99,7 @@ pezframe_support::construct_runtime!( System: pezframe_system, Balances: pezpallet_balances::{Pallet, Call, Storage, Config, Event}, XcmOrigin: pezpallet_xcm_origin::{Pallet, Origin}, - OutboundQueue: snowbridge_pallet_outbound_queue::{Pallet, Call, Storage, Event}, + OutboundQueue: snowbridge_pezpallet_outbound_queue::{Pallet, Call, Storage, Event}, EthereumSystem: snowbridge_system, MessageQueue: pezpallet_message_queue::{Pallet, Call, Storage, Event} } @@ -158,7 +158,7 @@ parameter_types! { pub const OwnParaId: ParaId = ParaId::new(1013); } -impl snowbridge_pallet_outbound_queue::Config for Test { +impl snowbridge_pezpallet_outbound_queue::Config for Test { type RuntimeEvent = RuntimeEvent; type Hashing = Keccak256; type MessageQueue = MessageQueue; @@ -213,7 +213,7 @@ impl crate::Config for Test { type RuntimeEvent = RuntimeEvent; type OutboundQueue = OutboundQueue; type SiblingOrigin = pezpallet_xcm_origin::EnsureXcm; - type AgentIdOf = snowbridge_core::AgentIdOf; + type AgentIdOf = pezsnowbridge_core::AgentIdOf; type TreasuryAccount = TreasuryAccount; type Token = Balances; type DefaultPricingParameters = Parameters; diff --git a/bridges/snowbridge/pallets/system/src/tests.rs b/bridges/snowbridge/pezpallets/system/src/tests.rs similarity index 99% rename from bridges/snowbridge/pallets/system/src/tests.rs rename to bridges/snowbridge/pezpallets/system/src/tests.rs index a3e686e4..bc838727 100644 --- a/bridges/snowbridge/pallets/system/src/tests.rs +++ b/bridges/snowbridge/pezpallets/system/src/tests.rs @@ -3,7 +3,7 @@ use crate::{mock::*, *}; use pezframe_support::{assert_noop, assert_ok}; use hex_literal::hex; -use snowbridge_core::eth; +use pezsnowbridge_core::eth; use pezsp_core::H256; use pezsp_runtime::{AccountId32, DispatchError::BadOrigin}; diff --git a/bridges/snowbridge/pallets/system/src/weights.rs b/bridges/snowbridge/pezpallets/system/src/weights.rs similarity index 100% rename from bridges/snowbridge/pallets/system/src/weights.rs rename to bridges/snowbridge/pezpallets/system/src/weights.rs diff --git a/bridges/snowbridge/primitives/beacon/Cargo.toml b/bridges/snowbridge/primitives/beacon/Cargo.toml index b29a405a..9cba6ec9 100644 --- a/bridges/snowbridge/primitives/beacon/Cargo.toml +++ b/bridges/snowbridge/primitives/beacon/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-beacon-primitives" +name = "pezsnowbridge-beacon-primitives" description = "Snowbridge Beacon Primitives" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-beacon-primitives" +documentation = "https://docs.rs/pezsnowbridge-beacon-primitives" homepage = { workspace = true } [lints] @@ -36,7 +36,7 @@ ssz_rs = { workspace = true } ssz_rs_derive = { workspace = true } milagro-bls = { workspace = true } -snowbridge-ethereum = { workspace = true } +pezsnowbridge-ethereum = { workspace = true } [dev-dependencies] hex-literal = { workspace = true, default-features = true } @@ -52,7 +52,7 @@ std = [ "rlp/std", "scale-info/std", "serde", - "snowbridge-ethereum/std", + "pezsnowbridge-ethereum/std", "pezsp-core/std", "pezsp-io/std", "pezsp-runtime/std", @@ -61,7 +61,7 @@ std = [ ] runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", - "snowbridge-ethereum/runtime-benchmarks", + "pezsnowbridge-ethereum/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] diff --git a/bridges/snowbridge/primitives/beacon/src/receipt.rs b/bridges/snowbridge/primitives/beacon/src/receipt.rs index 4c19951e..195d3ce7 100644 --- a/bridges/snowbridge/primitives/beacon/src/receipt.rs +++ b/bridges/snowbridge/primitives/beacon/src/receipt.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -use snowbridge_ethereum::{mpt, Decodable, ReceiptEnvelope}; +use pezsnowbridge_ethereum::{mpt, Decodable, ReceiptEnvelope}; use pezsp_core::H256; use pezsp_io::hashing::keccak_256; use pezsp_std::prelude::*; diff --git a/bridges/snowbridge/primitives/core/Cargo.toml b/bridges/snowbridge/primitives/core/Cargo.toml index 28400cf5..34d403ef 100644 --- a/bridges/snowbridge/primitives/core/Cargo.toml +++ b/bridges/snowbridge/primitives/core/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-core" +name = "pezsnowbridge-core" description = "Snowbridge Core" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-core" +documentation = "https://docs.rs/pezsnowbridge-core" homepage = { workspace = true } [lints] diff --git a/bridges/snowbridge/primitives/core/tests/mod.rs b/bridges/snowbridge/primitives/core/tests/mod.rs index 70e875bd..37111d25 100644 --- a/bridges/snowbridge/primitives/core/tests/mod.rs +++ b/bridges/snowbridge/primitives/core/tests/mod.rs @@ -1,7 +1,7 @@ #[cfg(test)] mod tests { use pezframe_support::traits::Contains; - use snowbridge_core::AllowSiblingsOnly; + use pezsnowbridge_core::AllowSiblingsOnly; use xcm::prelude::{Junction::Teyrchain, Location}; #[test] diff --git a/bridges/snowbridge/primitives/ethereum/Cargo.toml b/bridges/snowbridge/primitives/ethereum/Cargo.toml index cf6e015f..93aed2f6 100644 --- a/bridges/snowbridge/primitives/ethereum/Cargo.toml +++ b/bridges/snowbridge/primitives/ethereum/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-ethereum" +name = "pezsnowbridge-ethereum" description = "Snowbridge Ethereum" version = "0.3.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-ethereum" +documentation = "https://docs.rs/pezsnowbridge-ethereum" homepage = { workspace = true } [lints] diff --git a/bridges/snowbridge/primitives/inbound-queue/Cargo.toml b/bridges/snowbridge/primitives/inbound-queue/Cargo.toml index 9ff84911..43492c28 100644 --- a/bridges/snowbridge/primitives/inbound-queue/Cargo.toml +++ b/bridges/snowbridge/primitives/inbound-queue/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-inbound-queue-primitives" +name = "pezsnowbridge-inbound-queue-primitives" description = "Snowbridge Inbound Queue Primitives" version = "0.9.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-inbound-queue-primitives" +documentation = "https://docs.rs/pezsnowbridge-inbound-queue-primitives" homepage = { workspace = true } [lints] @@ -33,16 +33,16 @@ xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-verification-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-verification-primitives = { workspace = true } assets-common = { workspace = true } hex-literal = { workspace = true, default-features = true } [dev-dependencies] -snowbridge-test-utils = { workspace = true } +pezsnowbridge-test-utils = { workspace = true } [features] default = ["std"] @@ -53,9 +53,9 @@ std = [ "pezframe-support/std", "pezframe-system/std", "scale-info/std", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-verification-primitives/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-verification-primitives/std", "pezsp-core/std", "pezsp-io/std", "pezsp-runtime/std", @@ -69,10 +69,10 @@ runtime-benchmarks = [ "assets-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-test-utils/runtime-benchmarks", - "snowbridge-verification-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-test-utils/runtime-benchmarks", + "pezsnowbridge-verification-primitives/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", diff --git a/bridges/snowbridge/primitives/inbound-queue/src/lib.rs b/bridges/snowbridge/primitives/inbound-queue/src/lib.rs index 91ffcafd..9eb7f5e9 100644 --- a/bridges/snowbridge/primitives/inbound-queue/src/lib.rs +++ b/bridges/snowbridge/primitives/inbound-queue/src/lib.rs @@ -10,7 +10,7 @@ use pezsp_std::marker::PhantomData; use xcm::prelude::{AccountKey20, Ethereum, GlobalConsensus, Location}; use xcm_executor::traits::ConvertLocation; -pub use snowbridge_verification_primitives::*; +pub use pezsnowbridge_verification_primitives::*; /// DEPRECATED in favor of [xcm_builder::ExternalConsensusLocationsConverterFor] pub struct EthereumLocationsConverterFor(PhantomData); diff --git a/bridges/snowbridge/primitives/inbound-queue/src/v1.rs b/bridges/snowbridge/primitives/inbound-queue/src/v1.rs index 81bbd69d..ef69ede1 100644 --- a/bridges/snowbridge/primitives/inbound-queue/src/v1.rs +++ b/bridges/snowbridge/primitives/inbound-queue/src/v1.rs @@ -7,7 +7,7 @@ use codec::{Decode, DecodeWithMemTracking, Encode}; use core::marker::PhantomData; use pezframe_support::{traits::tokens::Balance as BalanceT, PalletError}; use scale_info::TypeInfo; -use snowbridge_core::TokenId; +use pezsnowbridge_core::TokenId; use pezsp_core::{Get, RuntimeDebug, H160, H256}; use pezsp_runtime::{traits::MaybeConvert, MultiAddress}; use pezsp_std::prelude::*; @@ -464,7 +464,7 @@ mod tests { }; use pezframe_support::{assert_ok, parameter_types}; use hex_literal::hex; - use snowbridge_test_utils::mock_converter::{ + use pezsnowbridge_test_utils::mock_converter::{ add_location_override, reanchor_to_ethereum, LocationIdConvert, }; use pezsp_core::H160; diff --git a/bridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs b/bridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs index dff3b7dc..7587ac4f 100644 --- a/bridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs +++ b/bridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs @@ -7,7 +7,7 @@ use crate::{v2::LOG_TARGET, CallIndex}; use codec::{Decode, DecodeLimit, Encode}; use core::marker::PhantomData; use pezframe_support::ensure; -use snowbridge_core::{ParaId, TokenId}; +use pezsnowbridge_core::{ParaId, TokenId}; use pezsp_core::{Get, RuntimeDebug, H160}; use pezsp_io::hashing::blake2_256; use pezsp_runtime::{traits::MaybeConvert, MultiAddress}; @@ -427,8 +427,8 @@ mod tests { use codec::Encode; use pezframe_support::{assert_err, assert_ok, parameter_types}; use hex_literal::hex; - use snowbridge_core::TokenId; - use snowbridge_test_utils::mock_converter::{ + use pezsnowbridge_core::TokenId; + use pezsnowbridge_test_utils::mock_converter::{ add_location_override, reanchor_to_ethereum, LocationIdConvert, }; use pezsp_core::{H160, H256}; diff --git a/bridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs b/bridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs index 98207c79..5506979e 100644 --- a/bridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs +++ b/bridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs @@ -10,4 +10,4 @@ pub use converter::*; pub use message::*; pub use traits::*; -const LOG_TARGET: &str = "snowbridge-inbound-queue-primitives"; +const LOG_TARGET: &str = "pezsnowbridge-inbound-queue-primitives"; diff --git a/bridges/snowbridge/primitives/merkle-tree/Cargo.toml b/bridges/snowbridge/primitives/merkle-tree/Cargo.toml index 33b9381b..9de359b4 100644 --- a/bridges/snowbridge/primitives/merkle-tree/Cargo.toml +++ b/bridges/snowbridge/primitives/merkle-tree/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-merkle-tree" +name = "pezsnowbridge-merkle-tree" description = "Snowbridge Merkle Tree" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-merkle-tree" +documentation = "https://docs.rs/pezsnowbridge-merkle-tree" homepage = { workspace = true } [lints] diff --git a/bridges/snowbridge/primitives/outbound-queue/Cargo.toml b/bridges/snowbridge/primitives/outbound-queue/Cargo.toml index 04c7a0ca..ef6483f3 100644 --- a/bridges/snowbridge/primitives/outbound-queue/Cargo.toml +++ b/bridges/snowbridge/primitives/outbound-queue/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-outbound-queue-primitives" +name = "pezsnowbridge-outbound-queue-primitives" description = "Snowbridge Outbound Queue Primitives" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-outbound-queue-primitives" +documentation = "https://docs.rs/pezsnowbridge-outbound-queue-primitives" homepage = { workspace = true } [lints] @@ -38,8 +38,8 @@ pezsp-std = { workspace = true } alloy-core = { workspace = true, features = ["sol-types"] } ethabi = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-verification-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-verification-primitives = { workspace = true } [features] default = ["std"] @@ -51,8 +51,8 @@ std = [ "pezframe-system/std", "pezkuwi-teyrchain-primitives/std", "scale-info/std", - "snowbridge-core/std", - "snowbridge-verification-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-verification-primitives/std", "pezsp-arithmetic/std", "pezsp-core/std", "pezsp-io/std", @@ -67,8 +67,8 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-verification-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-verification-primitives/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", diff --git a/bridges/snowbridge/primitives/outbound-queue/src/lib.rs b/bridges/snowbridge/primitives/outbound-queue/src/lib.rs index e03d36fc..aa52f6bd 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/lib.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/lib.rs @@ -13,7 +13,7 @@ use scale_info::TypeInfo; use pezsp_arithmetic::traits::{BaseArithmetic, Unsigned}; use pezsp_core::RuntimeDebug; -pub use snowbridge_verification_primitives::*; +pub use pezsnowbridge_verification_primitives::*; /// The operating mode of Channels and Gateway contract on Ethereum. #[derive( diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs b/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs index 4edb4aa2..26fe906d 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs @@ -11,7 +11,7 @@ use codec::{Decode, Encode}; use super::message::{Command, Message, SendMessage}; use pezframe_support::{ensure, traits::Get}; -use snowbridge_core::{AgentId, ChannelId, ParaId, TokenId, TokenIdOf}; +use pezsnowbridge_core::{AgentId, ChannelId, ParaId, TokenId, TokenIdOf}; use pezsp_core::{H160, H256}; use pezsp_runtime::traits::MaybeConvert; use pezsp_std::{iter::Peekable, marker::PhantomData, prelude::*}; diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs b/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs index ee38162c..2e8f67df 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs @@ -5,7 +5,7 @@ use crate::{ }; use pezframe_support::parameter_types; use hex_literal::hex; -use snowbridge_core::AgentIdOf; +use pezsnowbridge_core::AgentIdOf; use pezsp_std::default::Default; use xcm::{ latest::{PEZKUWICHAIN_GENESIS_HASH, ZAGROS_GENESIS_HASH}, diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v1/message.rs b/bridges/snowbridge/primitives/outbound-queue/src/v1/message.rs index b57e4da1..cd519b4e 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v1/message.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v1/message.rs @@ -6,7 +6,7 @@ use crate::{OperatingMode, SendError, SendMessageFeeProvider}; use codec::{Decode, DecodeWithMemTracking, Encode}; use ethabi::Token; use scale_info::TypeInfo; -use snowbridge_core::{pricing::UD60x18, ChannelId}; +use pezsnowbridge_core::{pricing::UD60x18, ChannelId}; use pezsp_arithmetic::traits::{BaseArithmetic, Unsigned}; use pezsp_core::{RuntimeDebug, H160, H256, U256}; use pezsp_std::{borrow::ToOwned, vec, vec::Vec}; diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs index 587ded38..dd195403 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs @@ -5,7 +5,7 @@ use codec::DecodeAll; use core::slice::Iter; use pezframe_support::{ensure, BoundedVec}; -use snowbridge_core::{AgentIdOf, TokenId, TokenIdOf}; +use pezsnowbridge_core::{AgentIdOf, TokenId, TokenIdOf}; use crate::v2::{ message::{Command, Message}, diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs index 340cbec2..8ad0caa3 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs @@ -14,7 +14,7 @@ use pezframe_support::{ ensure, traits::{Contains, Get, ProcessMessageError}, }; -use snowbridge_core::{ParaId, TokenId}; +use pezsnowbridge_core::{ParaId, TokenId}; use pezsp_runtime::traits::MaybeConvert; use pezsp_std::{marker::PhantomData, ops::ControlFlow, prelude::*}; use xcm::prelude::*; @@ -122,7 +122,7 @@ where // messages. We use the presence of an `AliasOrigin` instruction to distinguish between // Snowbridge V2 and Snowbridge V1 messages, since XCM V5 came after Snowbridge V1 and // so it's not supported in Snowbridge V1. Snowbridge V1 messages are processed by the - // snowbridge-outbound-queue-primitives v1 exporter. + // pezsnowbridge-outbound-queue-primitives v1 exporter. let mut instructions = message.clone().0; let result = instructions.matcher().match_next_inst_while( |_| true, diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs index 87dc3765..b4c37deb 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs @@ -5,7 +5,7 @@ use crate::{ }; use pezframe_support::{parameter_types, BoundedVec}; use hex_literal::hex; -use snowbridge_core::{AgentIdOf, TokenIdOf}; +use pezsnowbridge_core::{AgentIdOf, TokenIdOf}; use pezsp_core::H256; use pezsp_std::default::Default; use xcm::{latest::ZAGROS_GENESIS_HASH, prelude::SendError as XcmSendError}; diff --git a/bridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs b/bridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs index e3fcbd83..08539347 100644 --- a/bridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs +++ b/bridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs @@ -1,7 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork use core::marker::PhantomData; -use snowbridge_core::operating_mode::ExportPausedQuery; +use pezsnowbridge_core::operating_mode::ExportPausedQuery; use pezsp_std::vec::Vec; use xcm::{ prelude::{Location, SendError, SendResult, SendXcm, Xcm, XcmHash}, diff --git a/bridges/snowbridge/primitives/verification/Cargo.toml b/bridges/snowbridge/primitives/verification/Cargo.toml index 7d71ee34..e5c9563b 100644 --- a/bridges/snowbridge/primitives/verification/Cargo.toml +++ b/bridges/snowbridge/primitives/verification/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-verification-primitives" +name = "pezsnowbridge-verification-primitives" description = "Snowbridge Verification Primitives" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-verification-primitives" +documentation = "https://docs.rs/pezsnowbridge-verification-primitives" homepage = { workspace = true } [lints] @@ -20,7 +20,7 @@ exclude-from-umbrella = true codec = { workspace = true } pezframe-support = { workspace = true } scale-info = { features = ["derive"], workspace = true } -snowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } pezsp-core = { workspace = true } pezsp-std = { workspace = true } @@ -30,11 +30,11 @@ std = [ "codec/std", "pezframe-support/std", "scale-info/std", - "snowbridge-beacon-primitives/std", + "pezsnowbridge-beacon-primitives/std", "pezsp-core/std", "pezsp-std/std", ] runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", ] diff --git a/bridges/snowbridge/primitives/verification/src/lib.rs b/bridges/snowbridge/primitives/verification/src/lib.rs index 06d45ec9..0f013c3b 100644 --- a/bridges/snowbridge/primitives/verification/src/lib.rs +++ b/bridges/snowbridge/primitives/verification/src/lib.rs @@ -5,7 +5,7 @@ use codec::{Decode, DecodeWithMemTracking, Encode}; use pezframe_support::PalletError; use scale_info::TypeInfo; -use snowbridge_beacon_primitives::{BeaconHeader, ExecutionProof}; +use pezsnowbridge_beacon_primitives::{BeaconHeader, ExecutionProof}; use pezsp_core::{RuntimeDebug, H160, H256}; use pezsp_std::prelude::*; diff --git a/bridges/snowbridge/runtime/runtime-common/Cargo.toml b/bridges/snowbridge/runtime/runtime-common/Cargo.toml index 316a6904..955fa0cb 100644 --- a/bridges/snowbridge/runtime/runtime-common/Cargo.toml +++ b/bridges/snowbridge/runtime/runtime-common/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-runtime-common" +name = "snowpezbridge-runtime-common" description = "Snowbridge Runtime Common" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-runtime-common" +documentation = "https://docs.rs/snowpezbridge-runtime-common" homepage = { workspace = true } [lints] diff --git a/bridges/snowbridge/runtime/test-common/Cargo.toml b/bridges/snowbridge/runtime/test-common/Cargo.toml index 2f80d508..4f4b44a4 100644 --- a/bridges/snowbridge/runtime/test-common/Cargo.toml +++ b/bridges/snowbridge/runtime/test-common/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-runtime-test-common" +name = "pezsnowbridge-runtime-test-common" description = "Snowbridge Runtime Tests" version = "0.2.0" authors = ["Snowfork "] @@ -8,7 +8,7 @@ license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/snowbridge-runtime-test-common" +documentation = "https://docs.rs/pezsnowbridge-runtime-test-common" [lints] workspace = true @@ -44,7 +44,7 @@ teyrchain-info = { workspace = true } teyrchains-runtimes-test-utils = { workspace = true } # Ethereum Bridge (Snowbridge) -snowbridge-core = { workspace = true } +pezsnowbridge-core = { workspace = true } snowbridge-pezpallet-ethereum-client = { workspace = true } snowbridge-pezpallet-ethereum-client-fixtures = { workspace = true } snowbridge-pezpallet-outbound-queue = { workspace = true } @@ -64,7 +64,7 @@ std = [ "pezpallet-timestamp/std", "pezpallet-utility/std", "pezpallet-xcm/std", - "snowbridge-core/std", + "pezsnowbridge-core/std", "snowbridge-pezpallet-ethereum-client-fixtures/std", "snowbridge-pezpallet-ethereum-client/std", "snowbridge-pezpallet-outbound-queue/std", @@ -90,7 +90,7 @@ runtime-benchmarks = [ "pezpallet-timestamp/runtime-benchmarks", "pezpallet-utility/runtime-benchmarks", "pezpallet-xcm/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client-fixtures/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client/runtime-benchmarks", "snowbridge-pezpallet-outbound-queue/runtime-benchmarks", diff --git a/bridges/snowbridge/runtime/test-common/src/lib.rs b/bridges/snowbridge/runtime/test-common/src/lib.rs index 634d3861..cf885e65 100644 --- a/bridges/snowbridge/runtime/test-common/src/lib.rs +++ b/bridges/snowbridge/runtime/test-common/src/lib.rs @@ -7,8 +7,8 @@ use pezframe_support::{ traits::{fungible::Mutate, OnFinalize, OnInitialize}, }; use pezframe_system::pezpallet_prelude::BlockNumberFor; -use snowbridge_core::{ChannelId, ParaId}; -use snowbridge_pallet_ethereum_client_fixtures::*; +use pezsnowbridge_core::{ChannelId, ParaId}; +use snowbridge_pezpallet_ethereum_client_fixtures::*; use pezsp_core::{Get, H160, U256}; use pezsp_keyring::Sr25519Keyring::*; use pezsp_runtime::{traits::Header, AccountId32, DigestItem, SaturatedConversion, Saturating}; @@ -27,7 +27,7 @@ where { // fund asset hub sovereign account enough so it can pay fees let asset_hub_sovereign_account = - snowbridge_core::sibling_sovereign_account::(assethub_teyrchain_id.into()); + pezsnowbridge_core::sibling_sovereign_account::(assethub_teyrchain_id.into()); >::mint_into( &asset_hub_sovereign_account, initial_amount.saturated_into::>(), @@ -49,8 +49,8 @@ where + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + pezpallet_timestamp::Config, XcmConfig: xcm_executor::Config, { @@ -111,8 +111,8 @@ pub fn send_transfer_token_message_success( weth_contract_address: H160, destination_address: H160, fee_amount: u128, - snowbridge_pallet_outbound_queue: Box< - dyn Fn(Vec) -> Option>, + snowbridge_pezpallet_outbound_queue: Box< + dyn Fn(Vec) -> Option>, >, ) where Runtime: pezframe_system::Config @@ -122,9 +122,9 @@ pub fn send_transfer_token_message_success( + teyrchain_info::Config + pezpallet_collator_selection::Config + pezpallet_message_queue::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + pezpallet_timestamp::Config, XcmConfig: xcm_executor::Config, ValidatorIdOf: From>, @@ -137,7 +137,7 @@ pub fn send_transfer_token_message_success( .with_tracing() .build() .execute_with(|| { - >::initialize( + >::initialize( runtime_para_id.into(), assethub_teyrchain_id.into(), ) @@ -159,10 +159,10 @@ pub fn send_transfer_token_message_success( // check events let mut events = >::events() .into_iter() - .filter_map(|e| snowbridge_pallet_outbound_queue(e.event.encode())); + .filter_map(|e| snowbridge_pezpallet_outbound_queue(e.event.encode())); assert!(events.any(|e| matches!( e, - snowbridge_pallet_outbound_queue::Event::MessageQueued { .. } + snowbridge_pezpallet_outbound_queue::Event::MessageQueued { .. } ))); let block_number = >::block_number(); @@ -171,24 +171,24 @@ pub fn send_transfer_token_message_success( // finish current block >::on_finalize(block_number); - >::on_finalize(block_number); + >::on_finalize(block_number); >::on_finalize(block_number); // start next block >::set_block_number(next_block_number); >::on_initialize(next_block_number); - >::on_initialize(next_block_number); + >::on_initialize(next_block_number); >::on_initialize(next_block_number); // finish next block >::on_finalize(next_block_number); - >::on_finalize(next_block_number); + >::on_finalize(next_block_number); let included_head = >::finalize(); let origin: ParaId = assethub_teyrchain_id.into(); let channel_id: ChannelId = origin.into(); - let nonce = snowbridge_pallet_outbound_queue::Nonce::::try_get(channel_id); + let nonce = snowbridge_pezpallet_outbound_queue::Nonce::::try_get(channel_id); assert_ok!(nonce); assert_eq!(nonce.unwrap(), 1); @@ -211,8 +211,8 @@ pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works< weth_contract_address: H160, destination_address: H160, fee_amount: u128, - snowbridge_pallet_outbound_queue: Box< - dyn Fn(Vec) -> Option>, + snowbridge_pezpallet_outbound_queue: Box< + dyn Fn(Vec) -> Option>, >, ) where Runtime: pezframe_system::Config @@ -222,9 +222,9 @@ pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works< + teyrchain_info::Config + pezpallet_collator_selection::Config + pezpallet_message_queue::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + pezpallet_timestamp::Config, XcmConfig: xcm_executor::Config, AllPalletsWithoutSystem: @@ -239,7 +239,7 @@ pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works< .with_tracing() .build() .execute_with(|| { - >::initialize( + >::initialize( runtime_para_id.into(), assethub_teyrchain_id.into(), ) @@ -261,10 +261,10 @@ pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works< // check events let mut events = >::events() .into_iter() - .filter_map(|e| snowbridge_pallet_outbound_queue(e.event.encode())); + .filter_map(|e| snowbridge_pezpallet_outbound_queue(e.event.encode())); assert!(events.any(|e| matches!( e, - snowbridge_pallet_outbound_queue::Event::MessageQueued { .. } + snowbridge_pezpallet_outbound_queue::Event::MessageQueued { .. } ))); let next_block_number: U256 = >::block_number() @@ -304,9 +304,9 @@ pub fn send_unpaid_transfer_token_message( + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + pezpallet_timestamp::Config, XcmConfig: xcm_executor::Config, ValidatorIdOf: From>, @@ -320,7 +320,7 @@ pub fn send_unpaid_transfer_token_message( .with_tracing() .build() .execute_with(|| { - >::initialize( + >::initialize( runtime_para_id.into(), assethub_teyrchain_id.into(), ) @@ -390,9 +390,9 @@ pub fn send_transfer_token_message_failure( + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + pezpallet_timestamp::Config, XcmConfig: xcm_executor::Config, ValidatorIdOf: From>, @@ -404,7 +404,7 @@ pub fn send_transfer_token_message_failure( .with_tracing() .build() .execute_with(|| { - >::initialize( + >::initialize( runtime_para_id.into(), assethub_teyrchain_id.into(), ) @@ -442,14 +442,14 @@ pub fn ethereum_extrinsic( + pezpallet_utility::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config - + snowbridge_pallet_ethereum_client::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + + snowbridge_pezpallet_ethereum_client::Config + pezpallet_timestamp::Config, ValidatorIdOf: From>, ::RuntimeCall: - From>, + From>, ::RuntimeCall: From>, AccountIdOf: From, { @@ -478,7 +478,7 @@ pub fn ethereum_extrinsic( let balance_before = >::free_balance(&alice_account.clone().into()); - assert_ok!(>::force_checkpoint( + assert_ok!(>::force_checkpoint( RuntimeHelper::::root_origin(), initial_checkpoint.clone(), )); @@ -486,25 +486,25 @@ pub fn ethereum_extrinsic( >::free_balance(&alice_account.clone().into()); let update_call: ::RuntimeCall = - snowbridge_pallet_ethereum_client::Call::::submit { + snowbridge_pezpallet_ethereum_client::Call::::submit { update: Box::new(*update.clone()), } .into(); let invalid_update_call: ::RuntimeCall = - snowbridge_pallet_ethereum_client::Call::::submit { + snowbridge_pezpallet_ethereum_client::Call::::submit { update: Box::new(*invalid_update), } .into(); let update_sync_committee_call: ::RuntimeCall = - snowbridge_pallet_ethereum_client::Call::::submit { + snowbridge_pezpallet_ethereum_client::Call::::submit { update: Box::new(*sync_committee_update), } .into(); let invalid_update_sync_committee_call: ::RuntimeCall = - snowbridge_pallet_ethereum_client::Call::::submit { + snowbridge_pezpallet_ethereum_client::Call::::submit { update: Box::new(*invalid_sync_committee_update), } .into(); @@ -523,7 +523,7 @@ pub fn ethereum_extrinsic( construct_and_apply_extrinsic(alice, invalid_update_call.into()); assert_err!( invalid_update_outcome, - snowbridge_pallet_ethereum_client::Error::::InvalidUpdateSlot + snowbridge_pezpallet_ethereum_client::Error::::InvalidUpdateSlot ); let balance_after_invalid_update = >::free_balance(&alice_account.clone().into()); @@ -540,7 +540,7 @@ pub fn ethereum_extrinsic( construct_and_apply_extrinsic(alice, invalid_update_sync_committee_call.into()); assert_err!( invalid_sync_committee_outcome, - snowbridge_pallet_ethereum_client::Error::::InvalidUpdateSlot + snowbridge_pezpallet_ethereum_client::Error::::InvalidUpdateSlot ); let balance_after_invalid_sync_com_update = >::free_balance(&alice_account.clone().into()); @@ -549,7 +549,7 @@ pub fn ethereum_extrinsic( // Checkpoint is a free operation assert!(balance_before == balance_after_checkpoint); let gap = - ::FreeHeadersInterval::get(); + ::FreeHeadersInterval::get(); // Large enough header gap is free if update.finalized_header.slot >= initial_checkpoint.header.slot + gap as u64 { assert!(balance_after_checkpoint == balance_after_update); @@ -581,14 +581,14 @@ pub fn ethereum_to_pezkuwi_message_extrinsics_work( + pezpallet_utility::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + snowbridge_pallet_outbound_queue::Config - + snowbridge_pallet_system::Config - + snowbridge_pallet_ethereum_client::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + snowbridge_pezpallet_outbound_queue::Config + + snowbridge_pezpallet_system::Config + + snowbridge_pezpallet_ethereum_client::Config + pezpallet_timestamp::Config, ValidatorIdOf: From>, ::RuntimeCall: - From>, + From>, ::RuntimeCall: From>, AccountIdOf: From, { @@ -610,13 +610,13 @@ pub fn ethereum_to_pezkuwi_message_extrinsics_work( ) .unwrap(); - assert_ok!(>::force_checkpoint( + assert_ok!(>::force_checkpoint( RuntimeHelper::::root_origin(), initial_checkpoint, )); let update_sync_committee_call: ::RuntimeCall = - snowbridge_pallet_ethereum_client::Call::::submit { + snowbridge_pezpallet_ethereum_client::Call::::submit { update: Box::new(*sync_committee_update), } .into(); diff --git a/bridges/snowbridge/test-utils/Cargo.toml b/bridges/snowbridge/test-utils/Cargo.toml index 7ab41d9f..88215879 100644 --- a/bridges/snowbridge/test-utils/Cargo.toml +++ b/bridges/snowbridge/test-utils/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowbridge-test-utils" +name = "pezsnowbridge-test-utils" description = "Snowbridge test utilities" version = "0.1.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowbridge-test-utils" +documentation = "https://docs.rs/pezsnowbridge-test-utils" homepage = { workspace = true } [lints] @@ -26,8 +26,8 @@ pezpallet-asset-conversion = { workspace = true, default-features = true } scale-info = { features = [ "derive", ], workspace = true, default-features = true } -snowbridge-core = { workspace = true, default-features = true } -snowbridge-outbound-queue-primitives = { workspace = true, default-features = true } +pezsnowbridge-core = { workspace = true, default-features = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true, default-features = true } pezsp-core = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } @@ -40,8 +40,8 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "pezpallet-asset-conversion/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm/runtime-benchmarks", diff --git a/bridges/snowbridge/test-utils/src/mock_converter.rs b/bridges/snowbridge/test-utils/src/mock_converter.rs index b95c4f00..fc4d1a88 100644 --- a/bridges/snowbridge/test-utils/src/mock_converter.rs +++ b/bridges/snowbridge/test-utils/src/mock_converter.rs @@ -3,7 +3,7 @@ use codec::Encode; use pezframe_support::pezsp_runtime::traits::MaybeConvert; -use snowbridge_core::TokenIdOf; +use pezsnowbridge_core::TokenIdOf; use pezsp_core::H256; use std::{cell::RefCell, collections::HashMap}; use xcm::{ diff --git a/bridges/snowbridge/test-utils/src/mock_inbound_queue.rs b/bridges/snowbridge/test-utils/src/mock_inbound_queue.rs index 08be05b5..0ee0e6f5 100644 --- a/bridges/snowbridge/test-utils/src/mock_inbound_queue.rs +++ b/bridges/snowbridge/test-utils/src/mock_inbound_queue.rs @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork use crate::FAILING_NONCE; -use snowbridge_core::reward::{AddTip, AddTipError}; +use pezsnowbridge_core::reward::{AddTip, AddTipError}; pub struct MockOkInboundQueue; diff --git a/bridges/snowbridge/test-utils/src/mock_outbound_queue.rs b/bridges/snowbridge/test-utils/src/mock_outbound_queue.rs index 236796e0..80136e52 100644 --- a/bridges/snowbridge/test-utils/src/mock_outbound_queue.rs +++ b/bridges/snowbridge/test-utils/src/mock_outbound_queue.rs @@ -2,8 +2,8 @@ // SPDX-FileCopyrightText: 2023 Snowfork use crate::FAILING_NONCE; -use snowbridge_core::reward::{AddTip, AddTipError}; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_core::reward::{AddTip, AddTipError}; +use pezsnowbridge_outbound_queue_primitives::{ v1::{Fee, Message as MessageV1, SendMessage as SendMessageV1}, v2::{Message, SendMessage}, SendMessageFeeProvider, @@ -16,11 +16,11 @@ impl SendMessage for MockOkOutboundQueue { fn validate( _: &Message, - ) -> Result { + ) -> Result { Ok(()) } - fn deliver(_: Self::Ticket) -> Result { + fn deliver(_: Self::Ticket) -> Result { Ok(H256::zero()) } } @@ -50,12 +50,12 @@ impl SendMessageV1 for MockOkOutboundQueueV1 { _: &MessageV1, ) -> Result< (Self::Ticket, Fee<::Balance>), - snowbridge_outbound_queue_primitives::SendError, + pezsnowbridge_outbound_queue_primitives::SendError, > { Ok(((), Fee::from((0, 0)))) } - fn deliver(_: Self::Ticket) -> Result { + fn deliver(_: Self::Ticket) -> Result { Ok(H256::zero()) } } diff --git a/crate_placeholders/bp-asset-hub-pezkuwichain/Cargo.toml b/crate_placeholders/bp-asset-hub-pezkuwichain/Cargo.toml index 3f763039..f4a8c4ed 100644 --- a/crate_placeholders/bp-asset-hub-pezkuwichain/Cargo.toml +++ b/crate_placeholders/bp-asset-hub-pezkuwichain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-asset-hub-zagros/Cargo.toml b/crate_placeholders/bp-asset-hub-zagros/Cargo.toml index 74713f7c..c684f41c 100644 --- a/crate_placeholders/bp-asset-hub-zagros/Cargo.toml +++ b/crate_placeholders/bp-asset-hub-zagros/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-bridge-hub-pezcumulus/Cargo.toml b/crate_placeholders/bp-bridge-hub-pezcumulus/Cargo.toml index df642310..7fd1027f 100644 --- a/crate_placeholders/bp-bridge-hub-pezcumulus/Cargo.toml +++ b/crate_placeholders/bp-bridge-hub-pezcumulus/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-bridge-hub-pezkuwichain/Cargo.toml b/crate_placeholders/bp-bridge-hub-pezkuwichain/Cargo.toml index dd8f6a8f..b4cba07e 100644 --- a/crate_placeholders/bp-bridge-hub-pezkuwichain/Cargo.toml +++ b/crate_placeholders/bp-bridge-hub-pezkuwichain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-bridge-hub-zagros/Cargo.toml b/crate_placeholders/bp-bridge-hub-zagros/Cargo.toml index 82b5a4e6..7cf12a5d 100644 --- a/crate_placeholders/bp-bridge-hub-zagros/Cargo.toml +++ b/crate_placeholders/bp-bridge-hub-zagros/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-header-pez-chain/Cargo.toml b/crate_placeholders/bp-header-pez-chain/Cargo.toml index 0c811041..5cfe647c 100644 --- a/crate_placeholders/bp-header-pez-chain/Cargo.toml +++ b/crate_placeholders/bp-header-pez-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pez-messages/Cargo.toml b/crate_placeholders/bp-pez-messages/Cargo.toml index 0e37aec1..cc33a217 100644 --- a/crate_placeholders/bp-pez-messages/Cargo.toml +++ b/crate_placeholders/bp-pez-messages/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pez-relayers/Cargo.toml b/crate_placeholders/bp-pez-relayers/Cargo.toml index aaccc451..e0491a82 100644 --- a/crate_placeholders/bp-pez-relayers/Cargo.toml +++ b/crate_placeholders/bp-pez-relayers/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pezbeefy/Cargo.toml b/crate_placeholders/bp-pezbeefy/Cargo.toml index bc95f2e1..31335117 100644 --- a/crate_placeholders/bp-pezbeefy/Cargo.toml +++ b/crate_placeholders/bp-pezbeefy/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pezkuwi-bulletin/Cargo.toml b/crate_placeholders/bp-pezkuwi-bulletin/Cargo.toml index 8a5fa5ab..639a5498 100644 --- a/crate_placeholders/bp-pezkuwi-bulletin/Cargo.toml +++ b/crate_placeholders/bp-pezkuwi-bulletin/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pezkuwi-core/Cargo.toml b/crate_placeholders/bp-pezkuwi-core/Cargo.toml index 03701cb5..a43e8bea 100644 --- a/crate_placeholders/bp-pezkuwi-core/Cargo.toml +++ b/crate_placeholders/bp-pezkuwi-core/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-pezkuwichain/Cargo.toml b/crate_placeholders/bp-pezkuwichain/Cargo.toml index d2509cf6..557517dd 100644 --- a/crate_placeholders/bp-pezkuwichain/Cargo.toml +++ b/crate_placeholders/bp-pezkuwichain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-test-pezutils/Cargo.toml b/crate_placeholders/bp-test-pezutils/Cargo.toml index 3d92f074..bb0ece81 100644 --- a/crate_placeholders/bp-test-pezutils/Cargo.toml +++ b/crate_placeholders/bp-test-pezutils/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-teyrchains/Cargo.toml b/crate_placeholders/bp-teyrchains/Cargo.toml index ef548462..f3e45516 100644 --- a/crate_placeholders/bp-teyrchains/Cargo.toml +++ b/crate_placeholders/bp-teyrchains/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-xcm-pezbridge-hub-router/Cargo.toml b/crate_placeholders/bp-xcm-pezbridge-hub-router/Cargo.toml index 96c96b83..723dbefa 100644 --- a/crate_placeholders/bp-xcm-pezbridge-hub-router/Cargo.toml +++ b/crate_placeholders/bp-xcm-pezbridge-hub-router/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-xcm-pezbridge-hub/Cargo.toml b/crate_placeholders/bp-xcm-pezbridge-hub/Cargo.toml index 0669292c..02ae35bf 100644 --- a/crate_placeholders/bp-xcm-pezbridge-hub/Cargo.toml +++ b/crate_placeholders/bp-xcm-pezbridge-hub/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/bp-zagros/Cargo.toml b/crate_placeholders/bp-zagros/Cargo.toml index b5c863e0..a7c7c9a7 100644 --- a/crate_placeholders/bp-zagros/Cargo.toml +++ b/crate_placeholders/bp-zagros/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/collectives-zagros-runtime/Cargo.toml b/crate_placeholders/collectives-zagros-runtime/Cargo.toml index 1a6d5dc9..0a82477c 100644 --- a/crate_placeholders/collectives-zagros-runtime/Cargo.toml +++ b/crate_placeholders/collectives-zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-pezkuwichain-emulated-chain/Cargo.toml b/crate_placeholders/coretime-pezkuwichain-emulated-chain/Cargo.toml index d35861be..a03acd70 100644 --- a/crate_placeholders/coretime-pezkuwichain-emulated-chain/Cargo.toml +++ b/crate_placeholders/coretime-pezkuwichain-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-pezkuwichain-integration-tests/Cargo.toml b/crate_placeholders/coretime-pezkuwichain-integration-tests/Cargo.toml index 30d70a12..0b8a5ba4 100644 --- a/crate_placeholders/coretime-pezkuwichain-integration-tests/Cargo.toml +++ b/crate_placeholders/coretime-pezkuwichain-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-pezkuwichain-runtime/Cargo.toml b/crate_placeholders/coretime-pezkuwichain-runtime/Cargo.toml index 2e4a35f9..685bcf12 100644 --- a/crate_placeholders/coretime-pezkuwichain-runtime/Cargo.toml +++ b/crate_placeholders/coretime-pezkuwichain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-zagros-emulated-chain/Cargo.toml b/crate_placeholders/coretime-zagros-emulated-chain/Cargo.toml index b0c63780..784d5895 100644 --- a/crate_placeholders/coretime-zagros-emulated-chain/Cargo.toml +++ b/crate_placeholders/coretime-zagros-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-zagros-integration-tests/Cargo.toml b/crate_placeholders/coretime-zagros-integration-tests/Cargo.toml index 603839a0..1e385c76 100644 --- a/crate_placeholders/coretime-zagros-integration-tests/Cargo.toml +++ b/crate_placeholders/coretime-zagros-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/coretime-zagros-runtime/Cargo.toml b/crate_placeholders/coretime-zagros-runtime/Cargo.toml index b3736ed5..047f3f1e 100644 --- a/crate_placeholders/coretime-zagros-runtime/Cargo.toml +++ b/crate_placeholders/coretime-zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/emulated-integration-tests-common/Cargo.toml b/crate_placeholders/emulated-integration-tests-common/Cargo.toml index 1006683a..7e01f052 100644 --- a/crate_placeholders/emulated-integration-tests-common/Cargo.toml +++ b/crate_placeholders/emulated-integration-tests-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/glutton-zagros-runtime/Cargo.toml b/crate_placeholders/glutton-zagros-runtime/Cargo.toml index 893c4e3d..537629bd 100644 --- a/crate_placeholders/glutton-zagros-runtime/Cargo.toml +++ b/crate_placeholders/glutton-zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/governance-zagros-integration-tests/Cargo.toml b/crate_placeholders/governance-zagros-integration-tests/Cargo.toml index afbe5750..3122958f 100644 --- a/crate_placeholders/governance-zagros-integration-tests/Cargo.toml +++ b/crate_placeholders/governance-zagros-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-pezkuwichain-emulated-chain/Cargo.toml b/crate_placeholders/people-pezkuwichain-emulated-chain/Cargo.toml index 1becd07c..97d1a9dc 100644 --- a/crate_placeholders/people-pezkuwichain-emulated-chain/Cargo.toml +++ b/crate_placeholders/people-pezkuwichain-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-pezkuwichain-integration-tests/Cargo.toml b/crate_placeholders/people-pezkuwichain-integration-tests/Cargo.toml index d4c2447a..dfe2cd54 100644 --- a/crate_placeholders/people-pezkuwichain-integration-tests/Cargo.toml +++ b/crate_placeholders/people-pezkuwichain-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-pezkuwichain-runtime/Cargo.toml b/crate_placeholders/people-pezkuwichain-runtime/Cargo.toml index 52a4369d..03ef55fd 100644 --- a/crate_placeholders/people-pezkuwichain-runtime/Cargo.toml +++ b/crate_placeholders/people-pezkuwichain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-zagros-emulated-chain/Cargo.toml b/crate_placeholders/people-zagros-emulated-chain/Cargo.toml index 77f3c522..e883cb04 100644 --- a/crate_placeholders/people-zagros-emulated-chain/Cargo.toml +++ b/crate_placeholders/people-zagros-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-zagros-integration-tests/Cargo.toml b/crate_placeholders/people-zagros-integration-tests/Cargo.toml index 028014ea..d1f01335 100644 --- a/crate_placeholders/people-zagros-integration-tests/Cargo.toml +++ b/crate_placeholders/people-zagros-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/people-zagros-runtime/Cargo.toml b/crate_placeholders/people-zagros-runtime/Cargo.toml index c0993ce3..ecaf2823 100644 --- a/crate_placeholders/people-zagros-runtime/Cargo.toml +++ b/crate_placeholders/people-zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-equivocation-detector/Cargo.toml b/crate_placeholders/pez-equivocation-detector/Cargo.toml index 6843aa8b..93f9af09 100644 --- a/crate_placeholders/pez-equivocation-detector/Cargo.toml +++ b/crate_placeholders/pez-equivocation-detector/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-erasure-coding-fuzzer/Cargo.toml b/crate_placeholders/pez-erasure-coding-fuzzer/Cargo.toml index ef9505e2..bae274f3 100644 --- a/crate_placeholders/pez-erasure-coding-fuzzer/Cargo.toml +++ b/crate_placeholders/pez-erasure-coding-fuzzer/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-ethereum-standards/Cargo.toml b/crate_placeholders/pez-ethereum-standards/Cargo.toml index 8548919c..125013b6 100644 --- a/crate_placeholders/pez-ethereum-standards/Cargo.toml +++ b/crate_placeholders/pez-ethereum-standards/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-finality-relay/Cargo.toml b/crate_placeholders/pez-finality-relay/Cargo.toml index fee91875..b7f024b4 100644 --- a/crate_placeholders/pez-finality-relay/Cargo.toml +++ b/crate_placeholders/pez-finality-relay/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-fork-tree/Cargo.toml b/crate_placeholders/pez-fork-tree/Cargo.toml index 56392d74..da2c1afc 100644 --- a/crate_placeholders/pez-fork-tree/Cargo.toml +++ b/crate_placeholders/pez-fork-tree/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-generate-bags/Cargo.toml b/crate_placeholders/pez-generate-bags/Cargo.toml index 7b4e3b79..543613db 100644 --- a/crate_placeholders/pez-generate-bags/Cargo.toml +++ b/crate_placeholders/pez-generate-bags/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-kitchensink-runtime/Cargo.toml b/crate_placeholders/pez-kitchensink-runtime/Cargo.toml index b6b645b1..c7cf05b3 100644 --- a/crate_placeholders/pez-kitchensink-runtime/Cargo.toml +++ b/crate_placeholders/pez-kitchensink-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-messages-relay/Cargo.toml b/crate_placeholders/pez-messages-relay/Cargo.toml index 10056598..4b79bab7 100644 --- a/crate_placeholders/pez-messages-relay/Cargo.toml +++ b/crate_placeholders/pez-messages-relay/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-minimal-template-node/Cargo.toml b/crate_placeholders/pez-minimal-template-node/Cargo.toml index 4737cd53..46f2f5b9 100644 --- a/crate_placeholders/pez-minimal-template-node/Cargo.toml +++ b/crate_placeholders/pez-minimal-template-node/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-minimal-template-runtime/Cargo.toml b/crate_placeholders/pez-minimal-template-runtime/Cargo.toml index cac93e0a..8e2c542d 100644 --- a/crate_placeholders/pez-minimal-template-runtime/Cargo.toml +++ b/crate_placeholders/pez-minimal-template-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-bench/Cargo.toml b/crate_placeholders/pez-node-bench/Cargo.toml index 17127da8..887fa034 100644 --- a/crate_placeholders/pez-node-bench/Cargo.toml +++ b/crate_placeholders/pez-node-bench/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-primitives/Cargo.toml b/crate_placeholders/pez-node-primitives/Cargo.toml index d06b7fbe..7d82b0d1 100644 --- a/crate_placeholders/pez-node-primitives/Cargo.toml +++ b/crate_placeholders/pez-node-primitives/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-rpc/Cargo.toml b/crate_placeholders/pez-node-rpc/Cargo.toml index 01c3c571..c7d89b2f 100644 --- a/crate_placeholders/pez-node-rpc/Cargo.toml +++ b/crate_placeholders/pez-node-rpc/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-runtime-generate-bags/Cargo.toml b/crate_placeholders/pez-node-runtime-generate-bags/Cargo.toml index c47e8940..48f6053a 100644 --- a/crate_placeholders/pez-node-runtime-generate-bags/Cargo.toml +++ b/crate_placeholders/pez-node-runtime-generate-bags/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-template-release/Cargo.toml b/crate_placeholders/pez-node-template-release/Cargo.toml index 2d05994c..1293600c 100644 --- a/crate_placeholders/pez-node-template-release/Cargo.toml +++ b/crate_placeholders/pez-node-template-release/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-node-testing/Cargo.toml b/crate_placeholders/pez-node-testing/Cargo.toml index 77522274..35bd2d22 100644 --- a/crate_placeholders/pez-node-testing/Cargo.toml +++ b/crate_placeholders/pez-node-testing/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-penpal-emulated-chain/Cargo.toml b/crate_placeholders/pez-penpal-emulated-chain/Cargo.toml index 7cfda33d..a6966ac0 100644 --- a/crate_placeholders/pez-penpal-emulated-chain/Cargo.toml +++ b/crate_placeholders/pez-penpal-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-penpal-runtime/Cargo.toml b/crate_placeholders/pez-penpal-runtime/Cargo.toml index dbf3a64c..2ecab4e0 100644 --- a/crate_placeholders/pez-penpal-runtime/Cargo.toml +++ b/crate_placeholders/pez-penpal-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-remote-ext-tests-bags-list/Cargo.toml b/crate_placeholders/pez-remote-ext-tests-bags-list/Cargo.toml index f5cb2a8b..c9cd8c0a 100644 --- a/crate_placeholders/pez-remote-ext-tests-bags-list/Cargo.toml +++ b/crate_placeholders/pez-remote-ext-tests-bags-list/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-revive-dev-node/Cargo.toml b/crate_placeholders/pez-revive-dev-node/Cargo.toml index a2d55ef5..4fe48830 100644 --- a/crate_placeholders/pez-revive-dev-node/Cargo.toml +++ b/crate_placeholders/pez-revive-dev-node/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-revive-dev-runtime/Cargo.toml b/crate_placeholders/pez-revive-dev-runtime/Cargo.toml index 065a48eb..1931ba73 100644 --- a/crate_placeholders/pez-revive-dev-runtime/Cargo.toml +++ b/crate_placeholders/pez-revive-dev-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-slot-range-helper/Cargo.toml b/crate_placeholders/pez-slot-range-helper/Cargo.toml index c082bd61..7d32be39 100644 --- a/crate_placeholders/pez-slot-range-helper/Cargo.toml +++ b/crate_placeholders/pez-slot-range-helper/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-solochain-template-node/Cargo.toml b/crate_placeholders/pez-solochain-template-node/Cargo.toml index 80658e09..4d9509c9 100644 --- a/crate_placeholders/pez-solochain-template-node/Cargo.toml +++ b/crate_placeholders/pez-solochain-template-node/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-solochain-template-runtime/Cargo.toml b/crate_placeholders/pez-solochain-template-runtime/Cargo.toml index 3499095c..d56148a7 100644 --- a/crate_placeholders/pez-solochain-template-runtime/Cargo.toml +++ b/crate_placeholders/pez-solochain-template-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-subkey/Cargo.toml b/crate_placeholders/pez-subkey/Cargo.toml index 6b0227de..720f3c69 100644 --- a/crate_placeholders/pez-subkey/Cargo.toml +++ b/crate_placeholders/pez-subkey/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-template-zombienet-tests/Cargo.toml b/crate_placeholders/pez-template-zombienet-tests/Cargo.toml index 35a0c76e..23e40636 100644 --- a/crate_placeholders/pez-template-zombienet-tests/Cargo.toml +++ b/crate_placeholders/pez-template-zombienet-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-tracing-gum-proc-macro/Cargo.toml b/crate_placeholders/pez-tracing-gum-proc-macro/Cargo.toml index 8ab20ad5..0cc671e3 100644 --- a/crate_placeholders/pez-tracing-gum-proc-macro/Cargo.toml +++ b/crate_placeholders/pez-tracing-gum-proc-macro/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-tracing-gum/Cargo.toml b/crate_placeholders/pez-tracing-gum/Cargo.toml index 3715d844..5e923450 100644 --- a/crate_placeholders/pez-tracing-gum/Cargo.toml +++ b/crate_placeholders/pez-tracing-gum/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pez-zombienet-backchannel/Cargo.toml b/crate_placeholders/pez-zombienet-backchannel/Cargo.toml index 6e2f4b90..90319060 100644 --- a/crate_placeholders/pez-zombienet-backchannel/Cargo.toml +++ b/crate_placeholders/pez-zombienet-backchannel/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezassets-common/Cargo.toml b/crate_placeholders/pezassets-common/Cargo.toml index c64e077c..9d734947 100644 --- a/crate_placeholders/pezassets-common/Cargo.toml +++ b/crate_placeholders/pezassets-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbp-runtime/Cargo.toml b/crate_placeholders/pezbp-runtime/Cargo.toml index ffe4f802..df74c2d3 100644 --- a/crate_placeholders/pezbp-runtime/Cargo.toml +++ b/crate_placeholders/pezbp-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-common/Cargo.toml b/crate_placeholders/pezbridge-hub-common/Cargo.toml index 5c30e741..39e8d528 100644 --- a/crate_placeholders/pezbridge-hub-common/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-pezkuwichain-emulated-chain/Cargo.toml b/crate_placeholders/pezbridge-hub-pezkuwichain-emulated-chain/Cargo.toml index 2856939a..6e4dbcb9 100644 --- a/crate_placeholders/pezbridge-hub-pezkuwichain-emulated-chain/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-pezkuwichain-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-pezkuwichain-integration-tests/Cargo.toml b/crate_placeholders/pezbridge-hub-pezkuwichain-integration-tests/Cargo.toml index 025f19ef..ba0d7e4c 100644 --- a/crate_placeholders/pezbridge-hub-pezkuwichain-integration-tests/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-pezkuwichain-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-pezkuwichain-runtime/Cargo.toml b/crate_placeholders/pezbridge-hub-pezkuwichain-runtime/Cargo.toml index 2cfe3801..9c5afc37 100644 --- a/crate_placeholders/pezbridge-hub-pezkuwichain-runtime/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-pezkuwichain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-test-utils/Cargo.toml b/crate_placeholders/pezbridge-hub-test-utils/Cargo.toml index 05ed8bf9..f6175fed 100644 --- a/crate_placeholders/pezbridge-hub-test-utils/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-test-utils/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-zagros-emulated-chain/Cargo.toml b/crate_placeholders/pezbridge-hub-zagros-emulated-chain/Cargo.toml index 24db3941..138971be 100644 --- a/crate_placeholders/pezbridge-hub-zagros-emulated-chain/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-zagros-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-zagros-integration-tests/Cargo.toml b/crate_placeholders/pezbridge-hub-zagros-integration-tests/Cargo.toml index a1ece285..c66f48c2 100644 --- a/crate_placeholders/pezbridge-hub-zagros-integration-tests/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-zagros-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-hub-zagros-runtime/Cargo.toml b/crate_placeholders/pezbridge-hub-zagros-runtime/Cargo.toml index 356f1214..3a14e996 100644 --- a/crate_placeholders/pezbridge-hub-zagros-runtime/Cargo.toml +++ b/crate_placeholders/pezbridge-hub-zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezbridge-runtime-common/Cargo.toml b/crate_placeholders/pezbridge-runtime-common/Cargo.toml index b7baa82c..397a9b31 100644 --- a/crate_placeholders/pezbridge-runtime-common/Cargo.toml +++ b/crate_placeholders/pezbridge-runtime-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezframe-election-solution-type-fuzzer/Cargo.toml b/crate_placeholders/pezframe-election-solution-type-fuzzer/Cargo.toml index 5ab3ee0a..60dbe5d9 100644 --- a/crate_placeholders/pezframe-election-solution-type-fuzzer/Cargo.toml +++ b/crate_placeholders/pezframe-election-solution-type-fuzzer/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezframe-omni-bencher/Cargo.toml b/crate_placeholders/pezframe-omni-bencher/Cargo.toml index bc945cf1..da182cce 100644 --- a/crate_placeholders/pezframe-omni-bencher/Cargo.toml +++ b/crate_placeholders/pezframe-omni-bencher/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezframe-remote-externalities/Cargo.toml b/crate_placeholders/pezframe-remote-externalities/Cargo.toml index 397d3720..c48157ff 100644 --- a/crate_placeholders/pezframe-remote-externalities/Cargo.toml +++ b/crate_placeholders/pezframe-remote-externalities/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezframe-storage-access-test-runtime/Cargo.toml b/crate_placeholders/pezframe-storage-access-test-runtime/Cargo.toml index 10761dfd..4f0d5aef 100644 --- a/crate_placeholders/pezframe-storage-access-test-runtime/Cargo.toml +++ b/crate_placeholders/pezframe-storage-access-test-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwi/Cargo.toml b/crate_placeholders/pezkuwi/Cargo.toml index e72813ef..de0a5f1e 100644 --- a/crate_placeholders/pezkuwi/Cargo.toml +++ b/crate_placeholders/pezkuwi/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-emulated-chain/Cargo.toml b/crate_placeholders/pezkuwichain-emulated-chain/Cargo.toml index f29f1d7b..59700822 100644 --- a/crate_placeholders/pezkuwichain-emulated-chain/Cargo.toml +++ b/crate_placeholders/pezkuwichain-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-runtime-constants/Cargo.toml b/crate_placeholders/pezkuwichain-runtime-constants/Cargo.toml index 850e6a57..af4be79a 100644 --- a/crate_placeholders/pezkuwichain-runtime-constants/Cargo.toml +++ b/crate_placeholders/pezkuwichain-runtime-constants/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-runtime/Cargo.toml b/crate_placeholders/pezkuwichain-runtime/Cargo.toml index e821de58..2feb26a1 100644 --- a/crate_placeholders/pezkuwichain-runtime/Cargo.toml +++ b/crate_placeholders/pezkuwichain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-system-emulated-network/Cargo.toml b/crate_placeholders/pezkuwichain-system-emulated-network/Cargo.toml index c9ea05da..653ef138 100644 --- a/crate_placeholders/pezkuwichain-system-emulated-network/Cargo.toml +++ b/crate_placeholders/pezkuwichain-system-emulated-network/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-teyrchain-runtime/Cargo.toml b/crate_placeholders/pezkuwichain-teyrchain-runtime/Cargo.toml index 20d44a43..c62ed5e3 100644 --- a/crate_placeholders/pezkuwichain-teyrchain-runtime/Cargo.toml +++ b/crate_placeholders/pezkuwichain-teyrchain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezkuwichain-zagros-system-emulated-network/Cargo.toml b/crate_placeholders/pezkuwichain-zagros-system-emulated-network/Cargo.toml index b3134854..8c0b19c2 100644 --- a/crate_placeholders/pezkuwichain-zagros-system-emulated-network/Cargo.toml +++ b/crate_placeholders/pezkuwichain-zagros-system-emulated-network/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezmmr-gadget/Cargo.toml b/crate_placeholders/pezmmr-gadget/Cargo.toml index f74fbc44..d32648c2 100644 --- a/crate_placeholders/pezmmr-gadget/Cargo.toml +++ b/crate_placeholders/pezmmr-gadget/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezmmr-rpc/Cargo.toml b/crate_placeholders/pezmmr-rpc/Cargo.toml index 82a96cdf..aa31c07c 100644 --- a/crate_placeholders/pezmmr-rpc/Cargo.toml +++ b/crate_placeholders/pezmmr-rpc/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-beacon-primitives/Cargo.toml b/crate_placeholders/pezsnowbridge-beacon-primitives/Cargo.toml index f1cd34a2..c2f94754 100644 --- a/crate_placeholders/pezsnowbridge-beacon-primitives/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-beacon-primitives/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-core/Cargo.toml b/crate_placeholders/pezsnowbridge-core/Cargo.toml index 3d755a85..98461d8f 100644 --- a/crate_placeholders/pezsnowbridge-core/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-core/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-ethereum/Cargo.toml b/crate_placeholders/pezsnowbridge-ethereum/Cargo.toml index 98145610..c24e43e5 100644 --- a/crate_placeholders/pezsnowbridge-ethereum/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-ethereum/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-inbound-queue-primitives/Cargo.toml b/crate_placeholders/pezsnowbridge-inbound-queue-primitives/Cargo.toml index 29476944..4fca9e60 100644 --- a/crate_placeholders/pezsnowbridge-inbound-queue-primitives/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-inbound-queue-primitives/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-merkle-tree/Cargo.toml b/crate_placeholders/pezsnowbridge-merkle-tree/Cargo.toml index 7ba4a703..e2550dbf 100644 --- a/crate_placeholders/pezsnowbridge-merkle-tree/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-merkle-tree/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-outbound-queue-primitives/Cargo.toml b/crate_placeholders/pezsnowbridge-outbound-queue-primitives/Cargo.toml index 31f43dfe..3de79bf3 100644 --- a/crate_placeholders/pezsnowbridge-outbound-queue-primitives/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-outbound-queue-primitives/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-outbound-queue-runtime-api/Cargo.toml b/crate_placeholders/pezsnowbridge-outbound-queue-runtime-api/Cargo.toml index a9170b1d..9b74e117 100644 --- a/crate_placeholders/pezsnowbridge-outbound-queue-runtime-api/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-outbound-queue-runtime-api/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-outbound-queue-v2-runtime-api/Cargo.toml b/crate_placeholders/pezsnowbridge-outbound-queue-v2-runtime-api/Cargo.toml index 202ec6f5..6da424b1 100644 --- a/crate_placeholders/pezsnowbridge-outbound-queue-v2-runtime-api/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-outbound-queue-v2-runtime-api/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client-fixtures/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client-fixtures/Cargo.toml index fff6bd8c..6f2e0fea 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client-fixtures/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client-fixtures/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client/Cargo.toml index 2edbab2a..e3986c35 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-ethereum-client/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-fixtures/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-fixtures/Cargo.toml index 77957451..fe938640 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-fixtures/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-fixtures/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/Cargo.toml index 6b1ec83c..72782364 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2-fixtures/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2/Cargo.toml index d698edad..d8c5071b 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue-v2/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue/Cargo.toml index 8a209325..29b56fc3 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-inbound-queue/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue-v2/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue-v2/Cargo.toml index 189844ec..c97aa83b 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue-v2/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue-v2/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue/Cargo.toml index 4f122dd4..eea5aacd 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-outbound-queue/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-system-frontend/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-system-frontend/Cargo.toml index 8612144e..d5be8096 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-system-frontend/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-system-frontend/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-system-v2/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-system-v2/Cargo.toml index 092afd1d..426f0b48 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-system-v2/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-system-v2/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-pezpallet-system/Cargo.toml b/crate_placeholders/pezsnowbridge-pezpallet-system/Cargo.toml index e864c1d9..c5923b3e 100644 --- a/crate_placeholders/pezsnowbridge-pezpallet-system/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-pezpallet-system/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-runtime-common/Cargo.toml b/crate_placeholders/pezsnowbridge-runtime-common/Cargo.toml index bc9d8885..32768418 100644 --- a/crate_placeholders/pezsnowbridge-runtime-common/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-runtime-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-runtime-test-common/Cargo.toml b/crate_placeholders/pezsnowbridge-runtime-test-common/Cargo.toml index ada2b8a0..c2236694 100644 --- a/crate_placeholders/pezsnowbridge-runtime-test-common/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-runtime-test-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-system-runtime-api/Cargo.toml b/crate_placeholders/pezsnowbridge-system-runtime-api/Cargo.toml index 97fd0674..fbec4ea6 100644 --- a/crate_placeholders/pezsnowbridge-system-runtime-api/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-system-runtime-api/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-system-v2-runtime-api/Cargo.toml b/crate_placeholders/pezsnowbridge-system-v2-runtime-api/Cargo.toml index cd28db91..6789d4ef 100644 --- a/crate_placeholders/pezsnowbridge-system-v2-runtime-api/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-system-v2-runtime-api/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-test-utils/Cargo.toml b/crate_placeholders/pezsnowbridge-test-utils/Cargo.toml index 40a88c58..0d90c0bf 100644 --- a/crate_placeholders/pezsnowbridge-test-utils/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-test-utils/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/pezsnowbridge-verification-primitives/Cargo.toml b/crate_placeholders/pezsnowbridge-verification-primitives/Cargo.toml index 6f7b0b2e..81eb966e 100644 --- a/crate_placeholders/pezsnowbridge-verification-primitives/Cargo.toml +++ b/crate_placeholders/pezsnowbridge-verification-primitives/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/peztest-runtime-constants/Cargo.toml b/crate_placeholders/peztest-runtime-constants/Cargo.toml index d8de2bbb..135fce4e 100644 --- a/crate_placeholders/peztest-runtime-constants/Cargo.toml +++ b/crate_placeholders/peztest-runtime-constants/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/relay-bizinikiwi-client/Cargo.toml b/crate_placeholders/relay-bizinikiwi-client/Cargo.toml index 27d1ae05..b3339c49 100644 --- a/crate_placeholders/relay-bizinikiwi-client/Cargo.toml +++ b/crate_placeholders/relay-bizinikiwi-client/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/relay-pezutils/Cargo.toml b/crate_placeholders/relay-pezutils/Cargo.toml index a97d64fb..2d329287 100644 --- a/crate_placeholders/relay-pezutils/Cargo.toml +++ b/crate_placeholders/relay-pezutils/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/test-teyrchain-adder-collator/Cargo.toml b/crate_placeholders/test-teyrchain-adder-collator/Cargo.toml index 7a920912..4fc92f4d 100644 --- a/crate_placeholders/test-teyrchain-adder-collator/Cargo.toml +++ b/crate_placeholders/test-teyrchain-adder-collator/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/test-teyrchain-adder/Cargo.toml b/crate_placeholders/test-teyrchain-adder/Cargo.toml index 112796d2..5a63e146 100644 --- a/crate_placeholders/test-teyrchain-adder/Cargo.toml +++ b/crate_placeholders/test-teyrchain-adder/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/test-teyrchain-halt/Cargo.toml b/crate_placeholders/test-teyrchain-halt/Cargo.toml index 34ef3afc..9bb80c9f 100644 --- a/crate_placeholders/test-teyrchain-halt/Cargo.toml +++ b/crate_placeholders/test-teyrchain-halt/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/test-teyrchain-undying-collator/Cargo.toml b/crate_placeholders/test-teyrchain-undying-collator/Cargo.toml index 0a387f68..959c5f16 100644 --- a/crate_placeholders/test-teyrchain-undying-collator/Cargo.toml +++ b/crate_placeholders/test-teyrchain-undying-collator/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/test-teyrchain-undying/Cargo.toml b/crate_placeholders/test-teyrchain-undying/Cargo.toml index aa375576..4568d955 100644 --- a/crate_placeholders/test-teyrchain-undying/Cargo.toml +++ b/crate_placeholders/test-teyrchain-undying/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/testnet-teyrchains-constants/Cargo.toml b/crate_placeholders/testnet-teyrchains-constants/Cargo.toml index 2b19ceea..81799538 100644 --- a/crate_placeholders/testnet-teyrchains-constants/Cargo.toml +++ b/crate_placeholders/testnet-teyrchains-constants/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchain-template-node/Cargo.toml b/crate_placeholders/teyrchain-template-node/Cargo.toml index 70124553..35887c6d 100644 --- a/crate_placeholders/teyrchain-template-node/Cargo.toml +++ b/crate_placeholders/teyrchain-template-node/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchain-template-runtime/Cargo.toml b/crate_placeholders/teyrchain-template-runtime/Cargo.toml index 3022ff19..dbc0f737 100644 --- a/crate_placeholders/teyrchain-template-runtime/Cargo.toml +++ b/crate_placeholders/teyrchain-template-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchain-template/Cargo.toml b/crate_placeholders/teyrchain-template/Cargo.toml index e33ef150..05992d21 100644 --- a/crate_placeholders/teyrchain-template/Cargo.toml +++ b/crate_placeholders/teyrchain-template/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchains-common/Cargo.toml b/crate_placeholders/teyrchains-common/Cargo.toml index 71617bac..a0ebecdc 100644 --- a/crate_placeholders/teyrchains-common/Cargo.toml +++ b/crate_placeholders/teyrchains-common/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchains-relay/Cargo.toml b/crate_placeholders/teyrchains-relay/Cargo.toml index 1baf2d4d..81c32e15 100644 --- a/crate_placeholders/teyrchains-relay/Cargo.toml +++ b/crate_placeholders/teyrchains-relay/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/teyrchains-runtimes-test-utils/Cargo.toml b/crate_placeholders/teyrchains-runtimes-test-utils/Cargo.toml index 2a688853..784d6230 100644 --- a/crate_placeholders/teyrchains-runtimes-test-utils/Cargo.toml +++ b/crate_placeholders/teyrchains-runtimes-test-utils/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-docs/Cargo.toml b/crate_placeholders/xcm-pez-docs/Cargo.toml index adf3da25..9e9f0008 100644 --- a/crate_placeholders/xcm-pez-docs/Cargo.toml +++ b/crate_placeholders/xcm-pez-docs/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-emulator/Cargo.toml b/crate_placeholders/xcm-pez-emulator/Cargo.toml index d3d1774f..c06a7254 100644 --- a/crate_placeholders/xcm-pez-emulator/Cargo.toml +++ b/crate_placeholders/xcm-pez-emulator/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-executor-integration-tests/Cargo.toml b/crate_placeholders/xcm-pez-executor-integration-tests/Cargo.toml index 27a4a5fd..e020dca6 100644 --- a/crate_placeholders/xcm-pez-executor-integration-tests/Cargo.toml +++ b/crate_placeholders/xcm-pez-executor-integration-tests/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-procedural/Cargo.toml b/crate_placeholders/xcm-pez-procedural/Cargo.toml index d4040139..ae9a34cf 100644 --- a/crate_placeholders/xcm-pez-procedural/Cargo.toml +++ b/crate_placeholders/xcm-pez-procedural/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-simulator-example/Cargo.toml b/crate_placeholders/xcm-pez-simulator-example/Cargo.toml index 5c746965..ffae97d9 100644 --- a/crate_placeholders/xcm-pez-simulator-example/Cargo.toml +++ b/crate_placeholders/xcm-pez-simulator-example/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-simulator-fuzzer/Cargo.toml b/crate_placeholders/xcm-pez-simulator-fuzzer/Cargo.toml index 56c15675..38ff0b60 100644 --- a/crate_placeholders/xcm-pez-simulator-fuzzer/Cargo.toml +++ b/crate_placeholders/xcm-pez-simulator-fuzzer/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-pez-simulator/Cargo.toml b/crate_placeholders/xcm-pez-simulator/Cargo.toml index b0d2d3de..5cd0faa6 100644 --- a/crate_placeholders/xcm-pez-simulator/Cargo.toml +++ b/crate_placeholders/xcm-pez-simulator/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/xcm-runtime-pezapis/Cargo.toml b/crate_placeholders/xcm-runtime-pezapis/Cargo.toml index 2603a153..cb0a522e 100644 --- a/crate_placeholders/xcm-runtime-pezapis/Cargo.toml +++ b/crate_placeholders/xcm-runtime-pezapis/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/yet-another-teyrchain-runtime/Cargo.toml b/crate_placeholders/yet-another-teyrchain-runtime/Cargo.toml index a2b25881..36d45248 100644 --- a/crate_placeholders/yet-another-teyrchain-runtime/Cargo.toml +++ b/crate_placeholders/yet-another-teyrchain-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/zagros-emulated-chain/Cargo.toml b/crate_placeholders/zagros-emulated-chain/Cargo.toml index 58bcfef9..de15db0a 100644 --- a/crate_placeholders/zagros-emulated-chain/Cargo.toml +++ b/crate_placeholders/zagros-emulated-chain/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/zagros-runtime-constants/Cargo.toml b/crate_placeholders/zagros-runtime-constants/Cargo.toml index 99bf993f..63ee9bcf 100644 --- a/crate_placeholders/zagros-runtime-constants/Cargo.toml +++ b/crate_placeholders/zagros-runtime-constants/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/zagros-runtime/Cargo.toml b/crate_placeholders/zagros-runtime/Cargo.toml index 0f282567..899e5abd 100644 --- a/crate_placeholders/zagros-runtime/Cargo.toml +++ b/crate_placeholders/zagros-runtime/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/crate_placeholders/zagros-system-emulated-network/Cargo.toml b/crate_placeholders/zagros-system-emulated-network/Cargo.toml index 6fff8baa..c79be571 100644 --- a/crate_placeholders/zagros-system-emulated-network/Cargo.toml +++ b/crate_placeholders/zagros-system-emulated-network/Cargo.toml @@ -11,4 +11,6 @@ authors = ["Kurdistan Tech Institute "] keywords = ["pezkuwichain", "blockchain", "sdk"] categories = ["cryptography::cryptocurrencies"] +[workspace] + [dependencies] diff --git a/docs/RELEASE.md b/docs/RELEASE.md index d4c1ae37..9dc45dc9 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -86,7 +86,7 @@ The versioning of the Pezkuwi node is done most of the time by only incrementing version is only bumped for special releases and the `patch` is used for a patch release that happens every month and fixes found issues. The node version is not following SemVer. This means that the version doesn't express if there are any breaking changes in the CLI interface or similar. The node version is declared -in the [`NODE_VERSION`](https://docs.pezkuwichain.io/sdk/master/polkadot_node_primitives/constant.NODE_VERSION.html) +in the [`NODE_VERSION`](https://docs.pezkuwichain.io/sdk/master/polkadot_pez_node_primitives/constant.NODE_VERSION.html) variable. ## Zagros diff --git a/docs/runtimes-pallets.md b/docs/runtimes-pallets.md index 7917763e..0e63581e 100644 --- a/docs/runtimes-pallets.md +++ b/docs/runtimes-pallets.md @@ -241,7 +241,7 @@ - **CumulusXcm** (32) - cumulus_pallet_xcm - **ToPezkuwichainXcmRouter** (34) - pallet_xcm_bridge_hub_router:: - **MessageQueue** (35) - pallet_message_queue -- **SnowbridgeSystemFrontend** (36) - snowbridge_pallet_system_frontend +- **SnowbridgeSystemFrontend** (36) - snowbridge_pezpallet_system_frontend #### Utilities (Index 40-43) - **Utility** (40) - pallet_utility @@ -525,67 +525,67 @@ ## Custom Pallets Details ### 1. **pezpallet-pez-treasury** 💰 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/pez-treasury` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/pez-treasury` - **Runtime:** Asset Hub PezkuwiChain - **Purpose:** PEZ token treasury management and distribution - **Benchmarks:** ✅ Yes ### 2. **pezpallet-presale** 🎫 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/presale` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/presale` - **Runtime:** Asset Hub PezkuwiChain - **Purpose:** Token presale management - **Benchmarks:** ✅ Yes ### 3. **pezpallet-token-wrapper** 🔄 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/token-wrapper` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/token-wrapper` - **Runtime:** Asset Hub PezkuwiChain - **Purpose:** Token wrapping/unwrapping functionality - **Benchmarks:** ✅ Yes ### 4. **pezpallet-identity-kyc** 🆔 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/identity-kyc` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/identity-kyc` - **Runtime:** People PezkuwiChain - **Purpose:** Enhanced identity with KYC capabilities - **Benchmarks:** ✅ Yes ### 5. **pezpallet-referral** 🤝 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/referral` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/referral` - **Runtime:** People PezkuwiChain - **Purpose:** Referral program management - **Benchmarks:** ✅ Yes ### 6. **pezpallet-perwerde** 📚 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/perwerde` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/perwerde` - **Runtime:** People PezkuwiChain - **Purpose:** Educational credentials and achievements - **Benchmarks:** ✅ Yes ### 7. **pezpallet-tiki** 🎖️ -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/tiki` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/tiki` - **Runtime:** People PezkuwiChain - **Purpose:** Role-based NFT badges system - **Benchmarks:** ✅ Yes ### 8. **pezpallet-welati** 🏛️ -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/welati` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/welati` - **Runtime:** People PezkuwiChain - **Purpose:** PezkuwiChain governance (Serok, Parlement, Diwan) - **Benchmarks:** ✅ Yes ### 9. **pezpallet-staking-score** 📊 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/staking-score` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/staking-score` - **Runtime:** People PezkuwiChain - **Purpose:** Trust and participation scoring - **Benchmarks:** ✅ Yes ### 10. **pezpallet-trust** 🛡️ -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/trust` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/trust` - **Runtime:** People PezkuwiChain - **Purpose:** Trust-based interactions and reputation - **Benchmarks:** ✅ Yes ### 11. **pezpallet-pez-rewards** 🎁 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/pez-rewards` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/pez-rewards` - **Runtime:** People PezkuwiChain - **Purpose:** PEZ token rewards distribution - **Benchmarks:** ✅ Yes @@ -597,13 +597,13 @@ - **Benchmarks:** ❌ No ### 13. **pezpallet-collective-content** 📝 -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/collective-content` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/collective-content` - **Runtime:** None (not integrated yet) - **Purpose:** Content management for collectives - **Benchmarks:** ❌ No ### 14. **teyrchain-info** ℹ️ -- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pallets/teyrchain-info` +- **Location:** `/home/mamostehp/Pezkuwi-SDK/pezcumulus/teyrchains/pezpallets/teyrchain-info` - **Runtime:** All teyrchain runtimes - **Purpose:** Provides teyrchain ID information - **Benchmarks:** ❌ No (infrastructure pallet) diff --git a/docs/sdk/Cargo.toml b/docs/sdk/Cargo.toml index 9dc792ea..8bd4ae6e 100644 --- a/docs/sdk/Cargo.toml +++ b/docs/sdk/Cargo.toml @@ -39,7 +39,7 @@ pezframe-executive = { workspace = true } pezframe-metadata-hash-extension = { workspace = true, default-features = true } pezframe-support = { workspace = true } pezframe-system = { workspace = true } -kitchensink-runtime = { workspace = true } +pez-kitchensink-runtime = { workspace = true } log = { workspace = true, default-features = true } node-cli = { workspace = true } pezpallet-example-authorization-tx-extension = { workspace = true, default-features = true } @@ -47,7 +47,7 @@ pezpallet-example-single-block-migrations = { workspace = true, default-features pezkuwi-sdk = { features = [ "runtime-full", ], workspace = true, default-features = true } -subkey = { workspace = true, default-features = true } +pez-subkey = { workspace = true, default-features = true } # Bizinikiwi Client pezsc-chain-spec = { workspace = true, default-features = true } @@ -116,16 +116,16 @@ pezsp-weights = { workspace = true, default-features = true } pezpallet-xcm = { workspace = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true } -xcm-docs = { workspace = true } +xcm-pez-docs = { workspace = true } xcm-executor = { workspace = true } -xcm-simulator = { workspace = true } +xcm-pez-simulator = { workspace = true } # Runtime guides -chain-spec-guide-runtime = { workspace = true, default-features = true } +pez-chain-spec-guide-runtime = { workspace = true, default-features = true } # Templates -minimal-template-runtime = { workspace = true, default-features = true } -solochain-template-runtime = { workspace = true, default-features = true } +pez-minimal-template-runtime = { workspace = true, default-features = true } +pez-solochain-template-runtime = { workspace = true, default-features = true } # local packages first-runtime = { workspace = true, default-features = true } @@ -139,7 +139,7 @@ tokio = { workspace = true } [features] runtime-benchmarks = [ "chain-spec-builder/runtime-benchmarks", - "chain-spec-guide-runtime/runtime-benchmarks", + "pez-chain-spec-guide-runtime/runtime-benchmarks", "pezcumulus-client-service/runtime-benchmarks", "pezcumulus-pezpallet-aura-ext/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", @@ -152,8 +152,8 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "frame/runtime-benchmarks", - "kitchensink-runtime/runtime-benchmarks", - "minimal-template-runtime/runtime-benchmarks", + "pez-kitchensink-runtime/runtime-benchmarks", + "pez-minimal-template-runtime/runtime-benchmarks", "node-cli/runtime-benchmarks", "pezpallet-asset-conversion-tx-payment/runtime-benchmarks", "pezpallet-asset-tx-payment/runtime-benchmarks", @@ -194,7 +194,7 @@ runtime-benchmarks = [ "pezsc-rpc-api/runtime-benchmarks", "pezsc-rpc/runtime-benchmarks", "pezsc-service/runtime-benchmarks", - "solochain-template-runtime/runtime-benchmarks", + "pez-solochain-template-runtime/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-genesis-builder/runtime-benchmarks", "pezsp-io/runtime-benchmarks", @@ -203,12 +203,12 @@ runtime-benchmarks = [ "pezsp-runtime-interface/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "pezsp-version/runtime-benchmarks", - "subkey/runtime-benchmarks", + "pez-subkey/runtime-benchmarks", "bizinikiwi-wasm-builder/runtime-benchmarks", "teyrchain-info/runtime-benchmarks", "xcm-builder/runtime-benchmarks", - "xcm-docs/runtime-benchmarks", + "xcm-pez-docs/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/docs/sdk/packages/guides/first-pallet/Cargo.toml b/docs/sdk/packages/guides/first-pezpallet/Cargo.toml similarity index 85% rename from docs/sdk/packages/guides/first-pallet/Cargo.toml rename to docs/sdk/packages/guides/first-pezpallet/Cargo.toml index 1679f6fb..57c80a61 100644 --- a/docs/sdk/packages/guides/first-pallet/Cargo.toml +++ b/docs/sdk/packages/guides/first-pezpallet/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pezkuwi-sdk-docs-first-pallet" +name = "pezkuwi-sdk-docs-first-pezpallet" description = "A simple pallet created for the pezkuwi-sdk-docs guides" version = "0.0.0" license = "MIT-0" @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/pezkuwi-sdk-docs-first-pallet" +documentation = "https://docs.rs/pezkuwi-sdk-docs-first-pezpallet" [lints] workspace = true diff --git a/docs/sdk/packages/guides/first-pallet/src/lib.rs b/docs/sdk/packages/guides/first-pezpallet/src/lib.rs similarity index 100% rename from docs/sdk/packages/guides/first-pallet/src/lib.rs rename to docs/sdk/packages/guides/first-pezpallet/src/lib.rs diff --git a/docs/sdk/packages/guides/first-runtime/Cargo.toml b/docs/sdk/packages/guides/first-runtime/Cargo.toml index 431417cf..04e5042f 100644 --- a/docs/sdk/packages/guides/first-runtime/Cargo.toml +++ b/docs/sdk/packages/guides/first-runtime/Cargo.toml @@ -32,7 +32,7 @@ pezpallet-transaction-payment-rpc-runtime-api = { workspace = true } pezsp-keyring = { workspace = true } # local pallet templates -first-pallet = { workspace = true } +first-pezpallet = { workspace = true } docify = { workspace = true } @@ -54,13 +54,13 @@ std = [ "pezpallet-transaction-payment-rpc-runtime-api/std", "pezpallet-transaction-payment/std", - "first-pallet/std", + "first-pezpallet/std", "pezsp-keyring/std", "bizinikiwi-wasm-builder", ] runtime-benchmarks = [ - "first-pallet/runtime-benchmarks", + "first-pezpallet/runtime-benchmarks", "frame/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", "pezpallet-sudo/runtime-benchmarks", diff --git a/docs/sdk/src/guides/async_backing_guide.rs b/docs/sdk/src/guides/async_backing_guide.rs index 1e95bcb1..0f4babab 100644 --- a/docs/sdk/src/guides/async_backing_guide.rs +++ b/docs/sdk/src/guides/async_backing_guide.rs @@ -61,13 +61,13 @@ //! pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; //! ``` //! -//! 4. Configure `pezcumulus_pallet_teyrchain_system` in the runtime. +//! 4. Configure `pezcumulus_pezpallet_teyrchain_system` in the runtime. //! //! - Define a `FixedVelocityConsensusHook` using our capacity, velocity, and relay slot duration //! constants. Use this to set the teyrchain system `ConsensusHook` property. #![doc = docify::embed!("../../templates/teyrchain/runtime/src/lib.rs", ConsensusHook)] //! ```ignore -//! impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +//! impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { //! .. //! type ConsensusHook = ConsensusHook; //! .. @@ -76,7 +76,7 @@ //! - Set the teyrchain system property `CheckAssociatedRelayNumber` to //! `RelayNumberMonotonicallyIncreases` //! ```ignore -//! impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +//! impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { //! .. //! type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; //! .. diff --git a/docs/sdk/src/guides/enable_elastic_scaling.rs b/docs/sdk/src/guides/enable_elastic_scaling.rs index c2f82068..97be7963 100644 --- a/docs/sdk/src/guides/enable_elastic_scaling.rs +++ b/docs/sdk/src/guides/enable_elastic_scaling.rs @@ -81,7 +81,7 @@ //! /// Build with an offset of 1 behind the relay chain best block. //! const RELAY_PARENT_OFFSET: u32 = 1; //! -//! impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +//! impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { //! // ... //! type RelayParentOffset = ConstU32; //! } @@ -117,7 +117,7 @@ //! /// Relay chain slot duration, in milliseconds. //! const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; //! -//! type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +//! type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< //! Runtime, //! RELAY_CHAIN_SLOT_DURATION_MILLIS, //! BLOCK_PROCESSING_VELOCITY, diff --git a/docs/sdk/src/guides/enable_pov_reclaim.rs b/docs/sdk/src/guides/enable_pov_reclaim.rs index 9d059867..86097479 100644 --- a/docs/sdk/src/guides/enable_pov_reclaim.rs +++ b/docs/sdk/src/guides/enable_pov_reclaim.rs @@ -62,7 +62,7 @@ //! //! In your runtime, you will find a list of TransactionExtensions. //! To enable the reclaiming, -//! set [`StorageWeightReclaim`](pezcumulus_pallet_weight_reclaim::StorageWeightReclaim) +//! set [`StorageWeightReclaim`](pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim) //! as a warpper of that list. //! It is necessary that this extension wraps all the other transaction extensions in order to catch //! the whole PoV size of the transactions. diff --git a/docs/sdk/src/guides/handling_teyrchain_forks.rs b/docs/sdk/src/guides/handling_teyrchain_forks.rs index 587cf8b5..00effff7 100644 --- a/docs/sdk/src/guides/handling_teyrchain_forks.rs +++ b/docs/sdk/src/guides/handling_teyrchain_forks.rs @@ -71,7 +71,7 @@ //! 2. Pass this constant to the `teyrchain-system` pallet. //! //! ```ignore -//! impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +//! impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { //! // Other config items here //! ... //! type RelayParentOffset = ConstU32; diff --git a/docs/sdk/src/guides/your_first_pallet/mod.rs b/docs/sdk/src/guides/your_first_pallet/mod.rs index 13473c6a..aeb93f16 100644 --- a/docs/sdk/src/guides/your_first_pallet/mod.rs +++ b/docs/sdk/src/guides/your_first_pallet/mod.rs @@ -47,7 +47,7 @@ //! //! [`pallet::config`] and [`pallet::pallet`] are both mandatory parts of any //! pallet. Refer to the documentation of each to get an overview of what they do. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", shell_pallet)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", shell_pallet)] //! //! All of the code that follows in this guide should live inside of the `mod pallet`. //! @@ -61,17 +61,17 @@ //! > For the rest of this guide, we will opt for a balance type of `u128`. For the sake of //! > simplicity, we are hardcoding this type. In a real pallet is best practice to define it as a //! > generic bounded type in the `Config` trait, and then specify it in the implementation. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", Balance)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", Balance)] //! //! The definition of these two storage items, based on [`pallet::storage`] details, is as follows: -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", TotalIssuance)] -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", Balances)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", TotalIssuance)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", Balances)] //! //! ### Dispatchables //! //! Next, we will define the dispatchable functions. As per [`pallet::call`], these will be defined //! as normal `fn`s attached to `struct Pallet`. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", impl_pallet)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", impl_pallet)] //! //! The logic of these functions is self-explanatory. Instead, we will focus on the FRAME-related //! details: @@ -108,14 +108,14 @@ //! How we handle error in the above snippets is fairly rudimentary. Let's look at how this can be //! improved. First, we can use [`frame::prelude::ensure`] to express the error slightly better. //! This macro will call `.into()` under the hood. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", transfer_better)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_better)] //! //! Moreover, you will learn in the [Defensive Programming //! section](crate::reference_docs::defensive_programming) that it is always recommended to use //! safe arithmetic operations in your runtime. By using [`frame::traits::CheckedSub`], we can not //! only take a step in that direction, but also improve the error handing and make it slightly more //! ergonomic. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", transfer_better_checked)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_better_checked)] //! //! This is more or less all the logic that there is in this basic currency pallet! //! @@ -145,7 +145,7 @@ //! through [`frame::runtime::prelude::construct_runtime`]. All runtimes also have to include //! [`frame::prelude::pezframe_system`]. So we expect to see a runtime with two pallet, `pezframe_system` //! and the one we just wrote. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", runtime)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", runtime)] //! //! > [`frame::pezpallet_macros::derive_impl`] is a FRAME feature that enables developers to have //! > defaults for associated types. @@ -182,7 +182,7 @@ //! to learn is that all of your pallet testing code should be wrapped in //! [`frame::testing_prelude::TestState`]. This is a type that provides access to an in-memory state //! to be used in our tests. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", first_test)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", first_test)] //! //! In the first test, we simply assert that there is no total issuance, and no balance associated //! with Alice's account. Then, we mint some balance into Alice's, and re-check. @@ -206,16 +206,16 @@ //! //! Let's see how we can implement a better test setup using this pattern. First, we define a //! `struct StateBuilder`. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", StateBuilder)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", StateBuilder)] //! //! This struct is meant to contain the same list of accounts and balances that we want to have at //! the beginning of each block. We hardcoded this to `let accounts = vec![(ALICE, 100), (2, 100)];` //! so far. Then, if desired, we attach a default value for this struct. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", default_state_builder)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", default_state_builder)] //! //! Like any other builder pattern, we attach functions to the type to mutate its internal //! properties. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", impl_state_builder_add)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", impl_state_builder_add)] //! //! Finally --the useful part-- we write our own custom `build_and_execute` function on //! this type. This function will do multiple things: @@ -227,23 +227,23 @@ //! after each test. For example, in this test, we do some additional checking about the //! correctness of the `TotalIssuance`. We leave it up to you as an exercise to learn why the //! assertion should always hold, and how it is checked. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", impl_state_builder_build)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", impl_state_builder_build)] //! //! We can write tests that specifically check the initial state, and making sure our `StateBuilder` //! is working exactly as intended. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", state_builder_works)] -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", state_builder_add_balance)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", state_builder_works)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", state_builder_add_balance)] //! //! ### More Tests //! //! Now that we have a more ergonomic test setup, let's see how a well written test for transfer and //! mint would look like. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", transfer_works)] -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", mint_works)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_works)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", mint_works)] //! //! It is always a good idea to build a mental model where you write *at least* one test for each //! "success path" of a dispatchable, and one test for each "failure path", such as: -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", transfer_from_non_existent_fails)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_from_non_existent_fails)] //! //! We leave it up to you to write a test that triggers the `InsufficientBalance` error. //! @@ -272,8 +272,8 @@ //! With the explanation out of the way, let's see how these components can be added. Both follow a //! fairly familiar syntax: normal Rust enums, with extra [`pallet::event`] and [`pallet::error`] //! attributes attached. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", Event)] -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", Error)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", Event)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", Error)] //! //! One slightly custom part of this is the [`pallet::generate_deposit`] part. Without going into //! too much detail, in order for a pallet to emit events to the rest of the system, it needs to do @@ -288,17 +288,17 @@ //! 2. But, doing this conversion and storing is too much to expect each pallet to define. FRAME //! provides a default way of storing events, and this is what [`pallet::generate_deposit`] is //! doing. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", config_v2)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", config_v2)] //! //! > These `Runtime*` types are better explained in //! > [`crate::reference_docs::frame_runtime_types`]. //! //! Then, we can rewrite the `transfer` dispatchable as such: -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", transfer_v2)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_v2)] //! //! Then, notice how now we would need to provide this `type RuntimeEvent` in our test runtime //! setup. -#![doc = docify::embed!("./packages/guides/first-pallet/src/lib.rs", runtime_v2)] +#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", runtime_v2)] //! //! In this snippet, the actual `RuntimeEvent` type (right hand side of `type RuntimeEvent = //! RuntimeEvent`) is generated by diff --git a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs index e29cc3d3..d8b4f82b 100644 --- a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs +++ b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs @@ -92,7 +92,7 @@ //! //! ### Anatomy of a Binary Crate //! -//! From the above, [`node_cli`]/[`kitchensink_runtime`] and `node-template` are essentially +//! From the above, [`node_cli`]/[`pez_kitchensink_runtime`] and `node-template` are essentially //! blueprints of a Bizinikiwi-based project, as the name of the latter is implying. Each //! Bizinikiwi-based project typically contains the following: //! diff --git a/docs/sdk/src/pezkuwi_sdk/mod.rs b/docs/sdk/src/pezkuwi_sdk/mod.rs index 6c0901d1..fbc76906 100644 --- a/docs/sdk/src/pezkuwi_sdk/mod.rs +++ b/docs/sdk/src/pezkuwi_sdk/mod.rs @@ -89,9 +89,9 @@ //! `benchmark` subcommand that does the same. //! * [`chain_spec_builder`]: Utility to build chain-specs Nodes typically contain a `build-spec` //! subcommand that does the same. -//! * [`subkey`]: Bizinikiwi's key management utility. +//! * [`pez_subkey`]: Bizinikiwi's key management utility. //! * [`bizinikiwi-node`](node_cli) is an extensive bizinikiwi node that contains the superset of all -//! runtime and node side features. The corresponding runtime, called [`kitchensink_runtime`] +//! runtime and node side features. The corresponding runtime, called [`pez_kitchensink_runtime`] //! contains all of the modules that are provided with `FRAME`. This node and runtime is only used //! for testing and demonstration. //! diff --git a/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs b/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs index 72f8cff1..84f40442 100644 --- a/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs +++ b/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs @@ -18,7 +18,7 @@ //! Notably: //! //! - [`pezframe-system`](frame::prelude::pezframe_system), like all FRAME-based runtimes. -//! - [`pezcumulus_pallet_teyrchain_system`] +//! - [`pezcumulus_pezpallet_teyrchain_system`] //! - [`teyrchain_info`] #![doc = docify::embed!("./src/pezkuwi_sdk/pezcumulus.rs", system_pallets)] //! @@ -27,7 +27,7 @@ //! //! - [`pezpallet_timestamp`] //! - [`pezpallet_aura`] -//! - [`pezcumulus_pallet_aura_ext`] +//! - [`pezcumulus_pezpallet_aura_ext`] #![doc = docify::embed!("./src/pezkuwi_sdk/pezcumulus.rs", consensus_pallets)] //! //! @@ -59,12 +59,12 @@ mod tests { // system-level pallets. System: pezframe_system, Timestamp: pezpallet_timestamp, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system, TeyrchainInfo: teyrchain_info, // teyrchain consensus support -- mandatory. Aura: pezpallet_aura, - AuraExt: pezcumulus_pallet_aura_ext, + AuraExt: pezcumulus_pezpallet_aura_ext, } ); @@ -75,10 +75,10 @@ mod tests { #[derive_impl(pezframe_system::config_preludes::TestDefaultConfig)] impl pezframe_system::Config for Runtime { type Block = MockBlock; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; } - impl pezcumulus_pallet_teyrchain_system::Config for Runtime { + impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -87,8 +87,8 @@ mod tests { type ReservedDmpWeight = (); type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = - pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; - type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< + pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; + type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, 6000, // relay chain block time 1, @@ -118,13 +118,13 @@ mod tests { #[derive_impl(pezpallet_timestamp::config_preludes::TestDefaultConfig)] impl pezpallet_timestamp::Config for Runtime {} - impl pezcumulus_pallet_aura_ext::Config for Runtime {} + impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} } #[docify::export(validate_block)] - pezcumulus_pallet_teyrchain_system::register_validate_block! { + pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } } } diff --git a/docs/sdk/src/pezkuwi_sdk/xcm.rs b/docs/sdk/src/pezkuwi_sdk/xcm.rs index 6ae6821e..52b43ca4 100644 --- a/docs/sdk/src/pezkuwi_sdk/xcm.rs +++ b/docs/sdk/src/pezkuwi_sdk/xcm.rs @@ -38,7 +38,7 @@ //! - [`xcm_executor`]: An implementation of the virtual machine to execute instructions. //! - [`pezpallet_xcm`]: A FRAME pallet for interacting with the executor. //! - [`xcm_builder`]: A collection of types to configure the executor. -//! - [`xcm_simulator`]: A playground for trying out different XCM programs and executor +//! - [`xcm_pez_simulator`]: A playground for trying out different XCM programs and executor //! configurations. //! //! ## Example @@ -49,7 +49,7 @@ //! //! ## Get started //! -//! To learn how it works and to get started, go to the [XCM docs](xcm_docs). +//! To learn how it works and to get started, go to the [XCM docs](xcm_pez_docs). #[cfg(test)] mod tests { diff --git a/docs/sdk/src/reference_docs/chain_spec_genesis.rs b/docs/sdk/src/reference_docs/chain_spec_genesis.rs index 72588164..ac1f57cb 100644 --- a/docs/sdk/src/reference_docs/chain_spec_genesis.rs +++ b/docs/sdk/src/reference_docs/chain_spec_genesis.rs @@ -52,7 +52,7 @@ //! # `GenesisConfig` for `runtimes` //! //! The runtime genesis config struct consists of configs for every pallet. For the [_demonstration -//! runtime_][`chain_spec_guide_runtime`] used in this guide, it consists of `SystemConfig`, +//! runtime_][`pez_chain_spec_guide_runtime`] used in this guide, it consists of `SystemConfig`, //! `BarConfig`, and `FooConfig`. This structure was automatically generated by a macro and it can //! be sneak-peeked here: [`RuntimeGenesisConfig`]. For further reading on generated runtime //! types, refer to [`frame_runtime_types`]. @@ -89,7 +89,7 @@ //! Please note that two functions are customized: `preset_names` and `get_preset`. The first one //! just provides a `Vec` of the names of supported presets, while the latter delegates the call //! to a function that maps the name to an actual preset: -//! [`chain_spec_guide_runtime::presets::get_builtin_preset`] +//! [`pez_chain_spec_guide_runtime::presets::get_builtin_preset`] #![doc = docify::embed!("./src/reference_docs/chain_spec_runtime/src/presets.rs", get_builtin_preset)] //! //! ## Genesis state presets for runtime @@ -159,18 +159,18 @@ //! //! The [`chain_spec_builder`] util allows interaction with the runtime in order to list or display //! presets and build the chain specification file. It is possible to use the tool with the -//! [_demonstration runtime_][`chain_spec_guide_runtime`]. To build the required packages, just run +//! [_demonstration runtime_][`pez_chain_spec_guide_runtime`]. To build the required packages, just run //! the following command: //! //! ```ignore -//! cargo build -p pezstaging-chain-spec-builder -p chain-spec-guide-runtime --release +//! cargo build -p pezstaging-chain-spec-builder -p pez-chain-spec-guide-runtime --release //! ``` //! //! The `chain-spec-builder` util can also be installed with `cargo install`: //! //! ```ignore //! cargo install pezstaging-chain-spec-builder -//! cargo build -p chain-spec-guide-runtime --release +//! cargo build -p pez-chain-spec-guide-runtime --release //! ``` //! Here are some examples in the form of rust tests: //! ## Listing available preset names: @@ -183,9 +183,9 @@ #![doc = docify::embed!("./src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs", cmd_generate_para_chain_spec)] //! //! [`RuntimeGenesisConfig`]: -//! chain_spec_guide_runtime::runtime::RuntimeGenesisConfig +//! pez_chain_spec_guide_runtime::runtime::RuntimeGenesisConfig //! [`FooStruct`]: -//! chain_spec_guide_runtime::pallets::FooStruct +//! pez_chain_spec_guide_runtime::pallets::FooStruct //! [`impl_runtime_apis`]: frame::runtime::prelude::impl_runtime_apis //! [`build_state`]: pezframe_support::genesis_builder_helper::build_state //! [`get_preset`]: pezframe_support::genesis_builder_helper::get_preset diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml b/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml index 8b0c3389..37b7ea08 100644 --- a/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml +++ b/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "chain-spec-guide-runtime" +name = "pez-chain-spec-guide-runtime" description = "A minimal runtime for chain spec guide" version = "0.0.0" license = "MIT-0" @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/chain-spec-guide-runtime" +documentation = "https://docs.rs/pez-chain-spec-guide-runtime" [dependencies] codec = { workspace = true } diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs b/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs index 434926dd..f4d1aee0 100644 --- a/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs +++ b/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs @@ -39,8 +39,8 @@ use pezsp_genesis_builder::PresetId; /// The runtime version. #[runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: alloc::borrow::Cow::Borrowed("minimal-template-runtime"), - impl_name: alloc::borrow::Cow::Borrowed("minimal-template-runtime"), + spec_name: alloc::borrow::Cow::Borrowed("pez-minimal-template-runtime"), + impl_name: alloc::borrow::Cow::Borrowed("pez-minimal-template-runtime"), authoring_version: 1, spec_version: 0, impl_version: 1, diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs b/docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs index 33ba040c..cc64c988 100644 --- a/docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs +++ b/docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs @@ -3,8 +3,8 @@ use serde_json::{json, Value}; use std::str; fn wasm_file_path() -> &'static str { - chain_spec_guide_runtime::runtime::WASM_BINARY_PATH - .expect("chain_spec_guide_runtime wasm should exist. qed") + pez_chain_spec_guide_runtime::runtime::WASM_BINARY_PATH + .expect("pez_chain_spec_guide_runtime wasm should exist. qed") } const CHAIN_SPEC_BUILDER_PATH: &str = "../../../../../target/release/chain-spec-builder"; @@ -189,7 +189,7 @@ fn generate_para_chain_spec() { #[docify::export_content] fn preset_4_json() { assert_eq!( - chain_spec_guide_runtime::presets::preset_4(), + pez_chain_spec_guide_runtime::presets::preset_4(), json!({ "foo": { "someEnum": { diff --git a/docs/sdk/src/reference_docs/frame_pallet_coupling.rs b/docs/sdk/src/reference_docs/frame_pallet_coupling.rs index 0440d971..90f75f28 100644 --- a/docs/sdk/src/reference_docs/frame_pallet_coupling.rs +++ b/docs/sdk/src/reference_docs/frame_pallet_coupling.rs @@ -269,7 +269,7 @@ impl AuthorProvider for () { pub mod runtime { use super::*; - use pezcumulus_pallet_aura_ext::pallet; + use pezcumulus_pezpallet_aura_ext::pallet; use frame::{runtime::prelude::*, testing_prelude::*}; construct_runtime!( diff --git a/docs/sdk/src/reference_docs/omni_node.rs b/docs/sdk/src/reference_docs/omni_node.rs index 06069ade..f05f7700 100644 --- a/docs/sdk/src/reference_docs/omni_node.rs +++ b/docs/sdk/src/reference_docs/omni_node.rs @@ -123,8 +123,8 @@ //! consensus engine to work, and that particular runtime-api is implemented by a pallet //! corresponding to that consensus engine. //! -//! For example, taking a snippet from [`solochain_template_runtime`], the runtime has to provide -//! this additional runtime-api (compared to [`minimal_template_runtime`]), if the node software is +//! For example, taking a snippet from [`pez_solochain_template_runtime`], the runtime has to provide +//! this additional runtime-api (compared to [`pez_minimal_template_runtime`]), if the node software is //! configured to use the Aura consensus engine: //! //! ```text @@ -196,6 +196,6 @@ //! [`--dev-block-time`]: pezkuwi_omni_node_lib::cli::Cli::dev_block_time //! [`pezkuwi-omni-node`]: https://crates.io/crates/polkadot-omni-node //! [`chain-spec-builder`]: https://crates.io/crates/pezstaging-chain-spec-builder -//! [`pezcumulus-pezpallet-teyrchain-system`]: https://docs.rs/pezcumulus-pezpallet-parachain-system/latest/pezcumulus_pallet_parachain_system/ +//! [`pezcumulus-pezpallet-teyrchain-system`]: https://docs.rs/pezcumulus-pezpallet-parachain-system/latest/pezcumulus_pezpallet_parachain_system/ //! [`pezframe-system`]: https://docs.rs/pezframe-system/latest/pezframe_system/ //! [`block number`]: https://docs.rs/pezframe-system/latest/pezframe_system/pallet/storage_types/struct.Number.html diff --git a/docs/sdk/src/reference_docs/transaction_extensions.rs b/docs/sdk/src/reference_docs/transaction_extensions.rs index c5bbe67f..804e00ca 100644 --- a/docs/sdk/src/reference_docs/transaction_extensions.rs +++ b/docs/sdk/src/reference_docs/transaction_extensions.rs @@ -50,7 +50,7 @@ //! - [`WeightReclaim`](pezframe_system::WeightReclaim): A transaction extension for the relay chain //! that reclaims unused weight after executing a transaction. //! -//! - [`StorageWeightReclaim`](pezcumulus_pallet_weight_reclaim::StorageWeightReclaim): A transaction +//! - [`StorageWeightReclaim`](pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim): A transaction //! extension for teyrchains that reclaims unused storage weight after executing a transaction. //! //! For more information about these extensions, follow the link to the type documentation. diff --git a/docs/sdk/src/reference_docs/umbrella_crate.rs b/docs/sdk/src/reference_docs/umbrella_crate.rs index 7d150ca6..ae251ddf 100644 --- a/docs/sdk/src/reference_docs/umbrella_crate.rs +++ b/docs/sdk/src/reference_docs/umbrella_crate.rs @@ -43,7 +43,7 @@ //! //! ## Usage //! -//! > Note: You can see a live example in the `pezstaging-node-cli` and `kitchensink-runtime` crates. +//! > Note: You can see a live example in the `pezstaging-node-cli` and `pez-kitchensink-runtime` crates. //! //! The umbrella crate can be added to your runtime crate like this: //! diff --git a/fix_errors.py b/fix_errors.py new file mode 100644 index 00000000..44a861eb --- /dev/null +++ b/fix_errors.py @@ -0,0 +1,95 @@ +import os +import re + +# Taranacak Ana Klasörler (Buradaki tüm .rs dosyaları taranacak) +SCAN_DIRS = [ + "bizinikiwi/pezframe/identity", + "bizinikiwi/pezframe/revive" +] + +# Değişim Kuralları (Regex -> Yeni String) +# Regex'ler boşluk toleranslıdır: [u8; 15] veya [u8;15] yakalar. +REPLACEMENTS = [ + (r"\[\s*u8\s*;\s*15\s*\]", "[u8; 18]"), + (r"\[\s*u8\s*;\s*17\s*\]", "[u8; 20]") +] + +# Ekstra Tekil Dosya Düzeltmeleri (Import hataları vb.) +SINGLE_FILE_FIXES = [ + ( + "pezcumulus/teyrchains/pezpallets/ping/src/lib.rs", + r"pezcumulus_pezpallet_xcm", + "pezcumulus_pezpallet_xcm" + ) +] + +def apply_fixes(): + root_dir = os.getcwd() + print("--- Geniş Kapsamlı Tarama ve Düzeltme Başlıyor ---") + + total_fixed = 0 + + # 1. Klasör Taraması (Array Boyutları İçin) + for scan_dir in SCAN_DIRS: + abs_scan_dir = os.path.join(root_dir, scan_dir) + if not os.path.exists(abs_scan_dir): + print(f"[UYARI] Klasör bulunamadı: {scan_dir}") + continue + + print(f"Taranıyor: {scan_dir} ...") + + for dirpath, _, filenames in os.walk(abs_scan_dir): + for filename in filenames: + if not filename.endswith(".rs"): + continue + + filepath = os.path.join(dirpath, filename) + try: + with open(filepath, 'r', encoding='utf-8') as f: + content = f.read() + + original_content = content + modified = False + + for pattern, replacement in REPLACEMENTS: + # Regex ile değiştir (subn kaç tane değiştiğini sayar) + new_content, count = re.subn(pattern, replacement, content) + if count > 0: + content = new_content + modified = True + print(f" -> [DÜZELTİLDİ] {filename}: {replacement} yapıldı ({count} adet)") + + if modified: + with open(filepath, 'w', encoding='utf-8') as f: + f.write(content) + total_fixed += 1 + + except Exception as e: + print(f" [HATA] {filename} okunurken hata: {e}") + + # 2. Tekil Dosya Düzeltmeleri + print("\nTekil Dosyalar Kontrol Ediliyor...") + for rel_path, pattern, replacement in SINGLE_FILE_FIXES: + filepath = os.path.join(root_dir, rel_path) + if os.path.exists(filepath): + try: + with open(filepath, 'r', encoding='utf-8') as f: + content = f.read() + + new_content, count = re.subn(pattern, replacement, content) + if count > 0: + with open(filepath, 'w', encoding='utf-8') as f: + f.write(new_content) + print(f" -> [DÜZELTİLDİ] {rel_path} ({count} adet)") + total_fixed += 1 + elif replacement in content: + print(f" -> [ATLANDI] {rel_path} (Zaten düzgün)") + except Exception as e: + print(f" [HATA] {rel_path}: {e}") + else: + print(f" [UYARI] Dosya yok: {rel_path}") + + print(f"\n--- İşlem Tamamlandı. Toplam {total_fixed} dosya güncellendi. ---") + +if __name__ == "__main__": + apply_fixes() diff --git a/fix_final.py b/fix_final.py new file mode 100644 index 00000000..48d0d62a --- /dev/null +++ b/fix_final.py @@ -0,0 +1,99 @@ +import os +import re + +# Dosya Yolları ve Yapılacak İşlemler +# Format: (Dosya Yolu, [ (Aranacak_Regex, Yeni_Deger), (Alternatif_Basit_String, Yeni_Deger) ]) +TASKS = [ + ( + "bizinikiwi/pezframe/identity/src/migration.rs", + [ + (r"\[\s*u8\s*;\s*15\s*\]", "[u8; 18]"), # Regex (Esnek) + ("[u8; 15]", "[u8; 18]"), # Basit String (Yedek) + ("[u8;15]", "[u8; 18]") # Basit String (Yedek 2) + ] + ), + ( + "bizinikiwi/pezframe/revive/src/migrations/v1.rs", + [ + (r"\[\s*u8\s*;\s*17\s*\]", "[u8; 20]"), + ("[u8; 17]", "[u8; 20]"), + ("[u8;17]", "[u8; 20]") + ] + ), + ( + "bizinikiwi/pezframe/revive/src/migrations/v2.rs", + [ + (r"\[\s*u8\s*;\s*17\s*\]", "[u8; 20]"), + ("[u8; 17]", "[u8; 20]"), + ("[u8;17]", "[u8; 20]") + ] + ), + ( + "pezcumulus/teyrchains/pezpallets/ping/src/lib.rs", + [ + (r"pezcumulus_pezpallet_xcm", "pezcumulus_pezpallet_xcm"), + ("pezcumulus_pezpallet_xcm", "pezcumulus_pezpallet_xcm") + ] + ) +] + +def apply_fixes(): + root_dir = os.getcwd() + print("--- Final Cerrahi Müdahale Başlıyor ---") + + total_fixed = 0 + + for rel_path, replacements in TASKS: + filepath = os.path.join(root_dir, rel_path) + + if not os.path.exists(filepath): + print(f"[UYARI] Dosya bulunamadı: {rel_path}") + continue + + try: + with open(filepath, 'r', encoding='utf-8') as f: + content = f.read() + + original_content = content + file_modified = False + + # Her bir kuralı sırayla dene + for pattern, replacement in replacements: + # Regex mi String mi? + if pattern.startswith("r") or "\\" in pattern or "[" in pattern: + # Regex denemesi + new_content, count = re.subn(pattern, replacement, content) + if count > 0: + content = new_content + file_modified = True + print(f" -> [REGEX] {rel_path}: {replacement} ({count} adet)") + + # Basit String Replace (Regex kaçırırsa diye) + if replacement not in content and pattern in content: + content = content.replace(pattern, replacement) + file_modified = True + print(f" -> [STRING] {rel_path}: {replacement} (Basit değişim)") + + if file_modified: + with open(filepath, 'w', encoding='utf-8') as f: + f.write(content) + total_fixed += 1 + print(f" [KAYDEDİLDİ] {rel_path}") + else: + # Dosyada değişiklik olmadı, peki hedef string hala orada mı? + # İlk kuralın hedef desenini kontrol edelim (basit string haliyle) + check_pattern = replacements[0][0].replace(r"\[\s*u8\s*;\s*", "").replace(r"\s*\]", "") # Basitleştirme çabası + if "15" in check_pattern and "[u8; 15]" in original_content: + print(f" [HATA] {rel_path} içinde '[u8; 15]' var ama değiştirilemedi!") + elif "17" in check_pattern and "[u8; 17]" in original_content: + print(f" [HATA] {rel_path} içinde '[u8; 17]' var ama değiştirilemedi!") + else: + print(f" [BİLGİ] {rel_path}: Temiz görünüyor (Değişiklik gerekmedi).") + + except Exception as e: + print(f" [KRİTİK HATA] {rel_path}: {e}") + + print(f"\n--- İşlem Tamamlandı. {total_fixed} dosya güncellendi. ---") + +if __name__ == "__main__": + apply_fixes() diff --git a/pezcumulus/bin/pov-validator/Cargo.toml b/pezcumulus/bin/pov-validator/Cargo.toml index 57eade5d..6fffc6cd 100644 --- a/pezcumulus/bin/pov-validator/Cargo.toml +++ b/pezcumulus/bin/pov-validator/Cargo.toml @@ -16,7 +16,7 @@ workspace = true anyhow = { workspace = true } clap = { workspace = true, features = ["derive"] } codec = { workspace = true } -pezkuwi-node-primitives = { workspace = true } +pezkuwi-pez-node-primitives = { workspace = true } pezkuwi-primitives = { workspace = true } pezkuwi-teyrchain-primitives = { workspace = true } pezsc-executor = { workspace = true } @@ -28,7 +28,7 @@ tracing-subscriber = { workspace = true } [features] runtime-benchmarks = [ - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", "pezsc-executor/runtime-benchmarks", diff --git a/pezcumulus/bin/pov-validator/src/main.rs b/pezcumulus/bin/pov-validator/src/main.rs index f57e0496..306eccfa 100644 --- a/pezcumulus/bin/pov-validator/src/main.rs +++ b/pezcumulus/bin/pov-validator/src/main.rs @@ -18,7 +18,7 @@ use clap::Parser; use codec::{Decode, Encode}; -use pezkuwi_node_primitives::{BlockData, PoV, POV_BOMB_LIMIT}; +use pezkuwi_pez_node_primitives::{BlockData, PoV, POV_BOMB_LIMIT}; use pezkuwi_primitives::PersistedValidationData; use pezkuwi_teyrchain_primitives::primitives::ValidationParams; use pezsc_executor::WasmExecutor; diff --git a/pezcumulus/client/collator/Cargo.toml b/pezcumulus/client/collator/Cargo.toml index 8e109743..05f3d676 100644 --- a/pezcumulus/client/collator/Cargo.toml +++ b/pezcumulus/client/collator/Cargo.toml @@ -26,7 +26,7 @@ pezsp-core = { workspace = true, default-features = true } pezsp-runtime = { workspace = true, default-features = true } # Pezkuwi -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -60,7 +60,7 @@ runtime-benchmarks = [ "pezcumulus-test-client/runtime-benchmarks", "pezcumulus-test-relay-sproof-builder/runtime-benchmarks", "pezcumulus-test-runtime/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-overseer/runtime-benchmarks", diff --git a/pezcumulus/client/collator/src/lib.rs b/pezcumulus/client/collator/src/lib.rs index c5c6ff51..c7ddfe16 100644 --- a/pezcumulus/client/collator/src/lib.rs +++ b/pezcumulus/client/collator/src/lib.rs @@ -17,7 +17,7 @@ //! Pezcumulus Collator implementation for Bizinikiwi. -use pezkuwi_node_primitives::CollationGenerationConfig; +use pezkuwi_pez_node_primitives::CollationGenerationConfig; use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage}; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{CollatorPair, Id as ParaId}; @@ -34,7 +34,7 @@ pub mod relay_chain_driven { channel::{mpsc, oneshot}, prelude::*, }; - use pezkuwi_node_primitives::{CollationGenerationConfig, CollationResult}; + use pezkuwi_pez_node_primitives::{CollationGenerationConfig, CollationResult}; use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage}; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{CollatorPair, Id as ParaId}; diff --git a/pezcumulus/client/collator/src/service.rs b/pezcumulus/client/collator/src/service.rs index b65037c4..755d8af7 100644 --- a/pezcumulus/client/collator/src/service.rs +++ b/pezcumulus/client/collator/src/service.rs @@ -28,7 +28,7 @@ use pezsp_core::traits::SpawnNamed; use pezsp_runtime::traits::{Block as BlockT, HashingFor, Header as HeaderT, Zero}; use pezcumulus_client_consensus_common::TeyrchainCandidate; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ BlockData, Collation, CollationSecondedSignal, MaybeCompressedPoV, PoV, }; @@ -263,7 +263,7 @@ where let block_data = TeyrchainBlockData::::new(vec![block], compact_proof); - let pov = pezkuwi_node_primitives::maybe_compress_pov(PoV { + let pov = pezkuwi_pez_node_primitives::maybe_compress_pov(PoV { block_data: BlockData(if api_version >= 3 { block_data.encode() } else { diff --git a/pezcumulus/client/consensus/aura/Cargo.toml b/pezcumulus/client/consensus/aura/Cargo.toml index 10a8db19..fae982a6 100644 --- a/pezcumulus/client/consensus/aura/Cargo.toml +++ b/pezcumulus/client/consensus/aura/Cargo.toml @@ -55,7 +55,7 @@ pezcumulus-primitives-core = { workspace = true, default-features = true } pezcumulus-relay-chain-interface = { workspace = true, default-features = true } # Pezkuwi -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } @@ -80,7 +80,7 @@ runtime-benchmarks = [ "pezcumulus-relay-chain-interface/runtime-benchmarks", "pezcumulus-test-client/runtime-benchmarks", "pezcumulus-test-relay-sproof-builder/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-overseer/runtime-benchmarks", diff --git a/pezcumulus/client/consensus/aura/src/collator.rs b/pezcumulus/client/consensus/aura/src/collator.rs index d5d3e429..fc88776d 100644 --- a/pezcumulus/client/consensus/aura/src/collator.rs +++ b/pezcumulus/client/consensus/aura/src/collator.rs @@ -37,7 +37,7 @@ use pezcumulus_primitives_core::{ }; use pezcumulus_relay_chain_interface::RelayChainInterface; -use pezkuwi_node_primitives::{Collation, MaybeCompressedPoV}; +use pezkuwi_pez_node_primitives::{Collation, MaybeCompressedPoV}; use pezkuwi_primitives::{Header as PHeader, Id as ParaId}; use crate::collators::RelayParentData; diff --git a/pezcumulus/client/consensus/aura/src/collators/basic.rs b/pezcumulus/client/consensus/aura/src/collators/basic.rs index 6e44a738..9770a60b 100644 --- a/pezcumulus/client/consensus/aura/src/collators/basic.rs +++ b/pezcumulus/client/consensus/aura/src/collators/basic.rs @@ -32,7 +32,7 @@ use pezcumulus_client_consensus_proposer::ProposerInterface; use pezcumulus_primitives_core::{relay_chain::BlockId as RBlockId, CollectCollationInfo}; use pezcumulus_relay_chain_interface::RelayChainInterface; -use pezkuwi_node_primitives::CollationResult; +use pezkuwi_pez_node_primitives::CollationResult; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{CollatorPair, Id as ParaId, ValidationCode}; diff --git a/pezcumulus/client/consensus/aura/src/collators/lookahead.rs b/pezcumulus/client/consensus/aura/src/collators/lookahead.rs index 3993269c..579f89ba 100644 --- a/pezcumulus/client/consensus/aura/src/collators/lookahead.rs +++ b/pezcumulus/client/consensus/aura/src/collators/lookahead.rs @@ -40,7 +40,7 @@ use pezcumulus_primitives_aura::AuraUnincludedSegmentApi; use pezcumulus_primitives_core::{CollectCollationInfo, PersistedValidationData}; use pezcumulus_relay_chain_interface::RelayChainInterface; -use pezkuwi_node_primitives::SubmitCollationParams; +use pezkuwi_pez_node_primitives::SubmitCollationParams; use pezkuwi_node_subsystem::messages::CollationGenerationMessage; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{CollatorPair, Id as ParaId, OccupiedCoreAssumption}; diff --git a/pezcumulus/client/consensus/aura/src/collators/slot_based/collation_task.rs b/pezcumulus/client/consensus/aura/src/collators/slot_based/collation_task.rs index 4bdf8423..9b083d4c 100644 --- a/pezcumulus/client/consensus/aura/src/collators/slot_based/collation_task.rs +++ b/pezcumulus/client/consensus/aura/src/collators/slot_based/collation_task.rs @@ -21,7 +21,7 @@ use std::path::PathBuf; use pezcumulus_client_collator::service::ServiceInterface as CollatorServiceInterface; use pezcumulus_relay_chain_interface::RelayChainInterface; -use pezkuwi_node_primitives::{MaybeCompressedPoV, SubmitCollationParams}; +use pezkuwi_pez_node_primitives::{MaybeCompressedPoV, SubmitCollationParams}; use pezkuwi_node_subsystem::messages::CollationGenerationMessage; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{CollatorPair, Id as ParaId}; diff --git a/pezcumulus/client/consensus/aura/src/lib.rs b/pezcumulus/client/consensus/aura/src/lib.rs index dc4522c7..a613e194 100644 --- a/pezcumulus/client/consensus/aura/src/lib.rs +++ b/pezcumulus/client/consensus/aura/src/lib.rs @@ -33,7 +33,7 @@ use std::{fs, fs::File, path::PathBuf}; mod import_queue; pub use import_queue::{build_verifier, import_queue, BuildVerifierParams, ImportQueueParams}; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; pub use pezsc_consensus_aura::{ slot_duration, standalone::slot_duration_at, AuraVerifier, BuildAuraWorkerParams, SlotProportion, diff --git a/pezcumulus/client/network/Cargo.toml b/pezcumulus/client/network/Cargo.toml index 4cd38ae4..347365b6 100644 --- a/pezcumulus/client/network/Cargo.toml +++ b/pezcumulus/client/network/Cargo.toml @@ -32,7 +32,7 @@ pezsp-state-machine = { workspace = true, default-features = true } pezsp-version = { workspace = true, default-features = true } # Pezkuwi -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-primitives-test-helpers = { workspace = true, default-features = true } @@ -63,7 +63,7 @@ runtime-benchmarks = [ "pezcumulus-relay-chain-inprocess-interface/runtime-benchmarks", "pezcumulus-relay-chain-interface/runtime-benchmarks", "pezcumulus-test-service/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-primitives-test-helpers/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", diff --git a/pezcumulus/client/network/src/lib.rs b/pezcumulus/client/network/src/lib.rs index 07728a47..af88d9a1 100644 --- a/pezcumulus/client/network/src/lib.rs +++ b/pezcumulus/client/network/src/lib.rs @@ -29,7 +29,7 @@ use pezsp_core::traits::SpawnNamed; use pezsp_runtime::traits::{Block as BlockT, Header as HeaderT}; use pezcumulus_relay_chain_interface::RelayChainInterface; -use pezkuwi_node_primitives::{CollationSecondedSignal, Statement}; +use pezkuwi_pez_node_primitives::{CollationSecondedSignal, Statement}; use pezkuwi_node_subsystem::messages::RuntimeApiRequest; use pezkuwi_primitives::{ CandidateReceiptV2 as CandidateReceipt, CompactStatement, Hash as PHash, Id as ParaId, diff --git a/pezcumulus/client/network/src/tests.rs b/pezcumulus/client/network/src/tests.rs index ef6b2542..8363e302 100644 --- a/pezcumulus/client/network/src/tests.rs +++ b/pezcumulus/client/network/src/tests.rs @@ -25,7 +25,7 @@ use pezcumulus_relay_chain_interface::{ use pezcumulus_test_service::runtime::{Block, Hash, Header}; use futures::{executor::block_on, poll, task::Poll, FutureExt, Stream, StreamExt}; use parking_lot::Mutex; -use pezkuwi_node_primitives::{SignedFullStatement, Statement}; +use pezkuwi_pez_node_primitives::{SignedFullStatement, Statement}; use pezkuwi_primitives::{ BlockNumber, CandidateCommitments, CandidateDescriptorV2, CandidateEvent, CollatorPair, CommittedCandidateReceiptV2, CoreState, Hash as PHash, HeadData, InboundDownwardMessage, diff --git a/pezcumulus/client/pov-recovery/Cargo.toml b/pezcumulus/client/pov-recovery/Cargo.toml index cac300cd..c8aa3d8b 100644 --- a/pezcumulus/client/pov-recovery/Cargo.toml +++ b/pezcumulus/client/pov-recovery/Cargo.toml @@ -30,7 +30,7 @@ pezsp-runtime = { workspace = true, default-features = true } pezsp-version = { workspace = true, default-features = true } # Pezkuwi -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -58,7 +58,7 @@ runtime-benchmarks = [ "pezcumulus-relay-chain-interface/runtime-benchmarks", "pezcumulus-relay-chain-streams/runtime-benchmarks", "pezcumulus-test-client/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-overseer/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", diff --git a/pezcumulus/client/pov-recovery/src/active_candidate_recovery.rs b/pezcumulus/client/pov-recovery/src/active_candidate_recovery.rs index bde53fa5..02202476 100644 --- a/pezcumulus/client/pov-recovery/src/active_candidate_recovery.rs +++ b/pezcumulus/client/pov-recovery/src/active_candidate_recovery.rs @@ -17,7 +17,7 @@ use pezsp_runtime::traits::Block as BlockT; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_node_subsystem::messages::AvailabilityRecoveryMessage; use futures::{channel::oneshot, stream::FuturesUnordered, Future, FutureExt, StreamExt}; diff --git a/pezcumulus/client/pov-recovery/src/lib.rs b/pezcumulus/client/pov-recovery/src/lib.rs index 2d368ad1..e12bf604 100644 --- a/pezcumulus/client/pov-recovery/src/lib.rs +++ b/pezcumulus/client/pov-recovery/src/lib.rs @@ -52,7 +52,7 @@ use pezsc_consensus::import_queue::{ImportQueueService, IncomingBlock}; use pezsp_consensus::{BlockOrigin, BlockStatus, SyncOracle}; use pezsp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor}; -use pezkuwi_node_primitives::{PoV, POV_BOMB_LIMIT}; +use pezkuwi_pez_node_primitives::{PoV, POV_BOMB_LIMIT}; use pezkuwi_node_subsystem::messages::AvailabilityRecoveryMessage; use pezkuwi_overseer::Handle as OverseerHandle; use pezkuwi_primitives::{ diff --git a/pezcumulus/client/pov-recovery/src/tests.rs b/pezcumulus/client/pov-recovery/src/tests.rs index 52d2323c..6da115a9 100644 --- a/pezcumulus/client/pov-recovery/src/tests.rs +++ b/pezcumulus/client/pov-recovery/src/tests.rs @@ -27,7 +27,7 @@ use pezcumulus_relay_chain_interface::{ }; use pezcumulus_test_client::runtime::{Block, Header}; use futures::{channel::mpsc, SinkExt, Stream}; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{ messages::{AvailabilityRecoveryMessage, RuntimeApiRequest}, RecoveryError, TimeoutExt, diff --git a/pezcumulus/pezkuwi-teyrchain/Cargo.toml b/pezcumulus/pezkuwi-teyrchain/Cargo.toml index d3d4ae29..5c02be27 100644 --- a/pezcumulus/pezkuwi-teyrchain/Cargo.toml +++ b/pezcumulus/pezkuwi-teyrchain/Cargo.toml @@ -27,13 +27,13 @@ serde_json = { workspace = true, default-features = true } # Local asset-hub-pezkuwichain-runtime = { workspace = true, default-features = true } asset-hub-zagros-runtime = { workspace = true, default-features = true } -bridge-hub-pezkuwichain-runtime = { workspace = true, default-features = true } -bridge-hub-zagros-runtime = { workspace = true, default-features = true } +pezbridge-hub-pezkuwichain-runtime = { workspace = true, default-features = true } +pezbridge-hub-zagros-runtime = { workspace = true, default-features = true } collectives-zagros-runtime = { workspace = true } coretime-pezkuwichain-runtime = { workspace = true } coretime-zagros-runtime = { workspace = true } glutton-zagros-runtime = { workspace = true } -penpal-runtime = { workspace = true } +pez-penpal-runtime = { workspace = true } people-pezkuwichain-runtime = { workspace = true } people-zagros-runtime = { workspace = true } pezkuwi-omni-node-lib = { features = [ @@ -75,14 +75,14 @@ runtime-benchmarks = [ "asset-hub-pezkuwichain-runtime/runtime-benchmarks", "asset-hub-zagros-runtime/runtime-benchmarks", - "bridge-hub-pezkuwichain-runtime/runtime-benchmarks", - "bridge-hub-zagros-runtime/runtime-benchmarks", + "pezbridge-hub-pezkuwichain-runtime/runtime-benchmarks", + "pezbridge-hub-zagros-runtime/runtime-benchmarks", "collectives-zagros-runtime/runtime-benchmarks", "coretime-pezkuwichain-runtime/runtime-benchmarks", "coretime-zagros-runtime/runtime-benchmarks", "pezcumulus-client-consensus-aura/runtime-benchmarks", "glutton-zagros-runtime/runtime-benchmarks", - "penpal-runtime/runtime-benchmarks", + "pez-penpal-runtime/runtime-benchmarks", "people-pezkuwichain-runtime/runtime-benchmarks", "people-zagros-runtime/runtime-benchmarks", "pezkuwichain-teyrchain-runtime/runtime-benchmarks", @@ -98,20 +98,20 @@ try-runtime = [ "asset-hub-pezkuwichain-runtime/try-runtime", "asset-hub-zagros-runtime/try-runtime", - "bridge-hub-pezkuwichain-runtime/try-runtime", - "bridge-hub-zagros-runtime/try-runtime", + "pezbridge-hub-pezkuwichain-runtime/try-runtime", + "pezbridge-hub-zagros-runtime/try-runtime", "collectives-zagros-runtime/try-runtime", "coretime-pezkuwichain-runtime/try-runtime", "coretime-zagros-runtime/try-runtime", "glutton-zagros-runtime/try-runtime", - "penpal-runtime/try-runtime", + "pez-penpal-runtime/try-runtime", "people-pezkuwichain-runtime/try-runtime", "people-zagros-runtime/try-runtime", "teyrchains-common/try-runtime", ] fast-runtime = [ - "bridge-hub-pezkuwichain-runtime/fast-runtime", - "bridge-hub-zagros-runtime/fast-runtime", + "pezbridge-hub-pezkuwichain-runtime/fast-runtime", + "pezbridge-hub-zagros-runtime/fast-runtime", "coretime-pezkuwichain-runtime/fast-runtime", "coretime-zagros-runtime/fast-runtime", ] diff --git a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/bridge_hubs.rs b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/bridge_hubs.rs index e1f4d748..23fb069c 100644 --- a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/bridge_hubs.rs +++ b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/bridge_hubs.rs @@ -146,7 +146,7 @@ pub mod pezkuwichain { modify_props(&mut properties); GenericChainSpec::builder( - bridge_hub_pezkuwichain_runtime::WASM_BINARY + pezbridge_hub_pezkuwichain_runtime::WASM_BINARY .expect("WASM binary was not built, please build it!"), Extensions::new_with_relay_chain(relay_chain.to_string()), ) @@ -189,7 +189,7 @@ pub mod zagros { properties.insert("tokenDecimals".into(), 12.into()); GenericChainSpec::builder( - bridge_hub_zagros_runtime::WASM_BINARY + pezbridge_hub_zagros_runtime::WASM_BINARY .expect("WASM binary was not build, please build it!"), Extensions::new_with_relay_chain(relay_chain.to_string()), ) diff --git a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/penpal.rs b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/penpal.rs index 6a57a8fd..69cd052d 100644 --- a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/penpal.rs +++ b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/penpal.rs @@ -26,7 +26,7 @@ pub fn get_penpal_chain_spec(id: ParaId, relay_chain: &str) -> GenericChainSpec properties.insert("ss58Format".into(), 42u32.into()); GenericChainSpec::builder( - penpal_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), + pez_penpal_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), Extensions::new_with_relay_chain(relay_chain.into()), ) .with_name("Penpal Teyrchain") diff --git a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/yet_another_teyrchain.rs b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/yet_another_teyrchain.rs index d8b392cc..0e4e6eed 100644 --- a/pezcumulus/pezkuwi-teyrchain/src/chain_spec/yet_another_teyrchain.rs +++ b/pezcumulus/pezkuwi-teyrchain/src/chain_spec/yet_another_teyrchain.rs @@ -54,7 +54,7 @@ pub fn yet_another_teyrchain_config( chain_type: ChainType, para_id: u32, ) -> GenericChainSpec { - // > subkey inspect --network kusama --public \ + // > pez_subkey inspect --network kusama --public \ // 6205a2a2aecb71c13d8ad3197e12c10bcdcaa0c9f176997bc236c6b39143aa15 // // Network ID/Version: kusama diff --git a/pezcumulus/pallets/ah-ops/Cargo.toml b/pezcumulus/pezpallets/ah-ops/Cargo.toml similarity index 100% rename from pezcumulus/pallets/ah-ops/Cargo.toml rename to pezcumulus/pezpallets/ah-ops/Cargo.toml diff --git a/pezcumulus/pallets/ah-ops/src/benchmarking.rs b/pezcumulus/pezpallets/ah-ops/src/benchmarking.rs similarity index 100% rename from pezcumulus/pallets/ah-ops/src/benchmarking.rs rename to pezcumulus/pezpallets/ah-ops/src/benchmarking.rs diff --git a/pezcumulus/pallets/ah-ops/src/lib.rs b/pezcumulus/pezpallets/ah-ops/src/lib.rs similarity index 100% rename from pezcumulus/pallets/ah-ops/src/lib.rs rename to pezcumulus/pezpallets/ah-ops/src/lib.rs diff --git a/pezcumulus/pallets/ah-ops/src/mock.rs b/pezcumulus/pezpallets/ah-ops/src/mock.rs similarity index 100% rename from pezcumulus/pallets/ah-ops/src/mock.rs rename to pezcumulus/pezpallets/ah-ops/src/mock.rs diff --git a/pezcumulus/pallets/ah-ops/src/tests.rs b/pezcumulus/pezpallets/ah-ops/src/tests.rs similarity index 100% rename from pezcumulus/pallets/ah-ops/src/tests.rs rename to pezcumulus/pezpallets/ah-ops/src/tests.rs diff --git a/pezcumulus/pallets/ah-ops/src/weights.rs b/pezcumulus/pezpallets/ah-ops/src/weights.rs similarity index 100% rename from pezcumulus/pallets/ah-ops/src/weights.rs rename to pezcumulus/pezpallets/ah-ops/src/weights.rs diff --git a/pezcumulus/pallets/aura-ext/Cargo.toml b/pezcumulus/pezpallets/aura-ext/Cargo.toml similarity index 97% rename from pezcumulus/pallets/aura-ext/Cargo.toml rename to pezcumulus/pezpallets/aura-ext/Cargo.toml index cfeacbcb..348ae858 100644 --- a/pezcumulus/pallets/aura-ext/Cargo.toml +++ b/pezcumulus/pezpallets/aura-ext/Cargo.toml @@ -3,7 +3,7 @@ name = "pezcumulus-pezpallet-aura-ext" version = "0.7.0" authors.workspace = true edition.workspace = true -description = "AURA consensus extension pallet for teyrchains" +description = "AURA consensus extension pezpallet for teyrchains" license = "Apache-2.0" homepage.workspace = true repository.workspace = true diff --git a/pezcumulus/pallets/aura-ext/src/consensus_hook.rs b/pezcumulus/pezpallets/aura-ext/src/consensus_hook.rs similarity index 99% rename from pezcumulus/pallets/aura-ext/src/consensus_hook.rs rename to pezcumulus/pezpallets/aura-ext/src/consensus_hook.rs index c7f71db5..ac15ba46 100644 --- a/pezcumulus/pallets/aura-ext/src/consensus_hook.rs +++ b/pezcumulus/pezpallets/aura-ext/src/consensus_hook.rs @@ -18,7 +18,7 @@ //! block velocity. use super::{pallet, Aura}; use core::{marker::PhantomData, num::NonZeroU32}; -use pezcumulus_pallet_teyrchain_system::{ +use pezcumulus_pezpallet_teyrchain_system::{ self as teyrchain_system, consensus_hook::{ConsensusHook, UnincludedSegmentCapacity}, relay_state_snapshot::RelayChainStateProof, diff --git a/pezcumulus/pallets/aura-ext/src/lib.rs b/pezcumulus/pezpallets/aura-ext/src/lib.rs similarity index 97% rename from pezcumulus/pallets/aura-ext/src/lib.rs rename to pezcumulus/pezpallets/aura-ext/src/lib.rs index 0c88abb9..c182b106 100644 --- a/pezcumulus/pallets/aura-ext/src/lib.rs +++ b/pezcumulus/pezpallets/aura-ext/src/lib.rs @@ -25,9 +25,9 @@ //! ``` //! # struct Runtime; //! # struct Executive; -//! pezcumulus_pallet_teyrchain_system::register_validate_block! { +//! pezcumulus_pezpallet_teyrchain_system::register_validate_block! { //! Runtime = Runtime, -//! BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, +//! BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, //! } //! ``` diff --git a/pezcumulus/pallets/aura-ext/src/migration.rs b/pezcumulus/pezpallets/aura-ext/src/migration.rs similarity index 100% rename from pezcumulus/pallets/aura-ext/src/migration.rs rename to pezcumulus/pezpallets/aura-ext/src/migration.rs diff --git a/pezcumulus/pallets/aura-ext/src/test.rs b/pezcumulus/pezpallets/aura-ext/src/test.rs similarity index 98% rename from pezcumulus/pallets/aura-ext/src/test.rs rename to pezcumulus/pezpallets/aura-ext/src/test.rs index c914c20b..634090e7 100644 --- a/pezcumulus/pallets/aura-ext/src/test.rs +++ b/pezcumulus/pezpallets/aura-ext/src/test.rs @@ -16,7 +16,7 @@ use super::*; use core::num::NonZeroU32; -use pezcumulus_pallet_teyrchain_system::{ +use pezcumulus_pezpallet_teyrchain_system::{ consensus_hook::ExpectParentIncluded, Ancestor, AnyRelayNumber, ConsensusHook, RelayChainStateProof, TeyrchainSetCode, UsedBandwidth, }; @@ -73,7 +73,7 @@ type Block = pezframe_system::mocking::MockBlock; pezframe_support::construct_runtime!( pub enum Test { System: pezframe_system, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system, Aura: pezpallet_aura, AuraExt: crate, TestPallet: test_pallet, @@ -137,7 +137,7 @@ impl pezpallet_timestamp::Config for Test { type WeightInfo = (); } -impl pezcumulus_pallet_teyrchain_system::Config for Test { +impl pezcumulus_pezpallet_teyrchain_system::Config for Test { type WeightInfo = (); type RuntimeEvent = (); type OnSystemEvent = (); @@ -160,7 +160,7 @@ fn set_ancestors() { ancestor.replace_para_head_hash(H256::repeat_byte(i + 1)); ancestors.push(ancestor); } - pezcumulus_pallet_teyrchain_system::UnincludedSegment::::put(ancestors); + pezcumulus_pezpallet_teyrchain_system::UnincludedSegment::::put(ancestors); } fn new_test_ext(para_slot: u64) -> pezsp_io::TestExternalities { diff --git a/pezcumulus/pallets/collator-selection/Cargo.toml b/pezcumulus/pezpallets/collator-selection/Cargo.toml similarity index 100% rename from pezcumulus/pallets/collator-selection/Cargo.toml rename to pezcumulus/pezpallets/collator-selection/Cargo.toml diff --git a/pezcumulus/pallets/collator-selection/README.md b/pezcumulus/pezpallets/collator-selection/README.md similarity index 100% rename from pezcumulus/pallets/collator-selection/README.md rename to pezcumulus/pezpallets/collator-selection/README.md diff --git a/pezcumulus/pallets/collator-selection/src/benchmarking.rs b/pezcumulus/pezpallets/collator-selection/src/benchmarking.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/benchmarking.rs rename to pezcumulus/pezpallets/collator-selection/src/benchmarking.rs diff --git a/pezcumulus/pallets/collator-selection/src/lib.rs b/pezcumulus/pezpallets/collator-selection/src/lib.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/lib.rs rename to pezcumulus/pezpallets/collator-selection/src/lib.rs diff --git a/pezcumulus/pallets/collator-selection/src/migration.rs b/pezcumulus/pezpallets/collator-selection/src/migration.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/migration.rs rename to pezcumulus/pezpallets/collator-selection/src/migration.rs diff --git a/pezcumulus/pallets/collator-selection/src/mock.rs b/pezcumulus/pezpallets/collator-selection/src/mock.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/mock.rs rename to pezcumulus/pezpallets/collator-selection/src/mock.rs diff --git a/pezcumulus/pallets/collator-selection/src/tests.rs b/pezcumulus/pezpallets/collator-selection/src/tests.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/tests.rs rename to pezcumulus/pezpallets/collator-selection/src/tests.rs diff --git a/pezcumulus/pallets/collator-selection/src/weights.rs b/pezcumulus/pezpallets/collator-selection/src/weights.rs similarity index 100% rename from pezcumulus/pallets/collator-selection/src/weights.rs rename to pezcumulus/pezpallets/collator-selection/src/weights.rs diff --git a/pezcumulus/pallets/dmp-queue/Cargo.toml b/pezcumulus/pezpallets/dmp-queue/Cargo.toml similarity index 100% rename from pezcumulus/pallets/dmp-queue/Cargo.toml rename to pezcumulus/pezpallets/dmp-queue/Cargo.toml diff --git a/pezcumulus/pallets/dmp-queue/src/benchmarking.rs b/pezcumulus/pezpallets/dmp-queue/src/benchmarking.rs similarity index 100% rename from pezcumulus/pallets/dmp-queue/src/benchmarking.rs rename to pezcumulus/pezpallets/dmp-queue/src/benchmarking.rs diff --git a/pezcumulus/pallets/dmp-queue/src/lib.rs b/pezcumulus/pezpallets/dmp-queue/src/lib.rs similarity index 100% rename from pezcumulus/pallets/dmp-queue/src/lib.rs rename to pezcumulus/pezpallets/dmp-queue/src/lib.rs diff --git a/pezcumulus/pallets/dmp-queue/src/migration.rs b/pezcumulus/pezpallets/dmp-queue/src/migration.rs similarity index 100% rename from pezcumulus/pallets/dmp-queue/src/migration.rs rename to pezcumulus/pezpallets/dmp-queue/src/migration.rs diff --git a/pezcumulus/pallets/dmp-queue/src/mock.rs b/pezcumulus/pezpallets/dmp-queue/src/mock.rs similarity index 100% rename from pezcumulus/pallets/dmp-queue/src/mock.rs rename to pezcumulus/pezpallets/dmp-queue/src/mock.rs diff --git a/pezcumulus/pallets/dmp-queue/src/tests.rs b/pezcumulus/pezpallets/dmp-queue/src/tests.rs similarity index 100% rename from pezcumulus/pallets/dmp-queue/src/tests.rs rename to pezcumulus/pezpallets/dmp-queue/src/tests.rs diff --git a/pezcumulus/pallets/dmp-queue/src/weights.rs b/pezcumulus/pezpallets/dmp-queue/src/weights.rs similarity index 97% rename from pezcumulus/pallets/dmp-queue/src/weights.rs rename to pezcumulus/pezpallets/dmp-queue/src/weights.rs index de38ec20..ba108816 100644 --- a/pezcumulus/pallets/dmp-queue/src/weights.rs +++ b/pezcumulus/pezpallets/dmp-queue/src/weights.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_dmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_dmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-09-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -30,7 +30,7 @@ // --chain // asset-hub-kusama-dev // --output -// pezcumulus/pallets/dmp-queue/src/weights.rs +// pezcumulus/pezpallets/dmp-queue/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs // --extrinsic @@ -44,7 +44,7 @@ use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions needed for `pezcumulus_pallet_dmp_queue`. +/// Weight functions needed for `pezcumulus_pezpallet_dmp_queue`. pub trait WeightInfo { fn on_idle_good_msg() -> Weight; fn on_idle_large_msg() -> Weight; @@ -52,7 +52,7 @@ pub trait WeightInfo { fn on_idle_overweight_large_msg() -> Weight; } -/// Weights for `pezcumulus_pallet_dmp_queue` using the Bizinikiwi node and recommended hardware. +/// Weights for `pezcumulus_pezpallet_dmp_queue` using the Bizinikiwi node and recommended hardware. pub struct BizinikiwiWeight(PhantomData); impl WeightInfo for BizinikiwiWeight { /// Storage: `DmpQueue::MigrationStatus` (r:1 w:1) diff --git a/pezcumulus/pallets/session-benchmarking/Cargo.toml b/pezcumulus/pezpallets/session-benchmarking/Cargo.toml similarity index 100% rename from pezcumulus/pallets/session-benchmarking/Cargo.toml rename to pezcumulus/pezpallets/session-benchmarking/Cargo.toml diff --git a/pezcumulus/pallets/session-benchmarking/README.md b/pezcumulus/pezpallets/session-benchmarking/README.md similarity index 100% rename from pezcumulus/pallets/session-benchmarking/README.md rename to pezcumulus/pezpallets/session-benchmarking/README.md diff --git a/pezcumulus/pallets/session-benchmarking/src/inner.rs b/pezcumulus/pezpallets/session-benchmarking/src/inner.rs similarity index 100% rename from pezcumulus/pallets/session-benchmarking/src/inner.rs rename to pezcumulus/pezpallets/session-benchmarking/src/inner.rs diff --git a/pezcumulus/pallets/session-benchmarking/src/lib.rs b/pezcumulus/pezpallets/session-benchmarking/src/lib.rs similarity index 100% rename from pezcumulus/pallets/session-benchmarking/src/lib.rs rename to pezcumulus/pezpallets/session-benchmarking/src/lib.rs diff --git a/pezcumulus/pallets/solo-to-para/Cargo.toml b/pezcumulus/pezpallets/solo-to-para/Cargo.toml similarity index 100% rename from pezcumulus/pallets/solo-to-para/Cargo.toml rename to pezcumulus/pezpallets/solo-to-para/Cargo.toml diff --git a/pezcumulus/pallets/solo-to-para/src/lib.rs b/pezcumulus/pezpallets/solo-to-para/src/lib.rs similarity index 98% rename from pezcumulus/pallets/solo-to-para/src/lib.rs rename to pezcumulus/pezpallets/solo-to-para/src/lib.rs index 72c246a3..e22a3b19 100644 --- a/pezcumulus/pallets/solo-to-para/src/lib.rs +++ b/pezcumulus/pezpallets/solo-to-para/src/lib.rs @@ -19,7 +19,7 @@ extern crate alloc; use alloc::vec::Vec; -use pezcumulus_pallet_teyrchain_system as teyrchain_system; +use pezcumulus_pezpallet_teyrchain_system as teyrchain_system; use pezframe_support::pezpallet_prelude::*; use pezframe_system::pezpallet_prelude::*; pub use pallet::*; diff --git a/pezcumulus/pallets/teyrchain-system/Cargo.toml b/pezcumulus/pezpallets/teyrchain-system/Cargo.toml similarity index 100% rename from pezcumulus/pallets/teyrchain-system/Cargo.toml rename to pezcumulus/pezpallets/teyrchain-system/Cargo.toml diff --git a/pezcumulus/pallets/teyrchain-system/proc-macro/Cargo.toml b/pezcumulus/pezpallets/teyrchain-system/proc-macro/Cargo.toml similarity index 100% rename from pezcumulus/pallets/teyrchain-system/proc-macro/Cargo.toml rename to pezcumulus/pezpallets/teyrchain-system/proc-macro/Cargo.toml diff --git a/pezcumulus/pallets/teyrchain-system/proc-macro/src/lib.rs b/pezcumulus/pezpallets/teyrchain-system/proc-macro/src/lib.rs similarity index 97% rename from pezcumulus/pallets/teyrchain-system/proc-macro/src/lib.rs rename to pezcumulus/pezpallets/teyrchain-system/proc-macro/src/lib.rs index bcfda61d..af4025b1 100644 --- a/pezcumulus/pallets/teyrchain-system/proc-macro/src/lib.rs +++ b/pezcumulus/pezpallets/teyrchain-system/proc-macro/src/lib.rs @@ -81,7 +81,7 @@ impl Parse for Input { fn crate_() -> Result { match crate_name("pezcumulus-pezpallet-teyrchain-system") { Ok(FoundCrate::Itself) => - Ok(syn::Ident::new("pezcumulus_pallet_teyrchain_system", Span::call_site())), + Ok(syn::Ident::new("pezcumulus_pezpallet_teyrchain_system", Span::call_site())), Ok(FoundCrate::Name(name)) => Ok(Ident::new(&name, Span::call_site())), Err(e) => Err(Error::new(Span::call_site(), e)), } diff --git a/pezcumulus/pallets/teyrchain-system/src/benchmarking.rs b/pezcumulus/pezpallets/teyrchain-system/src/benchmarking.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/benchmarking.rs rename to pezcumulus/pezpallets/teyrchain-system/src/benchmarking.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/consensus_hook.rs b/pezcumulus/pezpallets/teyrchain-system/src/consensus_hook.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/consensus_hook.rs rename to pezcumulus/pezpallets/teyrchain-system/src/consensus_hook.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/descendant_validation.rs b/pezcumulus/pezpallets/teyrchain-system/src/descendant_validation.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/descendant_validation.rs rename to pezcumulus/pezpallets/teyrchain-system/src/descendant_validation.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/lib.rs b/pezcumulus/pezpallets/teyrchain-system/src/lib.rs similarity index 99% rename from pezcumulus/pallets/teyrchain-system/src/lib.rs rename to pezcumulus/pezpallets/teyrchain-system/src/lib.rs index 54885eae..0d3a803b 100644 --- a/pezcumulus/pallets/teyrchain-system/src/lib.rs +++ b/pezcumulus/pezpallets/teyrchain-system/src/lib.rs @@ -98,7 +98,7 @@ pub use consensus_hook::{ConsensusHook, ExpectParentIncluded}; /// struct BlockExecutor; /// struct Runtime; /// -/// pezcumulus_pallet_teyrchain_system::register_validate_block! { +/// pezcumulus_pezpallet_teyrchain_system::register_validate_block! { /// Runtime = Runtime, /// BlockExecutor = Executive, /// } diff --git a/pezcumulus/pallets/teyrchain-system/src/migration.rs b/pezcumulus/pezpallets/teyrchain-system/src/migration.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/migration.rs rename to pezcumulus/pezpallets/teyrchain-system/src/migration.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/mock.rs b/pezcumulus/pezpallets/teyrchain-system/src/mock.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/mock.rs rename to pezcumulus/pezpallets/teyrchain-system/src/mock.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/relay_state_snapshot.rs b/pezcumulus/pezpallets/teyrchain-system/src/relay_state_snapshot.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/relay_state_snapshot.rs rename to pezcumulus/pezpallets/teyrchain-system/src/relay_state_snapshot.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/tests.rs b/pezcumulus/pezpallets/teyrchain-system/src/tests.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/tests.rs rename to pezcumulus/pezpallets/teyrchain-system/src/tests.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/teyrchain_inherent.rs b/pezcumulus/pezpallets/teyrchain-system/src/teyrchain_inherent.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/teyrchain_inherent.rs rename to pezcumulus/pezpallets/teyrchain-system/src/teyrchain_inherent.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/unincluded_segment.rs b/pezcumulus/pezpallets/teyrchain-system/src/unincluded_segment.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/unincluded_segment.rs rename to pezcumulus/pezpallets/teyrchain-system/src/unincluded_segment.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/validate_block/implementation.rs b/pezcumulus/pezpallets/teyrchain-system/src/validate_block/implementation.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/validate_block/implementation.rs rename to pezcumulus/pezpallets/teyrchain-system/src/validate_block/implementation.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/validate_block/mod.rs b/pezcumulus/pezpallets/teyrchain-system/src/validate_block/mod.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/validate_block/mod.rs rename to pezcumulus/pezpallets/teyrchain-system/src/validate_block/mod.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/validate_block/tests.rs b/pezcumulus/pezpallets/teyrchain-system/src/validate_block/tests.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/validate_block/tests.rs rename to pezcumulus/pezpallets/teyrchain-system/src/validate_block/tests.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/validate_block/trie_cache.rs b/pezcumulus/pezpallets/teyrchain-system/src/validate_block/trie_cache.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/validate_block/trie_cache.rs rename to pezcumulus/pezpallets/teyrchain-system/src/validate_block/trie_cache.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/validate_block/trie_recorder.rs b/pezcumulus/pezpallets/teyrchain-system/src/validate_block/trie_recorder.rs similarity index 100% rename from pezcumulus/pallets/teyrchain-system/src/validate_block/trie_recorder.rs rename to pezcumulus/pezpallets/teyrchain-system/src/validate_block/trie_recorder.rs diff --git a/pezcumulus/pallets/teyrchain-system/src/weights.rs b/pezcumulus/pezpallets/teyrchain-system/src/weights.rs similarity index 93% rename from pezcumulus/pallets/teyrchain-system/src/weights.rs rename to pezcumulus/pezpallets/teyrchain-system/src/weights.rs index 456bb1a8..eb301f75 100644 --- a/pezcumulus/pallets/teyrchain-system/src/weights.rs +++ b/pezcumulus/pezpallets/teyrchain-system/src/weights.rs @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pezcumulus_pallet_teyrchain_system +//! Autogenerated weights for pezcumulus_pezpallet_teyrchain_system //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev //! DATE: 2023-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -29,7 +29,7 @@ // --chain // westmint-dev // --pallet -// pezcumulus_pallet_teyrchain_system +// pezcumulus_pezpallet_teyrchain_system // --extrinsic // * // --execution @@ -37,7 +37,7 @@ // --wasm-execution // compiled // --output -// pallets/teyrchain-system/src/weights.rs +// pezpallets/teyrchain-system/src/weights.rs // --steps // 50 // --repeat @@ -52,12 +52,12 @@ use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions needed for pezcumulus_pallet_teyrchain_system. +/// Weight functions needed for pezcumulus_pezpallet_teyrchain_system. pub trait WeightInfo { fn enqueue_inbound_downward_messages(n: u32, ) -> Weight; } -/// Weights for pezcumulus_pallet_teyrchain_system using the Bizinikiwi node and recommended hardware. +/// Weights for pezcumulus_pezpallet_teyrchain_system using the Bizinikiwi node and recommended hardware. pub struct BizinikiwiWeight(PhantomData); impl WeightInfo for BizinikiwiWeight { /// Storage: TeyrchainSystem LastDmqMqcHead (r:1 w:1) diff --git a/pezcumulus/pallets/weight-reclaim/Cargo.toml b/pezcumulus/pezpallets/weight-reclaim/Cargo.toml similarity index 100% rename from pezcumulus/pallets/weight-reclaim/Cargo.toml rename to pezcumulus/pezpallets/weight-reclaim/Cargo.toml diff --git a/pezcumulus/pallets/weight-reclaim/src/benchmarks.rs b/pezcumulus/pezpallets/weight-reclaim/src/benchmarks.rs similarity index 100% rename from pezcumulus/pallets/weight-reclaim/src/benchmarks.rs rename to pezcumulus/pezpallets/weight-reclaim/src/benchmarks.rs diff --git a/pezcumulus/pallets/weight-reclaim/src/lib.rs b/pezcumulus/pezpallets/weight-reclaim/src/lib.rs similarity index 100% rename from pezcumulus/pallets/weight-reclaim/src/lib.rs rename to pezcumulus/pezpallets/weight-reclaim/src/lib.rs diff --git a/pezcumulus/pallets/weight-reclaim/src/tests.rs b/pezcumulus/pezpallets/weight-reclaim/src/tests.rs similarity index 100% rename from pezcumulus/pallets/weight-reclaim/src/tests.rs rename to pezcumulus/pezpallets/weight-reclaim/src/tests.rs diff --git a/pezcumulus/pallets/weight-reclaim/src/weights.rs b/pezcumulus/pezpallets/weight-reclaim/src/weights.rs similarity index 87% rename from pezcumulus/pallets/weight-reclaim/src/weights.rs rename to pezcumulus/pezpallets/weight-reclaim/src/weights.rs index ad0c733a..8b68cc42 100644 --- a/pezcumulus/pallets/weight-reclaim/src/weights.rs +++ b/pezcumulus/pezpallets/weight-reclaim/src/weights.rs @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2024-08-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -31,7 +31,7 @@ // --chain // dev // --output -// pezcumulus/pallets/weight-reclaim/src/weights.rs +// pezcumulus/pezpallets/weight-reclaim/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs // --extrinsic @@ -45,12 +45,12 @@ use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions needed for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions needed for `pezcumulus_pezpallet_weight_reclaim`. pub trait WeightInfo { fn storage_weight_reclaim() -> Weight; } -/// Weights for `pezcumulus_pallet_weight_reclaim` using the Bizinikiwi node and recommended hardware. +/// Weights for `pezcumulus_pezpallet_weight_reclaim` using the Bizinikiwi node and recommended hardware. #[allow(dead_code)] pub struct BizinikiwiWeight(PhantomData); impl WeightInfo for BizinikiwiWeight { diff --git a/pezcumulus/pallets/xcm/Cargo.toml b/pezcumulus/pezpallets/xcm/Cargo.toml similarity index 100% rename from pezcumulus/pallets/xcm/Cargo.toml rename to pezcumulus/pezpallets/xcm/Cargo.toml diff --git a/pezcumulus/pallets/xcm/src/lib.rs b/pezcumulus/pezpallets/xcm/src/lib.rs similarity index 100% rename from pezcumulus/pallets/xcm/src/lib.rs rename to pezcumulus/pezpallets/xcm/src/lib.rs diff --git a/pezcumulus/pallets/xcmp-queue/Cargo.toml b/pezcumulus/pezpallets/xcmp-queue/Cargo.toml similarity index 100% rename from pezcumulus/pallets/xcmp-queue/Cargo.toml rename to pezcumulus/pezpallets/xcmp-queue/Cargo.toml diff --git a/pezcumulus/pallets/xcmp-queue/src/benchmarking.rs b/pezcumulus/pezpallets/xcmp-queue/src/benchmarking.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/benchmarking.rs rename to pezcumulus/pezpallets/xcmp-queue/src/benchmarking.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/bridging.rs b/pezcumulus/pezpallets/xcmp-queue/src/bridging.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/bridging.rs rename to pezcumulus/pezpallets/xcmp-queue/src/bridging.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/lib.rs b/pezcumulus/pezpallets/xcmp-queue/src/lib.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/lib.rs rename to pezcumulus/pezpallets/xcmp-queue/src/lib.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/migration.rs b/pezcumulus/pezpallets/xcmp-queue/src/migration.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/migration.rs rename to pezcumulus/pezpallets/xcmp-queue/src/migration.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/migration/v5.rs b/pezcumulus/pezpallets/xcmp-queue/src/migration/v5.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/migration/v5.rs rename to pezcumulus/pezpallets/xcmp-queue/src/migration/v5.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/mock.rs b/pezcumulus/pezpallets/xcmp-queue/src/mock.rs similarity index 96% rename from pezcumulus/pallets/xcmp-queue/src/mock.rs rename to pezcumulus/pezpallets/xcmp-queue/src/mock.rs index 80b0d7da..2760806a 100644 --- a/pezcumulus/pallets/xcmp-queue/src/mock.rs +++ b/pezcumulus/pezpallets/xcmp-queue/src/mock.rs @@ -17,7 +17,7 @@ use super::*; use crate as xcmp_queue; use alloc::collections::BTreeMap; use core::marker::PhantomData; -use pezcumulus_pallet_teyrchain_system::AnyRelayNumber; +use pezcumulus_pezpallet_teyrchain_system::AnyRelayNumber; use pezcumulus_primitives_core::{ChannelInfo, IsSystem, ParaId}; use pezframe_support::{ derive_impl, parameter_types, @@ -41,7 +41,7 @@ pezframe_support::construct_runtime!( { System: pezframe_system::{Pallet, Call, Config, Storage, Event}, Balances: pezpallet_balances::{Pallet, Call, Storage, Config, Event}, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system::{ + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system::{ Pallet, Call, Config, Storage, Inherent, Event, }, XcmpQueue: xcmp_queue::{Pallet, Call, Storage, Event}, @@ -76,7 +76,7 @@ impl pezframe_system::Config for Test { type OnKilledAccount = (); type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; } @@ -92,7 +92,7 @@ impl pezpallet_balances::Config for Test { type AccountStore = System; } -impl pezcumulus_pallet_teyrchain_system::Config for Test { +impl pezcumulus_pezpallet_teyrchain_system::Config for Test { type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -104,7 +104,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Test { type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = AnyRelayNumber; - type ConsensusHook = pezcumulus_pallet_teyrchain_system::consensus_hook::ExpectParentIncluded; + type ConsensusHook = pezcumulus_pezpallet_teyrchain_system::consensus_hook::ExpectParentIncluded; type RelayParentOffset = ConstU32<0>; } diff --git a/pezcumulus/pallets/xcmp-queue/src/tests.rs b/pezcumulus/pezpallets/xcmp-queue/src/tests.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/tests.rs rename to pezcumulus/pezpallets/xcmp-queue/src/tests.rs diff --git a/pezcumulus/pallets/xcmp-queue/src/weights.rs b/pezcumulus/pezpallets/xcmp-queue/src/weights.rs similarity index 98% rename from pezcumulus/pallets/xcmp-queue/src/weights.rs rename to pezcumulus/pezpallets/xcmp-queue/src/weights.rs index 3d533ce6..57cb336e 100644 --- a/pezcumulus/pallets/xcmp-queue/src/weights.rs +++ b/pezcumulus/pezpallets/xcmp-queue/src/weights.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -30,7 +30,7 @@ // --chain // asset-hub-zagros-dev // --output -// pezcumulus/pallets/xcmp-queue/src/weights.rs +// pezcumulus/pezpallets/xcmp-queue/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs // --extrinsic @@ -45,7 +45,7 @@ use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions needed for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions needed for `pezcumulus_pezpallet_xcmp_queue`. pub trait WeightInfo { fn set_config_with_u32() -> Weight; fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight; @@ -60,7 +60,7 @@ pub trait WeightInfo { fn on_idle_large_msg() -> Weight; } -/// Weights for `pezcumulus_pallet_xcmp_queue` using the Bizinikiwi node and recommended hardware. +/// Weights for `pezcumulus_pezpallet_xcmp_queue` using the Bizinikiwi node and recommended hardware. pub struct BizinikiwiWeight(PhantomData); impl WeightInfo for BizinikiwiWeight { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) diff --git a/pezcumulus/pallets/xcmp-queue/src/weights_ext.rs b/pezcumulus/pezpallets/xcmp-queue/src/weights_ext.rs similarity index 100% rename from pezcumulus/pallets/xcmp-queue/src/weights_ext.rs rename to pezcumulus/pezpallets/xcmp-queue/src/weights_ext.rs diff --git a/pezcumulus/test/runtime/src/lib.rs b/pezcumulus/test/runtime/src/lib.rs index ed73175a..3081b106 100644 --- a/pezcumulus/test/runtime/src/lib.rs +++ b/pezcumulus/test/runtime/src/lib.rs @@ -275,12 +275,12 @@ impl pezframe_system::Config for Runtime { type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = SingleBlockMigrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { type WeightInfo = (); } @@ -294,7 +294,7 @@ parameter_types! { pub const Offset: u32 = 0; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} impl pezpallet_timestamp::Config for Runtime { /// A timestamp: milliseconds since the unix epoch. @@ -359,13 +359,13 @@ const RELAY_PARENT_OFFSET: u32 = 2; #[cfg(not(feature = "relay-parent-offset"))] const RELAY_PARENT_OFFSET: u32 = 0; -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type WeightInfo = (); type SelfParaId = teyrchain_info::Pallet; type RuntimeEvent = RuntimeEvent; @@ -377,7 +377,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type XcmpMessageHandler = (); type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = - pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; + pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type RelayParentOffset = ConstU32; } @@ -401,7 +401,7 @@ construct_runtime! { pub enum Runtime { System: pezframe_system, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system, Timestamp: pezpallet_timestamp, TeyrchainInfo: teyrchain_info, Balances: pezpallet_balances, @@ -410,8 +410,8 @@ construct_runtime! { TestPallet: test_pallet, Glutton: pezpallet_glutton, Aura: pezpallet_aura, - AuraExt: pezcumulus_pallet_aura_ext, - WeightReclaim: pezcumulus_pallet_weight_reclaim, + AuraExt: pezcumulus_pezpallet_aura_ext, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim, } } @@ -442,7 +442,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -638,7 +638,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/test/runtime/src/test_pallet.rs b/pezcumulus/test/runtime/src/test_pallet.rs index 66f8a944..629e1cf5 100644 --- a/pezcumulus/test/runtime/src/test_pallet.rs +++ b/pezcumulus/test/runtime/src/test_pallet.rs @@ -32,7 +32,7 @@ pub mod pallet { pub struct Pallet(_); #[pallet::config] - pub trait Config: pezframe_system::Config + pezcumulus_pallet_teyrchain_system::Config {} + pub trait Config: pezframe_system::Config + pezcumulus_pezpallet_teyrchain_system::Config {} /// A simple storage map for testing purposes. #[pallet::storage] @@ -49,7 +49,7 @@ pub mod pallet { _: OriginFor, custom_header: alloc::vec::Vec, ) -> DispatchResult { - pezcumulus_pallet_teyrchain_system::Pallet::::set_custom_validation_head_data( + pezcumulus_pezpallet_teyrchain_system::Pallet::::set_custom_validation_head_data( custom_header, ); Ok(()) diff --git a/pezcumulus/test/service/src/bench_utils.rs b/pezcumulus/test/service/src/bench_utils.rs index b0d793b9..e5e673fa 100644 --- a/pezcumulus/test/service/src/bench_utils.rs +++ b/pezcumulus/test/service/src/bench_utils.rs @@ -19,7 +19,7 @@ use codec::Encode; use pezsc_block_builder::BlockBuilderBuilder; use crate::{construct_extrinsic, Client as TestClient}; -use pezcumulus_pallet_teyrchain_system::teyrchain_inherent::{ +use pezcumulus_pezpallet_teyrchain_system::teyrchain_inherent::{ BasicTeyrchainInherentData, InboundMessagesData, }; use pezcumulus_primitives_core::{relay_chain::AccountId, PersistedValidationData}; @@ -109,7 +109,7 @@ pub fn extrinsic_set_validation_data( pezcumulus_test_runtime::UncheckedExtrinsic::new_bare( pezcumulus_test_runtime::RuntimeCall::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Call::set_validation_data { + pezcumulus_pezpallet_teyrchain_system::Call::set_validation_data { data, inbound_messages_data, }, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/pezkuwichain/src/lib.rs index 1767a54e..b1352ab1 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/pezkuwichain/src/lib.rs @@ -20,7 +20,7 @@ pub mod genesis; use emulated_integration_tests_common::{ impl_accounts_helpers_for_relay_chain, impl_assert_events_helpers_for_relay_chain, impl_hrmp_channels_helpers_for_relay_chain, impl_send_transact_helpers_for_relay_chain, - xcm_emulator::decl_test_relay_chains, + xcm_pez_emulator::decl_test_relay_chains, }; // Pezkuwichain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros/src/lib.rs index 5c735b5b..bf287251 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros/src/lib.rs @@ -20,7 +20,7 @@ pub mod genesis; use emulated_integration_tests_common::{ impl_accounts_helpers_for_relay_chain, impl_assert_events_helpers_for_relay_chain, impl_hrmp_channels_helpers_for_relay_chain, impl_send_transact_helpers_for_relay_chain, - xcm_emulator::decl_test_relay_chains, + xcm_pez_emulator::decl_test_relay_chains, }; // Zagros declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/genesis.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/genesis.rs index a8d15549..7d8e5895 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/genesis.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/genesis.rs @@ -22,7 +22,7 @@ use pezsp_keyring::Sr25519Keyring as Keyring; use emulated_integration_tests_common::{ accounts, build_genesis_storage, collators, snowbridge::{ETHER_MIN_BALANCE, WETH}, - xcm_emulator::ConvertLocation, + xcm_pez_emulator::ConvertLocation, PenpalALocation, PenpalASiblingSovereignAccount, PenpalATeleportableAssetLocation, PenpalBLocation, PenpalBSiblingSovereignAccount, PenpalBTeleportableAssetLocation, RESERVABLE_ASSET_ID, SAFE_XCM_VERSION, USDT_ID, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/lib.rs index 35fc2d2f..d217675f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain/src/lib.rs @@ -26,7 +26,7 @@ use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, impl_assets_helpers_for_system_teyrchain, impl_assets_helpers_for_teyrchain, impl_bridge_helpers_for_chain, impl_foreign_assets_helpers_for_teyrchain, - impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_emulator::decl_test_teyrchains, + impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; use pezkuwichain_emulated_chain::Pezkuwichain; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/genesis.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/genesis.rs index 5431e226..f63b1e92 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/genesis.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/genesis.rs @@ -22,7 +22,7 @@ use pezsp_keyring::Sr25519Keyring as Keyring; use emulated_integration_tests_common::{ accounts, build_genesis_storage, collators, snowbridge::{ETHER_MIN_BALANCE, WETH}, - xcm_emulator::ConvertLocation, + xcm_pez_emulator::ConvertLocation, PenpalALocation, PenpalASiblingSovereignAccount, PenpalATeleportableAssetLocation, PenpalBLocation, PenpalBSiblingSovereignAccount, PenpalBTeleportableAssetLocation, RESERVABLE_ASSET_ID, SAFE_XCM_VERSION, USDT_ID, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/lib.rs index 5fd06021..bcd8acbb 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros/src/lib.rs @@ -26,7 +26,7 @@ use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, impl_assets_helpers_for_system_teyrchain, impl_assets_helpers_for_teyrchain, impl_bridge_helpers_for_chain, impl_foreign_assets_helpers_for_teyrchain, - impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_emulator::decl_test_teyrchains, + impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; use zagros_emulated_chain::Zagros; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/Cargo.toml index 870f5c65..1949b3e9 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bridge-hub-pezkuwichain-emulated-chain" +name = "pezbridge-hub-pezkuwichain-emulated-chain" version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" description = "Bridge Hub Pezkuwichain emulated chain" publish = false -documentation = "https://docs.rs/bridge-hub-pezkuwichain-emulated-chain" +documentation = "https://docs.rs/pezbridge-hub-pezkuwichain-emulated-chain" repository = { workspace = true } homepage = { workspace = true } @@ -27,7 +27,7 @@ bp-messages = { workspace = true } # Pezcumulus bridge-hub-common = { workspace = true } -bridge-hub-pezkuwichain-runtime = { workspace = true, default-features = true } +pezbridge-hub-pezkuwichain-runtime = { workspace = true, default-features = true } emulated-integration-tests-common = { workspace = true } testnet-teyrchains-constants = { features = [ "pezkuwichain", @@ -38,7 +38,7 @@ teyrchains-common = { workspace = true, default-features = true } runtime-benchmarks = [ "bp-messages/runtime-benchmarks", "bridge-hub-common/runtime-benchmarks", - "bridge-hub-pezkuwichain-runtime/runtime-benchmarks", + "pezbridge-hub-pezkuwichain-runtime/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/genesis.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/genesis.rs index 517186f9..cb48d121 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/genesis.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/genesis.rs @@ -29,47 +29,47 @@ pub const PARA_ID: u32 = 1002; pub const ED: Balance = testnet_teyrchains_constants::pezkuwichain::currency::EXISTENTIAL_DEPOSIT; pub fn genesis() -> Storage { - let genesis_config = bridge_hub_pezkuwichain_runtime::RuntimeGenesisConfig { - system: bridge_hub_pezkuwichain_runtime::SystemConfig::default(), - balances: bridge_hub_pezkuwichain_runtime::BalancesConfig { + let genesis_config = pezbridge_hub_pezkuwichain_runtime::RuntimeGenesisConfig { + system: pezbridge_hub_pezkuwichain_runtime::SystemConfig::default(), + balances: pezbridge_hub_pezkuwichain_runtime::BalancesConfig { balances: accounts::init_balances().iter().cloned().map(|k| (k, ED * 4096)).collect(), ..Default::default() }, - teyrchain_info: bridge_hub_pezkuwichain_runtime::TeyrchainInfoConfig { + teyrchain_info: pezbridge_hub_pezkuwichain_runtime::TeyrchainInfoConfig { teyrchain_id: PARA_ID.into(), ..Default::default() }, - collator_selection: bridge_hub_pezkuwichain_runtime::CollatorSelectionConfig { + collator_selection: pezbridge_hub_pezkuwichain_runtime::CollatorSelectionConfig { invulnerables: collators::invulnerables().iter().cloned().map(|(acc, _)| acc).collect(), candidacy_bond: ED * 16, ..Default::default() }, - session: bridge_hub_pezkuwichain_runtime::SessionConfig { + session: pezbridge_hub_pezkuwichain_runtime::SessionConfig { keys: collators::invulnerables() .into_iter() .map(|(acc, aura)| { ( acc.clone(), // account id acc, // validator id - bridge_hub_pezkuwichain_runtime::SessionKeys { aura }, // session keys + pezbridge_hub_pezkuwichain_runtime::SessionKeys { aura }, // session keys ) }) .collect(), ..Default::default() }, - pezkuwi_xcm: bridge_hub_pezkuwichain_runtime::PezkuwiXcmConfig { + pezkuwi_xcm: pezbridge_hub_pezkuwichain_runtime::PezkuwiXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), ..Default::default() }, - bridge_zagros_grandpa: bridge_hub_pezkuwichain_runtime::BridgeZagrosGrandpaConfig { + bridge_zagros_grandpa: pezbridge_hub_pezkuwichain_runtime::BridgeZagrosGrandpaConfig { owner: Some(Keyring::Bob.to_account_id()), ..Default::default() }, - bridge_zagros_messages: bridge_hub_pezkuwichain_runtime::BridgeZagrosMessagesConfig { + bridge_zagros_messages: pezbridge_hub_pezkuwichain_runtime::BridgeZagrosMessagesConfig { owner: Some(Keyring::Bob.to_account_id()), ..Default::default() }, - xcm_over_bridge_hub_zagros: bridge_hub_pezkuwichain_runtime::XcmOverBridgeHubZagrosConfig { + xcm_over_bridge_hub_zagros: pezbridge_hub_pezkuwichain_runtime::XcmOverBridgeHubZagrosConfig { opened_bridges: vec![ // open AHR -> AHW bridge ( @@ -80,7 +80,7 @@ pub fn genesis() -> Storage { ], ..Default::default() }, - ethereum_system: bridge_hub_pezkuwichain_runtime::EthereumSystemConfig { + ethereum_system: pezbridge_hub_pezkuwichain_runtime::EthereumSystemConfig { para_id: PARA_ID.into(), asset_hub_para_id: ASSETHUB_PARA_ID.into(), ..Default::default() @@ -90,7 +90,7 @@ pub fn genesis() -> Storage { build_genesis_storage( &genesis_config, - bridge_hub_pezkuwichain_runtime::WASM_BINARY + pezbridge_hub_pezkuwichain_runtime::WASM_BINARY .expect("WASM binary was not built, please build it!"), ) } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/lib.rs index a92eff40..5d4e7895 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-pezkuwichain/src/lib.rs @@ -15,8 +15,8 @@ pub mod genesis; -pub use bridge_hub_pezkuwichain_runtime::{ - self as bridge_hub_pezkuwichain_runtime, +pub use pezbridge_hub_pezkuwichain_runtime::{ + self as pezbridge_hub_pezkuwichain_runtime, xcm_config::XcmConfig as BridgeHubPezkuwichainXcmConfig, EthereumBeaconClient, EthereumInboundQueue, ExistentialDeposit as BridgeHubPezkuwichainExistentialDeposit, RuntimeOrigin as BridgeHubPezkuwichainRuntimeOrigin, @@ -28,7 +28,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_emulator::decl_test_teyrchains, + impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; @@ -37,22 +37,22 @@ decl_test_teyrchains! { pub struct BridgeHubPezkuwichain { genesis = genesis::genesis(), on_init = { - bridge_hub_pezkuwichain_runtime::AuraExt::on_initialize(1); + pezbridge_hub_pezkuwichain_runtime::AuraExt::on_initialize(1); }, - runtime = bridge_hub_pezkuwichain_runtime, + runtime = pezbridge_hub_pezkuwichain_runtime, core = { - XcmpMessageHandler: bridge_hub_pezkuwichain_runtime::XcmpQueue, - LocationToAccountId: bridge_hub_pezkuwichain_runtime::xcm_config::LocationToAccountId, - TeyrchainInfo: bridge_hub_pezkuwichain_runtime::TeyrchainInfo, + XcmpMessageHandler: pezbridge_hub_pezkuwichain_runtime::XcmpQueue, + LocationToAccountId: pezbridge_hub_pezkuwichain_runtime::xcm_config::LocationToAccountId, + TeyrchainInfo: pezbridge_hub_pezkuwichain_runtime::TeyrchainInfo, MessageOrigin: bridge_hub_common::AggregateMessageOrigin, DigestProvider: AuraDigestProvider, }, pallets = { - PezkuwiXcm: bridge_hub_pezkuwichain_runtime::PezkuwiXcm, - Balances: bridge_hub_pezkuwichain_runtime::Balances, - EthereumSystem: bridge_hub_pezkuwichain_runtime::EthereumSystem, - EthereumInboundQueue: bridge_hub_pezkuwichain_runtime::EthereumInboundQueue, - EthereumOutboundQueue: bridge_hub_pezkuwichain_runtime::EthereumOutboundQueue, + PezkuwiXcm: pezbridge_hub_pezkuwichain_runtime::PezkuwiXcm, + Balances: pezbridge_hub_pezkuwichain_runtime::Balances, + EthereumSystem: pezbridge_hub_pezkuwichain_runtime::EthereumSystem, + EthereumInboundQueue: pezbridge_hub_pezkuwichain_runtime::EthereumInboundQueue, + EthereumOutboundQueue: pezbridge_hub_pezkuwichain_runtime::EthereumOutboundQueue, } }, } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/Cargo.toml index ac156537..0768834f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bridge-hub-zagros-emulated-chain" +name = "pezbridge-hub-zagros-emulated-chain" version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" description = "Bridge Hub Zagros emulated chain" publish = false -documentation = "https://docs.rs/bridge-hub-zagros-emulated-chain" +documentation = "https://docs.rs/pezbridge-hub-zagros-emulated-chain" repository = { workspace = true } homepage = { workspace = true } @@ -27,7 +27,7 @@ bp-messages = { workspace = true } # Pezcumulus bridge-hub-common = { workspace = true } -bridge-hub-zagros-runtime = { workspace = true, default-features = true } +pezbridge-hub-zagros-runtime = { workspace = true, default-features = true } emulated-integration-tests-common = { workspace = true } testnet-teyrchains-constants = { features = [ "zagros", @@ -38,7 +38,7 @@ teyrchains-common = { workspace = true, default-features = true } runtime-benchmarks = [ "bp-messages/runtime-benchmarks", "bridge-hub-common/runtime-benchmarks", - "bridge-hub-zagros-runtime/runtime-benchmarks", + "pezbridge-hub-zagros-runtime/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/genesis.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/genesis.rs index a9721597..0081a0a6 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/genesis.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/genesis.rs @@ -29,48 +29,48 @@ pub const ASSETHUB_PARA_ID: u32 = 1000; pub const ED: Balance = testnet_teyrchains_constants::zagros::currency::EXISTENTIAL_DEPOSIT; pub fn genesis() -> Storage { - let genesis_config = bridge_hub_zagros_runtime::RuntimeGenesisConfig { - system: bridge_hub_zagros_runtime::SystemConfig::default(), - balances: bridge_hub_zagros_runtime::BalancesConfig { + let genesis_config = pezbridge_hub_zagros_runtime::RuntimeGenesisConfig { + system: pezbridge_hub_zagros_runtime::SystemConfig::default(), + balances: pezbridge_hub_zagros_runtime::BalancesConfig { balances: accounts::init_balances().iter().cloned().map(|k| (k, ED * 4096)).collect(), ..Default::default() }, - teyrchain_info: bridge_hub_zagros_runtime::TeyrchainInfoConfig { + teyrchain_info: pezbridge_hub_zagros_runtime::TeyrchainInfoConfig { teyrchain_id: PARA_ID.into(), ..Default::default() }, - collator_selection: bridge_hub_zagros_runtime::CollatorSelectionConfig { + collator_selection: pezbridge_hub_zagros_runtime::CollatorSelectionConfig { invulnerables: collators::invulnerables().iter().cloned().map(|(acc, _)| acc).collect(), candidacy_bond: ED * 16, ..Default::default() }, - session: bridge_hub_zagros_runtime::SessionConfig { + session: pezbridge_hub_zagros_runtime::SessionConfig { keys: collators::invulnerables() .into_iter() .map(|(acc, aura)| { ( acc.clone(), // account id acc, // validator id - bridge_hub_zagros_runtime::SessionKeys { aura }, // session keys + pezbridge_hub_zagros_runtime::SessionKeys { aura }, // session keys ) }) .collect(), ..Default::default() }, - pezkuwi_xcm: bridge_hub_zagros_runtime::PezkuwiXcmConfig { + pezkuwi_xcm: pezbridge_hub_zagros_runtime::PezkuwiXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), ..Default::default() }, - bridge_pezkuwichain_grandpa: bridge_hub_zagros_runtime::BridgePezkuwichainGrandpaConfig { + bridge_pezkuwichain_grandpa: pezbridge_hub_zagros_runtime::BridgePezkuwichainGrandpaConfig { owner: Some(Keyring::Bob.to_account_id()), ..Default::default() }, - bridge_pezkuwichain_messages: bridge_hub_zagros_runtime::BridgePezkuwichainMessagesConfig { + bridge_pezkuwichain_messages: pezbridge_hub_zagros_runtime::BridgePezkuwichainMessagesConfig { owner: Some(Keyring::Bob.to_account_id()), ..Default::default() }, xcm_over_bridge_hub_pezkuwichain: - bridge_hub_zagros_runtime::XcmOverBridgeHubPezkuwichainConfig { + pezbridge_hub_zagros_runtime::XcmOverBridgeHubPezkuwichainConfig { opened_bridges: vec![ // open AHW -> AHR bridge ( @@ -84,7 +84,7 @@ pub fn genesis() -> Storage { ], ..Default::default() }, - ethereum_system: bridge_hub_zagros_runtime::EthereumSystemConfig { + ethereum_system: pezbridge_hub_zagros_runtime::EthereumSystemConfig { para_id: PARA_ID.into(), asset_hub_para_id: ASSETHUB_PARA_ID.into(), ..Default::default() @@ -94,7 +94,7 @@ pub fn genesis() -> Storage { build_genesis_storage( &genesis_config, - bridge_hub_zagros_runtime::WASM_BINARY + pezbridge_hub_zagros_runtime::WASM_BINARY .expect("WASM binary was not built, please build it!"), ) } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/lib.rs index db86d194..24673e19 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/bridges/bridge-hub-zagros/src/lib.rs @@ -15,7 +15,7 @@ pub mod genesis; -pub use bridge_hub_zagros_runtime::{ +pub use pezbridge_hub_zagros_runtime::{ self, xcm_config::XcmConfig as BridgeHubZagrosXcmConfig, ExistentialDeposit as BridgeHubZagrosExistentialDeposit, RuntimeOrigin as BridgeHubZagrosRuntimeOrigin, @@ -27,7 +27,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_emulator::decl_test_teyrchains, + impl_xcm_helpers_for_teyrchain, impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; @@ -36,24 +36,24 @@ decl_test_teyrchains! { pub struct BridgeHubZagros { genesis = genesis::genesis(), on_init = { - bridge_hub_zagros_runtime::AuraExt::on_initialize(1); + pezbridge_hub_zagros_runtime::AuraExt::on_initialize(1); }, - runtime = bridge_hub_zagros_runtime, + runtime = pezbridge_hub_zagros_runtime, core = { - XcmpMessageHandler: bridge_hub_zagros_runtime::XcmpQueue, - LocationToAccountId: bridge_hub_zagros_runtime::xcm_config::LocationToAccountId, - TeyrchainInfo: bridge_hub_zagros_runtime::TeyrchainInfo, + XcmpMessageHandler: pezbridge_hub_zagros_runtime::XcmpQueue, + LocationToAccountId: pezbridge_hub_zagros_runtime::xcm_config::LocationToAccountId, + TeyrchainInfo: pezbridge_hub_zagros_runtime::TeyrchainInfo, MessageOrigin: bridge_hub_common::AggregateMessageOrigin, DigestProvider: AuraDigestProvider, }, pallets = { - PezkuwiXcm: bridge_hub_zagros_runtime::PezkuwiXcm, - Balances: bridge_hub_zagros_runtime::Balances, - EthereumSystem: bridge_hub_zagros_runtime::EthereumSystem, - EthereumInboundQueue: bridge_hub_zagros_runtime::EthereumInboundQueue, - EthereumOutboundQueue: bridge_hub_zagros_runtime::EthereumOutboundQueue, - EthereumSystemV2: bridge_hub_zagros_runtime::EthereumSystemV2, - BridgeRelayers: bridge_hub_zagros_runtime::BridgeRelayers, + PezkuwiXcm: pezbridge_hub_zagros_runtime::PezkuwiXcm, + Balances: pezbridge_hub_zagros_runtime::Balances, + EthereumSystem: pezbridge_hub_zagros_runtime::EthereumSystem, + EthereumInboundQueue: pezbridge_hub_zagros_runtime::EthereumInboundQueue, + EthereumOutboundQueue: pezbridge_hub_zagros_runtime::EthereumOutboundQueue, + EthereumSystemV2: pezbridge_hub_zagros_runtime::EthereumSystemV2, + BridgeRelayers: pezbridge_hub_zagros_runtime::BridgeRelayers, } }, } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros/src/lib.rs index 54918bfd..722a3b4b 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros/src/lib.rs @@ -23,7 +23,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impls::Teyrchain, xcm_emulator::decl_test_teyrchains, AuraDigestProvider, + impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; // CollectivesZagros Teyrchain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain/src/lib.rs index 5453185f..52223ff2 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain/src/lib.rs @@ -23,7 +23,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impls::Teyrchain, xcm_emulator::decl_test_teyrchains, AuraDigestProvider, + impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; // CoretimePezkuwichain Teyrchain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros/src/lib.rs index fd435941..39594cee 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros/src/lib.rs @@ -23,7 +23,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impls::Teyrchain, xcm_emulator::decl_test_teyrchains, AuraDigestProvider, + impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; // CoretimeZagros Teyrchain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain/src/lib.rs index a33bdf60..9fb129ed 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain/src/lib.rs @@ -22,7 +22,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impls::Teyrchain, xcm_emulator::decl_test_teyrchains, AuraDigestProvider, + impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; // PeoplePezkuwichain Teyrchain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros/src/lib.rs index 098afad8..9ceed00e 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros/src/lib.rs @@ -22,7 +22,7 @@ use pezframe_support::traits::OnInitialize; // Pezcumulus use emulated_integration_tests_common::{ impl_accounts_helpers_for_teyrchain, impl_assert_events_helpers_for_teyrchain, - impls::Teyrchain, xcm_emulator::decl_test_teyrchains, AuraDigestProvider, + impls::Teyrchain, xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; // PeopleZagros Teyrchain declaration diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/Cargo.toml index a35c6f0d..f98cfb42 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "penpal-emulated-chain" +name = "pez-penpal-emulated-chain" version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" description = "Penpal emulated chain" publish = false -documentation = "https://docs.rs/penpal-emulated-chain" +documentation = "https://docs.rs/pez-penpal-emulated-chain" repository = { workspace = true } homepage = { workspace = true } @@ -25,7 +25,7 @@ xcm = { workspace = true } # Pezcumulus pezcumulus-primitives-core = { workspace = true } emulated-integration-tests-common = { workspace = true } -penpal-runtime = { workspace = true } +pez-penpal-runtime = { workspace = true } teyrchains-common = { workspace = true, default-features = true } [features] @@ -33,7 +33,7 @@ runtime-benchmarks = [ "pezcumulus-primitives-core/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", - "penpal-runtime/runtime-benchmarks", + "pez-penpal-runtime/runtime-benchmarks", "pezsp-keyring/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", "xcm/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/genesis.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/genesis.rs index 88592a2d..826d04f6 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/genesis.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/genesis.rs @@ -22,12 +22,12 @@ use pezsp_keyring::Sr25519Keyring as Keyring; use emulated_integration_tests_common::{ accounts, build_genesis_storage, collators, SAFE_XCM_VERSION, }; -use penpal_runtime::xcm_config::{LocalReservableFromAssetHub, RelayLocation, UsdtFromAssetHub}; +use pez_penpal_runtime::xcm_config::{LocalReservableFromAssetHub, RelayLocation, UsdtFromAssetHub}; use teyrchains_common::{AccountId, Balance}; // Penpal pub const PARA_ID_A: u32 = 2000; pub const PARA_ID_B: u32 = 2001; -pub const ED: Balance = penpal_runtime::EXISTENTIAL_DEPOSIT; +pub const ED: Balance = pez_penpal_runtime::EXISTENTIAL_DEPOSIT; pub const USDT_ED: Balance = 70_000; parameter_types! { @@ -36,49 +36,49 @@ parameter_types! { } pub fn genesis(para_id: u32) -> Storage { - let genesis_config = penpal_runtime::RuntimeGenesisConfig { - system: penpal_runtime::SystemConfig::default(), - balances: penpal_runtime::BalancesConfig { + let genesis_config = pez_penpal_runtime::RuntimeGenesisConfig { + system: pez_penpal_runtime::SystemConfig::default(), + balances: pez_penpal_runtime::BalancesConfig { balances: accounts::init_balances().iter().cloned().map(|k| (k, ED * 4096)).collect(), ..Default::default() }, - teyrchain_info: penpal_runtime::TeyrchainInfoConfig { + teyrchain_info: pez_penpal_runtime::TeyrchainInfoConfig { teyrchain_id: para_id.into(), ..Default::default() }, - collator_selection: penpal_runtime::CollatorSelectionConfig { + collator_selection: pez_penpal_runtime::CollatorSelectionConfig { invulnerables: collators::invulnerables().iter().cloned().map(|(acc, _)| acc).collect(), candidacy_bond: ED * 16, ..Default::default() }, - session: penpal_runtime::SessionConfig { + session: pez_penpal_runtime::SessionConfig { keys: collators::invulnerables() .into_iter() .map(|(acc, aura)| { ( acc.clone(), // account id acc, // validator id - penpal_runtime::SessionKeys { aura }, // session keys + pez_penpal_runtime::SessionKeys { aura }, // session keys ) }) .collect(), ..Default::default() }, - pezkuwi_xcm: penpal_runtime::PezkuwiXcmConfig { + pezkuwi_xcm: pez_penpal_runtime::PezkuwiXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), ..Default::default() }, - sudo: penpal_runtime::SudoConfig { key: Some(PenpalSudoAccount::get()) }, - assets: penpal_runtime::AssetsConfig { + sudo: pez_penpal_runtime::SudoConfig { key: Some(PenpalSudoAccount::get()) }, + assets: pez_penpal_runtime::AssetsConfig { assets: vec![( - penpal_runtime::xcm_config::TELEPORTABLE_ASSET_ID, + pez_penpal_runtime::xcm_config::TELEPORTABLE_ASSET_ID, PenpalAssetOwner::get(), false, ED, )], ..Default::default() }, - foreign_assets: penpal_runtime::ForeignAssetsConfig { + foreign_assets: pez_penpal_runtime::ForeignAssetsConfig { assets: vec![ // Relay Native asset representation (RelayLocation::get(), PenpalAssetOwner::get(), true, ED), @@ -94,6 +94,6 @@ pub fn genesis(para_id: u32) -> Storage { build_genesis_storage( &genesis_config, - penpal_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), + pez_penpal_runtime::WASM_BINARY.expect("WASM binary was not built, please build it!"), ) } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/lib.rs index c87bd820..c42ef655 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal/src/lib.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub use penpal_runtime::{ +pub use pez_penpal_runtime::{ self, xcm_config::RelayNetworkId as PenpalRelayNetworkId, ForeignAssetReserveData, }; @@ -30,7 +30,7 @@ use emulated_integration_tests_common::{ impl_assets_helpers_for_teyrchain, impl_foreign_assets_helpers_for_teyrchain, impl_xcm_helpers_for_teyrchain, impls::{NetworkId, Teyrchain}, - xcm_emulator::decl_test_teyrchains, + xcm_pez_emulator::decl_test_teyrchains, AuraDigestProvider, }; @@ -42,51 +42,51 @@ decl_test_teyrchains! { pub struct PenpalA { genesis = genesis(PARA_ID_A), on_init = { - penpal_runtime::AuraExt::on_initialize(1); - pezframe_support::assert_ok!(penpal_runtime::System::set_storage( - penpal_runtime::RuntimeOrigin::root(), + pez_penpal_runtime::AuraExt::on_initialize(1); + pezframe_support::assert_ok!(pez_penpal_runtime::System::set_storage( + pez_penpal_runtime::RuntimeOrigin::root(), vec![(PenpalRelayNetworkId::key().to_vec(), NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH).encode())], )); }, - runtime = penpal_runtime, + runtime = pez_penpal_runtime, core = { - XcmpMessageHandler: penpal_runtime::XcmpQueue, - LocationToAccountId: penpal_runtime::xcm_config::LocationToAccountId, - TeyrchainInfo: penpal_runtime::TeyrchainInfo, + XcmpMessageHandler: pez_penpal_runtime::XcmpQueue, + LocationToAccountId: pez_penpal_runtime::xcm_config::LocationToAccountId, + TeyrchainInfo: pez_penpal_runtime::TeyrchainInfo, MessageOrigin: pezcumulus_primitives_core::AggregateMessageOrigin, DigestProvider: AuraDigestProvider, }, pallets = { - PezkuwiXcm: penpal_runtime::PezkuwiXcm, - Assets: penpal_runtime::Assets, - ForeignAssets: penpal_runtime::ForeignAssets, - AssetConversion: penpal_runtime::AssetConversion, - Balances: penpal_runtime::Balances, + PezkuwiXcm: pez_penpal_runtime::PezkuwiXcm, + Assets: pez_penpal_runtime::Assets, + ForeignAssets: pez_penpal_runtime::ForeignAssets, + AssetConversion: pez_penpal_runtime::AssetConversion, + Balances: pez_penpal_runtime::Balances, } }, pub struct PenpalB { genesis = genesis(PARA_ID_B), on_init = { - penpal_runtime::AuraExt::on_initialize(1); - pezframe_support::assert_ok!(penpal_runtime::System::set_storage( - penpal_runtime::RuntimeOrigin::root(), + pez_penpal_runtime::AuraExt::on_initialize(1); + pezframe_support::assert_ok!(pez_penpal_runtime::System::set_storage( + pez_penpal_runtime::RuntimeOrigin::root(), vec![(PenpalRelayNetworkId::key().to_vec(), NetworkId::ByGenesis(ZAGROS_GENESIS_HASH).encode())], )); }, - runtime = penpal_runtime, + runtime = pez_penpal_runtime, core = { - XcmpMessageHandler: penpal_runtime::XcmpQueue, - LocationToAccountId: penpal_runtime::xcm_config::LocationToAccountId, - TeyrchainInfo: penpal_runtime::TeyrchainInfo, + XcmpMessageHandler: pez_penpal_runtime::XcmpQueue, + LocationToAccountId: pez_penpal_runtime::xcm_config::LocationToAccountId, + TeyrchainInfo: pez_penpal_runtime::TeyrchainInfo, MessageOrigin: pezcumulus_primitives_core::AggregateMessageOrigin, DigestProvider: AuraDigestProvider, }, pallets = { - PezkuwiXcm: penpal_runtime::PezkuwiXcm, - Assets: penpal_runtime::Assets, - ForeignAssets: penpal_runtime::ForeignAssets, - AssetConversion: penpal_runtime::AssetConversion, - Balances: penpal_runtime::Balances, + PezkuwiXcm: pez_penpal_runtime::PezkuwiXcm, + Assets: pez_penpal_runtime::Assets, + ForeignAssets: pez_penpal_runtime::ForeignAssets, + AssetConversion: pez_penpal_runtime::AssetConversion, + Balances: pez_penpal_runtime::Balances, } }, } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/common/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/common/Cargo.toml index f0c1263c..3ec936c7 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/common/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/common/Cargo.toml @@ -4,7 +4,7 @@ version = "3.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Common resources for integration testing with xcm-emulator" +description = "Common resources for integration testing with xcm-pez-emulator" homepage.workspace = true repository.workspace = true documentation = "https://docs.rs/emulated-integration-tests-common" @@ -44,16 +44,16 @@ pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } -xcm-runtime-apis = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-runtime-pezapis = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } # Pezcumulus -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezcumulus-pezpallet-teyrchain-system = { workspace = true, default-features = true } pezcumulus-pezpallet-xcmp-queue = { workspace = true, default-features = true } pezcumulus-primitives-core = { workspace = true, default-features = true } teyrchains-common = { workspace = true, default-features = true } -xcm-emulator = { workspace = true, default-features = true } +xcm-pez-emulator = { workspace = true, default-features = true } # Bridges bp-messages = { workspace = true, default-features = true } @@ -63,7 +63,7 @@ pezpallet-xcm-bridge-hub = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-xcm-bridge-hub/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", @@ -90,9 +90,9 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", - "xcm-emulator/runtime-benchmarks", + "xcm-pez-emulator/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/common/src/impls.rs b/pezcumulus/teyrchains/integration-tests/emulated/common/src/impls.rs index 44d345c7..19e94c0f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/common/src/impls.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/common/src/impls.rs @@ -46,14 +46,14 @@ pub use xcm::{ }; // Pezcumulus -pub use pezcumulus_pallet_teyrchain_system; -pub use pezcumulus_pallet_xcmp_queue; +pub use pezcumulus_pezpallet_teyrchain_system; +pub use pezcumulus_pezpallet_xcmp_queue; pub use pezcumulus_primitives_core::{ relay_chain::HrmpChannelId, DmpMessageHandler, Junction, Junctions, NetworkId, ParaId, XcmpMessageHandler, }; pub use teyrchains_common::{AccountId, Balance}; -pub use xcm_emulator::{ +pub use xcm_pez_emulator::{ assert_expected_events, bx, helpers::weight_within_threshold, BridgeLaneId, BridgeMessage, BridgeMessageDispatchError, BridgeMessageHandler, Chain, Network, RelayChain, TestExt, Teyrchain, @@ -516,7 +516,7 @@ macro_rules! impl_assert_events_helpers_for_teyrchain { Self, vec![ [<$chain RuntimeEvent>]::::TeyrchainSystem( - $crate::impls::pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + $crate::impls::pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/common/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/common/src/lib.rs index 5354844a..f2feafea 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/common/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/common/src/lib.rs @@ -19,8 +19,8 @@ pub mod xcm_helpers; use codec::Encode; use pezcumulus_primitives_core::relay_chain::Slot; -pub use xcm_emulator; -pub use xcm_simulator; +pub use xcm_pez_emulator; +pub use xcm_pez_simulator; // Bizinikiwi use pezframe_support::parameter_types; @@ -41,7 +41,7 @@ use teyrchains_common::BlockNumber; use pezkuwi_primitives::{AssignmentId, ValidatorId}; use pezsp_runtime::traits::Convert; use teyrchains_common::{AccountId, AuraId}; -use xcm_emulator::{RelayBlockNumber, AURA_ENGINE_ID}; +use xcm_pez_emulator::{RelayBlockNumber, AURA_ENGINE_ID}; pub const XCM_V2: u32 = 2; pub const XCM_V3: u32 = 3; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/common/src/macros.rs b/pezcumulus/teyrchains/integration-tests/emulated/common/src/macros.rs index bf6244b5..e6cb669f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/common/src/macros.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/common/src/macros.rs @@ -42,10 +42,10 @@ pub use xcm::{ pub use xcm_executor::traits::{DropAssets, TransferType}; // Pezcumulus -pub use asset_test_utils; -pub use pezcumulus_pallet_xcmp_queue; +pub use asset_test_pezutils; +pub use pezcumulus_pezpallet_xcmp_queue; pub use teyrchains_common::AccountId; -pub use xcm_emulator::{ +pub use xcm_pez_emulator::{ assert_expected_events, Chain, RelayChain, TestArgs, TestContext, TestExt, Teyrchain as Para, }; @@ -53,7 +53,7 @@ pub use pezframe_support::{ dispatch::{GetDispatchInfo, RawOrigin}, BoundedVec, }; -pub use xcm_runtime_apis::{ +pub use xcm_runtime_pezapis::{ dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, fees::{runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, Error as XcmPaymentApiError}, }; @@ -162,7 +162,7 @@ macro_rules! test_teyrchain_is_trusted_teleporter { $crate::macros::pezpallet_xcm::Event::Attempted { outcome: $crate::macros::Outcome::Complete { .. } } ) => {}, RuntimeEvent::XcmpQueue( - $crate::macros::pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + $crate::macros::pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, RuntimeEvent::Balances( $crate::macros::pezpallet_balances::Event::Burned { who: sender, amount } @@ -662,7 +662,7 @@ macro_rules! test_can_estimate_and_pay_exact_fees { let asset_owner = [<$owner_prefix AssetOwner>]::get(); // Fund teyrchain's sender account. - // TODO: consider mint_foreign_asset to be part of xcm_emulator::Chain trait + // TODO: consider mint_foreign_asset to be part of xcm_pez_emulator::Chain trait $sender_para::mint_foreign_asset( <$sender_para as $crate::macros::Chain>::RuntimeOrigin::signed(asset_owner.clone()), $asset_id.clone().into(), @@ -671,7 +671,7 @@ macro_rules! test_can_estimate_and_pay_exact_fees { ); // Fund the teyrchain origin's SA on Asset Hub with the native tokens. - // TODO: consider fund_accounts to be part of xcm_emulator::Chain trait + // TODO: consider fund_accounts to be part of xcm_pez_emulator::Chain trait $asset_hub::fund_accounts(vec![(sov_of_sender_on_ah.clone(), $amount * 2)]); let beneficiary_id = [<$receiver_para Receiver>]::get(); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/common/src/xcm_helpers.rs b/pezcumulus/teyrchains/integration-tests/emulated/common/src/xcm_helpers.rs index 8f6fcd65..30f90677 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/common/src/xcm_helpers.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/common/src/xcm_helpers.rs @@ -19,7 +19,7 @@ use teyrchains_common::AccountId; // Pezkuwi use pezsp_core::H256; use xcm::{prelude::*, DoubleEncoded}; -use xcm_emulator::Chain; +use xcm_pez_emulator::Chain; use crate::impls::{bx, Encode}; use pezframe_support::dispatch::{DispatchResultWithPostInfo, PostDispatchInfo}; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/Cargo.toml index 9e628f8c..c78f59d6 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/Cargo.toml @@ -16,20 +16,20 @@ workspace = true [dependencies] # Pezcumulus asset-hub-pezkuwichain-emulated-chain = { workspace = true } -bridge-hub-pezkuwichain-emulated-chain = { workspace = true } +pezbridge-hub-pezkuwichain-emulated-chain = { workspace = true } coretime-pezkuwichain-emulated-chain = { workspace = true } emulated-integration-tests-common = { workspace = true } -penpal-emulated-chain = { workspace = true } +pez-penpal-emulated-chain = { workspace = true } people-pezkuwichain-emulated-chain = { workspace = true } pezkuwichain-emulated-chain = { workspace = true } [features] runtime-benchmarks = [ "asset-hub-pezkuwichain-emulated-chain/runtime-benchmarks", - "bridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks", + "pezbridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks", "coretime-pezkuwichain-emulated-chain/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", - "penpal-emulated-chain/runtime-benchmarks", + "pez-penpal-emulated-chain/runtime-benchmarks", "people-pezkuwichain-emulated-chain/runtime-benchmarks", "pezkuwichain-emulated-chain/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/src/lib.rs index cdf67ff8..8e8f7ee9 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-system/src/lib.rs @@ -14,23 +14,23 @@ // limitations under the License. pub use asset_hub_pezkuwichain_emulated_chain; -pub use bridge_hub_pezkuwichain_emulated_chain; +pub use pezbridge_hub_pezkuwichain_emulated_chain; pub use coretime_pezkuwichain_emulated_chain; -pub use penpal_emulated_chain; +pub use pez_penpal_emulated_chain; pub use people_pezkuwichain_emulated_chain; pub use pezkuwichain_emulated_chain; use asset_hub_pezkuwichain_emulated_chain::AssetHubPezkuwichain; -use bridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain; +use pezbridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain; use coretime_pezkuwichain_emulated_chain::CoretimePezkuwichain; -use penpal_emulated_chain::{PenpalA, PenpalB}; +use pez_penpal_emulated_chain::{PenpalA, PenpalB}; use people_pezkuwichain_emulated_chain::PeoplePezkuwichain; use pezkuwichain_emulated_chain::Pezkuwichain; // Pezcumulus use emulated_integration_tests_common::{ accounts::{ALICE, BOB}, - xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types}, + xcm_pez_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types}, }; decl_test_networks! { diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/Cargo.toml index 99872fab..fee0a428 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/Cargo.toml @@ -17,10 +17,10 @@ workspace = true # Pezcumulus asset-hub-pezkuwichain-emulated-chain = { workspace = true } asset-hub-zagros-emulated-chain = { workspace = true } -bridge-hub-pezkuwichain-emulated-chain = { workspace = true } -bridge-hub-zagros-emulated-chain = { workspace = true } +pezbridge-hub-pezkuwichain-emulated-chain = { workspace = true } +pezbridge-hub-zagros-emulated-chain = { workspace = true } emulated-integration-tests-common = { workspace = true } -penpal-emulated-chain = { workspace = true } +pez-penpal-emulated-chain = { workspace = true } pezkuwichain-emulated-chain = { workspace = true } zagros-emulated-chain = { workspace = true, default-features = true } @@ -28,10 +28,10 @@ zagros-emulated-chain = { workspace = true, default-features = true } runtime-benchmarks = [ "asset-hub-pezkuwichain-emulated-chain/runtime-benchmarks", "asset-hub-zagros-emulated-chain/runtime-benchmarks", - "bridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks", - "bridge-hub-zagros-emulated-chain/runtime-benchmarks", + "pezbridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks", + "pezbridge-hub-zagros-emulated-chain/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", - "penpal-emulated-chain/runtime-benchmarks", + "pez-penpal-emulated-chain/runtime-benchmarks", "pezkuwichain-emulated-chain/runtime-benchmarks", "zagros-emulated-chain/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/src/lib.rs index a71a9372..7ab8dec7 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/pezkuwichain-zagros-system/src/lib.rs @@ -15,17 +15,17 @@ pub use asset_hub_pezkuwichain_emulated_chain; pub use asset_hub_zagros_emulated_chain; -pub use bridge_hub_pezkuwichain_emulated_chain; -pub use bridge_hub_zagros_emulated_chain; -pub use penpal_emulated_chain; +pub use pezbridge_hub_pezkuwichain_emulated_chain; +pub use pezbridge_hub_zagros_emulated_chain; +pub use pez_penpal_emulated_chain; pub use pezkuwichain_emulated_chain; pub use zagros_emulated_chain; use asset_hub_pezkuwichain_emulated_chain::AssetHubPezkuwichain; use asset_hub_zagros_emulated_chain::AssetHubZagros; -use bridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain; -use bridge_hub_zagros_emulated_chain::BridgeHubZagros; -use penpal_emulated_chain::{PenpalA, PenpalB}; +use pezbridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain; +use pezbridge_hub_zagros_emulated_chain::BridgeHubZagros; +use pez_penpal_emulated_chain::{PenpalA, PenpalB}; use pezkuwichain_emulated_chain::Pezkuwichain; use zagros_emulated_chain::Zagros; @@ -33,7 +33,7 @@ use zagros_emulated_chain::Zagros; use emulated_integration_tests_common::{ accounts::{ALICE, BOB}, impls::{BridgeHubMessageHandler, BridgeMessagesInstance1, BridgeMessagesInstance3}, - xcm_emulator::{ + xcm_pez_emulator::{ decl_test_bridges, decl_test_networks, decl_test_sender_receiver_accounts_parameter_types, Chain, }, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/Cargo.toml index b3fb56f1..cd497ca5 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/Cargo.toml @@ -16,22 +16,22 @@ workspace = true [dependencies] # Pezcumulus asset-hub-zagros-emulated-chain = { workspace = true } -bridge-hub-zagros-emulated-chain = { workspace = true } +pezbridge-hub-zagros-emulated-chain = { workspace = true } collectives-zagros-emulated-chain = { workspace = true } coretime-zagros-emulated-chain = { workspace = true } emulated-integration-tests-common = { workspace = true } -penpal-emulated-chain = { workspace = true } +pez-penpal-emulated-chain = { workspace = true } people-zagros-emulated-chain = { workspace = true } zagros-emulated-chain = { workspace = true } [features] runtime-benchmarks = [ "asset-hub-zagros-emulated-chain/runtime-benchmarks", - "bridge-hub-zagros-emulated-chain/runtime-benchmarks", + "pezbridge-hub-zagros-emulated-chain/runtime-benchmarks", "collectives-zagros-emulated-chain/runtime-benchmarks", "coretime-zagros-emulated-chain/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", - "penpal-emulated-chain/runtime-benchmarks", + "pez-penpal-emulated-chain/runtime-benchmarks", "people-zagros-emulated-chain/runtime-benchmarks", "zagros-emulated-chain/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/src/lib.rs index 7eaa7580..79fb5963 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system/src/lib.rs @@ -14,25 +14,25 @@ // limitations under the License. pub use asset_hub_zagros_emulated_chain; -pub use bridge_hub_zagros_emulated_chain; +pub use pezbridge_hub_zagros_emulated_chain; pub use collectives_zagros_emulated_chain; pub use coretime_zagros_emulated_chain; -pub use penpal_emulated_chain; +pub use pez_penpal_emulated_chain; pub use people_zagros_emulated_chain; pub use zagros_emulated_chain; use asset_hub_zagros_emulated_chain::AssetHubZagros; -use bridge_hub_zagros_emulated_chain::BridgeHubZagros; +use pezbridge_hub_zagros_emulated_chain::BridgeHubZagros; use collectives_zagros_emulated_chain::CollectivesZagros; use coretime_zagros_emulated_chain::CoretimeZagros; -use penpal_emulated_chain::{PenpalA, PenpalB}; +use pez_penpal_emulated_chain::{PenpalA, PenpalB}; use people_zagros_emulated_chain::PeopleZagros; use zagros_emulated_chain::Zagros; // Pezcumulus use emulated_integration_tests_common::{ accounts::{ALICE, BOB}, - xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types}, + xcm_pez_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types}, }; decl_test_networks! { diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/Cargo.toml index bb2e9933..eef5224e 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/Cargo.toml @@ -4,7 +4,7 @@ version = "1.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Asset Hub Pezkuwichain runtime integration tests with xcm-emulator" +description = "Asset Hub Pezkuwichain runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/asset-hub-pezkuwichain-integration-tests" repository = { workspace = true } @@ -36,10 +36,10 @@ pezkuwi-runtime-common = { workspace = true, default-features = true } pezkuwichain-runtime-constants = { workspace = true, default-features = true } xcm = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true, default-features = true } +xcm-runtime-pezapis = { workspace = true, default-features = true } # Pezcumulus -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezcumulus-pezpallet-teyrchain-system = { workspace = true } emulated-integration-tests-common = { workspace = true } pezkuwichain-system-emulated-network = { workspace = true } @@ -47,7 +47,7 @@ teyrchains-common = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", @@ -66,6 +66,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/lib.rs index 7ba9d3ee..f9b91e93 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/lib.rs @@ -33,13 +33,13 @@ mod imports { pub(crate) use xcm_executor::traits::TransferType; // Pezcumulus - pub(crate) use asset_test_utils::xcm_helpers; + pub(crate) use asset_test_pezutils::xcm_helpers; pub(crate) use emulated_integration_tests_common::{ accounts::DUMMY_EMPTY, test_relay_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter_for_relay, test_xcm_fee_querying_apis_work_for_asset_hub, - xcm_emulator::{ + xcm_pez_emulator::{ assert_expected_events, bx, Chain, RelayChain as Relay, Test, TestArgs, TestContext, TestExt, Teyrchain as Para, }, @@ -62,8 +62,8 @@ mod imports { genesis::{AssetHubPezkuwichainAssetOwner, ED as ASSET_HUB_PEZKUWICHAIN_ED}, AssetHubPezkuwichainParaPallet as AssetHubPezkuwichainPallet, }, - penpal_emulated_chain::{ - penpal_runtime::xcm_config::{ + pez_penpal_emulated_chain::{ + pez_penpal_runtime::xcm_config::{ CustomizableAssetFromSystemAssetHub as PenpalCustomizableAssetFromSystemAssetHub, LocalReservableFromAssetHub as PenpalLocalReservableFromAssetHub, LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/treasury.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/treasury.rs index 2080e8dd..da79dc4f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/treasury.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/treasury.rs @@ -159,7 +159,7 @@ fn spend_roc_on_asset_hub() { AssetHubPezkuwichain, vec![ RuntimeEvent::Balances(pezpallet_balances::Event::Transfer { .. }) => {}, - RuntimeEvent::TeyrchainSystem(pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, + RuntimeEvent::TeyrchainSystem(pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); @@ -240,7 +240,7 @@ fn create_and_claim_treasury_spend_in_usdt() { to: to == &alice, amount: amount == &SPEND_AMOUNT, }, - RuntimeEvent::TeyrchainSystem(pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, + RuntimeEvent::TeyrchainSystem(pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/xcm_fee_estimation.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/xcm_fee_estimation.rs index efb3ae54..f2926f38 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/xcm_fee_estimation.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-pezkuwichain/src/tests/xcm_fee_estimation.rs @@ -18,7 +18,7 @@ use crate::imports::*; use emulated_integration_tests_common::test_can_estimate_and_pay_exact_fees; use pezframe_support::dispatch::RawOrigin; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, }; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/Cargo.toml index c8bb2d30..d65f5dc3 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/Cargo.toml @@ -4,7 +4,7 @@ version = "1.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Asset Hub Zagros runtime integration tests with xcm-emulator" +description = "Asset Hub Zagros runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/asset-hub-zagros-integration-tests" repository = { workspace = true } @@ -35,10 +35,10 @@ pezkuwi-runtime-common = { workspace = true, default-features = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezcumulus-pezpallet-teyrchain-system = { workspace = true } pezcumulus-pezpallet-xcmp-queue = { workspace = true } emulated-integration-tests-common = { workspace = true } @@ -50,7 +50,7 @@ pezsp-tracing = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", "pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", @@ -68,7 +68,7 @@ runtime-benchmarks = [ "teyrchains-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-system-emulated-network/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/lib.rs index 665ab9a1..41ac90f0 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/lib.rs @@ -34,13 +34,13 @@ mod imports { pub(crate) use xcm_executor::traits::TransferType; // Pezcumulus - pub(crate) use asset_test_utils::xcm_helpers; + pub(crate) use asset_test_pezutils::xcm_helpers; pub(crate) use emulated_integration_tests_common::{ accounts::DUMMY_EMPTY, test_relay_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter_for_relay, test_xcm_fee_querying_apis_work_for_asset_hub, - xcm_emulator::{ + xcm_pez_emulator::{ assert_expected_events, bx, Chain, RelayChain as Relay, Test, TestArgs, TestContext, TestExt, Teyrchain as Para, }, @@ -48,7 +48,7 @@ mod imports { fee_asset, find_mq_processed_id, find_xcm_sent_message_id, get_amount_from_versioned_assets, non_fee_asset, xcm_transact_paid_execution, }, - xcm_simulator::helpers::TopicIdTracker, + xcm_pez_simulator::helpers::TopicIdTracker, PenpalATeleportableAssetLocation, ASSETS_PALLET_ID, RESERVABLE_ASSET_ID, USDT_ID, XCM_V3, }; pub(crate) use teyrchains_common::{AccountId, Balance}; @@ -67,14 +67,14 @@ mod imports { genesis::{AssetHubZagrosAssetOwner, ED as ASSET_HUB_ZAGROS_ED}, AssetHubZagrosParaPallet as AssetHubZagrosPallet, }, - bridge_hub_zagros_emulated_chain::{ - bridge_hub_zagros_runtime::xcm_config::{self as bhw_xcm_config}, + pezbridge_hub_zagros_emulated_chain::{ + pezbridge_hub_zagros_runtime::xcm_config::{self as bhw_xcm_config}, BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, }, collectives_zagros_emulated_chain::CollectivesZagrosParaPallet as CollectivesZagrosPallet, coretime_zagros_emulated_chain::CoretimeZagrosParaPallet as CoretimeZagrosPallet, - penpal_emulated_chain::{ - penpal_runtime::xcm_config::{ + pez_penpal_emulated_chain::{ + pez_penpal_runtime::xcm_config::{ CustomizableAssetFromSystemAssetHub as PenpalCustomizableAssetFromSystemAssetHub, LocalReservableFromAssetHub as PenpalLocalReservableFromAssetHub, LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/exchange_asset.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/exchange_asset.rs index 05cb01d2..70d9851c 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/exchange_asset.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/exchange_asset.rs @@ -23,7 +23,7 @@ use crate::{ use asset_hub_zagros_runtime::{ xcm_config::ZagrosLocation, Balances, ForeignAssets, PezkuwiXcm, RuntimeOrigin, }; -use emulated_integration_tests_common::{accounts::ALICE, xcm_emulator::TestExt}; +use emulated_integration_tests_common::{accounts::ALICE, xcm_pez_emulator::TestExt}; use pezframe_support::{ assert_err_ignore_postinfo, assert_ok, traits::fungible::{Inspect, Mutate}, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/fellowship_treasury.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/fellowship_treasury.rs index 2c470637..89c72c88 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/fellowship_treasury.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/fellowship_treasury.rs @@ -96,7 +96,7 @@ fn create_and_claim_treasury_spend() { to: to == &alice, amount: amount == &SPEND_AMOUNT, }, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/set_asset_claimer.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/set_asset_claimer.rs index f0dee0b5..a397cc62 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/set_asset_claimer.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/set_asset_claimer.rs @@ -24,7 +24,7 @@ use pezframe_support::{assert_ok, pezsp_runtime::traits::Dispatchable}; use xcm_executor::traits::ConvertLocation; use zagros_system_emulated_network::{ asset_hub_zagros_emulated_chain::asset_hub_zagros_runtime::RuntimeOrigin as AssetHubRuntimeOrigin, - bridge_hub_zagros_emulated_chain::bridge_hub_zagros_runtime::RuntimeOrigin as BridgeHubRuntimeOrigin, + pezbridge_hub_zagros_emulated_chain::pezbridge_hub_zagros_runtime::RuntimeOrigin as BridgeHubRuntimeOrigin, }; #[test] diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/treasury.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/treasury.rs index 7e8395b1..4bd860ad 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/treasury.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/treasury.rs @@ -97,7 +97,7 @@ fn create_and_claim_treasury_spend() { to: to == &alice, amount: amount == &SPEND_AMOUNT, }, - RuntimeEvent::TeyrchainSystem(pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, + RuntimeEvent::TeyrchainSystem(pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/xcm_fee_estimation.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/xcm_fee_estimation.rs index fef7aa9a..0e21fd5d 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/xcm_fee_estimation.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/assets/asset-hub-zagros/src/tests/xcm_fee_estimation.rs @@ -19,7 +19,7 @@ use crate::{create_pool_with_wnd_on, imports::*}; use emulated_integration_tests_common::test_can_estimate_and_pay_exact_fees; use pezframe_support::dispatch::RawOrigin; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, }; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/Cargo.toml index 0dea1267..6eae37ee 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bridge-hub-pezkuwichain-integration-tests" +name = "pezbridge-hub-pezkuwichain-integration-tests" version = "1.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Bridge Hub Pezkuwichain runtime integration tests with xcm-emulator" +description = "Bridge Hub Pezkuwichain runtime integration tests with xcm-pez-emulator" publish = false -documentation = "https://docs.rs/bridge-hub-pezkuwichain-integration-tests" +documentation = "https://docs.rs/pezbridge-hub-pezkuwichain-integration-tests" repository = { workspace = true } homepage = { workspace = true } @@ -50,8 +50,8 @@ testnet-teyrchains-constants = { features = [ teyrchains-common = { workspace = true, default-features = true } # Snowbridge -snowbridge-inbound-queue-primitives = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true, default-features = true } snowbridge-pezpallet-outbound-queue = { workspace = true } snowbridge-pezpallet-system = { workspace = true } @@ -71,8 +71,8 @@ runtime-benchmarks = [ "pezpallet-xcm/runtime-benchmarks", "pezkuwichain-system-emulated-network/runtime-benchmarks", "pezkuwichain-zagros-system-emulated-network/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks", "snowbridge-pezpallet-outbound-queue/runtime-benchmarks", "snowbridge-pezpallet-system/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/lib.rs index a55e9934..d2ecb83b 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/lib.rs @@ -34,7 +34,7 @@ mod imports { impls::Inspect, test_dry_run_transfer_across_pk_bridge, test_relay_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter_for_relay, - xcm_emulator::{ + xcm_pez_emulator::{ assert_expected_events, bx, Chain, RelayChain as Relay, TestExt, Teyrchain as Para, }, xcm_helpers::xcm_transact_paid_execution, @@ -52,12 +52,12 @@ mod imports { genesis::{AssetHubZagrosAssetOwner, ED as ASSET_HUB_ZAGROS_ED}, AssetHubZagrosParaPallet as AssetHubZagrosPallet, }, - bridge_hub_pezkuwichain_emulated_chain::{ + pezbridge_hub_pezkuwichain_emulated_chain::{ genesis::ED as BRIDGE_HUB_PEZKUWICHAIN_ED, BridgeHubPezkuwichainExistentialDeposit, BridgeHubPezkuwichainParaPallet as BridgeHubPezkuwichainPallet, }, - penpal_emulated_chain::{ - penpal_runtime::xcm_config::{ + pez_penpal_emulated_chain::{ + pez_penpal_runtime::xcm_config::{ CustomizableAssetFromSystemAssetHub as PenpalCustomizableAssetFromSystemAssetHub, UniversalLocation as PenpalUniversalLocation, }, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/asset_transfers.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/asset_transfers.rs index a55ca02b..4b94f930 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/asset_transfers.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/asset_transfers.rs @@ -100,7 +100,7 @@ fn send_assets_from_penpal_pezkuwichain_through_pezkuwichain_ah_to_zagros_ah( who: *who == TreasuryAccount::get(), }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/mod.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/mod.rs index 7acc21cd..7cb19f9c 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/mod.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-pezkuwichain/src/tests/mod.rs @@ -278,7 +278,7 @@ pub(crate) fn assert_bridge_hub_zagros_message_received() { vec![ // message sent to destination RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/Cargo.toml index 516a66c7..dc153277 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "bridge-hub-zagros-integration-tests" +name = "pezbridge-hub-zagros-integration-tests" version = "1.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Bridge Hub Zagros runtime integration tests with xcm-emulator" +description = "Bridge Hub Zagros runtime integration tests with xcm-pez-emulator" publish = false -documentation = "https://docs.rs/bridge-hub-zagros-integration-tests" +documentation = "https://docs.rs/pezbridge-hub-zagros-integration-tests" repository = { workspace = true } homepage = { workspace = true } @@ -42,7 +42,7 @@ pezpallet-bridge-relayers = { workspace = true } asset-hub-zagros-runtime = { workspace = true } bp-asset-hub-zagros = { workspace = true } bridge-hub-common = { workspace = true } -bridge-hub-zagros-runtime = { workspace = true } +pezbridge-hub-zagros-runtime = { workspace = true } pezcumulus-pezpallet-teyrchain-system = { workspace = true } pezcumulus-pezpallet-xcmp-queue = { workspace = true } emulated-integration-tests-common = { workspace = true } @@ -54,9 +54,9 @@ testnet-teyrchains-constants = { features = [ teyrchains-common = { workspace = true, default-features = true } # Snowbridge -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } snowbridge-pezpallet-inbound-queue = { workspace = true } snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true } snowbridge-pezpallet-inbound-queue-v2 = { workspace = true } @@ -70,7 +70,7 @@ runtime-benchmarks = [ "asset-hub-zagros-runtime/runtime-benchmarks", "bp-asset-hub-zagros/runtime-benchmarks", "bridge-hub-common/runtime-benchmarks", - "bridge-hub-zagros-runtime/runtime-benchmarks", + "pezbridge-hub-zagros-runtime/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", "pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", @@ -83,9 +83,9 @@ runtime-benchmarks = [ "pezpallet-message-queue/runtime-benchmarks", "pezpallet-xcm/runtime-benchmarks", "pezkuwichain-zagros-system-emulated-network/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-v2/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/lib.rs index b4d1a8d1..a9ecaae2 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/lib.rs @@ -37,7 +37,7 @@ mod imports { impls::Inspect, test_dry_run_transfer_across_pk_bridge, test_relay_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter, test_teyrchain_is_trusted_teleporter_for_relay, - xcm_emulator::{ + xcm_pez_emulator::{ assert_expected_events, bx, Chain, RelayChain as Relay, TestExt, Teyrchain as Para, }, xcm_helpers::xcm_transact_paid_execution, @@ -55,14 +55,14 @@ mod imports { genesis::{AssetHubZagrosAssetOwner, ED as ASSET_HUB_ZAGROS_ED}, AssetHubZagrosParaPallet as AssetHubZagrosPallet, }, - bridge_hub_zagros_emulated_chain::{ - bridge_hub_zagros_runtime, genesis::ED as BRIDGE_HUB_ZAGROS_ED, + pezbridge_hub_zagros_emulated_chain::{ + pezbridge_hub_zagros_runtime, genesis::ED as BRIDGE_HUB_ZAGROS_ED, BridgeHubZagrosExistentialDeposit, BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, BridgeHubZagrosRuntimeOrigin, }, - penpal_emulated_chain::{ + pez_penpal_emulated_chain::{ self, - penpal_runtime::xcm_config::{ + pez_penpal_runtime::xcm_config::{ CustomizableAssetFromSystemAssetHub as PenpalCustomizableAssetFromSystemAssetHub, LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub, UniversalLocation as PenpalUniversalLocation, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/aliases.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/aliases.rs index 6fb1e123..431baab1 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/aliases.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/aliases.rs @@ -16,7 +16,7 @@ //! Tests related to XCM aliasing. use crate::imports::*; -use bridge_hub_zagros_runtime::xcm_config::XcmConfig; +use pezbridge_hub_zagros_runtime::xcm_config::XcmConfig; use emulated_integration_tests_common::{macros::AccountId, test_cross_chain_alias}; use pezframe_support::traits::ContainsPair; use xcm::latest::Junctions::*; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/asset_transfers.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/asset_transfers.rs index c3805774..93fbe953 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/asset_transfers.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/asset_transfers.rs @@ -17,7 +17,7 @@ use crate::tests::{snowbridge_common::snowbridge_sovereign, *}; use emulated_integration_tests_common::{ macros::Dmp, xcm_helpers::{find_all_mq_processed_ids, find_mq_processed_id, find_xcm_sent_message_id}, - xcm_simulator::helpers::TopicIdTracker, + xcm_pez_simulator::helpers::TopicIdTracker, }; use xcm::latest::AssetTransferFilter; @@ -109,7 +109,7 @@ fn send_assets_from_penpal_zagros_through_zagros_ah_to_pezkuwichain_ah( who: *who == TreasuryAccount::get(), }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); @@ -699,7 +699,7 @@ fn send_wnds_from_zagros_relay_through_asset_hub_zagros_to_asset_hub_pezkuwichai who: *who == sov_ahr_on_ahw.clone().into(), }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); @@ -1008,7 +1008,7 @@ fn send_back_rocs_from_penpal_zagros_through_asset_hub_zagros_to_asset_hub_pezku owner: owner == &sov_penpal_on_ahw, }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, // message processed successfully RuntimeEvent::MessageQueue( @@ -1034,7 +1034,7 @@ fn send_back_rocs_from_penpal_zagros_through_asset_hub_zagros_to_asset_hub_pezku }, // sent message to sibling Penpal RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, // message processed successfully RuntimeEvent::MessageQueue( @@ -1206,7 +1206,7 @@ fn send_back_rocs_from_penpal_zagros_through_asset_hub_zagros_to_asset_hub_pezku owner: owner == &sov_penpal_on_ahw, }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, // message processed successfully RuntimeEvent::MessageQueue( @@ -1235,7 +1235,7 @@ fn send_back_rocs_from_penpal_zagros_through_asset_hub_zagros_to_asset_hub_pezku }, // sent message to Pezkuwichain Relay RuntimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, // message processed successfully RuntimeEvent::MessageQueue( @@ -1400,7 +1400,7 @@ fn do_send_pens_and_wnds_from_penpal_zagros_via_ahw_to_asset_hub_pezkuwichain( who: *who == sov_ahr_on_ahw.clone().into(), }, RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/mod.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/mod.rs index c6c4d69c..56a1663b 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/mod.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/mod.rs @@ -233,7 +233,7 @@ pub(crate) fn assert_bridge_hub_pezkuwichain_message_received() { vec![ // message sent to destination RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge.rs index 57ec8d6f..787493d8 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge.rs @@ -14,7 +14,7 @@ // limitations under the License. use crate::{ imports::{ - penpal_emulated_chain::penpal_runtime::xcm_config::{ + pez_penpal_emulated_chain::pez_penpal_runtime::xcm_config::{ CheckingAccount, TELEPORTABLE_ASSET_ID, }, *, @@ -24,7 +24,7 @@ use crate::{ asset_hub_pezkuwichain_location, asset_hub_zagros_global_location, bridged_roc_at_ah_zagros, bridged_wnd_at_ah_pezkuwichain, create_foreign_on_ah_pezkuwichain, create_foreign_on_ah_zagros, - penpal_emulated_chain::penpal_runtime, + pez_penpal_emulated_chain::pez_penpal_runtime, snowbridge_common::{bridge_hub, ethereum, register_roc_on_bh, snowbridge_sovereign}, }, }; @@ -32,7 +32,7 @@ use asset_hub_zagros_runtime::xcm_config::{ bridging::to_ethereum::DefaultBridgeHubEthereumBaseFee, UniversalLocation as AssetHubZagrosUniversalLocation, }; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_to_ethereum_config::EthereumGatewayAddress, EthereumBeaconClient, EthereumInboundQueue, }; use codec::Encode; @@ -44,14 +44,14 @@ use pezframe_support::traits::fungibles::Mutate; use hex_literal::hex; use pezkuwichain_zagros_system_emulated_network::{ asset_hub_zagros_emulated_chain::genesis::AssetHubZagrosAssetOwner, - penpal_emulated_chain::PARA_ID_B, zagros_emulated_chain::zagros_runtime::Dmp, + pez_penpal_emulated_chain::PARA_ID_B, zagros_emulated_chain::zagros_runtime::Dmp, }; -use snowbridge_core::{AssetMetadata, TokenIdOf}; -use snowbridge_inbound_queue_primitives::{ +use pezsnowbridge_core::{AssetMetadata, TokenIdOf}; +use pezsnowbridge_inbound_queue_primitives::{ v1::{Command, Destination, MessageV1, VersionedMessage}, EventFixture, }; -use snowbridge_pallet_inbound_queue_fixtures::send_native_eth::make_send_native_eth_message; +use snowbridge_pezpallet_inbound_queue_fixtures::send_native_eth::make_send_native_eth_message; use pezsp_core::{H160, H256}; use testnet_teyrchains_constants::zagros::snowbridge::EthereumNetwork; use xcm_builder::ExternalConsensusLocationsConverterFor; @@ -98,7 +98,7 @@ fn register_token_from_ethereum_to_asset_hub() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -147,7 +147,7 @@ fn send_weth_token_from_ethereum_to_asset_hub() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -186,7 +186,7 @@ fn send_weth_from_ethereum_to_penpal() { ::RuntimeOrigin::signed(PenpalAssetOwner::get()), native_id, receiver, - penpal_runtime::EXISTENTIAL_DEPOSIT, + pez_penpal_runtime::EXISTENTIAL_DEPOSIT, ); PenpalB::execute_with(|| { @@ -251,7 +251,7 @@ fn send_weth_from_ethereum_to_penpal() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -262,7 +262,7 @@ fn send_weth_from_ethereum_to_penpal() { AssetHubZagros, vec![ RuntimeEvent::ForeignAssets(pezpallet_assets::Event::Issued { .. }) => {}, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -324,7 +324,7 @@ fn send_eth_asset_from_asset_hub_to_ethereum_and_back() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -403,8 +403,8 @@ fn send_eth_asset_from_asset_hub_to_ethereum_and_back() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageAccepted {..}) => {}, - RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued {..}) => {}, + RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageAccepted {..}) => {}, + RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued {..}) => {}, ] ); }); @@ -433,7 +433,7 @@ fn register_weth_token_in_asset_hub_fail_for_insufficient_fee() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -481,7 +481,7 @@ fn send_weth_from_ethereum_to_asset_hub_with_fee(account_id: [u8; 32], fee: u128 assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -590,7 +590,7 @@ fn send_token_from_ethereum_to_asset_hub() { // Check that the message was sent assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -634,7 +634,7 @@ fn send_weth_asset_from_asset_hub_to_ethereum() { // Check that the send token message was sent using xcm assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) =>{},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) =>{},] ); }); @@ -703,7 +703,7 @@ fn send_weth_asset_from_asset_hub_to_ethereum() { // Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); } @@ -778,7 +778,7 @@ fn send_token_from_ethereum_to_penpal() { // Check that the send token message was sent using xcm assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) =>{},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) =>{},] ); }); @@ -789,7 +789,7 @@ fn send_token_from_ethereum_to_penpal() { AssetHubZagros, vec![ RuntimeEvent::ForeignAssets(pezpallet_assets::Event::Issued { .. }) => {}, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -844,7 +844,7 @@ fn transfer_relay_token() { // Check that a message was sent to Ethereum to create the agent assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumSystem(snowbridge_pallet_system::Event::RegisterToken { .. }) => {},] + vec![RuntimeEvent::EthereumSystem(snowbridge_pezpallet_system::Event::RegisterToken { .. }) => {},] ); }); @@ -901,7 +901,7 @@ fn transfer_relay_token() { // Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); // Send relay token back to AH @@ -922,7 +922,7 @@ fn transfer_relay_token() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -1068,7 +1068,7 @@ fn transfer_ah_token() { // Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); let message = VersionedMessage::V1(MessageV1 { @@ -1087,7 +1087,7 @@ fn transfer_ah_token() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -1192,7 +1192,7 @@ fn send_weth_from_ethereum_to_ahw_to_ahr_back_to_ahw_and_ethereum() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -1333,7 +1333,7 @@ fn send_weth_from_ethereum_to_ahw_to_ahr_back_to_ahw_and_ethereum() { vec![ // message sent to destination RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); @@ -1426,7 +1426,7 @@ fn send_weth_from_ethereum_to_ahw_to_ahr_back_to_ahw_and_ethereum() { // Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); } @@ -1558,7 +1558,7 @@ fn transfer_penpal_native_asset() { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); @@ -1582,7 +1582,7 @@ fn transfer_penpal_native_asset() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -1771,7 +1771,7 @@ fn transfer_penpal_teleport_enabled_asset() { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); @@ -1795,7 +1795,7 @@ fn transfer_penpal_teleport_enabled_asset() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -2125,7 +2125,7 @@ fn transfer_roc_from_ah_with_transfer_and_then() { // Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); @@ -2148,7 +2148,7 @@ fn transfer_roc_from_ah_with_transfer_and_then() { let _ = EthereumInboundQueue::send_xcm(xcm, AssetHubZagros::para_id().into()).unwrap(); assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] + vec![RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {},] ); }); @@ -2222,7 +2222,7 @@ fn register_pna_in_v5_while_transfer_in_v4_should_work() { // Check that a message was sent to Ethereum to create the agent assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumSystem(snowbridge_pallet_system::Event::RegisterToken { .. }) => {},] + vec![RuntimeEvent::EthereumSystem(snowbridge_pezpallet_system::Event::RegisterToken { .. }) => {},] ); }); @@ -2288,7 +2288,7 @@ fn register_pna_in_v5_while_transfer_in_v4_should_work() { assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pallet_outbound_queue::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueue(snowbridge_pezpallet_outbound_queue::Event::MessageQueued{ .. }) => {},] ); }); } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_common.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_common.rs index 5f70ad67..75e7a4cb 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_common.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_common.rs @@ -21,11 +21,11 @@ use emulated_integration_tests_common::{ }; use pezframe_support::traits::fungibles::Mutate; use hex_literal::hex; -use pezkuwichain_zagros_system_emulated_network::penpal_emulated_chain::{ - penpal_runtime::xcm_config::{CheckingAccount, TELEPORTABLE_ASSET_ID}, +use pezkuwichain_zagros_system_emulated_network::pez_penpal_emulated_chain::{ + pez_penpal_runtime::xcm_config::{CheckingAccount, TELEPORTABLE_ASSET_ID}, PenpalAssetOwner, }; -use snowbridge_core::AssetMetadata; +use pezsnowbridge_core::AssetMetadata; use pezsp_core::H160; use testnet_teyrchains_constants::zagros::snowbridge::EthereumNetwork; use xcm_builder::ExternalConsensusLocationsConverterFor; @@ -75,7 +75,7 @@ pub fn register_relay_token_on_bh() { )); assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumSystem(snowbridge_pallet_system::Event::RegisterToken { .. }) => {},] + vec![RuntimeEvent::EthereumSystem(snowbridge_pezpallet_system::Event::RegisterToken { .. }) => {},] ); }); } @@ -157,7 +157,7 @@ pub fn register_pal_on_ah() { pub fn penpal_root_sovereign() -> pezsp_runtime::AccountId32 { let penpal_root_sovereign: AccountId = PenpalB::execute_with(|| { - use pezkuwichain_zagros_system_emulated_network::penpal_emulated_chain::penpal_runtime::xcm_config; + use pezkuwichain_zagros_system_emulated_network::pez_penpal_emulated_chain::pez_penpal_runtime::xcm_config; xcm_config::LocationToAccountId::convert_location(&xcm_config::RootLocation::get()) .unwrap() .into() @@ -390,7 +390,7 @@ pub fn register_pal_on_bh() { )); assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumSystem(snowbridge_pallet_system::Event::RegisterToken { .. }) => {},] + vec![RuntimeEvent::EthereumSystem(snowbridge_pezpallet_system::Event::RegisterToken { .. }) => {},] ); }); } @@ -519,7 +519,7 @@ pub fn register_roc_on_bh() { )); assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumSystem(snowbridge_pallet_system::Event::RegisterToken { .. }) => {},] + vec![RuntimeEvent::EthereumSystem(snowbridge_pezpallet_system::Event::RegisterToken { .. }) => {},] ); }); } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_edge_case.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_edge_case.rs index 92ff51f4..e9ba643f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_edge_case.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_edge_case.rs @@ -14,10 +14,10 @@ // limitations under the License. use crate::{imports::*, tests::snowbridge_common::*}; -use bridge_hub_zagros_runtime::xcm_config::LocationToAccountId; +use pezbridge_hub_zagros_runtime::xcm_config::LocationToAccountId; use emulated_integration_tests_common::snowbridge::{SEPOLIA_ID, WETH}; -use snowbridge_core::AssetMetadata; -use snowbridge_pallet_system::Error; +use pezsnowbridge_core::AssetMetadata; +use snowbridge_pezpallet_system::Error; use testnet_teyrchains_constants::zagros::snowbridge::EthereumNetwork; use xcm_executor::traits::ConvertLocation; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound.rs index 80016e2b..00e51da6 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound.rs @@ -21,7 +21,7 @@ use crate::{ }, }; use asset_hub_zagros_runtime::ForeignAssets; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_common_config::BridgeReward, bridge_to_ethereum_config::{ CreateAssetCallIndex, EthereumGatewayAddress, SetReservesCallIndex, @@ -34,9 +34,9 @@ use emulated_integration_tests_common::{ RESERVABLE_ASSET_ID, }; use hex_literal::hex; -use pezkuwichain_zagros_system_emulated_network::penpal_emulated_chain::PARA_ID_B; -use snowbridge_core::{reward::MessageId, AssetMetadata, TokenIdOf}; -use snowbridge_inbound_queue_primitives::v2::{ +use pezkuwichain_zagros_system_emulated_network::pez_penpal_emulated_chain::PARA_ID_B; +use pezsnowbridge_core::{reward::MessageId, AssetMetadata, TokenIdOf}; +use pezsnowbridge_inbound_queue_primitives::v2::{ EthereumAsset::{ForeignTokenERC20, NativeTokenERC20}, Message, Network, XcmPayload, }; @@ -92,7 +92,7 @@ fn register_token_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -203,14 +203,14 @@ fn send_token_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, reward_kind: *reward_kind == BridgeReward::Snowbridge, reward_balance: *reward_balance == relayer_reward, }, - RuntimeEvent::EthereumInboundQueueV2(snowbridge_pallet_inbound_queue_v2::Event::MessageReceived { message_id, .. }) => { + RuntimeEvent::EthereumInboundQueueV2(snowbridge_pezpallet_inbound_queue_v2::Event::MessageReceived { message_id, .. }) => { message_id: *message_id == topic_id, }, ] @@ -312,7 +312,7 @@ fn send_weth_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -469,7 +469,7 @@ fn register_and_send_token_in_one_transaction_fails() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -622,7 +622,7 @@ fn send_token_to_penpal_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -658,7 +658,7 @@ fn send_token_to_penpal_v2() { asset_id: *asset_id == token_location, owner: *owner == penpal_sov_on_ah, }, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); @@ -806,7 +806,7 @@ fn send_foreign_erc20_token_back_to_pezkuwi() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -902,7 +902,7 @@ fn invalid_xcm_traps_funds_on_ah() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -970,7 +970,7 @@ fn invalid_claimer_does_not_fail_the_message() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -1059,7 +1059,7 @@ pub fn add_tip_from_asset_hub_user_origin() { assert!( events.iter().any(|event| matches!( event, - RuntimeEvent::EthereumSystemV2(snowbridge_pallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) + RuntimeEvent::EthereumSystemV2(snowbridge_pezpallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) if *sender == relayer &&*message_id == tip_message_id.clone() && *success, // expect success )), "tip added event found" diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound_to_pezkuwichain.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound_to_pezkuwichain.rs index 09513dda..af93a5d4 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound_to_pezkuwichain.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_inbound_to_pezkuwichain.rs @@ -26,14 +26,14 @@ use crate::{ }, }; use asset_hub_zagros_runtime::ForeignAssets; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_common_config::BridgeReward, bridge_to_ethereum_config::EthereumGatewayAddress, EthereumInboundQueueV2, }; use codec::Encode; use hex_literal::hex; -use snowbridge_core::TokenIdOf; -use snowbridge_inbound_queue_primitives::v2::{ +use pezsnowbridge_core::TokenIdOf; +use pezsnowbridge_inbound_queue_primitives::v2::{ EthereumAsset::{ForeignTokenERC20, NativeTokenERC20}, Message, XcmPayload, }; @@ -168,7 +168,7 @@ fn send_token_to_pezkuwichain_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -189,7 +189,7 @@ fn send_token_to_pezkuwichain_v2() { RuntimeEvent::MessageQueue( pezpallet_message_queue::Event::Processed { success: true, .. } ) => {}, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); @@ -333,7 +333,7 @@ fn send_ether_to_pezkuwichain_v2() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, @@ -354,7 +354,7 @@ fn send_ether_to_pezkuwichain_v2() { RuntimeEvent::MessageQueue( pezpallet_message_queue::Event::Processed { success: true, .. } ) => {}, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); @@ -536,7 +536,7 @@ fn send_roc_from_ethereum_to_pezkuwichain() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, // Check that the relayer reward was registered. RuntimeEvent::BridgeRelayers(pezpallet_bridge_relayers::Event::RewardRegistered { relayer, reward_kind, reward_balance }) => { relayer: *relayer == relayer_account, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound.rs index 70c515f9..01b05f5f 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound.rs @@ -17,16 +17,16 @@ use crate::{ imports::*, tests::{snowbridge_common::*, usdt_at_ah_zagros}, }; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_to_ethereum_config::EthereumGatewayAddress, EthereumOutboundQueueV2, }; use emulated_integration_tests_common::{impls::Decode, PenpalBTeleportableAssetLocation}; use pezframe_support::{assert_err_ignore_postinfo, pezpallet_prelude::TypeInfo}; -use pezkuwichain_zagros_system_emulated_network::penpal_emulated_chain::penpal_runtime::xcm_config::LocalTeleportableToAssetHub; -use snowbridge_core::{reward::MessageId, AssetMetadata, BasicOperatingMode}; -use snowbridge_outbound_queue_primitives::v2::{ContractCall, DeliveryReceipt}; -use snowbridge_pallet_outbound_queue_v2::Error; -use snowbridge_pallet_system_v2::LostTips; +use pezkuwichain_zagros_system_emulated_network::pez_penpal_emulated_chain::pez_penpal_runtime::xcm_config::LocalTeleportableToAssetHub; +use pezsnowbridge_core::{reward::MessageId, AssetMetadata, BasicOperatingMode}; +use pezsnowbridge_outbound_queue_primitives::v2::{ContractCall, DeliveryReceipt}; +use snowbridge_pezpallet_outbound_queue_v2::Error; +use snowbridge_pezpallet_system_v2::LostTips; use pezsp_core::H256; use xcm::v5::AssetTransferFilter; @@ -98,7 +98,7 @@ fn send_weth_from_asset_hub_to_ethereum() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {}, + RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {}, ] ); @@ -152,7 +152,7 @@ pub fn register_relay_token_from_asset_hub_with_sudo() { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); }); } @@ -192,7 +192,7 @@ pub fn register_usdt_from_owner_on_asset_hub() { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); }); } @@ -268,7 +268,7 @@ pub fn add_tip_from_asset_hub_user_origin() { assert!( events.iter().any(|event| matches!( event, - RuntimeEvent::EthereumSystemV2(snowbridge_pallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) + RuntimeEvent::EthereumSystemV2(snowbridge_pezpallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) if *sender == relayer && *message_id == tip_message_id.clone() && *success, // expect success )), "tip added event found" @@ -307,13 +307,13 @@ pub fn tip_to_invalid_nonce_is_added_to_lost_tips() { assert!( events.iter().any(|event| matches!( event, - RuntimeEvent::EthereumSystemV2(snowbridge_pallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) + RuntimeEvent::EthereumSystemV2(snowbridge_pezpallet_system_v2::Event::TipProcessed { sender, message_id, success, ..}) if *sender == relayer && *message_id == tip_message_id.clone() && !(*success), // expect a failure )), "tip added event found" ); - let relayer_lost_tip = LostTips::::get::< + let relayer_lost_tip = LostTips::::get::< pezsp_runtime::AccountId32, >(relayer.into()); // Assert a tip was added to storage. @@ -403,7 +403,7 @@ fn transfer_relay_token_from_ah() { // Check that the Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); let relayer = BridgeHubZagrosSender::get(); @@ -490,7 +490,7 @@ fn send_weth_and_hez_from_asset_hub_to_ethereum() { // Check that Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); let relayer = BridgeHubZagrosSender::get(); @@ -586,7 +586,7 @@ fn transact_with_agent_from_asset_hub() { // Check that Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); let relayer = BridgeHubZagrosSender::get(); @@ -670,7 +670,7 @@ fn transact_with_agent_from_asset_hub_without_any_asset_transfer() { // Check that Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); let relayer = BridgeHubZagrosSender::get(); @@ -789,7 +789,7 @@ fn register_token_from_penpal() { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); let relayer = BridgeHubZagrosSender::get(); @@ -808,7 +808,7 @@ fn register_token_from_penpal() { assert_expected_events!( BridgeHubZagros, vec![ - RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageDelivered { .. }) => {}, + RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageDelivered { .. }) => {}, ] ); }); @@ -937,7 +937,7 @@ fn send_message_from_penpal_to_ethereum(sudo: bool) { type RuntimeEvent = ::RuntimeEvent; assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); }); } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_edge_case.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_edge_case.rs index 69b44948..1dd73397 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_edge_case.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_edge_case.rs @@ -23,7 +23,7 @@ use crate::{ }; use emulated_integration_tests_common::snowbridge::{SEPOLIA_ID, WETH}; use pezframe_support::assert_noop; -use snowbridge_core::AssetMetadata; +use pezsnowbridge_core::AssetMetadata; use pezsp_runtime::DispatchError::BadOrigin; use xcm::v5::AssetTransferFilter; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_from_pezkuwichain.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_from_pezkuwichain.rs index aeadcb75..5befb99c 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_from_pezkuwichain.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_outbound_from_pezkuwichain.rs @@ -129,7 +129,7 @@ pub(crate) fn assert_bridge_hub_zagros_message_received() { vec![ // message sent to destination RuntimeEvent::XcmpQueue( - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. } ) => {}, ] ); @@ -270,7 +270,7 @@ fn send_roc_from_asset_hub_pezkuwichain_to_ethereum() { // Check that the Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); }); } @@ -366,7 +366,7 @@ fn register_pezkuwichain_asset_on_ethereum_from_rah() { // Check that the Ethereum message was queue in the Outbound Queue assert_expected_events!( BridgeHubZagros, - vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] + vec![RuntimeEvent::EthereumOutboundQueueV2(snowbridge_pezpallet_outbound_queue_v2::Event::MessageQueued{ .. }) => {},] ); }); } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_rewards.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_rewards.rs index 427497f8..c9844a2e 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_rewards.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/bridges/bridge-hub-zagros/src/tests/snowbridge_v2_rewards.rs @@ -14,7 +14,7 @@ // limitations under the License. use crate::tests::snowbridge_common::{eth_location, set_up_eth_and_hez_pool}; -use bridge_hub_zagros_runtime::bridge_common_config::{BridgeReward, BridgeRewardBeneficiaries}; +use pezbridge_hub_zagros_runtime::bridge_common_config::{BridgeReward, BridgeRewardBeneficiaries}; use emulated_integration_tests_common::snowbridge::ETHER_MIN_BALANCE; use pezpallet_bridge_relayers::{Error::FailedToPayReward, RewardLedger}; diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/Cargo.toml index 499f08b3..53262769 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/Cargo.toml @@ -4,7 +4,7 @@ version = "1.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Collectives Zagros runtime integration tests with xcm-emulator" +description = "Collectives Zagros runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/collectives-zagros-integration-tests" repository = { workspace = true } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/lib.rs index c274d06f..c0f4bc0e 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/lib.rs @@ -22,14 +22,14 @@ mod imports { pub(crate) use emulated_integration_tests_common::{ accounts::ALICE, test_teyrchain_is_trusted_teleporter, - xcm_emulator::{assert_expected_events, bx, Chain, TestExt, Teyrchain}, + xcm_pez_emulator::{assert_expected_events, bx, Chain, TestExt, Teyrchain}, }; pub(crate) use zagros_system_emulated_network::{ asset_hub_zagros_emulated_chain::{ asset_hub_zagros_runtime::xcm_config::LocationToAccountId as AssetHubLocationToAccountId, genesis::ED as ASSET_HUB_ZAGROS_ED, AssetHubZagrosParaPallet as AssetHubZagrosPallet, }, - bridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, + pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, collectives_zagros_emulated_chain::{ collectives_zagros_runtime::{ fellowship as collectives_fellowship, @@ -39,7 +39,7 @@ mod imports { CollectivesZagrosParaPallet as CollectivesZagrosPallet, }, coretime_zagros_emulated_chain::CoretimeZagrosParaPallet as CoretimeZagrosPallet, - penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, + pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, people_zagros_emulated_chain::PeopleZagrosParaPallet as PeopleZagrosPallet, zagros_emulated_chain::{ genesis::ED as ZAGROS_ED, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/collectives_salary.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/collectives_salary.rs index 51d8a286..eaca46ec 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/collectives_salary.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/collectives_salary.rs @@ -51,7 +51,7 @@ fn pay_salary_technical_fellowship() { assert_expected_events!( CollectivesZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); @@ -93,7 +93,7 @@ fn pay_salary_secretary() { assert_expected_events!( CollectivesZagros, vec![ - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, ] ); }); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/fellowship_treasury.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/fellowship_treasury.rs index 7605225b..a5e6299e 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/fellowship_treasury.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/collectives/collectives-zagros/src/tests/fellowship_treasury.rs @@ -160,7 +160,7 @@ fn fellowship_treasury_spend() { AssetHubZagros, vec![ RuntimeEvent::Balances(pezpallet_balances::Event::Transfer { .. }) => {}, - RuntimeEvent::TeyrchainSystem(pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, + RuntimeEvent::TeyrchainSystem(pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); @@ -234,7 +234,7 @@ fn fellowship_treasury_spend() { AssetHubZagros, vec![ RuntimeEvent::Balances(pezpallet_balances::Event::Transfer { .. }) => {}, - RuntimeEvent::XcmpQueue(pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, + RuntimeEvent::XcmpQueue(pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. }) => {}, RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed { success: true ,.. }) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/Cargo.toml index ed0c3078..40ec264a 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Coretime Pezkuwichain runtime integration tests with xcm-emulator" +description = "Coretime Pezkuwichain runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/coretime-pezkuwichain-integration-tests" repository = { workspace = true } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/lib.rs index fe910445..2d3aa947 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/lib.rs @@ -23,7 +23,7 @@ mod imports { pub(crate) use xcm::{latest::PEZKUWICHAIN_GENESIS_HASH, prelude::*}; // Pezcumulus - pub(crate) use emulated_integration_tests_common::xcm_emulator::{ + pub(crate) use emulated_integration_tests_common::xcm_pez_emulator::{ assert_expected_events, Chain, TestExt, Teyrchain, }; pub(crate) use pezkuwichain_system_emulated_network::{ diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/tests/coretime_interface.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/tests/coretime_interface.rs index 05b3d1e3..8bdc8361 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/tests/coretime_interface.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-pezkuwichain/src/tests/coretime_interface.rs @@ -100,7 +100,7 @@ fn transact_hardcoded_weights_are_sane() { pezpallet_broker::Event::CoreCountRequested { core_count: 1 } ) => {}, CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); @@ -162,7 +162,7 @@ fn transact_hardcoded_weights_are_sane() { pezpallet_broker::Event::CoreAssigned { .. } ) => {}, CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); @@ -197,7 +197,7 @@ fn transact_hardcoded_weights_are_sane() { CoretimePezkuwichain, vec![ CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/Cargo.toml index 38a8753c..23ffa8ba 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Coretime Zagros runtime integration tests with xcm-emulator" +description = "Coretime Zagros runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/coretime-zagros-integration-tests" repository = { workspace = true } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/lib.rs index fc4dfc5c..9cdfa36b 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/lib.rs @@ -23,20 +23,20 @@ mod imports { pub(crate) use xcm::{latest::ZAGROS_GENESIS_HASH, prelude::*}; // Pezcumulus - pub(crate) use emulated_integration_tests_common::xcm_emulator::{ + pub(crate) use emulated_integration_tests_common::xcm_pez_emulator::{ assert_expected_events, Chain, TestExt, Teyrchain, }; pub(crate) use zagros_system_emulated_network::{ asset_hub_zagros_emulated_chain::{ genesis::ED as ASSET_HUB_ZAGROS_ED, AssetHubZagrosParaPallet as AssetHubZagrosPallet, }, - bridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, + pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, collectives_zagros_emulated_chain::CollectivesZagrosParaPallet as CollectivesZagrosPallet, coretime_zagros_emulated_chain::{ self, coretime_zagros_runtime::ExistentialDeposit as CoretimeZagrosExistentialDeposit, genesis::ED as CORETIME_ZAGROS_ED, CoretimeZagrosParaPallet as CoretimeZagrosPallet, }, - penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, + pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, people_zagros_emulated_chain::PeopleZagrosParaPallet as PeopleZagrosPallet, zagros_emulated_chain::{genesis::ED as ZAGROS_ED, ZagrosRelayPallet as ZagrosPallet}, AssetHubZagrosPara as AssetHubZagros, AssetHubZagrosParaReceiver as AssetHubZagrosReceiver, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/tests/coretime_interface.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/tests/coretime_interface.rs index f3a2caa2..2c1187f7 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/tests/coretime_interface.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/coretime/coretime-zagros/src/tests/coretime_interface.rs @@ -100,7 +100,7 @@ fn transact_hardcoded_weights_are_sane() { pezpallet_broker::Event::CoreCountRequested { core_count: 1 } ) => {}, CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); @@ -161,7 +161,7 @@ fn transact_hardcoded_weights_are_sane() { pezpallet_broker::Event::CoreAssigned { .. } ) => {}, CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); @@ -178,7 +178,7 @@ fn transact_hardcoded_weights_are_sane() { CoretimeZagros, vec![ CoretimeEvent::TeyrchainSystem( - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ) => {}, ] ); diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/Cargo.toml index 8dda83c5..259c6ff9 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "Zagros governance integration tests with xcm-emulator" +description = "Zagros governance integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/governance-zagros-integration-tests" repository = { workspace = true } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/lib.rs index f03a3d0e..a5811fad 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/lib.rs @@ -19,7 +19,7 @@ mod imports { pub(crate) use codec::Encode; pub(crate) use emulated_integration_tests_common::{ impls::{assert_expected_events, bx, TestExt}, - xcm_emulator::Chain, + xcm_pez_emulator::Chain, xcm_helpers::{ build_xcm_send_authorize_upgrade_call, call_hash_of, dispatch_whitelisted_call_with_preimage, diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/open_gov_on_relay.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/open_gov_on_relay.rs index 891b7d8f..2c459bc7 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/open_gov_on_relay.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/governance/zagros/src/open_gov_on_relay.rs @@ -16,7 +16,7 @@ use crate::{common::*, imports::*}; use emulated_integration_tests_common::{ assert_whitelisted, impls::RelayChain, - xcm_emulator::{Chain, TestExt, Teyrchain}, + xcm_pez_emulator::{Chain, TestExt, Teyrchain}, }; use zagros_runtime::governance::pezpallet_custom_origins::Origin; use zagros_system_emulated_network::{ diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/Cargo.toml index c6ee8eec..0ca194a4 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "People Pezkuwichain runtime integration tests with xcm-emulator" +description = "People Pezkuwichain runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/people-pezkuwichain-integration-tests" repository = { workspace = true } @@ -24,14 +24,14 @@ xcm = { workspace = true } xcm-executor = { workspace = true } # Pezcumulus -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } emulated-integration-tests-common = { workspace = true } pezkuwichain-system-emulated-network = { workspace = true } teyrchains-common = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "emulated-integration-tests-common/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezpallet-balances/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/src/lib.rs index dd7fa099..a88c9848 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-pezkuwichain/src/lib.rs @@ -22,8 +22,8 @@ mod imports { pub(crate) use xcm::{latest::PEZKUWICHAIN_GENESIS_HASH, prelude::*}; // Pezcumulus - pub(crate) use asset_test_utils::xcm_helpers; - pub(crate) use emulated_integration_tests_common::xcm_emulator::{ + pub(crate) use asset_test_pezutils::xcm_helpers; + pub(crate) use emulated_integration_tests_common::xcm_pez_emulator::{ assert_expected_events, bx, Chain, Test, TestArgs, TestContext, TestExt, Teyrchain as Para, }; pub(crate) use pezkuwichain_system_emulated_network::{ diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/Cargo.toml b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/Cargo.toml index 95303d38..fa472576 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" -description = "People Zagros runtime integration tests with xcm-emulator" +description = "People Zagros runtime integration tests with xcm-pez-emulator" publish = false documentation = "https://docs.rs/people-zagros-integration-tests" repository = { workspace = true } diff --git a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/src/lib.rs b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/src/lib.rs index 75170a78..13c981f5 100644 --- a/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/integration-tests/emulated/tests/people/people-zagros/src/lib.rs @@ -22,16 +22,16 @@ mod imports { pub(crate) use xcm::{latest::ZAGROS_GENESIS_HASH, prelude::*}; // Pezcumulus - pub(crate) use emulated_integration_tests_common::xcm_emulator::{ + pub(crate) use emulated_integration_tests_common::xcm_pez_emulator::{ assert_expected_events, bx, Chain, TestExt, Teyrchain as Para, }; pub(crate) use zagros_system_emulated_network::{ self, asset_hub_zagros_emulated_chain::AssetHubZagrosParaPallet as AssetHubZagrosPallet, - bridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, + pezbridge_hub_zagros_emulated_chain::BridgeHubZagrosParaPallet as BridgeHubZagrosPallet, collectives_zagros_emulated_chain::CollectivesZagrosParaPallet as CollectivesZagrosPallet, coretime_zagros_emulated_chain::CoretimeZagrosParaPallet as CoretimeZagrosPallet, - penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, + pez_penpal_emulated_chain::{PenpalAssetOwner, PenpalBParaPallet as PenpalBPallet}, people_zagros_emulated_chain::{ people_zagros_runtime::{ self, xcm_config::XcmConfig as PeopleZagrosXcmConfig, diff --git a/pezcumulus/teyrchains/pallets/collective-content/Cargo.toml b/pezcumulus/teyrchains/pezpallets/collective-content/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/collective-content/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/collective-content/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/collective-content/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/collective-content/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/collective-content/src/lib.rs b/pezcumulus/teyrchains/pezpallets/collective-content/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/collective-content/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/collective-content/src/mock.rs b/pezcumulus/teyrchains/pezpallets/collective-content/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/collective-content/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/collective-content/src/tests.rs b/pezcumulus/teyrchains/pezpallets/collective-content/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/collective-content/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/collective-content/src/weights.rs b/pezcumulus/teyrchains/pezpallets/collective-content/src/weights.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/collective-content/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/collective-content/src/weights.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/Cargo.toml b/pezcumulus/teyrchains/pezpallets/identity-kyc/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/identity-kyc/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/lib.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/mock.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/tests.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/types.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/types.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/types.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/types.rs diff --git a/pezcumulus/teyrchains/pallets/identity-kyc/src/weights.rs b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/identity-kyc/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/identity-kyc/src/weights.rs index eeea6113..944e0c81 100644 --- a/pezcumulus/teyrchains/pallets/identity-kyc/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/identity-kyc/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/identity-kyc/src/weights.rs +// pezcumulus/teyrchains/pezpallets/identity-kyc/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/perwerde/Cargo.toml b/pezcumulus/teyrchains/pezpallets/perwerde/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/perwerde/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/perwerde/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/perwerde/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/perwerde/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/perwerde/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/perwerde/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/perwerde/src/lib.rs b/pezcumulus/teyrchains/pezpallets/perwerde/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/perwerde/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/perwerde/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/perwerde/src/mock.rs b/pezcumulus/teyrchains/pezpallets/perwerde/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/perwerde/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/perwerde/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/perwerde/src/tests.rs b/pezcumulus/teyrchains/pezpallets/perwerde/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/perwerde/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/perwerde/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/perwerde/src/weights.rs b/pezcumulus/teyrchains/pezpallets/perwerde/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/perwerde/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/perwerde/src/weights.rs index c4325b2c..99241a57 100644 --- a/pezcumulus/teyrchains/pallets/perwerde/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/perwerde/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/perwerde/src/weights.rs +// pezcumulus/teyrchains/pezpallets/perwerde/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/Cargo.toml b/pezcumulus/teyrchains/pezpallets/pez-rewards/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-rewards/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/pez-rewards/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-rewards/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/pez-rewards/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/src/lib.rs b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-rewards/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/pez-rewards/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/src/mock.rs b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-rewards/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/pez-rewards/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/src/tests.rs b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-rewards/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/pez-rewards/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/pez-rewards/src/weights.rs b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/pez-rewards/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/pez-rewards/src/weights.rs index 29e9d610..ea108fc4 100644 --- a/pezcumulus/teyrchains/pallets/pez-rewards/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/pez-rewards/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/pez-rewards/src/weights.rs +// pezcumulus/teyrchains/pezpallets/pez-rewards/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/Cargo.toml b/pezcumulus/teyrchains/pezpallets/pez-treasury/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/pez-treasury/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/lib.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/migrations.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/migrations.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/migrations.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/migrations.rs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/mock.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/tests.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/pez-treasury/src/weights.rs b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/weights.rs similarity index 98% rename from pezcumulus/teyrchains/pallets/pez-treasury/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/pez-treasury/src/weights.rs index 5211d203..dcb450f8 100644 --- a/pezcumulus/teyrchains/pallets/pez-treasury/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/pez-treasury/src/weights.rs @@ -23,7 +23,7 @@ // --repeat // 20 // --output -// ./pezcumulus/teyrchains/pallets/pez-treasury/src/weights.rs +// ./pezcumulus/teyrchains/pezpallets/pez-treasury/src/weights.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] diff --git a/pezcumulus/teyrchains/pallets/ping/Cargo.toml b/pezcumulus/teyrchains/pezpallets/ping/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/ping/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/ping/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/ping/src/lib.rs b/pezcumulus/teyrchains/pezpallets/ping/src/lib.rs similarity index 98% rename from pezcumulus/teyrchains/pallets/ping/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/ping/src/lib.rs index 029b086a..995eafaf 100644 --- a/pezcumulus/teyrchains/pallets/ping/src/lib.rs +++ b/pezcumulus/teyrchains/pezpallets/ping/src/lib.rs @@ -21,7 +21,7 @@ extern crate alloc; use alloc::{vec, vec::Vec}; -use pezcumulus_pallet_xcm::{ensure_sibling_para, Origin as CumulusOrigin}; +use pezcumulus_pezpallet_xcm::{ensure_sibling_para, Origin as CumulusOrigin}; use pezcumulus_primitives_core::ParaId; use pezframe_support::{parameter_types, BoundedVec}; use pezframe_system::Config as SystemConfig; diff --git a/pezcumulus/teyrchains/pallets/presale/Cargo.toml b/pezcumulus/teyrchains/pezpallets/presale/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/presale/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/presale/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/presale/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/presale/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/presale/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/presale/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/presale/src/lib.rs b/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/presale/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/presale/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/presale/src/mock.rs b/pezcumulus/teyrchains/pezpallets/presale/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/presale/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/presale/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/presale/src/tests.rs b/pezcumulus/teyrchains/pezpallets/presale/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/presale/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/presale/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/presale/src/weights.rs b/pezcumulus/teyrchains/pezpallets/presale/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/presale/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/presale/src/weights.rs index 901051de..3c674c31 100644 --- a/pezcumulus/teyrchains/pallets/presale/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/presale/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/presale/src/weights.rs +// pezcumulus/teyrchains/pezpallets/presale/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/referral/Cargo.toml b/pezcumulus/teyrchains/pezpallets/referral/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/referral/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/referral/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/referral/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/referral/src/lib.rs b/pezcumulus/teyrchains/pezpallets/referral/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/referral/src/mock.rs b/pezcumulus/teyrchains/pezpallets/referral/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/referral/src/tests.rs b/pezcumulus/teyrchains/pezpallets/referral/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/referral/src/types.rs b/pezcumulus/teyrchains/pezpallets/referral/src/types.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/referral/src/types.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/types.rs diff --git a/pezcumulus/teyrchains/pallets/referral/src/weights.rs b/pezcumulus/teyrchains/pezpallets/referral/src/weights.rs similarity index 98% rename from pezcumulus/teyrchains/pallets/referral/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/referral/src/weights.rs index 3393f34e..4478d9f8 100644 --- a/pezcumulus/teyrchains/pallets/referral/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/referral/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/referral/src/weights.rs +// pezcumulus/teyrchains/pezpallets/referral/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/staking-score/Cargo.toml b/pezcumulus/teyrchains/pezpallets/staking-score/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/staking-score/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/staking-score/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/staking-score/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/staking-score/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/staking-score/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/staking-score/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/staking-score/src/lib.rs b/pezcumulus/teyrchains/pezpallets/staking-score/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/staking-score/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/staking-score/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/staking-score/src/mock.rs b/pezcumulus/teyrchains/pezpallets/staking-score/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/staking-score/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/staking-score/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/staking-score/src/tests.rs b/pezcumulus/teyrchains/pezpallets/staking-score/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/staking-score/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/staking-score/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/staking-score/src/weights.rs b/pezcumulus/teyrchains/pezpallets/staking-score/src/weights.rs similarity index 97% rename from pezcumulus/teyrchains/pallets/staking-score/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/staking-score/src/weights.rs index e0f4376e..5dd8be20 100644 --- a/pezcumulus/teyrchains/pallets/staking-score/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/staking-score/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/staking-score/src/weights.rs +// pezcumulus/teyrchains/pezpallets/staking-score/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/teyrchain-info/Cargo.toml b/pezcumulus/teyrchains/pezpallets/teyrchain-info/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/teyrchain-info/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/teyrchain-info/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/teyrchain-info/src/lib.rs b/pezcumulus/teyrchains/pezpallets/teyrchain-info/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/teyrchain-info/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/teyrchain-info/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/Cargo.toml b/pezcumulus/teyrchains/pezpallets/tiki/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/tiki/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/tiki/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/ensure.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/ensure.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/lib.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/migrations.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/migrations.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/migrations.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/migrations.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/mock.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/tests.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/tiki/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/tiki/src/weights.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/tiki/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/tiki/src/weights.rs index 2372354b..dfd9743e 100644 --- a/pezcumulus/teyrchains/pallets/tiki/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/tiki/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/tiki/src/weights.rs +// pezcumulus/teyrchains/pezpallets/tiki/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/Cargo.toml b/pezcumulus/teyrchains/pezpallets/token-wrapper/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/token-wrapper/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/token-wrapper/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/token-wrapper/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/token-wrapper/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/src/lib.rs b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/token-wrapper/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/token-wrapper/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/src/mock.rs b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/token-wrapper/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/token-wrapper/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/src/tests.rs b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/token-wrapper/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/token-wrapper/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/token-wrapper/src/weights.rs b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/token-wrapper/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/token-wrapper/src/weights.rs index 28a7cf94..42c3e395 100644 --- a/pezcumulus/teyrchains/pallets/token-wrapper/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/token-wrapper/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/token-wrapper/src/weights.rs +// pezcumulus/teyrchains/pezpallets/token-wrapper/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/trust/Cargo.toml b/pezcumulus/teyrchains/pezpallets/trust/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/trust/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/trust/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/trust/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/trust/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/trust/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/trust/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/trust/src/lib.rs b/pezcumulus/teyrchains/pezpallets/trust/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/trust/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/trust/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/trust/src/mock.rs b/pezcumulus/teyrchains/pezpallets/trust/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/trust/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/trust/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/trust/src/tests.rs b/pezcumulus/teyrchains/pezpallets/trust/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/trust/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/trust/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/trust/src/weights.rs b/pezcumulus/teyrchains/pezpallets/trust/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/trust/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/trust/src/weights.rs index 0d4fa27e..dea565e1 100644 --- a/pezcumulus/teyrchains/pallets/trust/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/trust/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/trust/src/weights.rs +// pezcumulus/teyrchains/pezpallets/trust/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/pallets/welati/Cargo.toml b/pezcumulus/teyrchains/pezpallets/welati/Cargo.toml similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/Cargo.toml rename to pezcumulus/teyrchains/pezpallets/welati/Cargo.toml diff --git a/pezcumulus/teyrchains/pallets/welati/src/benchmarking.rs b/pezcumulus/teyrchains/pezpallets/welati/src/benchmarking.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/benchmarking.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/benchmarking.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/lib.rs b/pezcumulus/teyrchains/pezpallets/welati/src/lib.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/lib.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/lib.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/migrations.rs b/pezcumulus/teyrchains/pezpallets/welati/src/migrations.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/migrations.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/migrations.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/mock.rs b/pezcumulus/teyrchains/pezpallets/welati/src/mock.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/mock.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/mock.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/tests.rs b/pezcumulus/teyrchains/pezpallets/welati/src/tests.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/tests.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/tests.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/types.rs b/pezcumulus/teyrchains/pezpallets/welati/src/types.rs similarity index 100% rename from pezcumulus/teyrchains/pallets/welati/src/types.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/types.rs diff --git a/pezcumulus/teyrchains/pallets/welati/src/weights.rs b/pezcumulus/teyrchains/pezpallets/welati/src/weights.rs similarity index 99% rename from pezcumulus/teyrchains/pallets/welati/src/weights.rs rename to pezcumulus/teyrchains/pezpallets/welati/src/weights.rs index fa9da5bd..b0e6db34 100644 --- a/pezcumulus/teyrchains/pallets/welati/src/weights.rs +++ b/pezcumulus/teyrchains/pezpallets/welati/src/weights.rs @@ -40,7 +40,7 @@ // --repeat // 20 // --output -// pezcumulus/teyrchains/pallets/welati/src/weights.rs +// pezcumulus/teyrchains/pezpallets/welati/src/weights.rs // --template // bizinikiwi/.maintain/frame-weight-template.hbs diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/Cargo.toml index 3bdb7501..615a6e55 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/Cargo.toml @@ -101,7 +101,7 @@ pezkuwichain-runtime-constants = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus assets-common = { workspace = true } @@ -127,7 +127,7 @@ bp-bridge-hub-zagros = { workspace = true } pezpallet-xcm-bridge-hub-router = { workspace = true } [dev-dependencies] -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } teyrchains-runtimes-test-utils = { workspace = true, default-features = true } [build-dependencies] @@ -137,7 +137,7 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features default = ["std"] fast-runtime = [] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "assets-common/runtime-benchmarks", "bp-asset-hub-pezkuwichain/runtime-benchmarks", "bp-asset-hub-zagros/runtime-benchmarks", @@ -225,11 +225,11 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ - "asset-test-utils/try-runtime", + "asset-test-pezutils/try-runtime", "assets-common/try-runtime", "pezcumulus-pezpallet-aura-ext/try-runtime", "pezcumulus-pezpallet-teyrchain-system/try-runtime", @@ -379,7 +379,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/Cargo.toml index 9b4e0f79..2d111360 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/Cargo.toml @@ -27,7 +27,7 @@ pezsp-core = { workspace = true } # Bridge Dependencies bp-bridge-hub-pezcumulus = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } testnet-teyrchains-constants = { features = ["pezkuwichain"], workspace = true } @@ -39,7 +39,7 @@ default = ["std"] std = [ "bp-bridge-hub-pezcumulus/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-xcm-bridge-hub-router/std", "codec/std", "pezframe-support/std", @@ -52,7 +52,7 @@ std = [ runtime-benchmarks = [ "bp-bridge-hub-pezcumulus/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-xcm-bridge-hub-router/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/src/lib.rs index 88b24b1b..6cc40edd 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives/src/lib.rs @@ -22,9 +22,9 @@ extern crate alloc; use codec::{Decode, Encode}; use scale_info::TypeInfo; -pub use bp_bridge_hub_cumulus::*; +pub use bp_bridge_hub_pezcumulus::*; use bp_messages::*; -use bp_runtime::{ +use pezbp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain, }; pub use bp_xcm_bridge_hub_router::XcmBridgeHubRouterCall; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs index a16b37fb..73bb8c06 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/lib.rs @@ -43,7 +43,7 @@ use assets_common::{ AssetIdForPoolAssets, AssetIdForPoolAssetsConvert, AssetIdForTrustBackedAssetsConvert, }; use bp_asset_hub_pezkuwichain::CreateForeignAssetDeposit; -use pezcumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; +use pezcumulus_pezpallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; use pezcumulus_primitives_core::AggregateMessageOrigin; use pezsp_api::impl_runtime_apis; use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata}; @@ -116,7 +116,7 @@ use xcm::{ Version as XcmVersion, VersionedAsset, VersionedAssetId, VersionedAssets, VersionedLocation, VersionedXcm, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -190,13 +190,13 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -737,8 +737,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -752,7 +752,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -788,7 +788,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -804,8 +804,8 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -820,7 +820,7 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -1021,7 +1021,7 @@ impl pezpallet_xcm_bridge_hub_router::Config for Runt >; type ToBridgeHubSender = XcmpQueue; type LocalXcmChannelManager = - pezcumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; + pezcumulus_pezpallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; type ByteFee = xcm_config::bridging::XcmBridgeHubRouterByteFee; type FeeAsset = xcm_config::bridging::XcmBridgeHubRouterFeeAssetId; @@ -1301,10 +1301,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 3, TeyrchainInfo: teyrchain_info = 4, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 5, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 5, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -1316,12 +1316,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -1386,7 +1386,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -1408,8 +1408,8 @@ pub type UncheckedExtrinsic = pub type Migrations = ( InitStorageVersions, // unreleased - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, pezpallet_collator_selection::migration::v2::MigrationToV2, pezframe_support::migrations::RemovePallet, // unreleased @@ -1424,7 +1424,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); parameter_types! { @@ -1580,8 +1580,8 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_xcm_bridge_hub_router, ToZagros] [pezpallet_asset_conversion_ops, AssetConversionMigration] // XCM @@ -1589,7 +1589,7 @@ mod benches { // NOTE: Make sure you point to the individual modules below. [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] // PezkuwiChain Custom Pallets [pezpallet_pez_treasury, PezTreasury] [pezpallet_presale, Presale] @@ -1807,7 +1807,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let native_token = xcm_config::TokenLocation::get(); // We accept the native token to pay fees. @@ -1835,7 +1835,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -1845,12 +1845,12 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) @@ -1898,7 +1898,7 @@ impl_runtime_apis! { use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench; @@ -1942,12 +1942,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use pezpallet_xcm_bridge_hub_router::benchmarking::{ Pallet as XcmBridgeHubRouterBench, @@ -2097,7 +2097,7 @@ impl_runtime_apis! { impl XcmBridgeHubRouterConfig for Runtime { fn make_congested() { - pezcumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( + pezcumulus_pezpallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( xcm_config::bridging::SiblingBridgeHubParaId::get().into() ); } @@ -2306,11 +2306,11 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } @@ -2327,23 +2327,23 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/mod.rs index c179f66e..ec5dafae 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/mod.rs @@ -15,9 +15,9 @@ // limitations under the License. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs index 42103f8d..b6171d14 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs index d8043819..8ac666c5 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs index bc439046..524bb581 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-pezkuwichain-runtime/asset_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/xcm_config.rs index 7f5afe7c..2905c1ab 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/src/xcm_config.rs @@ -73,7 +73,7 @@ parameter_types! { pub const TokenLocation: Location = Location::parent(); pub const RelayNetwork: NetworkId = NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH); pub const AssetHubParaId: crate::ParaId = crate::ParaId::new(ASSET_HUB_ID); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub UniversalLocationNetworkId: NetworkId = UniversalLocation::get().global_consensus().unwrap(); @@ -235,7 +235,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognised. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -490,7 +490,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/tests/tests.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/tests/tests.rs index 76362ccb..fab67fbc 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/tests/tests.rs @@ -28,7 +28,7 @@ use asset_hub_pezkuwichain_runtime::{ MetadataDepositBase, MetadataDepositPerByte, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, SessionKeys, TeyrchainSystem, ToZagrosXcmRouterInstance, TrustBackedAssetsInstance, XcmpQueue, }; -use asset_test_utils::{ +use asset_test_pezutils::{ test_cases_over_bridge::TestBridgingConfig, CollatorSessionKey, CollatorSessionKeys, ExtBuilder, GovernanceOrigin, SlotDurations, }; @@ -56,7 +56,7 @@ use xcm::latest::{ }; use xcm_builder::WithLatestLocationConverter; use xcm_executor::traits::{JustTry, WeightTrader}; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; const SOME_ASSET_ADMIN: [u8; 32] = [5u8; 32]; @@ -68,7 +68,7 @@ parameter_types! { type AssetIdForTrustBackedAssetsConvert = assets_common::AssetIdForTrustBackedAssetsConvert; -type RuntimeHelper = asset_test_utils::RuntimeHelper; +type RuntimeHelper = asset_test_pezutils::RuntimeHelper; fn collator_session_key(account: [u8; 32]) -> CollatorSessionKey { CollatorSessionKey::new( @@ -574,7 +574,7 @@ fn test_assets_balances_api_works() { }); } -asset_test_utils::include_teleports_for_native_asset_works!( +asset_test_pezutils::include_teleports_for_native_asset_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -593,7 +593,7 @@ asset_test_utils::include_teleports_for_native_asset_works!( 1000 ); -asset_test_utils::include_teleports_for_foreign_assets_works!( +asset_test_pezutils::include_teleports_for_foreign_assets_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -619,7 +619,7 @@ asset_test_utils::include_teleports_for_foreign_assets_works!( }) ); -asset_test_utils::include_asset_transactor_transfer_with_local_consensus_currency_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_local_consensus_currency_works!( Runtime, XcmConfig, collator_session_keys(), @@ -634,7 +634,7 @@ asset_test_utils::include_asset_transactor_transfer_with_local_consensus_currenc }) ); -asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( asset_transactor_transfer_with_trust_backed_assets_works, Runtime, XcmConfig, @@ -652,7 +652,7 @@ asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_ }) ); -asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( asset_transactor_transfer_with_foreign_assets_works, Runtime, XcmConfig, @@ -670,7 +670,7 @@ asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_ }) ); -asset_test_utils::include_create_and_manage_foreign_assets_for_local_consensus_teyrchain_assets_works!( +asset_test_pezutils::include_create_and_manage_foreign_assets_for_local_consensus_teyrchain_assets_works!( Runtime, XcmConfig, WeightToFee, @@ -703,7 +703,7 @@ asset_test_utils::include_create_and_manage_foreign_assets_for_local_consensus_t fn limited_reserve_transfer_assets_for_native_asset_over_bridge_works( bridging_configuration: fn() -> TestBridgingConfig, ) { - asset_test_utils::test_cases_over_bridge::limited_reserve_transfer_assets_for_native_asset_works::< + asset_test_pezutils::test_cases_over_bridge::limited_reserve_transfer_assets_for_native_asset_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -790,7 +790,7 @@ mod asset_hub_pezkuwichain_tests { foreign_asset_id_minimum_balance, ); - asset_test_utils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< + asset_test_pezutils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -805,7 +805,7 @@ mod asset_hub_pezkuwichain_tests { 1000000000000, || { // setup pool for paying fees to touch `SwapFirstAssetTrader` - asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); + asset_test_pezutils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); // staking pot account for collecting local native fees from `BuyExecution` let _ = Balances::force_set_balance(RuntimeOrigin::root(), StakingPot::get().into(), ExistentialDeposit::get()); // prepare bridge configuration @@ -874,7 +874,7 @@ mod asset_hub_pezkuwichain_tests { foreign_asset_id_minimum_balance, ); - asset_test_utils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< + asset_test_pezutils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -888,7 +888,7 @@ mod asset_hub_pezkuwichain_tests { foreign_asset_create_params, 1000000000000, || { - asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); + asset_test_pezutils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); bridging_to_asset_hub_zagros() }, ( @@ -923,7 +923,7 @@ mod asset_hub_pezkuwichain_tests { #[test] fn report_bridge_status_from_xcm_bridge_router_for_zagros_works() { - asset_test_utils::test_cases_over_bridge::report_bridge_status_from_xcm_bridge_router_works::< + asset_test_pezutils::test_cases_over_bridge::report_bridge_status_from_xcm_bridge_router_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -978,7 +978,7 @@ mod asset_hub_pezkuwichain_tests { #[test] fn reserve_transfer_native_asset_to_non_teleport_para_works() { - asset_test_utils::test_cases::reserve_transfer_native_asset_to_non_teleport_para_works::< + asset_test_pezutils::test_cases::reserve_transfer_native_asset_to_non_teleport_para_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1009,7 +1009,7 @@ mod asset_hub_pezkuwichain_tests { #[test] fn change_xcm_bridge_hub_router_byte_fee_by_governance_works() { - asset_test_utils::test_cases::change_storage_constant_by_governance_works::< + asset_test_pezutils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridging::XcmBridgeHubRouterByteFee, Balance, @@ -1035,7 +1035,7 @@ fn change_xcm_bridge_hub_router_byte_fee_by_governance_works() { #[test] fn change_xcm_bridge_hub_router_base_fee_by_governance_works() { - asset_test_utils::test_cases::change_storage_constant_by_governance_works::< + asset_test_pezutils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridging::XcmBridgeHubRouterBaseFee, Balance, @@ -1067,7 +1067,7 @@ fn change_xcm_bridge_hub_router_base_fee_by_governance_works() { #[test] fn change_xcm_bridge_hub_ethereum_base_fee_by_governance_works() { - asset_test_utils::test_cases::change_storage_constant_by_governance_works::< + asset_test_pezutils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridging::to_ethereum::BridgeHubEthereumBaseFee, Balance, @@ -1338,7 +1338,7 @@ fn xcm_payment_api_works() { Block, WeightToFee, >(); - asset_test_utils::test_cases::xcm_payment_api_with_pools_works::< + asset_test_pezutils::test_cases::xcm_payment_api_with_pools_works::< Runtime, RuntimeCall, RuntimeOrigin, @@ -1346,7 +1346,7 @@ fn xcm_payment_api_works() { WeightToFee, >(); - asset_test_utils::test_cases::xcm_payment_api_foreign_asset_pool_works::< + asset_test_pezutils::test_cases::xcm_payment_api_foreign_asset_pool_works::< Runtime, RuntimeCall, RuntimeOrigin, diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml index 470c1818..1044c434 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml @@ -110,7 +110,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -136,13 +136,13 @@ bp-asset-hub-zagros = { workspace = true } bp-bridge-hub-pezkuwichain = { workspace = true } bp-bridge-hub-zagros = { workspace = true } pezpallet-xcm-bridge-hub-router = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } snowbridge-pezpallet-system-frontend = { workspace = true } -snowbridge-runtime-common = { workspace = true } +snowpezbridge-runtime-common = { workspace = true } [dev-dependencies] alloy-core = { workspace = true, features = ["sol-types"] } -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezpallet-revive-fixtures = { workspace = true, default-features = true } pezsp-tracing = { workspace = true, default-features = true } teyrchains-runtimes-test-utils = { workspace = true, default-features = true } @@ -153,7 +153,7 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features [features] default = ["std"] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", "assets-common/runtime-benchmarks", "bp-asset-hub-pezkuwichain/runtime-benchmarks", "bp-asset-hub-zagros/runtime-benchmarks", @@ -230,9 +230,9 @@ runtime-benchmarks = [ "pezpallet-xcm/runtime-benchmarks", "pezkuwi-runtime-common/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", "snowbridge-pezpallet-system-frontend/runtime-benchmarks", - "snowbridge-runtime-common/runtime-benchmarks", + "snowpezbridge-runtime-common/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-block-builder/runtime-benchmarks", "pezsp-consensus-aura/runtime-benchmarks", @@ -254,12 +254,12 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] try-runtime = [ - "asset-test-utils/try-runtime", + "asset-test-pezutils/try-runtime", "assets-common/try-runtime", "pezcumulus-pezpallet-aura-ext/try-runtime", "pezcumulus-pezpallet-teyrchain-system/try-runtime", @@ -319,7 +319,7 @@ try-runtime = [ "pezpallet-xcm/try-runtime", "pezkuwi-runtime-common/try-runtime", "snowbridge-pezpallet-system-frontend/try-runtime", - "snowbridge-runtime-common/try-runtime", + "snowpezbridge-runtime-common/try-runtime", "pezsp-runtime/try-runtime", "teyrchain-info/try-runtime", "teyrchains-common/try-runtime", @@ -407,9 +407,9 @@ std = [ "primitive-types/std", "scale-info/std", "serde_json/std", - "snowbridge-outbound-queue-primitives/std", + "pezsnowbridge-outbound-queue-primitives/std", "snowbridge-pezpallet-system-frontend/std", - "snowbridge-runtime-common/std", + "snowpezbridge-runtime-common/std", "pezsp-api/std", "pezsp-arithmetic/std", "pezsp-block-builder/std", @@ -435,7 +435,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/Cargo.toml index cdebbca0..18f4cdff 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/Cargo.toml @@ -27,7 +27,7 @@ pezsp-core = { workspace = true } # Bridge Dependencies bp-bridge-hub-pezcumulus = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } testnet-teyrchains-constants = { features = ["zagros"], workspace = true } @@ -39,7 +39,7 @@ default = ["std"] std = [ "bp-bridge-hub-pezcumulus/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-xcm-bridge-hub-router/std", "codec/std", "pezframe-support/std", @@ -52,7 +52,7 @@ std = [ runtime-benchmarks = [ "bp-bridge-hub-pezcumulus/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-xcm-bridge-hub-router/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/src/lib.rs index 13aa051f..572a624d 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives/src/lib.rs @@ -19,9 +19,9 @@ extern crate alloc; -pub use bp_bridge_hub_cumulus::*; +pub use bp_bridge_hub_pezcumulus::*; use bp_messages::*; -use bp_runtime::{ +use pezbp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain, }; pub use bp_xcm_bridge_hub_router::XcmBridgeHubRouterCall; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs index 2f1f03d8..532e981d 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs @@ -26,7 +26,7 @@ use crate::{ use assets_common::{matching::FromSiblingTeyrchain, AssetIdForTrustBackedAssetsConvert}; use pezframe_support::{parameter_types, traits::EitherOf}; use pezframe_system::EnsureRootWithSuccess; -use snowbridge_runtime_common::{ForeignAssetOwner, LocalAssetOwner}; +use snowpezbridge_runtime_common::{ForeignAssetOwner, LocalAssetOwner}; use testnet_teyrchains_constants::zagros::snowbridge::{EthereumNetwork, FRONTEND_PALLET_INDEX}; use teyrchains_common::AssetIdForTrustBackedAssets; use xcm::prelude::{InteriorLocation, Location, PalletInstance}; @@ -42,9 +42,9 @@ parameter_types! { pub SystemFrontendPalletLocation: InteriorLocation = [PalletInstance(FRONTEND_PALLET_INDEX)].into(); } -impl snowbridge_pallet_system_frontend::Config for Runtime { +impl snowbridge_pezpallet_system_frontend::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::snowbridge_pallet_system_frontend::WeightInfo; + type WeightInfo = weights::snowbridge_pezpallet_system_frontend::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type Helper = (); type RegisterTokenOrigin = EitherOf< @@ -80,7 +80,7 @@ impl snowbridge_pallet_system_frontend::Config for Runtime { type UniversalLocation = UniversalLocation; type PalletLocation = SystemFrontendPalletLocation; type Swap = AssetConversion; - type BackendWeightInfo = weights::snowbridge_pallet_system_backend::WeightInfo; + type BackendWeightInfo = weights::snowbridge_pezpallet_system_backend::WeightInfo; type AccountIdConverter = xcm_config::LocationToAccountId; } @@ -125,7 +125,7 @@ pub mod benchmark_helpers { } } - impl snowbridge_pallet_system_frontend::BenchmarkHelper for () { + impl snowbridge_pezpallet_system_frontend::BenchmarkHelper for () { fn make_xcm_origin(location: Location) -> RuntimeOrigin { RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location)) } diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs index ec2793b7..45a43497 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/lib.rs @@ -48,7 +48,7 @@ use assets_common::{ }; use bp_asset_hub_zagros::CreateForeignAssetDeposit; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; +use pezcumulus_pezpallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider}; use pezcumulus_primitives_core::{relay_chain::AccountIndex, AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -119,7 +119,7 @@ use xcm::{ XcmVersion, }, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -201,14 +201,14 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type MultiBlockMigrator = MultiBlockMigrations; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -890,8 +890,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -905,7 +905,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -941,7 +941,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -957,7 +957,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -970,11 +970,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -1169,7 +1169,7 @@ impl pezpallet_xcm_bridge_hub_router::Config fo >; type ToBridgeHubSender = XcmpQueue; type LocalXcmChannelManager = - pezcumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; + pezcumulus_pezpallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider; type ByteFee = xcm_config::bridging::XcmBridgeHubRouterByteFee; type FeeAsset = xcm_config::bridging::XcmBridgeHubRouterFeeAssetId; @@ -1308,11 +1308,11 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, // RandomnessCollectiveFlip = 2 removed Timestamp: pezpallet_timestamp = 3, TeyrchainInfo: teyrchain_info = 4, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 5, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 5, MultiBlockMigrations: pezpallet_migrations = 6, Preimage: pezpallet_preimage = 7, Scheduler: pezpallet_scheduler = 8, @@ -1330,17 +1330,17 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, // Bridge utilities. ToPezkuwichainXcmRouter: pezpallet_xcm_bridge_hub_router:: = 34, MessageQueue: pezpallet_message_queue = 35, // Snowbridge - SnowbridgeSystemFrontend: snowbridge_pallet_system_frontend = 36, + SnowbridgeSystemFrontend: snowbridge_pezpallet_system_frontend = 36, // Handy utilities. Utility: pezpallet_utility = 40, @@ -1406,7 +1406,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -1466,8 +1466,8 @@ pub type Migrations = ( // unreleased DeleteUndecodableStorage, // unreleased - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, // unreleased pezpallet_assets::migration::next_asset_id::SetNextAssetId< ConstU32<50_000_000>, @@ -1484,7 +1484,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); /// Asset Hub Zagros has some undecodable storage, delete it. @@ -1701,8 +1701,8 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_treasury, Treasury] [pezpallet_vesting, Vesting] [pezpallet_whitelist, Whitelist] @@ -1714,8 +1714,8 @@ mod benches { // NOTE: Make sure you point to the individual modules below. [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] - [snowbridge_pallet_system_frontend, SnowbridgeSystemFrontend] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] + [snowbridge_pezpallet_system_frontend, SnowbridgeSystemFrontend] ); } @@ -1929,7 +1929,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let native_token = xcm_config::ZagrosLocation::get(); // We accept the native token to pay fees. @@ -1957,7 +1957,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -1967,37 +1967,37 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -2168,7 +2168,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench; @@ -2211,14 +2211,14 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use xcm_config::{MaxAssetsIntoHolding, ZagrosLocation}; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use testnet_teyrchains_constants::zagros::locations::{PeopleParaId, PeopleLocation}; parameter_types! { pub ExistentialDepositAsset: Option = Some(( @@ -2370,7 +2370,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( impl XcmBridgeHubRouterConfig for Runtime { fn make_congested() { - pezcumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( + pezcumulus_pezpallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::( xcm_config::bridging::SiblingBridgeHubParaId::get().into() ); } @@ -2645,9 +2645,9 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } ); -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } parameter_types! { diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/mod.rs index 637dd6df..97267b36 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/mod.rs @@ -14,9 +14,9 @@ // limitations under the License. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; @@ -63,8 +63,8 @@ pub mod pezpallet_xcm; pub mod pezpallet_xcm_bridge_hub_router; pub mod paritydb_weights; pub mod rocksdb_weights; -pub mod snowbridge_pallet_system_backend; -pub mod snowbridge_pallet_system_frontend; +pub mod snowbridge_pezpallet_system_backend; +pub mod snowbridge_pezpallet_system_frontend; pub mod xcm; pub use block_weights::constants::BlockExecutionWeight; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index 7003d174..5fb186e0 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs index 25d1a7e5..cb5d5455 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs index f056d4d3..89b8da0b 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_backend.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_backend.rs index eb3e5679..e872f71f 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_backend.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_backend.rs @@ -21,11 +21,11 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_system_frontend::BackendWeightInfo`. +/// Weight functions for `snowbridge_pezpallet_system_frontend::BackendWeightInfo`. /// Copy the weight generated for `fn register_token() -> Weight` from -/// ../../../../bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system_v2.rs +/// ../../../../bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pezpallet_system_v2.rs pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_system_frontend::BackendWeightInfo for WeightInfo { +impl snowbridge_pezpallet_system_frontend::BackendWeightInfo for WeightInfo { fn transact_register_token() -> Weight { Weight::from_parts(45_000_000, 6044) .saturating_add(T::DbWeight::get().reads(5_u64)) diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_frontend.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_frontend.rs index fd40b3e9..96d56716 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_frontend.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_frontend.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_system_frontend` +//! Autogenerated weights for `snowbridge_pezpallet_system_frontend` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-05-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -31,7 +31,7 @@ // --extrinsic=* // --wasm-execution=compiled // --output -// pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pallet_system_frontend.rs +// pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights/snowbridge_pezpallet_system_frontend.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -41,9 +41,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_system_frontend`. +/// Weight functions for `snowbridge_pezpallet_system_frontend`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_system_frontend::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_system_frontend::WeightInfo for WeightInfo { /// Storage: `SnowbridgeSystemFrontend::ExportOperatingMode` (r:1 w:0) /// Proof: `SnowbridgeSystemFrontend::ExportOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `TeyrchainInfo::TeyrchainId` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/xcm_config.rs index 6275b91b..a836b63b 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/xcm_config.rs @@ -41,7 +41,7 @@ use pezframe_system::EnsureRoot; use pezpallet_xcm::{AuthorizedAliasers, XcmPassthrough}; use pezkuwi_runtime_common::xcm_sender::ExponentialPrice; use pezkuwi_teyrchain_primitives::primitives::Sibling; -use snowbridge_outbound_queue_primitives::v2::exporter::PausableExporter; +use pezsnowbridge_outbound_queue_primitives::v2::exporter::PausableExporter; use pezsp_runtime::traits::{AccountIdConversion, TryConvertInto}; use testnet_teyrchains_constants::zagros::locations::AssetHubParaId; use teyrchains_common::xcm_config::{ @@ -72,7 +72,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const ZagrosLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub UniversalLocationNetworkId: NetworkId = UniversalLocation::get().global_consensus().unwrap(); @@ -256,7 +256,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognised. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -594,7 +594,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } @@ -767,9 +767,9 @@ pub mod bridging { xcm_builder::NetworkExportTable; pub type EthereumNetworkExportTableV2 = - snowbridge_outbound_queue_primitives::v2::XcmFilterExporter< + pezsnowbridge_outbound_queue_primitives::v2::XcmFilterExporter< xcm_builder::NetworkExportTable, - snowbridge_outbound_queue_primitives::v2::XcmForSnowbridgeV2, + pezsnowbridge_outbound_queue_primitives::v2::XcmForSnowbridgeV2, >; pub type EthereumAssetFromEthereum = diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/tests/tests.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/tests/tests.rs index 93862af1..a6627e8f 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/tests/tests.rs @@ -34,7 +34,7 @@ use asset_hub_zagros_runtime::{ ToPezkuwichainXcmRouterInstance, TrustBackedAssetsInstance, Uniques, WeightToFee, XcmpQueue, }; pub use asset_hub_zagros_runtime::{AssetConversion, AssetDeposit, CollatorSelection, System}; -use asset_test_utils::{ +use asset_test_pezutils::{ test_cases_over_bridge::TestBridgingConfig, CollatorSessionKey, CollatorSessionKeys, ExtBuilder, GovernanceOrigin, SlotDurations, }; @@ -80,7 +80,7 @@ use xcm_builder::{ NonFungiblesAdapter as OldNftAdapter, WithLatestLocationConverter, }; use xcm_executor::traits::{ConvertLocation, JustTry, TransactAsset, WeightTrader}; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; const BOB: [u8; 32] = [2u8; 32]; @@ -103,7 +103,7 @@ parameter_types! { type AssetIdForTrustBackedAssetsConvert = assets_common::AssetIdForTrustBackedAssetsConvert; -type RuntimeHelper = asset_test_utils::RuntimeHelper; +type RuntimeHelper = asset_test_pezutils::RuntimeHelper; fn collator_session_key(account: [u8; 32]) -> CollatorSessionKey { CollatorSessionKey::new( @@ -888,7 +888,7 @@ fn authorized_aliases_work() { }) } -asset_test_utils::include_teleports_for_native_asset_works!( +asset_test_pezutils::include_teleports_for_native_asset_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -907,7 +907,7 @@ asset_test_utils::include_teleports_for_native_asset_works!( 1000 ); -asset_test_utils::include_teleports_for_foreign_assets_works!( +asset_test_pezutils::include_teleports_for_foreign_assets_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -933,7 +933,7 @@ asset_test_utils::include_teleports_for_foreign_assets_works!( }) ); -asset_test_utils::include_asset_transactor_transfer_with_local_consensus_currency_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_local_consensus_currency_works!( Runtime, XcmConfig, collator_session_keys(), @@ -948,7 +948,7 @@ asset_test_utils::include_asset_transactor_transfer_with_local_consensus_currenc }) ); -asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( asset_transactor_transfer_with_trust_backed_assets_works, Runtime, XcmConfig, @@ -966,7 +966,7 @@ asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_ }) ); -asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( +asset_test_pezutils::include_asset_transactor_transfer_with_pallet_assets_instance_works!( asset_transactor_transfer_with_foreign_assets_works, Runtime, XcmConfig, @@ -988,7 +988,7 @@ asset_test_utils::include_asset_transactor_transfer_with_pallet_assets_instance_ }) ); -asset_test_utils::include_create_and_manage_foreign_assets_for_local_consensus_teyrchain_assets_works!( +asset_test_pezutils::include_create_and_manage_foreign_assets_for_local_consensus_teyrchain_assets_works!( Runtime, XcmConfig, WeightToFee, @@ -1035,7 +1035,7 @@ fn bridging_to_asset_hub_pezkuwichain() -> TestBridgingConfig { #[test] fn limited_reserve_transfer_assets_for_native_asset_to_asset_hub_pezkuwichain_works() { - asset_test_utils::test_cases_over_bridge::limited_reserve_transfer_assets_for_native_asset_works::< + asset_test_pezutils::test_cases_over_bridge::limited_reserve_transfer_assets_for_native_asset_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1090,7 +1090,7 @@ fn receive_reserve_asset_deposited_roc_from_asset_hub_pezkuwichain_fees_paid_by_ let pool_params = (foreign_asset_owner, foreign_asset_id_location.clone(), foreign_asset_id_minimum_balance); - asset_test_utils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< + asset_test_pezutils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1105,7 +1105,7 @@ fn receive_reserve_asset_deposited_roc_from_asset_hub_pezkuwichain_fees_paid_by_ 1000000000000, || { // setup pool for paying fees to touch `SwapFirstAssetTrader` - asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); + asset_test_pezutils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); // staking pot account for collecting local native fees from `BuyExecution` let _ = Balances::force_set_balance(RuntimeOrigin::root(), StakingPot::get().into(), ExistentialDeposit::get()); // prepare bridge configuration @@ -1170,7 +1170,7 @@ fn receive_reserve_asset_deposited_roc_from_asset_hub_pezkuwichain_fees_paid_by_ let pool_params = (foreign_asset_owner, foreign_asset_id_location.clone(), foreign_asset_id_minimum_balance); - asset_test_utils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< + asset_test_pezutils::test_cases_over_bridge::receive_reserve_asset_deposited_from_different_consensus_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1184,7 +1184,7 @@ fn receive_reserve_asset_deposited_roc_from_asset_hub_pezkuwichain_fees_paid_by_ foreign_asset_create_params, 1000000000000, || { - asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); + asset_test_pezutils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::(ExistentialDeposit::get(), pool_params); bridging_to_asset_hub_pezkuwichain() }, ( @@ -1219,7 +1219,7 @@ fn receive_reserve_asset_deposited_roc_from_asset_hub_pezkuwichain_fees_paid_by_ #[test] fn report_bridge_status_from_xcm_bridge_router_for_pezkuwichain_works() { - asset_test_utils::test_cases_over_bridge::report_bridge_status_from_xcm_bridge_router_works::< + asset_test_pezutils::test_cases_over_bridge::report_bridge_status_from_xcm_bridge_router_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1271,7 +1271,7 @@ fn check_sane_weight_report_bridge_status() { #[test] fn change_xcm_bridge_hub_router_byte_fee_by_governance_works() { - asset_test_utils::test_cases::change_storage_constant_by_governance_works::< + asset_test_pezutils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridging::XcmBridgeHubRouterByteFee, Balance, @@ -1297,7 +1297,7 @@ fn change_xcm_bridge_hub_router_byte_fee_by_governance_works() { #[test] fn change_xcm_bridge_hub_router_base_fee_by_governance_works() { - asset_test_utils::test_cases::change_storage_constant_by_governance_works::< + asset_test_pezutils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridging::XcmBridgeHubRouterBaseFee, Balance, @@ -1329,7 +1329,7 @@ fn change_xcm_bridge_hub_router_base_fee_by_governance_works() { #[test] fn reserve_transfer_native_asset_to_non_teleport_para_works() { - asset_test_utils::test_cases::reserve_transfer_native_asset_to_non_teleport_para_works::< + asset_test_pezutils::test_cases::reserve_transfer_native_asset_to_non_teleport_para_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -1597,7 +1597,7 @@ fn xcm_payment_api_works() { Block, WeightToFee, >(); - asset_test_utils::test_cases::xcm_payment_api_with_pools_works::< + asset_test_pezutils::test_cases::xcm_payment_api_with_pools_works::< Runtime, RuntimeCall, RuntimeOrigin, @@ -1605,7 +1605,7 @@ fn xcm_payment_api_works() { WeightToFee, >(); - asset_test_utils::test_cases::xcm_payment_api_foreign_asset_pool_works::< + asset_test_pezutils::test_cases::xcm_payment_api_foreign_asset_pool_works::< Runtime, RuntimeCall, RuntimeOrigin, @@ -1662,7 +1662,7 @@ fn governance_authorize_upgrade_works() { #[test] fn weight_of_message_increases_when_dealing_with_erc20s() { use xcm::VersionedXcm; - use xcm_runtime_apis::fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2; + use xcm_runtime_pezapis::fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2; let message = Xcm::<()>::builder_unsafe().withdraw_asset((Parent, 100u128)).build(); let versioned = VersionedXcm::<()>::V5(message); let regular_asset_weight = Runtime::query_xcm_weight(versioned).unwrap(); diff --git a/pezcumulus/teyrchains/runtimes/assets/common/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/common/Cargo.toml index 1deab966..dc91ea7d 100644 --- a/pezcumulus/teyrchains/runtimes/assets/common/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/common/Cargo.toml @@ -38,7 +38,7 @@ xcm-executor = { workspace = true } # Pezcumulus pezcumulus-primitives-core = { workspace = true } -ethereum-standards = { workspace = true } +pez-ethereum-standards = { workspace = true } teyrchains-common = { workspace = true } [features] diff --git a/pezcumulus/teyrchains/runtimes/assets/common/src/erc20_transactor.rs b/pezcumulus/teyrchains/runtimes/assets/common/src/erc20_transactor.rs index 5b6a1241..766a5022 100644 --- a/pezcumulus/teyrchains/runtimes/assets/common/src/erc20_transactor.rs +++ b/pezcumulus/teyrchains/runtimes/assets/common/src/erc20_transactor.rs @@ -17,7 +17,7 @@ //! The ERC20 Asset Transactor. use core::marker::PhantomData; -use ethereum_standards::IERC20; +use pez_ethereum_standards::IERC20; use pezframe_support::traits::{fungible::Inspect, OriginTrait}; use pezframe_system::pezpallet_prelude::OriginFor; use pezpallet_revive::{ diff --git a/pezcumulus/teyrchains/runtimes/assets/test-utils/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/test-utils/Cargo.toml index 504f0568..3398c705 100644 --- a/pezcumulus/teyrchains/runtimes/assets/test-utils/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/test-utils/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "asset-test-utils" +name = "asset-test-pezutils" version = "7.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ description = "Test utils for Asset Hub runtimes." license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/asset-test-utils" +documentation = "https://docs.rs/asset-test-pezutils" [lints] workspace = true @@ -41,7 +41,7 @@ pezpallet-xcm = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Bridges pezpallet-xcm-bridge-hub-router = { workspace = true } @@ -71,7 +71,7 @@ std = [ "teyrchains-runtimes-test-utils/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] try-runtime = [ @@ -114,6 +114,6 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases.rs b/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases.rs index 39af5ad9..3a22b42a 100644 --- a/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases.rs +++ b/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases.rs @@ -44,7 +44,7 @@ use xcm_executor::{ traits::{ConvertLocation, TransferType}, XcmExecutor, }; -use xcm_runtime_apis::fees::{ +use xcm_runtime_pezapis::fees::{ runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, Error as XcmPaymentApiError, }; @@ -77,8 +77,8 @@ pub fn teleports_for_native_asset_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: OnInitialize> + OnFinalize>, @@ -95,7 +95,7 @@ pub fn teleports_for_native_asset_works< XcmConfig: xcm_executor::Config, CheckingAccount: Get>>, HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, { let buy_execution_fee_amount_eta = @@ -194,7 +194,7 @@ pub fn teleports_for_native_asset_works< let native_asset_to_teleport_away = native_asset_amount_unit * 3.into(); // 2. try to teleport asset back to the relaychain { - as UpwardMessageSender>::ensure_successful_delivery(); + as UpwardMessageSender>::ensure_successful_delivery(); let dest = Location::parent(); let mut dest_beneficiary = Location::parent() @@ -372,7 +372,7 @@ pub fn teleports_for_foreign_assets_works< asset_owner: AccountIdOf, unwrap_pallet_xcm_event: Box) -> Option>>, unwrap_xcmp_queue_event: Box< - dyn Fn(Vec) -> Option>, + dyn Fn(Vec) -> Option>, >, ) where Runtime: pezframe_system::Config @@ -381,8 +381,8 @@ pub fn teleports_for_foreign_assets_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_assets::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: @@ -393,7 +393,7 @@ pub fn teleports_for_foreign_assets_works< XcmConfig: xcm_executor::Config, CheckingAccount: Get>, HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, WeightToFee: pezframe_support::weights::WeightToFee, ::Balance: From + Into, @@ -747,7 +747,7 @@ pub fn asset_transactor_transfer_with_local_consensus_currency_works: Into<[u8; 32]>, ValidatorIdOf: From>, @@ -872,7 +872,7 @@ pub fn asset_transactor_transfer_with_pallet_assets_instance_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_assets::Config + pezpallet_timestamp::Config, AccountIdOf: Into<[u8; 32]>, @@ -1140,7 +1140,7 @@ pub fn create_and_manage_foreign_assets_for_local_consensus_teyrchain_assets_wor + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_assets::Config + pezpallet_timestamp::Config, AccountIdOf: Into<[u8; 32]>, @@ -1461,7 +1461,7 @@ pub fn reserve_transfer_native_asset_to_non_teleport_para_works< alice_account: AccountIdOf, unwrap_pallet_xcm_event: Box) -> Option>>, unwrap_xcmp_queue_event: Box< - dyn Fn(Vec) -> Option>, + dyn Fn(Vec) -> Option>, >, weight_limit: WeightLimit, ) where @@ -1471,8 +1471,8 @@ pub fn reserve_transfer_native_asset_to_non_teleport_para_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: OnInitialize> + OnFinalize>, @@ -1488,7 +1488,7 @@ pub fn reserve_transfer_native_asset_to_non_teleport_para_works< From<::AccountId>, ::AccountId: From, HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, HrmpChannelSource: XcmpMessageSource, { @@ -1599,7 +1599,7 @@ pub fn reserve_transfer_native_asset_to_non_teleport_para_works< .into_iter() .filter_map(|e| unwrap_xcmp_queue_event(e.event.encode())) .find_map(|e| match e { - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => Some(message_hash), _ => None, }); @@ -1657,8 +1657,8 @@ where + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config + pezpallet_assets::Config< pezpallet_assets::Instance1, @@ -1844,8 +1844,8 @@ pub fn xcm_payment_api_foreign_asset_pool_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config + pezpallet_assets::Config< pezpallet_assets::Instance2, diff --git a/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases_over_bridge.rs b/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases_over_bridge.rs index b0112d9e..d0b6b616 100644 --- a/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases_over_bridge.rs +++ b/pezcumulus/teyrchains/runtimes/assets/test-utils/src/test_cases_over_bridge.rs @@ -60,7 +60,7 @@ pub fn limited_reserve_transfer_assets_for_native_asset_works< alice_account: AccountIdOf, unwrap_pallet_xcm_event: Box) -> Option>>, unwrap_xcmp_queue_event: Box< - dyn Fn(Vec) -> Option>, + dyn Fn(Vec) -> Option>, >, prepare_configuration: fn() -> TestBridgingConfig, weight_limit: WeightLimit, @@ -73,8 +73,8 @@ pub fn limited_reserve_transfer_assets_for_native_asset_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: OnInitialize> + OnFinalize>, @@ -90,7 +90,7 @@ pub fn limited_reserve_transfer_assets_for_native_asset_works< From<::AccountId>, ::AccountId: From, HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, HrmpChannelSource: XcmpMessageSource, { @@ -220,7 +220,7 @@ pub fn limited_reserve_transfer_assets_for_native_asset_works< .into_iter() .filter_map(|e| unwrap_xcmp_queue_event(e.event.encode())) .find_map(|e| match e { - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => Some(message_hash), _ => None, }); @@ -357,8 +357,8 @@ pub fn receive_reserve_asset_deposited_from_different_consensus_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_assets::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: @@ -528,8 +528,8 @@ pub fn report_bridge_status_from_xcm_bridge_router_works< + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_xcm_bridge_hub_router::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem: diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/README.md b/pezcumulus/teyrchains/runtimes/bridge-hubs/README.md index 5bdfb72c..b28a1dc3 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/README.md +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/README.md @@ -112,7 +112,7 @@ PEZKUWI_TEYRCHAIN_BINARY=~/local_bridge_testing/bin/pezkuwi-teyrchain \ ``` cd -./bridges/testing/environments/pezkuwichain-zagros/bridges_pezkuwichain_zagros.sh run-finality-relay +./bridges/testing/environments/pezkuwichain-zagros/bridges_pezkuwichain_zagros.sh run-pez-finality-relay ``` **Check relay-chain headers relaying:** diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/Cargo.toml index d2a03479..100ad0f6 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bridge-hub-pezkuwichain-runtime" +name = "pezbridge-hub-pezkuwichain-runtime" version = "0.5.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ description = "Pezkuwichain's BridgeHub teyrchain runtime" license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/bridge-hub-pezkuwichain-runtime" +documentation = "https://docs.rs/pezbridge-hub-pezkuwichain-runtime" [lints] workspace = true @@ -69,7 +69,7 @@ pezkuwichain-runtime-constants = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus pezcumulus-pezpallet-aura-ext = { workspace = true } @@ -91,16 +91,16 @@ bp-asset-hub-pezkuwichain = { workspace = true } bp-asset-hub-zagros = { workspace = true } bp-bridge-hub-pezkuwichain = { workspace = true } bp-bridge-hub-zagros = { workspace = true } -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-pezkuwi-bulletin = { workspace = true } bp-pezkuwi-core = { workspace = true } bp-relayers = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-teyrchains = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } bp-zagros = { workspace = true } -bridge-runtime-common = { workspace = true } +pezbridge-runtime-common = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } pezpallet-bridge-messages = { workspace = true } pezpallet-bridge-relayers = { workspace = true } @@ -108,28 +108,28 @@ pezpallet-bridge-teyrchains = { workspace = true } pezpallet-xcm-bridge-hub = { workspace = true } # Ethereum Bridge (Snowbridge) -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } -snowbridge-merkle-tree = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } -snowbridge-outbound-queue-runtime-api = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-outbound-queue-runtime-api = { workspace = true } snowbridge-pezpallet-ethereum-client = { workspace = true } snowbridge-pezpallet-inbound-queue = { workspace = true } snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true } snowbridge-pezpallet-outbound-queue = { workspace = true } snowbridge-pezpallet-system = { workspace = true } -snowbridge-system-runtime-api = { workspace = true } +pezsnowbridge-system-runtime-api = { workspace = true } bridge-hub-common = { workspace = true } [dev-dependencies] -bridge-hub-test-utils = { workspace = true, default-features = true } -bridge-runtime-common = { features = [ +pezbridge-hub-test-utils = { workspace = true, default-features = true } +pezbridge-runtime-common = { features = [ "integrity-test", ], workspace = true, default-features = true } pezpallet-bridge-relayers = { features = ["integrity-test"], workspace = true } -snowbridge-runtime-test-common = { workspace = true, default-features = true } +pezsnowbridge-runtime-test-common = { workspace = true, default-features = true } teyrchains-runtimes-test-utils = { workspace = true, default-features = true } [features] @@ -139,17 +139,17 @@ std = [ "bp-asset-hub-zagros/std", "bp-bridge-hub-pezkuwichain/std", "bp-bridge-hub-zagros/std", - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-bulletin/std", "bp-pezkuwi-core/std", "bp-relayers/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-teyrchains/std", "bp-xcm-bridge-hub-router/std", "bp-zagros/std", "bridge-hub-common/std", - "bridge-runtime-common/std", + "pezbridge-runtime-common/std", "codec/std", "pezcumulus-pezpallet-aura-ext/std", "pezcumulus-pezpallet-session-benchmarking/std", @@ -192,18 +192,18 @@ std = [ "scale-info/std", "serde", "serde_json/std", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", - "snowbridge-merkle-tree/std", - "snowbridge-outbound-queue-primitives/std", - "snowbridge-outbound-queue-runtime-api/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", + "pezsnowbridge-merkle-tree/std", + "pezsnowbridge-outbound-queue-primitives/std", + "pezsnowbridge-outbound-queue-runtime-api/std", "snowbridge-pezpallet-ethereum-client/std", "snowbridge-pezpallet-inbound-queue-fixtures/std", "snowbridge-pezpallet-inbound-queue/std", "snowbridge-pezpallet-outbound-queue/std", "snowbridge-pezpallet-system/std", - "snowbridge-system-runtime-api/std", + "pezsnowbridge-system-runtime-api/std", "pezsp-api/std", "pezsp-block-builder/std", "pezsp-consensus-aura/std", @@ -226,7 +226,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -234,18 +234,18 @@ runtime-benchmarks = [ "bp-asset-hub-zagros/runtime-benchmarks", "bp-bridge-hub-pezkuwichain/runtime-benchmarks", "bp-bridge-hub-zagros/runtime-benchmarks", - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-bulletin/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "bp-xcm-bridge-hub-router/runtime-benchmarks", "bp-zagros/runtime-benchmarks", "bridge-hub-common/runtime-benchmarks", - "bridge-hub-test-utils/runtime-benchmarks", - "bridge-runtime-common/runtime-benchmarks", + "pezbridge-hub-test-utils/runtime-benchmarks", + "pezbridge-runtime-common/runtime-benchmarks", "pezcumulus-pezpallet-aura-ext/runtime-benchmarks", "pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", @@ -284,19 +284,19 @@ runtime-benchmarks = [ "pezkuwi-runtime-common/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", "pezkuwichain-runtime-constants/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", - "snowbridge-outbound-queue-runtime-api/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-outbound-queue-runtime-api/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue/runtime-benchmarks", "snowbridge-pezpallet-outbound-queue/runtime-benchmarks", "snowbridge-pezpallet-system/runtime-benchmarks", - "snowbridge-runtime-test-common/runtime-benchmarks", - "snowbridge-system-runtime-api/runtime-benchmarks", + "pezsnowbridge-runtime-test-common/runtime-benchmarks", + "pezsnowbridge-system-runtime-api/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-block-builder/runtime-benchmarks", "pezsp-consensus-aura/runtime-benchmarks", @@ -316,7 +316,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ @@ -346,7 +346,7 @@ try-runtime = [ "pezpallet-xcm-bridge-hub/try-runtime", "pezpallet-xcm/try-runtime", "pezkuwi-runtime-common/try-runtime", - "snowbridge-inbound-queue-primitives/try-runtime", + "pezsnowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pezpallet-ethereum-client/try-runtime", "snowbridge-pezpallet-inbound-queue/try-runtime", "snowbridge-pezpallet-outbound-queue/try-runtime", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/Cargo.toml index ff2b1dcc..ede52579 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/Cargo.toml @@ -21,7 +21,7 @@ codec = { features = ["derive"], workspace = true } # Bridge Dependencies bp-bridge-hub-pezcumulus = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-xcm-bridge-hub = { workspace = true } # Bizinikiwi Based Dependencies @@ -35,7 +35,7 @@ default = ["std"] std = [ "bp-bridge-hub-pezcumulus/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-xcm-bridge-hub/std", "codec/std", "pezframe-support/std", @@ -46,7 +46,7 @@ std = [ runtime-benchmarks = [ "bp-bridge-hub-pezcumulus/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-xcm-bridge-hub/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/src/lib.rs index 793a25b2..3bae448b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives/src/lib.rs @@ -19,9 +19,9 @@ #![warn(missing_docs)] #![cfg_attr(not(feature = "std"), no_std)] -pub use bp_bridge_hub_cumulus::*; +pub use bp_bridge_hub_pezcumulus::*; use bp_messages::*; -use bp_runtime::{ +use pezbp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain, }; use codec::{Decode, Encode}; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_bulletin_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_bulletin_config.rs index 1e5e7351..b12b766b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_bulletin_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_bulletin_config.rs @@ -105,7 +105,7 @@ pub type OnBridgeHubPezkuwichainRefundPezkuwichainBulletinMessages = PriorityBoostPerMessage, >, >; -bp_runtime::generate_static_str_provider!( +pezbp_runtime::generate_static_str_provider!( OnBridgeHubPezkuwichainRefundPezkuwichainBulletinMessages ); @@ -165,7 +165,7 @@ impl pezpallet_xcm_bridge_hub::Config for Runtim mod tests { use super::*; use crate::bridge_common_config::BridgeGrandpaPezkuwichainBulletinInstance; - use bridge_runtime_common::{ + use pezbridge_runtime_common::{ assert_complete_bridge_types, integrity::check_message_lane_weights, }; use testnet_teyrchains_constants::pezkuwichain; @@ -243,7 +243,7 @@ where R: pezpallet_xcm_bridge_hub::Config, XBHI: 'static, C: xcm_executor::traits::ConvertLocation< - bp_runtime::AccountIdOf>, + pezbp_runtime::AccountIdOf>, >, { use pezpallet_xcm_bridge_hub::{Bridge, BridgeId, BridgeState}; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_ethereum_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_ethereum_config.rs index f81d00a9..570ff029 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_ethereum_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_ethereum_config.rs @@ -21,10 +21,10 @@ use crate::{ EthereumOutboundQueue, EthereumSystem, MessageQueue, Runtime, RuntimeEvent, TransactionByteFee, TreasuryAccount, }; -use snowbridge_beacon_primitives::{Fork, ForkVersions}; -use snowbridge_core::{gwei, meth, AllowSiblingsOnly, PricingParameters, Rewards}; -use snowbridge_inbound_queue_primitives::v1::MessageToXcm; -use snowbridge_outbound_queue_primitives::v1::EthereumBlobExporter; +use pezsnowbridge_beacon_primitives::{Fork, ForkVersions}; +use pezsnowbridge_core::{gwei, meth, AllowSiblingsOnly, PricingParameters, Rewards}; +use pezsnowbridge_inbound_queue_primitives::v1::MessageToXcm; +use pezsnowbridge_outbound_queue_primitives::v1::EthereumBlobExporter; use teyrchains_common::{AccountId, Balance}; use pezsp_core::H160; @@ -51,8 +51,8 @@ use xcm::prelude::{GlobalConsensus, InteriorLocation, Location, Teyrchain}; pub type SnowbridgeExporter = EthereumBlobExporter< UniversalLocation, EthereumNetwork, - snowbridge_pallet_outbound_queue::Pallet, - snowbridge_core::AgentIdOf, + snowbridge_pezpallet_outbound_queue::Pallet, + pezsnowbridge_core::AgentIdOf, EthereumSystem, >; @@ -73,9 +73,9 @@ parameter_types! { pub EthereumUniversalLocation: InteriorLocation = [GlobalConsensus(EthereumNetwork::get())].into(); } -impl snowbridge_pallet_inbound_queue::Config for Runtime { +impl snowbridge_pezpallet_inbound_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type Verifier = snowbridge_pallet_ethereum_client::Pallet; + type Verifier = snowbridge_pezpallet_ethereum_client::Pallet; type Token = Balances; #[cfg(not(feature = "runtime-benchmarks"))] type XcmSender = XcmRouter; @@ -98,12 +98,12 @@ impl snowbridge_pallet_inbound_queue::Config for Runtime { type WeightToFee = WeightToFee; type LengthToFee = ConstantMultiplier; type MaxMessageSize = ConstU32<2048>; - type WeightInfo = crate::weights::snowbridge_pallet_inbound_queue::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue::WeightInfo; type PricingParameters = EthereumSystem; type AssetTransactor = ::AssetTransactor; } -impl snowbridge_pallet_outbound_queue::Config for Runtime { +impl snowbridge_pezpallet_outbound_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Hashing = Keccak256; type MessageQueue = MessageQueue; @@ -113,7 +113,7 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime { type GasMeter = crate::ConstantGasMeter; type Balance = Balance; type WeightToFee = WeightToFee; - type WeightInfo = crate::weights::snowbridge_pallet_outbound_queue::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue::WeightInfo; type PricingParameters = EthereumSystem; type Channels = EthereumSystem; } @@ -186,24 +186,24 @@ parameter_types! { }; } -pub const SLOTS_PER_EPOCH: u32 = snowbridge_pallet_ethereum_client::config::SLOTS_PER_EPOCH as u32; +pub const SLOTS_PER_EPOCH: u32 = snowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32; -impl snowbridge_pallet_ethereum_client::Config for Runtime { +impl snowbridge_pezpallet_ethereum_client::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ForkVersions = ChainForkVersions; // Free consensus update every epoch. Works out to be 225 updates per day. type FreeHeadersInterval = ConstU32; - type WeightInfo = crate::weights::snowbridge_pallet_ethereum_client::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_ethereum_client::WeightInfo; } -impl snowbridge_pallet_system::Config for Runtime { +impl snowbridge_pezpallet_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OutboundQueue = EthereumOutboundQueue; type SiblingOrigin = EnsureXcm; - type AgentIdOf = snowbridge_core::AgentIdOf; + type AgentIdOf = pezsnowbridge_core::AgentIdOf; type TreasuryAccount = TreasuryAccount; type Token = Balances; - type WeightInfo = crate::weights::snowbridge_pallet_system::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_system::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type Helper = (); type DefaultPricingParameters = Parameters; @@ -216,12 +216,12 @@ impl snowbridge_pallet_system::Config for Runtime { pub mod benchmark_helpers { use crate::{EthereumBeaconClient, Runtime, RuntimeOrigin}; use codec::Encode; - use snowbridge_inbound_queue_primitives::EventFixture; - use snowbridge_pallet_inbound_queue::BenchmarkHelper; - use snowbridge_pallet_inbound_queue_fixtures::register_token::make_register_token_message; + use pezsnowbridge_inbound_queue_primitives::EventFixture; + use snowbridge_pezpallet_inbound_queue::BenchmarkHelper; + use snowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message; use xcm::latest::{Assets, Location, SendError, SendResult, SendXcm, Xcm, XcmHash}; - impl BenchmarkHelper for Runtime { + impl BenchmarkHelper for Runtime { fn initialize_storage() -> EventFixture { let message = make_register_token_message(); EthereumBeaconClient::store_finalized_header( @@ -249,7 +249,7 @@ pub mod benchmark_helpers { } } - impl snowbridge_pallet_system::BenchmarkHelper for () { + impl snowbridge_pezpallet_system::BenchmarkHelper for () { fn make_xcm_origin(location: Location) -> RuntimeOrigin { RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location)) } diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_zagros_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_zagros_config.rs index c2a40966..43412341 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_zagros_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/bridge_to_zagros_config.rs @@ -66,7 +66,7 @@ parameter_types! { 2, [ GlobalConsensus(ZagrosGlobalConsensusNetwork::get()), - Teyrchain(::TEYRCHAIN_ID) + Teyrchain(::TEYRCHAIN_ID) ] ); @@ -99,7 +99,7 @@ pub type OnBridgeHubPezkuwichainRefundBridgeHubZagrosMessages = BridgeRelayersTr PriorityBoostPerMessage, >, >; -bp_runtime::generate_static_str_provider!(OnBridgeHubPezkuwichainRefundBridgeHubZagrosMessages); +pezbp_runtime::generate_static_str_provider!(OnBridgeHubPezkuwichainRefundBridgeHubZagrosMessages); /// Add XCM messages support for BridgeHubPezkuwichain to support Pezkuwichain->Zagros XCM messages pub type WithBridgeHubZagrosMessagesInstance = pezpallet_bridge_messages::Instance3; @@ -172,7 +172,7 @@ impl pezpallet_xcm_bridge_hub::LocalXcmChannelManager for CongestionManager { // dispatched and sent to the sibling teyrchain. Therefore, checking outbound `XcmpQueue` // is sufficient here. use bp_xcm_bridge_hub_router::XcmChannelStatusProvider; - pezcumulus_pallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::::is_congested( + pezcumulus_pezpallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::::is_congested( with, ) } @@ -207,7 +207,7 @@ where R: pezpallet_xcm_bridge_hub::Config, XBHI: 'static, C: xcm_executor::traits::ConvertLocation< - bp_runtime::AccountIdOf>, + pezbp_runtime::AccountIdOf>, >, { use pezpallet_xcm_bridge_hub::{Bridge, BridgeId, BridgeState}; @@ -251,7 +251,7 @@ where mod tests { use super::*; use crate::bridge_common_config::BridgeGrandpaZagrosInstance; - use bridge_runtime_common::{ + use pezbridge_runtime_common::{ assert_complete_bridge_types, integrity::{ assert_complete_with_teyrchain_bridge_constants, check_message_lane_weights, @@ -363,7 +363,7 @@ pub mod migration { mod v1_wrong { use bp_messages::{LaneState, MessageNonce, UnrewardedRelayer}; - use bp_runtime::AccountIdOf; + use pezbp_runtime::AccountIdOf; use codec::{Decode, Encode}; use pezpallet_bridge_messages::BridgedChainOf; use pezsp_std::collections::vec_deque::VecDeque; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs index 053c22ac..3cbbee21 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/lib.rs @@ -39,10 +39,10 @@ pub mod xcm_config; extern crate alloc; use alloc::{vec, vec::Vec}; -use bridge_runtime_common::extensions::{ +use pezbridge_runtime_common::extensions::{ CheckAndBoostBridgeGrandpaTransactions, CheckAndBoostBridgeTeyrchainsTransactions, }; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezpallet_bridge_messages::LaneIdOf; use pezsp_api::impl_runtime_apis; use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata}; @@ -75,7 +75,7 @@ use testnet_teyrchains_constants::pezkuwichain::{ consensus::*, currency::*, fee::WeightToFee, time::*, }; -use bp_runtime::HeaderId; +use pezbp_runtime::HeaderId; use bridge_hub_common::{ message_queue::{NarrowOriginToSibling, ParaIdToSibling}, AggregateMessageOrigin, @@ -93,10 +93,10 @@ pub use pezsp_runtime::BuildStorage; use pezkuwi_runtime_common::{BlockHashCount, SlowAdjustingFeeUpdate}; use pezkuwichain_runtime_constants::system_teyrchain::{ASSET_HUB_ID, BRIDGE_HUB_ID}; -use snowbridge_core::{AgentId, PricingParameters}; -pub use snowbridge_outbound_queue_primitives::v1::{Command, ConstantGasMeter, Fee}; +use pezsnowbridge_core::{AgentId, PricingParameters}; +pub use pezsnowbridge_outbound_queue_primitives::v1::{Command, ConstantGasMeter, Fee}; use xcm::{latest::prelude::*, prelude::*, Version as XcmVersion}; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -124,7 +124,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( ( @@ -154,14 +154,14 @@ pub type Migrations = ( pezpallet_multisig::migrations::v1::MigrateToV1, InitStorageVersions, // unreleased - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, - snowbridge_pallet_system::migration::v0::InitializeOnUpgrade< + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, + snowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade< Runtime, ConstU32, ConstU32, >, - snowbridge_pallet_system::migration::FeePerGasMigrationV0ToV1, + snowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1, pezpallet_bridge_messages::migration::v1::MigrationToV1< Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance, @@ -196,7 +196,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); parameter_types! { @@ -323,13 +323,13 @@ impl pezframe_system::Config for Runtime { /// This is used as an identifier of the chain. 42 is the generic bizinikiwi prefix. type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -389,8 +389,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -404,7 +404,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -450,7 +450,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -466,7 +466,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -479,11 +479,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -574,10 +574,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 4, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 4, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -588,12 +588,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, // Handy utilities. Utility: pezpallet_utility = 40, @@ -629,10 +629,10 @@ construct_runtime!( // Bridge relayers pallet, used by several bridges here (another instance). BridgeRelayersForPermissionlessLanes: pezpallet_bridge_relayers:: = 63, - EthereumInboundQueue: snowbridge_pallet_inbound_queue = 80, - EthereumOutboundQueue: snowbridge_pallet_outbound_queue = 81, - EthereumBeaconClient: snowbridge_pallet_ethereum_client = 82, - EthereumSystem: snowbridge_pallet_system = 83, + EthereumInboundQueue: snowbridge_pezpallet_inbound_queue = 80, + EthereumOutboundQueue: snowbridge_pezpallet_outbound_queue = 81, + EthereumBeaconClient: snowbridge_pezpallet_ethereum_client = 82, + EthereumSystem: snowbridge_pezpallet_system = 83, // Message Queue. Importantly, is registered last so that messages are processed after // the `on_initialize` hooks of bridging pallets. @@ -647,7 +647,7 @@ pub type BridgePezkuwichainBulletinMessages = BridgePezkuwiBulletinMessages; /// Proper alias for bridge messages pallet used to bridge with the bulletin chain. pub type XcmOverPezkuwichainBulletin = XcmOverPezkuwiBulletin; -bridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! { +pezbridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! { RuntimeCall, AccountId, // Grandpa CheckAndBoostBridgeGrandpaTransactions< @@ -688,9 +688,9 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] // XCM [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] // NOTE: Make sure you point to the individual modules below. @@ -704,16 +704,16 @@ mod benches { [pezpallet_bridge_relayers, Legacy] [pezpallet_bridge_relayers, PermissionlessLanes] // Ethereum Bridge - [snowbridge_pallet_inbound_queue, EthereumInboundQueue] - [snowbridge_pallet_outbound_queue, EthereumOutboundQueue] - [snowbridge_pallet_system, EthereumSystem] - [snowbridge_pallet_ethereum_client, EthereumBeaconClient] + [snowbridge_pezpallet_inbound_queue, EthereumInboundQueue] + [snowbridge_pezpallet_outbound_queue, EthereumOutboundQueue] + [snowbridge_pezpallet_system, EthereumSystem] + [snowbridge_pezpallet_ethereum_client, EthereumBeaconClient] ); } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } impl_runtime_apis! { @@ -869,7 +869,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::TokenLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -890,7 +890,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -900,12 +900,12 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) @@ -928,7 +928,7 @@ impl_runtime_apis! { >>::FreeHeadersInterval::get() } fn synced_headers_grandpa_info( - ) -> Vec> { + ) -> Vec> { BridgeZagrosGrandpa::synced_headers_grandpa_info() } } @@ -951,7 +951,7 @@ impl_runtime_apis! { lane: LaneIdOf, messages: Vec<(bp_messages::MessagePayload, bp_messages::OutboundMessageDetails)>, ) -> Vec { - bridge_runtime_common::messages_api::inbound_message_details::< + pezbridge_runtime_common::messages_api::inbound_message_details::< Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance, >(lane, messages) @@ -965,7 +965,7 @@ impl_runtime_apis! { begin: bp_messages::MessageNonce, end: bp_messages::MessageNonce, ) -> Vec { - bridge_runtime_common::messages_api::outbound_message_details::< + pezbridge_runtime_common::messages_api::outbound_message_details::< Runtime, bridge_to_zagros_config::WithBridgeHubZagrosMessagesInstance, >(lane, begin, end) @@ -973,7 +973,7 @@ impl_runtime_apis! { } impl bp_pezkuwi_bulletin::PezkuwiBulletinFinalityApi for Runtime { - fn best_finalized() -> Option> { + fn best_finalized() -> Option> { BridgePezkuwiBulletinGrandpa::best_finalized() } @@ -984,7 +984,7 @@ impl_runtime_apis! { } fn synced_headers_grandpa_info( - ) -> Vec> { + ) -> Vec> { BridgePezkuwiBulletinGrandpa::synced_headers_grandpa_info() } } @@ -994,7 +994,7 @@ impl_runtime_apis! { lane: LaneIdOf, messages: Vec<(bp_messages::MessagePayload, bp_messages::OutboundMessageDetails)>, ) -> Vec { - bridge_runtime_common::messages_api::inbound_message_details::< + pezbridge_runtime_common::messages_api::inbound_message_details::< Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance, >(lane, messages) @@ -1007,26 +1007,26 @@ impl_runtime_apis! { begin: bp_messages::MessageNonce, end: bp_messages::MessageNonce, ) -> Vec { - bridge_runtime_common::messages_api::outbound_message_details::< + pezbridge_runtime_common::messages_api::outbound_message_details::< Runtime, bridge_to_bulletin_config::WithPezkuwichainBulletinMessagesInstance, >(lane, begin, end) } } - impl snowbridge_outbound_queue_runtime_api::OutboundQueueApi for Runtime { - fn prove_message(leaf_index: u64) -> Option { - snowbridge_pallet_outbound_queue::api::prove_message::(leaf_index) + impl pezsnowbridge_outbound_queue_runtime_api::OutboundQueueApi for Runtime { + fn prove_message(leaf_index: u64) -> Option { + snowbridge_pezpallet_outbound_queue::api::prove_message::(leaf_index) } fn calculate_fee(command: Command, parameters: Option>) -> Fee { - snowbridge_pallet_outbound_queue::api::calculate_fee::(command, parameters) + snowbridge_pezpallet_outbound_queue::api::calculate_fee::(command, parameters) } } - impl snowbridge_system_runtime_api::ControlApi for Runtime { + impl pezsnowbridge_system_runtime_api::ControlApi for Runtime { fn agent_id(location: VersionedLocation) -> Option { - snowbridge_pallet_system::api::agent_id::(location) + snowbridge_pezpallet_system::api::agent_id::(location) } } @@ -1059,7 +1059,7 @@ impl_runtime_apis! { use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -1100,12 +1100,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm::latest::prelude::*; use xcm_config::TokenLocation; @@ -1336,7 +1336,7 @@ impl_runtime_apis! { type Legacy = BridgeRelayersBench::; type PermissionlessLanes = BridgeRelayersBench::; - use bridge_runtime_common::messages_benchmarking::{ + use pezbridge_runtime_common::messages_benchmarking::{ prepare_message_delivery_proof_from_grandpa_chain, prepare_message_delivery_proof_from_teyrchain, prepare_message_proof_from_grandpa_chain, @@ -1352,7 +1352,7 @@ impl_runtime_apis! { impl BridgeMessagesConfig for Runtime { fn is_relayer_rewarded(relayer: &Self::AccountId) -> bool { let bench_lane_id = >::bench_lane_id(); - use bp_runtime::Chain; + use pezbp_runtime::Chain; let bridged_chain_id =>::BridgedChain::ID; pezpallet_bridge_relayers::Pallet::::relayer_reward( relayer, @@ -1448,7 +1448,7 @@ impl_runtime_apis! { } } - use bridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof; + use pezbridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof; use pezpallet_bridge_teyrchains::benchmarking::Config as BridgeTeyrchainsConfig; use pezpallet_bridge_relayers::benchmarking::{ Pallet as BridgeRelayersBench, @@ -1457,14 +1457,14 @@ impl_runtime_apis! { impl BridgeTeyrchainsConfig for Runtime { fn teyrchains() -> Vec { - use bp_runtime::Teyrchain; + use pezbp_runtime::Teyrchain; vec![bp_pezkuwi_core::teyrchains::ParaId(bp_bridge_hub_zagros::BridgeHubZagros::TEYRCHAIN_ID)] } fn prepare_teyrchain_heads_proof( teyrchains: &[bp_pezkuwi_core::teyrchains::ParaId], teyrchain_head_size: u32, - proof_params: bp_runtime::UnverifiedStorageProofParams, + proof_params: pezbp_runtime::UnverifiedStorageProofParams, ) -> ( bp_teyrchains::RelayBlockNumber, bp_teyrchains::RelayBlockHash, @@ -1564,11 +1564,11 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } @@ -1626,7 +1626,7 @@ mod tests { bp_bridge_hub_pezkuwichain::TransactionExtension::from_params( VERSION.spec_version, VERSION.transaction_version, - bp_runtime::TransactionEra::Immortal, + pezbp_runtime::TransactionEra::Immortal, System::block_hash(BlockNumber::zero()), 10, 10, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/mod.rs index 9d6d99a2..cea02718 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/mod.rs @@ -23,9 +23,9 @@ use ::pezpallet_bridge_relayers::WeightInfo as _; use ::pezpallet_bridge_teyrchains::WeightInfoExt as TeyrchainsWeightInfoExt; pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; @@ -46,10 +46,10 @@ pub mod pezpallet_utility; pub mod pezpallet_xcm; pub mod paritydb_weights; pub mod rocksdb_weights; -pub mod snowbridge_pallet_ethereum_client; -pub mod snowbridge_pallet_inbound_queue; -pub mod snowbridge_pallet_outbound_queue; -pub mod snowbridge_pallet_system; +pub mod snowbridge_pezpallet_ethereum_client; +pub mod snowbridge_pezpallet_inbound_queue; +pub mod snowbridge_pezpallet_outbound_queue; +pub mod snowbridge_pezpallet_system; pub mod xcm; pub use block_weights::constants::BlockExecutionWeight; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs index 48377e44..b96b1bfb 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs index 95c13b65..8d541c68 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs index ed756fcf..a0016f4f 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system.rs similarity index 98% rename from pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system.rs index a509b6e0..008560b6 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezframe_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system_extensions.rs similarity index 97% rename from pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system_extensions.rs index 1ea40134..054e749c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/frame_system_extensions.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezframe_system_extensions.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezframe_system_extensions // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_balances.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_balances.rs index 8f803bb5..d91a1c8b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_balances.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_balances.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_balances // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_grandpa.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_grandpa.rs index 122f41c7..a6df2c96 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_grandpa.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_grandpa.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_grandpa // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_pezkuwichain_bulletin.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_pezkuwichain_bulletin.rs index 89382e9f..57b2088b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_pezkuwichain_bulletin.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_pezkuwichain_bulletin.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_messages // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_zagros.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_zagros.rs index d9e2c188..d4a5b954 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_zagros.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_messages_pezkuwichain_to_zagros.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_messages // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_legacy.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_legacy.rs index 10dad2be..61e95316 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_legacy.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_legacy.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_relayers // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_permissionless_lanes.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_permissionless_lanes.rs index de517ad8..6da2ba33 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_permissionless_lanes.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_relayers_permissionless_lanes.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_relayers // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_teyrchains.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_teyrchains.rs index 4a25188f..5a6b4087 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_teyrchains.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_bridge_teyrchains.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_bridge_teyrchains // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_collator_selection.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_collator_selection.rs index 5640a203..6868673d 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_collator_selection.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_collator_selection.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_collator_selection // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_message_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_message_queue.rs index 562ba2e3..b2958aa0 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_message_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_message_queue.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_message_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_multisig.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_multisig.rs index dcdf82b2..6a7c2ee7 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_multisig.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_multisig.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_multisig // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_session.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_session.rs index 4b0839a4..8d28ee76 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_session.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_session.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_session // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_timestamp.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_timestamp.rs index 8946ca17..8477d90c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_timestamp.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_timestamp.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_timestamp // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_transaction_payment.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_transaction_payment.rs index aeb85a55..fc8623ef 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_transaction_payment.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_transaction_payment.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_transaction_payment // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_utility.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_utility.rs index 1d627464..de7d381d 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_utility.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_utility.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_utility // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_xcm.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_xcm.rs index 71be81ab..52ed7650 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_xcm.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/pezpallet_xcm.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_xcm // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_ethereum_client.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_ethereum_client.rs index 2e2a531a..8155c0b6 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_ethereum_client.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_ethereum_client.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_ethereum_client` +//! Autogenerated weights for `snowbridge_pezpallet_ethereum_client` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=snowbridge_pallet_ethereum_client +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=snowbridge_pezpallet_ethereum_client // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_ethereum_client`. +/// Weight functions for `snowbridge_pezpallet_ethereum_client`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_ethereum_client::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo { /// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1) /// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_inbound_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_inbound_queue.rs index 52ef4264..606f7017 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_inbound_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_inbound_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_inbound_queue` +//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=snowbridge_pallet_inbound_queue +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=snowbridge_pezpallet_inbound_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_inbound_queue`. +/// Weight functions for `snowbridge_pezpallet_inbound_queue`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_inbound_queue::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo { /// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0) /// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_outbound_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_outbound_queue.rs index 908effc9..01cc48da 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_outbound_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_outbound_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_outbound_queue` +//! Autogenerated weights for `snowbridge_pezpallet_outbound_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=snowbridge_pallet_outbound_queue +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=snowbridge_pezpallet_outbound_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_outbound_queue`. +/// Weight functions for `snowbridge_pezpallet_outbound_queue`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_outbound_queue::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo { /// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1) /// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_system.rs index 68272df1..af0c1076 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_system` +//! Autogenerated weights for `snowbridge_pezpallet_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm -// --pallet=snowbridge_pallet_system +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm +// --pallet=snowbridge_pezpallet_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_system`. +/// Weight functions for `snowbridge_pezpallet_system`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_system::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_system::WeightInfo for WeightInfo { /// Storage: `EthereumSystem::Channels` (r:1 w:0) /// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) /// Storage: `EthereumSystem::PricingParameters` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs index 3e7c4483..70263359 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_xcm_benchmarks::fungible // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs index 94cebace..f851e461 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-pezkuwichain-runtime/bridge_hub_pezkuwichain_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-pezkuwichain-runtime/pezbridge_hub_pezkuwichain_runtime.wasm // --pallet=pezpallet_xcm_benchmarks::generic // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/xcm diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/xcm_config.rs index e0cc8a38..b95da041 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/xcm_config.rs @@ -64,7 +64,7 @@ use xcm_executor::{ parameter_types! { pub const RootLocation: Location = Location::here(); pub const TokenLocation: Location = Location::parent(); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub RelayNetwork: NetworkId = NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); @@ -119,7 +119,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -303,7 +303,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/snowbridge.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/snowbridge.rs index d1e39565..2587580f 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/snowbridge.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/snowbridge.rs @@ -17,7 +17,7 @@ #![cfg(test)] use bp_pezkuwi_core::Signature; -use bridge_hub_pezkuwichain_runtime::{ +use pezbridge_hub_pezkuwichain_runtime::{ bridge_to_zagros_config::OnBridgeHubPezkuwichainRefundBridgeHubZagrosMessages, xcm_config::XcmConfig, AllPalletsWithoutSystem, BridgeRejectObsoleteHeadersAndMessages, Executive, MessageQueueServiceWeight, Runtime, RuntimeCall, RuntimeEvent, SessionKeys, @@ -26,7 +26,7 @@ use bridge_hub_pezkuwichain_runtime::{ use codec::{Decode, Encode}; use pezcumulus_primitives_core::XcmError::FailedToTransactAsset; use pezframe_support::parameter_types; -use snowbridge_pallet_ethereum_client::WeightInfo; +use snowbridge_pezpallet_ethereum_client::WeightInfo; use pezsp_core::H160; use pezsp_keyring::Sr25519Keyring::Alice; use pezsp_runtime::{ @@ -39,8 +39,8 @@ parameter_types! { pub const DefaultBridgeHubEthereumBaseFee: Balance = 3_833_568_200_000; } -fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys { - bridge_hub_test_utils::CollatorSessionKeys::new( +fn collator_session_keys() -> pezbridge_hub_test_utils::CollatorSessionKeys { + pezbridge_hub_test_utils::CollatorSessionKeys::new( AccountId::from(Alice), AccountId::from(Alice), SessionKeys { aura: AuraId::from(Alice.public()) }, @@ -49,7 +49,7 @@ fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys( + pezsnowbridge_runtime_test_common::send_transfer_token_message_success::( 11155111, collator_session_keys(), 1002, @@ -68,7 +68,7 @@ pub fn transfer_token_to_ethereum_works() { #[test] pub fn unpaid_transfer_token_to_ethereum_should_work() { - snowbridge_runtime_test_common::send_unpaid_transfer_token_message::( + pezsnowbridge_runtime_test_common::send_unpaid_transfer_token_message::( 11155111, collator_session_keys(), 1002, @@ -80,7 +80,7 @@ pub fn unpaid_transfer_token_to_ethereum_should_work() { #[test] pub fn transfer_token_to_ethereum_insufficient_fund() { - snowbridge_runtime_test_common::send_transfer_token_message_failure::( + pezsnowbridge_runtime_test_common::send_transfer_token_message_failure::( 11155111, collator_session_keys(), 1002, @@ -97,16 +97,16 @@ pub fn transfer_token_to_ethereum_insufficient_fund() { fn max_message_queue_service_weight_is_more_than_beacon_extrinsic_weights() { let max_message_queue_weight = MessageQueueServiceWeight::get(); let force_checkpoint = - ::WeightInfo::force_checkpoint(); + ::WeightInfo::force_checkpoint(); let submit_checkpoint = - ::WeightInfo::submit(); + ::WeightInfo::submit(); max_message_queue_weight.all_gt(force_checkpoint); max_message_queue_weight.all_gt(submit_checkpoint); } #[test] fn ethereum_client_consensus_extrinsics_work() { - snowbridge_runtime_test_common::ethereum_extrinsic( + pezsnowbridge_runtime_test_common::ethereum_extrinsic( collator_session_keys(), 1002, construct_and_apply_extrinsic, @@ -115,7 +115,7 @@ fn ethereum_client_consensus_extrinsics_work() { #[test] fn ethereum_to_pezkuwi_message_extrinsics_work() { - snowbridge_runtime_test_common::ethereum_to_pezkuwi_message_extrinsics_work( + pezsnowbridge_runtime_test_common::ethereum_to_pezkuwi_message_extrinsics_work( collator_session_keys(), 1002, construct_and_apply_extrinsic, @@ -128,7 +128,7 @@ fn ethereum_to_pezkuwi_message_extrinsics_work() { /// will fail. #[test] pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works() { - snowbridge_runtime_test_common::ethereum_outbound_queue_processes_messages_before_message_queue_works::< + pezsnowbridge_runtime_test_common::ethereum_outbound_queue_processes_messages_before_message_queue_works::< Runtime, XcmConfig, AllPalletsWithoutSystem, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/tests.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/tests.rs index cb3059d9..b393d2ee 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/tests/tests.rs @@ -17,18 +17,18 @@ #![cfg(test)] use bp_pezkuwi_core::Signature; -use bridge_hub_pezkuwichain_runtime::{ +use pezbridge_hub_pezkuwichain_runtime::{ bridge_common_config, bridge_to_bulletin_config, bridge_to_zagros_config, xcm_config::{RelayNetwork, TokenLocation, XcmConfig}, AllPalletsWithoutSystem, Block, BridgeRejectObsoleteHeadersAndMessages, Executive, ExistentialDeposit, PezkuwiXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, SessionKeys, TeyrchainSystem, TransactionPayment, TxExtension, UncheckedExtrinsic, }; -use bridge_hub_test_utils::{GovernanceOrigin, SlotDurations}; +use pezbridge_hub_test_utils::{GovernanceOrigin, SlotDurations}; use codec::{Decode, Encode}; use pezframe_support::{dispatch::GetDispatchInfo, parameter_types, traits::ConstU8}; use hex_literal::hex; -use snowbridge_core::ChannelId; +use pezsnowbridge_core::ChannelId; use pezsp_consensus_aura::SlotDuration; use pezsp_core::{crypto::Ss58Codec, H160}; use pezsp_keyring::Sr25519Keyring::Alice; @@ -40,7 +40,7 @@ use testnet_teyrchains_constants::pezkuwichain::{consensus::*, fee::WeightToFee} use teyrchains_common::{AccountId, AuraId, Balance}; use teyrchains_runtimes_test_utils::ExtBuilder; use xcm::latest::{prelude::*, PEZKUWICHAIN_GENESIS_HASH, ZAGROS_GENESIS_HASH}; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; parameter_types! { pub Governance: GovernanceOrigin = GovernanceOrigin::Location(Location::parent()); @@ -90,8 +90,8 @@ fn construct_and_estimate_extrinsic_fee(call: RuntimeCall) -> Balance { TransactionPayment::compute_fee(xt.encoded_size() as _, &info, 0) } -fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys { - bridge_hub_test_utils::CollatorSessionKeys::new( +fn collator_session_keys() -> pezbridge_hub_test_utils::CollatorSessionKeys { + pezbridge_hub_test_utils::CollatorSessionKeys::new( AccountId::from(Alice), AccountId::from(Alice), SessionKeys { aura: AuraId::from(Alice.public()) }, @@ -105,7 +105,7 @@ fn slot_durations() -> SlotDurations { } } -bridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( +pezbridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -131,10 +131,10 @@ mod bridge_hub_zagros_tests { BridgeGrandpaZagrosInstance, BridgeTeyrchainZagrosInstance, DeliveryRewardInBalance, RelayersForLegacyLaneIdsMessagesInstance, }; - use bridge_hub_pezkuwichain_runtime::{ + use pezbridge_hub_pezkuwichain_runtime::{ bridge_to_ethereum_config::EthereumGatewayAddress, xcm_config::LocationToAccountId, }; - use bridge_hub_test_utils::test_cases::from_teyrchain; + use pezbridge_hub_test_utils::test_cases::from_teyrchain; use bridge_to_zagros_config::{ BridgeHubZagrosLocation, WithBridgeHubZagrosMessagesInstance, XcmOverBridgeHubZagrosInstance, ZagrosGlobalConsensusNetwork, @@ -164,7 +164,7 @@ mod bridge_hub_zagros_tests { #[test] fn initialize_bridge_by_governance_works() { // for PezkuwichainBulletin finality - bridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< + pezbridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< Runtime, BridgeGrandpaZagrosInstance, >( @@ -177,7 +177,7 @@ mod bridge_hub_zagros_tests { #[test] fn change_bridge_grandpa_pallet_mode_by_governance_works() { // for Zagros finality - bridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< Runtime, BridgeGrandpaZagrosInstance, >( @@ -190,7 +190,7 @@ mod bridge_hub_zagros_tests { #[test] fn change_bridge_teyrchains_pallet_mode_by_governance_works() { // for Zagros finality - bridge_hub_test_utils::test_cases::change_bridge_teyrchains_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_teyrchains_pallet_mode_by_governance_works::< Runtime, BridgeTeyrchainZagrosInstance, >( @@ -203,7 +203,7 @@ mod bridge_hub_zagros_tests { #[test] fn change_bridge_messages_pallet_mode_by_governance_works() { // for Zagros finality - bridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< Runtime, WithBridgeHubZagrosMessagesInstance, >( @@ -215,7 +215,7 @@ mod bridge_hub_zagros_tests { #[test] fn change_ethereum_gateway_by_governance_works() { - bridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< Runtime, EthereumGatewayAddress, H160, @@ -235,37 +235,37 @@ mod bridge_hub_zagros_tests { let nonce = 42; // Reset a single inbound channel - bridge_hub_test_utils::test_cases::set_storage_keys_by_governance_works::( + pezbridge_hub_test_utils::test_cases::set_storage_keys_by_governance_works::( collator_session_keys(), bp_bridge_hub_pezkuwichain::BRIDGE_HUB_PEZKUWICHAIN_TEYRCHAIN_ID, Governance::get(), vec![ - (snowbridge_pallet_outbound_queue::Nonce::::hashed_key_for::( + (snowbridge_pezpallet_outbound_queue::Nonce::::hashed_key_for::( channel_id_one, ) .to_vec(), 0u64.encode()), - (snowbridge_pallet_inbound_queue::Nonce::::hashed_key_for::( + (snowbridge_pezpallet_inbound_queue::Nonce::::hashed_key_for::( channel_id_one, ) .to_vec(), 0u64.encode()), ], || { // Outbound - snowbridge_pallet_outbound_queue::Nonce::::insert::( + snowbridge_pezpallet_outbound_queue::Nonce::::insert::( channel_id_one, nonce, ); - snowbridge_pallet_outbound_queue::Nonce::::insert::( + snowbridge_pezpallet_outbound_queue::Nonce::::insert::( channel_id_two, nonce, ); // Inbound - snowbridge_pallet_inbound_queue::Nonce::::insert::( + snowbridge_pezpallet_inbound_queue::Nonce::::insert::( channel_id_one, nonce, ); - snowbridge_pallet_inbound_queue::Nonce::::insert::( + snowbridge_pezpallet_inbound_queue::Nonce::::insert::( channel_id_two, nonce, ); @@ -273,21 +273,21 @@ mod bridge_hub_zagros_tests { || { // Outbound assert_eq!( - snowbridge_pallet_outbound_queue::Nonce::::get(channel_id_one), + snowbridge_pezpallet_outbound_queue::Nonce::::get(channel_id_one), 0 ); assert_eq!( - snowbridge_pallet_outbound_queue::Nonce::::get(channel_id_two), + snowbridge_pezpallet_outbound_queue::Nonce::::get(channel_id_two), nonce ); // Inbound assert_eq!( - snowbridge_pallet_inbound_queue::Nonce::::get(channel_id_one), + snowbridge_pezpallet_inbound_queue::Nonce::::get(channel_id_one), 0 ); assert_eq!( - snowbridge_pallet_inbound_queue::Nonce::::get(channel_id_two), + snowbridge_pezpallet_inbound_queue::Nonce::::get(channel_id_two), nonce ); }, @@ -296,7 +296,7 @@ mod bridge_hub_zagros_tests { #[test] fn change_delivery_reward_by_governance_works() { - bridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< Runtime, DeliveryRewardInBalance, u64, @@ -312,7 +312,7 @@ mod bridge_hub_zagros_tests { #[test] fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { // for Zagros - bridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< + pezbridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< Runtime, XcmConfig, WithBridgeHubZagrosMessagesInstance, @@ -334,7 +334,7 @@ mod bridge_hub_zagros_tests { PezkuwiXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(BridgeHubZagrosLocation::get()), XCM_VERSION).expect("version saved!"); // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubZagrosInstance, LocationToAccountId, @@ -344,7 +344,7 @@ mod bridge_hub_zagros_tests { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubZagrosInstance >(locations, LegacyLaneId([0, 0, 0, 1])) @@ -357,7 +357,7 @@ mod bridge_hub_zagros_tests { #[test] fn message_dispatch_routing_works() { // from Zagros - bridge_hub_test_utils::test_cases::message_dispatch_routing_works::< + pezbridge_hub_test_utils::test_cases::message_dispatch_routing_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -399,7 +399,7 @@ mod bridge_hub_zagros_tests { ByGenesis(PEZKUWICHAIN_GENESIS_HASH), || { // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubZagrosInstance, LocationToAccountId, @@ -409,7 +409,7 @@ mod bridge_hub_zagros_tests { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubZagrosInstance, >(locations, LegacyLaneId([0, 0, 0, 1])) @@ -434,7 +434,7 @@ mod bridge_hub_zagros_tests { ByGenesis(PEZKUWICHAIN_GENESIS_HASH), || { // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubZagrosInstance, LocationToAccountId, @@ -444,7 +444,7 @@ mod bridge_hub_zagros_tests { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubZagrosInstance, >(locations, LegacyLaneId([0, 0, 0, 1])) @@ -459,11 +459,11 @@ mod bridge_hub_zagros_tests { #[test] pub fn can_calculate_weight_for_paid_export_message_with_reserve_transfer() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseXcmFeeInRocs", bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseXcmFeeInRocs::get(), || { - bridge_hub_test_utils::test_cases::can_calculate_weight_for_paid_export_message_with_reserve_transfer::< + pezbridge_hub_test_utils::test_cases::can_calculate_weight_for_paid_export_message_with_reserve_transfer::< Runtime, XcmConfig, WeightToFee, @@ -480,7 +480,7 @@ mod bridge_hub_zagros_tests { #[test] fn can_calculate_fee_for_standalone_message_delivery_transaction() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseDeliveryFeeInRocs", bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseDeliveryFeeInRocs::get(), || { @@ -499,7 +499,7 @@ mod bridge_hub_zagros_tests { #[test] fn can_calculate_fee_for_standalone_message_confirmation_transaction() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseConfirmationFeeInRocs", bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseConfirmationFeeInRocs::get(), || { @@ -521,11 +521,11 @@ mod bridge_hub_bulletin_tests { use super::*; use bp_messages::LegacyLaneId; use bridge_common_config::BridgeGrandpaPezkuwichainBulletinInstance; - use bridge_hub_pezkuwichain_runtime::{ + use pezbridge_hub_pezkuwichain_runtime::{ bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance, xcm_config::LocationToAccountId, }; - use bridge_hub_test_utils::test_cases::from_grandpa_chain; + use pezbridge_hub_test_utils::test_cases::from_grandpa_chain; use bridge_to_bulletin_config::{ PezkuwichainBulletinGlobalConsensusNetwork, PezkuwichainBulletinGlobalConsensusNetworkLocation, @@ -554,7 +554,7 @@ mod bridge_hub_bulletin_tests { #[test] fn initialize_bridge_by_governance_works() { // for Bulletin finality - bridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< + pezbridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< Runtime, BridgeGrandpaPezkuwichainBulletinInstance, >( @@ -567,7 +567,7 @@ mod bridge_hub_bulletin_tests { #[test] fn change_bridge_grandpa_pallet_mode_by_governance_works() { // for Bulletin finality - bridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< Runtime, BridgeGrandpaPezkuwichainBulletinInstance, >( @@ -580,7 +580,7 @@ mod bridge_hub_bulletin_tests { #[test] fn change_bridge_messages_pallet_mode_by_governance_works() { // for Bulletin finality - bridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< Runtime, WithPezkuwichainBulletinMessagesInstance, >( @@ -593,7 +593,7 @@ mod bridge_hub_bulletin_tests { #[test] fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { // for Bulletin - bridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< + pezbridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< Runtime, XcmConfig, WithPezkuwichainBulletinMessagesInstance, @@ -618,7 +618,7 @@ mod bridge_hub_bulletin_tests { PezkuwiXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(PezkuwichainBulletinGlobalConsensusNetworkLocation::get()), XCM_VERSION).expect("version saved!"); // we need to create lane between PezkuwichainPeople and PezkuwichainBulletin - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverPezkuwiBulletinInstance, LocationToAccountId, @@ -628,7 +628,7 @@ mod bridge_hub_bulletin_tests { BridgedBulletinLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverPezkuwiBulletinInstance >(locations, LegacyLaneId([0, 0, 0, 0])) @@ -641,7 +641,7 @@ mod bridge_hub_bulletin_tests { #[test] fn message_dispatch_routing_works() { // from Bulletin - bridge_hub_test_utils::test_cases::message_dispatch_routing_works::< + pezbridge_hub_test_utils::test_cases::message_dispatch_routing_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -682,7 +682,7 @@ mod bridge_hub_bulletin_tests { ByGenesis(PEZKUWICHAIN_GENESIS_HASH), || { // we need to create lane between PezkuwichainPeople and PezkuwichainBulletin - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverPezkuwiBulletinInstance, LocationToAccountId, @@ -692,7 +692,7 @@ mod bridge_hub_bulletin_tests { BridgedBulletinLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverPezkuwiBulletinInstance, >(locations, LegacyLaneId([0, 0, 0, 0])) @@ -716,7 +716,7 @@ mod bridge_hub_bulletin_tests { ByGenesis(PEZKUWICHAIN_GENESIS_HASH), || { // we need to create lane between PezkuwichainPeople and PezkuwichainBulletin - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverPezkuwiBulletinInstance, LocationToAccountId, @@ -726,7 +726,7 @@ mod bridge_hub_bulletin_tests { BridgedBulletinLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverPezkuwiBulletinInstance, >(locations, LegacyLaneId([0, 0, 0, 0])) @@ -742,7 +742,7 @@ mod bridge_hub_bulletin_tests { #[test] fn change_required_stake_by_governance_works() { - bridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< Runtime, bridge_common_config::RequiredStakeForStakeAndSlash, Balance, @@ -984,7 +984,7 @@ fn location_conversion_works() { let got = LocationToAccountHelper::< AccountId, - bridge_hub_pezkuwichain_runtime::xcm_config::LocationToAccountId, + pezbridge_hub_pezkuwichain_runtime::xcm_config::LocationToAccountId, >::convert_location(tc.location.into()) .unwrap(); diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/Cargo.toml index 8b1ea60b..11e27153 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bridge-hub-zagros-runtime" +name = "pezbridge-hub-zagros-runtime" version = "0.3.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ description = "Zagros's BridgeHub teyrchain runtime" license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/bridge-hub-zagros-runtime" +documentation = "https://docs.rs/pezbridge-hub-zagros-runtime" [lints] workspace = true @@ -65,7 +65,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -89,16 +89,16 @@ bp-asset-hub-pezkuwichain = { workspace = true } bp-asset-hub-zagros = { workspace = true } bp-bridge-hub-pezkuwichain = { workspace = true } bp-bridge-hub-zagros = { workspace = true } -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-pezkuwi-core = { workspace = true } bp-pezkuwichain = { workspace = true } bp-relayers = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-teyrchains = { workspace = true } bp-xcm-bridge-hub-router = { workspace = true } bridge-hub-common = { workspace = true } -bridge-runtime-common = { workspace = true } +pezbridge-runtime-common = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } pezpallet-bridge-messages = { workspace = true } pezpallet-bridge-relayers = { workspace = true } @@ -106,13 +106,13 @@ pezpallet-bridge-teyrchains = { workspace = true } pezpallet-xcm-bridge-hub = { workspace = true } # Ethereum Bridge (Snowbridge) -snowbridge-beacon-primitives = { workspace = true } -snowbridge-core = { workspace = true } -snowbridge-inbound-queue-primitives = { workspace = true } -snowbridge-merkle-tree = { workspace = true } -snowbridge-outbound-queue-primitives = { workspace = true } -snowbridge-outbound-queue-runtime-api = { workspace = true } -snowbridge-outbound-queue-v2-runtime-api = { workspace = true } +pezsnowbridge-beacon-primitives = { workspace = true } +pezsnowbridge-core = { workspace = true } +pezsnowbridge-inbound-queue-primitives = { workspace = true } +pezsnowbridge-merkle-tree = { workspace = true } +pezsnowbridge-outbound-queue-primitives = { workspace = true } +pezsnowbridge-outbound-queue-runtime-api = { workspace = true } +pezsnowbridge-outbound-queue-v2-runtime-api = { workspace = true } snowbridge-pezpallet-ethereum-client = { workspace = true } snowbridge-pezpallet-inbound-queue = { workspace = true } snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true } @@ -122,16 +122,16 @@ snowbridge-pezpallet-outbound-queue = { workspace = true } snowbridge-pezpallet-outbound-queue-v2 = { workspace = true } snowbridge-pezpallet-system = { workspace = true } snowbridge-pezpallet-system-v2 = { workspace = true } -snowbridge-system-runtime-api = { workspace = true } -snowbridge-system-v2-runtime-api = { workspace = true } +pezsnowbridge-system-runtime-api = { workspace = true } +pezsnowbridge-system-v2-runtime-api = { workspace = true } [dev-dependencies] -bridge-hub-test-utils = { workspace = true, default-features = true } -bridge-runtime-common = { features = [ +pezbridge-hub-test-utils = { workspace = true, default-features = true } +pezbridge-runtime-common = { features = [ "integrity-test", ], workspace = true, default-features = true } pezpallet-bridge-relayers = { features = ["integrity-test"], workspace = true } -snowbridge-runtime-test-common = { workspace = true, default-features = true } +pezsnowbridge-runtime-test-common = { workspace = true, default-features = true } teyrchains-runtimes-test-utils = { workspace = true, default-features = true } [build-dependencies] @@ -143,16 +143,16 @@ std = [ "bp-asset-hub-zagros/std", "bp-bridge-hub-pezkuwichain/std", "bp-bridge-hub-zagros/std", - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-core/std", "bp-pezkuwichain/std", "bp-relayers/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-teyrchains/std", "bp-xcm-bridge-hub-router/std", "bridge-hub-common/std", - "bridge-runtime-common/std", + "pezbridge-runtime-common/std", "codec/std", "pezcumulus-pezpallet-aura-ext/std", "pezcumulus-pezpallet-session-benchmarking/std", @@ -194,13 +194,13 @@ std = [ "scale-info/std", "serde", "serde_json/std", - "snowbridge-beacon-primitives/std", - "snowbridge-core/std", - "snowbridge-inbound-queue-primitives/std", - "snowbridge-merkle-tree/std", - "snowbridge-outbound-queue-primitives/std", - "snowbridge-outbound-queue-runtime-api/std", - "snowbridge-outbound-queue-v2-runtime-api/std", + "pezsnowbridge-beacon-primitives/std", + "pezsnowbridge-core/std", + "pezsnowbridge-inbound-queue-primitives/std", + "pezsnowbridge-merkle-tree/std", + "pezsnowbridge-outbound-queue-primitives/std", + "pezsnowbridge-outbound-queue-runtime-api/std", + "pezsnowbridge-outbound-queue-v2-runtime-api/std", "snowbridge-pezpallet-ethereum-client/std", "snowbridge-pezpallet-inbound-queue-fixtures/std", "snowbridge-pezpallet-inbound-queue-v2-fixtures/std", @@ -210,8 +210,8 @@ std = [ "snowbridge-pezpallet-outbound-queue/std", "snowbridge-pezpallet-system-v2/std", "snowbridge-pezpallet-system/std", - "snowbridge-system-runtime-api/std", - "snowbridge-system-v2-runtime-api/std", + "pezsnowbridge-system-runtime-api/std", + "pezsnowbridge-system-v2-runtime-api/std", "pezsp-api/std", "pezsp-block-builder/std", "pezsp-consensus-aura/std", @@ -234,7 +234,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] @@ -245,17 +245,17 @@ runtime-benchmarks = [ "bp-asset-hub-zagros/runtime-benchmarks", "bp-bridge-hub-pezkuwichain/runtime-benchmarks", "bp-bridge-hub-zagros/runtime-benchmarks", - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-pezkuwichain/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "bp-xcm-bridge-hub-router/runtime-benchmarks", "bridge-hub-common/runtime-benchmarks", - "bridge-hub-test-utils/runtime-benchmarks", - "bridge-runtime-common/runtime-benchmarks", + "pezbridge-hub-test-utils/runtime-benchmarks", + "pezbridge-runtime-common/runtime-benchmarks", "pezcumulus-pezpallet-aura-ext/runtime-benchmarks", "pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", @@ -293,13 +293,13 @@ runtime-benchmarks = [ "pezpallet-xcm/runtime-benchmarks", "pezkuwi-runtime-common/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", - "snowbridge-beacon-primitives/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", - "snowbridge-inbound-queue-primitives/runtime-benchmarks", - "snowbridge-merkle-tree/runtime-benchmarks", - "snowbridge-outbound-queue-primitives/runtime-benchmarks", - "snowbridge-outbound-queue-runtime-api/runtime-benchmarks", - "snowbridge-outbound-queue-v2-runtime-api/runtime-benchmarks", + "pezsnowbridge-beacon-primitives/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", + "pezsnowbridge-inbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-merkle-tree/runtime-benchmarks", + "pezsnowbridge-outbound-queue-primitives/runtime-benchmarks", + "pezsnowbridge-outbound-queue-runtime-api/runtime-benchmarks", + "pezsnowbridge-outbound-queue-v2-runtime-api/runtime-benchmarks", "snowbridge-pezpallet-ethereum-client/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks", "snowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks", @@ -309,9 +309,9 @@ runtime-benchmarks = [ "snowbridge-pezpallet-outbound-queue/runtime-benchmarks", "snowbridge-pezpallet-system-v2/runtime-benchmarks", "snowbridge-pezpallet-system/runtime-benchmarks", - "snowbridge-runtime-test-common/runtime-benchmarks", - "snowbridge-system-runtime-api/runtime-benchmarks", - "snowbridge-system-v2-runtime-api/runtime-benchmarks", + "pezsnowbridge-runtime-test-common/runtime-benchmarks", + "pezsnowbridge-system-runtime-api/runtime-benchmarks", + "pezsnowbridge-system-v2-runtime-api/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-block-builder/runtime-benchmarks", "pezsp-consensus-aura/runtime-benchmarks", @@ -331,7 +331,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] @@ -363,7 +363,7 @@ try-runtime = [ "pezpallet-xcm-bridge-hub/try-runtime", "pezpallet-xcm/try-runtime", "pezkuwi-runtime-common/try-runtime", - "snowbridge-inbound-queue-primitives/try-runtime", + "pezsnowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pezpallet-ethereum-client/try-runtime", "snowbridge-pezpallet-inbound-queue-v2/try-runtime", "snowbridge-pezpallet-inbound-queue/try-runtime", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/Cargo.toml index ddccc3bd..3352b756 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/Cargo.toml @@ -21,7 +21,7 @@ codec = { features = ["derive"], workspace = true } # Bridge Dependencies bp-bridge-hub-pezcumulus = { workspace = true } bp-messages = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-xcm-bridge-hub = { workspace = true } # Bizinikiwi Based Dependencies @@ -35,7 +35,7 @@ default = ["std"] std = [ "bp-bridge-hub-pezcumulus/std", "bp-messages/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-xcm-bridge-hub/std", "codec/std", "pezframe-support/std", @@ -46,7 +46,7 @@ std = [ runtime-benchmarks = [ "bp-bridge-hub-pezcumulus/runtime-benchmarks", "bp-messages/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-xcm-bridge-hub/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/src/lib.rs index c0604377..0b913a2e 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives/src/lib.rs @@ -18,9 +18,9 @@ #![cfg_attr(not(feature = "std"), no_std)] -pub use bp_bridge_hub_cumulus::*; +pub use bp_bridge_hub_pezcumulus::*; use bp_messages::*; -use bp_runtime::{ +use pezbp_runtime::{ decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain, }; use codec::{Decode, Encode}; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_common_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_common_config.rs index 49c5c47c..c4d4ec42 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_common_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_common_config.rs @@ -120,7 +120,7 @@ impl bp_relayers::PaymentProcedure for BridgeRewa BridgeRewardBeneficiaries::AssetHubLocation(account_location) => { let account_location = Location::try_from(account_location) .map_err(|_| Self::Error::Other("`AssetHubLocation` beneficiary location version is not supported for `Snowbridge` rewards!"))?; - snowbridge_core::reward::PayAccountOnLocation::< + pezsnowbridge_core::reward::PayAccountOnLocation::< AccountId, u128, EthereumNetwork, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_ethereum_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_ethereum_config.rs index 094a91ac..084ba95c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_ethereum_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_ethereum_config.rs @@ -28,10 +28,10 @@ use pezframe_support::{parameter_types, traits::Contains, weights::ConstantMulti use pezframe_system::EnsureRootWithSuccess; use hex_literal::hex; use pezpallet_xcm::EnsureXcm; -use snowbridge_beacon_primitives::{Fork, ForkVersions}; -use snowbridge_core::{gwei, meth, AllowSiblingsOnly, PricingParameters, Rewards}; -use snowbridge_inbound_queue_primitives::v2::CreateAssetCallInfo; -use snowbridge_outbound_queue_primitives::{ +use pezsnowbridge_beacon_primitives::{Fork, ForkVersions}; +use pezsnowbridge_core::{gwei, meth, AllowSiblingsOnly, PricingParameters, Rewards}; +use pezsnowbridge_inbound_queue_primitives::v2::CreateAssetCallInfo; +use pezsnowbridge_outbound_queue_primitives::{ v1::{ConstantGasMeter, EthereumBlobExporter}, v2::{ConstantGasMeter as ConstantGasMeterV2, EthereumBlobExporter as EthereumBlobExporterV2}, }; @@ -53,14 +53,14 @@ use xcm::prelude::{GlobalConsensus, InteriorLocation, Location, PalletInstance, use xcm_executor::XcmExecutor; use zagros_runtime_constants::system_teyrchain::ASSET_HUB_ID; -pub const SLOTS_PER_EPOCH: u32 = snowbridge_pallet_ethereum_client::config::SLOTS_PER_EPOCH as u32; +pub const SLOTS_PER_EPOCH: u32 = snowbridge_pezpallet_ethereum_client::config::SLOTS_PER_EPOCH as u32; /// Exports message to the Ethereum Gateway contract. pub type SnowbridgeExporter = EthereumBlobExporter< UniversalLocation, EthereumNetwork, - snowbridge_pallet_outbound_queue::Pallet, - snowbridge_core::AgentIdOf, + snowbridge_pezpallet_outbound_queue::Pallet, + pezsnowbridge_core::AgentIdOf, EthereumSystem, >; @@ -100,9 +100,9 @@ parameter_types! { pub SnowbridgeFrontendLocation: Location = Location::new(1, [Teyrchain(ASSET_HUB_ID), PalletInstance(FRONTEND_PALLET_INDEX)]); } -impl snowbridge_pallet_inbound_queue::Config for Runtime { +impl snowbridge_pezpallet_inbound_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type Verifier = snowbridge_pallet_ethereum_client::Pallet; + type Verifier = snowbridge_pezpallet_ethereum_client::Pallet; type Token = Balances; #[cfg(not(feature = "runtime-benchmarks"))] type XcmSender = crate::XcmRouter; @@ -112,7 +112,7 @@ impl snowbridge_pallet_inbound_queue::Config for Runtime { type GatewayAddress = EthereumGatewayAddress; #[cfg(feature = "runtime-benchmarks")] type Helper = Runtime; - type MessageConverter = snowbridge_inbound_queue_primitives::v1::MessageToXcm< + type MessageConverter = pezsnowbridge_inbound_queue_primitives::v1::MessageToXcm< CreateAssetCallIndex, CreateForeignAssetDeposit, ConstU8, @@ -125,12 +125,12 @@ impl snowbridge_pallet_inbound_queue::Config for Runtime { type WeightToFee = WeightToFee; type LengthToFee = ConstantMultiplier; type MaxMessageSize = ConstU32<2048>; - type WeightInfo = crate::weights::snowbridge_pallet_inbound_queue::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue::WeightInfo; type PricingParameters = EthereumSystem; type AssetTransactor = ::AssetTransactor; } -impl snowbridge_pallet_inbound_queue_v2::Config for Runtime { +impl snowbridge_pezpallet_inbound_queue_v2::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Verifier = EthereumBeaconClient; #[cfg(not(feature = "runtime-benchmarks"))] @@ -140,10 +140,10 @@ impl snowbridge_pallet_inbound_queue_v2::Config for Runtime { type GatewayAddress = EthereumGatewayAddress; #[cfg(feature = "runtime-benchmarks")] type Helper = Runtime; - type WeightInfo = crate::weights::snowbridge_pallet_inbound_queue_v2::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_inbound_queue_v2::WeightInfo; type AssetHubParaId = AssetHubParaId; type XcmExecutor = XcmExecutor; - type MessageConverter = snowbridge_inbound_queue_primitives::v2::MessageToXcm< + type MessageConverter = pezsnowbridge_inbound_queue_primitives::v2::MessageToXcm< CreateAssetCall, EthereumNetwork, RelayNetwork, @@ -162,7 +162,7 @@ impl snowbridge_pallet_inbound_queue_v2::Config for Runtime { type RewardPayment = BridgeRelayers; } -impl snowbridge_pallet_outbound_queue::Config for Runtime { +impl snowbridge_pezpallet_outbound_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Hashing = Keccak256; type MessageQueue = MessageQueue; @@ -172,12 +172,12 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime { type GasMeter = ConstantGasMeter; type Balance = Balance; type WeightToFee = WeightToFee; - type WeightInfo = crate::weights::snowbridge_pallet_outbound_queue::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue::WeightInfo; type PricingParameters = EthereumSystem; type Channels = EthereumSystem; } -impl snowbridge_pallet_outbound_queue_v2::Config for Runtime { +impl snowbridge_pezpallet_outbound_queue_v2::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Hashing = Keccak256; type MessageQueue = MessageQueue; @@ -185,7 +185,7 @@ impl snowbridge_pallet_outbound_queue_v2::Config for Runtime { type MaxMessagePayloadSize = ConstU32<2048>; // Maximum number of outbound messages that can be committed per block. // It's benchmarked, including the entire process flow(initialize,submit,commit) in the - // worst-case, Benchmark results in `../weights/snowbridge_pallet_outbound_queue_v2. + // worst-case, Benchmark results in `../weights/snowbridge_pezpallet_outbound_queue_v2. // rs` show that the `process` function consumes less than 1% of the block capacity, which is // safe enough. type MaxMessagesPerBlock = ConstU32<32>; @@ -194,7 +194,7 @@ impl snowbridge_pallet_outbound_queue_v2::Config for Runtime { type WeightToFee = WeightToFee; type Verifier = EthereumBeaconClient; type GatewayAddress = EthereumGatewayAddress; - type WeightInfo = crate::weights::snowbridge_pallet_outbound_queue_v2::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_outbound_queue_v2::WeightInfo; type EthereumNetwork = EthereumNetwork; type RewardKind = BridgeReward; type DefaultRewardKind = SnowbridgeReward; @@ -273,21 +273,21 @@ parameter_types! { }; } -impl snowbridge_pallet_ethereum_client::Config for Runtime { +impl snowbridge_pezpallet_ethereum_client::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ForkVersions = ChainForkVersions; type FreeHeadersInterval = ConstU32; - type WeightInfo = crate::weights::snowbridge_pallet_ethereum_client::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_ethereum_client::WeightInfo; } -impl snowbridge_pallet_system::Config for Runtime { +impl snowbridge_pezpallet_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OutboundQueue = EthereumOutboundQueue; type SiblingOrigin = EnsureXcm; - type AgentIdOf = snowbridge_core::AgentIdOf; + type AgentIdOf = pezsnowbridge_core::AgentIdOf; type TreasuryAccount = TreasuryAccount; type Token = Balances; - type WeightInfo = crate::weights::snowbridge_pallet_system::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_system::WeightInfo; #[cfg(feature = "runtime-benchmarks")] type Helper = (); type DefaultPricingParameters = Parameters; @@ -307,12 +307,12 @@ impl Contains for AllowFromEthereumFrontend { } } -impl snowbridge_pallet_system_v2::Config for Runtime { +impl snowbridge_pezpallet_system_v2::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OutboundQueue = EthereumOutboundQueueV2; type InboundQueue = EthereumInboundQueueV2; type FrontendOrigin = EnsureXcm; - type WeightInfo = crate::weights::snowbridge_pallet_system_v2::WeightInfo; + type WeightInfo = crate::weights::snowbridge_pezpallet_system_v2::WeightInfo; type GovernanceOrigin = EnsureRootWithSuccess; #[cfg(feature = "runtime-benchmarks")] type Helper = (); @@ -327,17 +327,17 @@ pub mod benchmark_helpers { use codec::Encode; use pezframe_support::assert_ok; use hex_literal::hex; - use snowbridge_beacon_primitives::BeaconHeader; - use snowbridge_inbound_queue_primitives::EventFixture; - use snowbridge_pallet_inbound_queue::BenchmarkHelper; - use snowbridge_pallet_inbound_queue_fixtures::register_token::make_register_token_message; - use snowbridge_pallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2; - use snowbridge_pallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2; - use snowbridge_pallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2; + use pezsnowbridge_beacon_primitives::BeaconHeader; + use pezsnowbridge_inbound_queue_primitives::EventFixture; + use snowbridge_pezpallet_inbound_queue::BenchmarkHelper; + use snowbridge_pezpallet_inbound_queue_fixtures::register_token::make_register_token_message; + use snowbridge_pezpallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2; + use snowbridge_pezpallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2; + use snowbridge_pezpallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2; use pezsp_core::H256; use xcm::latest::{Assets, Location, SendError, SendResult, SendXcm, Xcm, XcmHash}; - impl BenchmarkHelper for Runtime { + impl BenchmarkHelper for Runtime { fn initialize_storage() -> EventFixture { let message = make_register_token_message(); EthereumBeaconClient::store_finalized_header( @@ -357,7 +357,7 @@ pub mod benchmark_helpers { } } - impl InboundQueueBenchmarkHelperV2 for Runtime { + impl InboundQueueBenchmarkHelperV2 for Runtime { fn initialize_storage() -> EventFixture { let message = make_register_token_message_v2(); @@ -370,7 +370,7 @@ pub mod benchmark_helpers { } } - impl OutboundQueueBenchmarkHelperV2 for Runtime { + impl OutboundQueueBenchmarkHelperV2 for Runtime { fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) { EthereumBeaconClient::store_finalized_header(beacon_header, block_roots_root).unwrap(); } @@ -392,13 +392,13 @@ pub mod benchmark_helpers { } } - impl snowbridge_pallet_system::BenchmarkHelper for () { + impl snowbridge_pezpallet_system::BenchmarkHelper for () { fn make_xcm_origin(location: Location) -> RuntimeOrigin { RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location)) } } - impl snowbridge_pallet_system_v2::BenchmarkHelper for () { + impl snowbridge_pezpallet_system_v2::BenchmarkHelper for () { fn make_xcm_origin(location: Location) -> RuntimeOrigin { RuntimeOrigin::from(pezpallet_xcm::Origin::Xcm(location)) } @@ -428,11 +428,11 @@ mod tests { pub(crate) mod migrations { use pezframe_support::pezpallet_prelude::*; - use snowbridge_core::TokenId; + use pezsnowbridge_core::TokenId; #[pezframe_support::storage_alias] - pub type OldNativeToForeignId = StorageMap< - snowbridge_pallet_system::Pallet, + pub type OldNativeToForeignId = StorageMap< + snowbridge_pezpallet_system::Pallet, Blake2_128Concat, xcm::v4::Location, TokenId, @@ -440,8 +440,8 @@ pub(crate) mod migrations { >; /// One shot migration for NetworkId::Zagros to NetworkId::ByGenesis(ZAGROS_GENESIS_HASH) - pub struct MigrationForXcmV5(core::marker::PhantomData); - impl pezframe_support::traits::OnRuntimeUpgrade + pub struct MigrationForXcmV5(core::marker::PhantomData); + impl pezframe_support::traits::OnRuntimeUpgrade for MigrationForXcmV5 { fn on_runtime_upgrade() -> Weight { @@ -451,7 +451,7 @@ pub(crate) mod migrations { weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); Some(xcm::v5::Location::try_from(pre).expect("valid location")) }; - snowbridge_pallet_system::ForeignToNativeId::::translate_values(translate_zagros); + snowbridge_pezpallet_system::ForeignToNativeId::::translate_values(translate_zagros); weight } diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_pezkuwichain_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_pezkuwichain_config.rs index b97373df..91aab821 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_pezkuwichain_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/bridge_to_pezkuwichain_config.rs @@ -71,7 +71,7 @@ parameter_types! { 2, [ GlobalConsensus(PezkuwichainGlobalConsensusNetwork::get()), - Teyrchain(::TEYRCHAIN_ID) + Teyrchain(::TEYRCHAIN_ID) ] ); @@ -105,7 +105,7 @@ pub type OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages = BridgeRelayersTr PriorityBoostPerMessage, >, >; -bp_runtime::generate_static_str_provider!(OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages); +pezbp_runtime::generate_static_str_provider!(OnBridgeHubZagrosRefundBridgeHubPezkuwichainMessages); /// Add GRANDPA bridge pallet to track Pezkuwichain relay chain. pub type BridgeGrandpaPezkuwichainInstance = pezpallet_bridge_grandpa::Instance1; @@ -203,7 +203,7 @@ impl pezpallet_xcm_bridge_hub::LocalXcmChannelManager for CongestionManager { // dispatched and sent to the sibling teyrchain. Therefore, checking outbound `XcmpQueue` // is sufficient here. use bp_xcm_bridge_hub_router::XcmChannelStatusProvider; - pezcumulus_pallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::::is_congested( + pezcumulus_pezpallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::::is_congested( with, ) } @@ -238,7 +238,7 @@ where R: pezpallet_xcm_bridge_hub::Config, XBHI: 'static, C: xcm_executor::traits::ConvertLocation< - bp_runtime::AccountIdOf>, + pezbp_runtime::AccountIdOf>, >, { use pezpallet_xcm_bridge_hub::{Bridge, BridgeId, BridgeState}; @@ -281,7 +281,7 @@ where #[cfg(test)] mod tests { use super::*; - use bridge_runtime_common::{ + use pezbridge_runtime_common::{ assert_complete_bridge_types, integrity::{ assert_complete_with_teyrchain_bridge_constants, check_message_lane_weights, @@ -381,7 +381,7 @@ pub mod migration { mod v1_wrong { use bp_messages::{LaneState, MessageNonce, UnrewardedRelayer}; - use bp_runtime::AccountIdOf; + use pezbp_runtime::AccountIdOf; use codec::{Decode, Encode}; use pezpallet_bridge_messages::BridgedChainOf; use pezsp_std::collections::vec_deque::VecDeque; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs index 4fa9df5b..d1169015 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/lib.rs @@ -37,10 +37,10 @@ pub mod xcm_config; extern crate alloc; use alloc::{vec, vec::Vec}; -use bridge_runtime_common::extensions::{ +use pezbridge_runtime_common::extensions::{ CheckAndBoostBridgeGrandpaTransactions, CheckAndBoostBridgeTeyrchainsTransactions, }; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::ParaId; use pezsp_api::impl_runtime_apis; use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata}; @@ -75,12 +75,12 @@ pub use pezsp_consensus_aura::sr25519::AuthorityId as AuraId; pub use pezsp_runtime::{MultiAddress, Perbill, Permill}; use xcm_config::{XcmConfig, XcmOriginToTransactDispatchOrigin, XcmRouter}; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; -use bp_runtime::HeaderId; +use pezbp_runtime::HeaderId; use pezpallet_bridge_messages::LaneIdOf; #[cfg(any(feature = "std", test))] pub use pezsp_runtime::BuildStorage; @@ -93,8 +93,8 @@ use xcm::prelude::*; use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; -use snowbridge_core::{AgentId, PricingParameters}; -use snowbridge_outbound_queue_primitives::v1::{Command, Fee}; +use pezsnowbridge_core::{AgentId, PricingParameters}; +use pezsnowbridge_outbound_queue_primitives::v1::{Command, Fee}; use testnet_teyrchains_constants::zagros::{consensus::*, currency::*, fee::WeightToFee, time::*}; use teyrchains_common::{ impls::DealWithFees, AccountId, Balance, BlockNumber, Hash, Header, Nonce, Signature, @@ -117,7 +117,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( ( @@ -147,8 +147,8 @@ pub type Migrations = ( pezpallet_multisig::migrations::v1::MigrateToV1, InitStorageVersions, // unreleased - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, pezpallet_bridge_messages::migration::v1::MigrationToV1< Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance, @@ -172,12 +172,12 @@ pub type Migrations = ( bridge_common_config::BridgeRelayersInstance, bp_messages::LegacyLaneId, >, - snowbridge_pallet_system::migration::v0::InitializeOnUpgrade< + snowbridge_pezpallet_system::migration::v0::InitializeOnUpgrade< Runtime, ConstU32, ConstU32, >, - snowbridge_pallet_system::migration::FeePerGasMigrationV0ToV1, + snowbridge_pezpallet_system::migration::FeePerGasMigrationV0ToV1, bridge_to_ethereum_config::migrations::MigrationForXcmV5, pezpallet_session::migrations::v1::MigrateV0ToV1< Runtime, @@ -185,7 +185,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); parameter_types! { @@ -311,13 +311,13 @@ impl pezframe_system::Config for Runtime { /// This is used as an identifier of the chain. 42 is the generic bizinikiwi prefix. type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -377,8 +377,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -392,7 +392,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -435,7 +435,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -451,7 +451,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -463,11 +463,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -558,10 +558,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 4, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 4, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -572,12 +572,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, // Handy utilities. Utility: pezpallet_utility = 40, @@ -590,14 +590,14 @@ construct_runtime!( BridgePezkuwichainMessages: pezpallet_bridge_messages:: = 44, XcmOverBridgeHubPezkuwichain: pezpallet_xcm_bridge_hub:: = 45, - EthereumInboundQueue: snowbridge_pallet_inbound_queue = 80, - EthereumOutboundQueue: snowbridge_pallet_outbound_queue = 81, - EthereumBeaconClient: snowbridge_pallet_ethereum_client = 82, - EthereumSystem: snowbridge_pallet_system = 83, + EthereumInboundQueue: snowbridge_pezpallet_inbound_queue = 80, + EthereumOutboundQueue: snowbridge_pezpallet_outbound_queue = 81, + EthereumBeaconClient: snowbridge_pezpallet_ethereum_client = 82, + EthereumSystem: snowbridge_pezpallet_system = 83, - EthereumSystemV2: snowbridge_pallet_system_v2 = 90, - EthereumInboundQueueV2: snowbridge_pallet_inbound_queue_v2 = 91, - EthereumOutboundQueueV2: snowbridge_pallet_outbound_queue_v2 = 92, + EthereumSystemV2: snowbridge_pezpallet_system_v2 = 90, + EthereumInboundQueueV2: snowbridge_pezpallet_inbound_queue_v2 = 91, + EthereumOutboundQueueV2: snowbridge_pezpallet_outbound_queue_v2 = 92, // Message Queue. Importantly, is registered last so that messages are processed after // the `on_initialize` hooks of bridging pallets. @@ -605,7 +605,7 @@ construct_runtime!( } ); -bridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! { +pezbridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! { RuntimeCall, AccountId, // Grandpa CheckAndBoostBridgeGrandpaTransactions< @@ -639,8 +639,8 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] // XCM [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] // NOTE: Make sure you point to the individual modules below. @@ -652,16 +652,16 @@ mod benches { [pezpallet_bridge_teyrchains, WithinPezkuwichain] [pezpallet_bridge_messages, ZagrosToPezkuwichain] // Ethereum Bridge V1 - [snowbridge_pallet_system, EthereumSystem] - [snowbridge_pallet_ethereum_client, EthereumBeaconClient] - [snowbridge_pallet_inbound_queue, EthereumInboundQueue] - [snowbridge_pallet_outbound_queue, EthereumOutboundQueue] + [snowbridge_pezpallet_system, EthereumSystem] + [snowbridge_pezpallet_ethereum_client, EthereumBeaconClient] + [snowbridge_pezpallet_inbound_queue, EthereumInboundQueue] + [snowbridge_pezpallet_outbound_queue, EthereumOutboundQueue] // Ethereum Bridge V2 - [snowbridge_pallet_system_v2, EthereumSystemV2] - [snowbridge_pallet_inbound_queue_v2, EthereumInboundQueueV2] - [snowbridge_pallet_outbound_queue_v2, EthereumOutboundQueueV2] + [snowbridge_pezpallet_system_v2, EthereumSystemV2] + [snowbridge_pezpallet_inbound_queue_v2, EthereumInboundQueueV2] + [snowbridge_pezpallet_outbound_queue_v2, EthereumOutboundQueueV2] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -818,7 +818,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::ZagrosLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -839,7 +839,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -849,37 +849,37 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -901,7 +901,7 @@ impl_runtime_apis! { >>::FreeHeadersInterval::get() } fn synced_headers_grandpa_info( - ) -> Vec> { + ) -> Vec> { BridgePezkuwichainGrandpa::synced_headers_grandpa_info() } } @@ -923,7 +923,7 @@ impl_runtime_apis! { lane: LaneIdOf, messages: Vec<(bp_messages::MessagePayload, bp_messages::OutboundMessageDetails)>, ) -> Vec { - bridge_runtime_common::messages_api::inbound_message_details::< + pezbridge_runtime_common::messages_api::inbound_message_details::< Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance, >(lane, messages) @@ -936,38 +936,38 @@ impl_runtime_apis! { begin: bp_messages::MessageNonce, end: bp_messages::MessageNonce, ) -> Vec { - bridge_runtime_common::messages_api::outbound_message_details::< + pezbridge_runtime_common::messages_api::outbound_message_details::< Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance, >(lane, begin, end) } } - impl snowbridge_outbound_queue_runtime_api::OutboundQueueApi for Runtime { - fn prove_message(leaf_index: u64) -> Option { - snowbridge_pallet_outbound_queue::api::prove_message::(leaf_index) + impl pezsnowbridge_outbound_queue_runtime_api::OutboundQueueApi for Runtime { + fn prove_message(leaf_index: u64) -> Option { + snowbridge_pezpallet_outbound_queue::api::prove_message::(leaf_index) } fn calculate_fee(command: Command, parameters: Option>) -> Fee { - snowbridge_pallet_outbound_queue::api::calculate_fee::(command, parameters) + snowbridge_pezpallet_outbound_queue::api::calculate_fee::(command, parameters) } } - impl snowbridge_outbound_queue_v2_runtime_api::OutboundQueueV2Api for Runtime { - fn prove_message(leaf_index: u64) -> Option { - snowbridge_pallet_outbound_queue_v2::api::prove_message::(leaf_index) + impl pezsnowbridge_outbound_queue_v2_runtime_api::OutboundQueueV2Api for Runtime { + fn prove_message(leaf_index: u64) -> Option { + snowbridge_pezpallet_outbound_queue_v2::api::prove_message::(leaf_index) } } - impl snowbridge_system_runtime_api::ControlApi for Runtime { + impl pezsnowbridge_system_runtime_api::ControlApi for Runtime { fn agent_id(location: VersionedLocation) -> Option { - snowbridge_pallet_system::api::agent_id::(location) + snowbridge_pezpallet_system::api::agent_id::(location) } } - impl snowbridge_system_v2_runtime_api::ControlV2Api for Runtime { + impl pezsnowbridge_system_v2_runtime_api::ControlV2Api for Runtime { fn agent_id(location: VersionedLocation) -> Option { - snowbridge_pallet_system_v2::api::agent_id::(location) + snowbridge_pezpallet_system_v2::api::agent_id::(location) } } @@ -1000,7 +1000,7 @@ impl_runtime_apis! { use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -1038,12 +1038,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm::latest::prelude::*; use xcm_config::ZagrosLocation; @@ -1277,7 +1277,7 @@ impl_runtime_apis! { type WithinPezkuwichain = pezpallet_bridge_teyrchains::benchmarking::Pallet::; type ZagrosToPezkuwichain = pezpallet_bridge_messages::benchmarking::Pallet ::; - use bridge_runtime_common::messages_benchmarking::{ + use pezbridge_runtime_common::messages_benchmarking::{ prepare_message_delivery_proof_from_teyrchain, prepare_message_proof_from_teyrchain, generate_xcm_builder_bridge_message_sample, @@ -1291,7 +1291,7 @@ impl_runtime_apis! { impl BridgeMessagesConfig for Runtime { fn is_relayer_rewarded(relayer: &Self::AccountId) -> bool { let bench_lane_id = >::bench_lane_id(); - use bp_runtime::Chain; + use pezbp_runtime::Chain; let bridged_chain_id =>::BridgedChain::ID; pezpallet_bridge_relayers::Pallet::::relayer_reward( relayer, @@ -1344,7 +1344,7 @@ impl_runtime_apis! { } } - use bridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof; + use pezbridge_runtime_common::teyrchains_benchmarking::prepare_teyrchain_heads_proof; use pezpallet_bridge_teyrchains::benchmarking::Config as BridgeTeyrchainsConfig; use pezpallet_bridge_relayers::benchmarking::{ Pallet as BridgeRelayersBench, @@ -1353,14 +1353,14 @@ impl_runtime_apis! { impl BridgeTeyrchainsConfig for Runtime { fn teyrchains() -> Vec { - use bp_runtime::Teyrchain; + use pezbp_runtime::Teyrchain; vec![bp_pezkuwi_core::teyrchains::ParaId(bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichain::TEYRCHAIN_ID)] } fn prepare_teyrchain_heads_proof( teyrchains: &[bp_pezkuwi_core::teyrchains::ParaId], teyrchain_head_size: u32, - proof_params: bp_runtime::UnverifiedStorageProofParams, + proof_params: pezbp_runtime::UnverifiedStorageProofParams, ) -> ( bp_teyrchains::RelayBlockNumber, bp_teyrchains::RelayBlockHash, @@ -1446,9 +1446,9 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } #[cfg(test)] @@ -1489,7 +1489,7 @@ mod tests { let bh_indirect_payload = bp_bridge_hub_zagros::TransactionExtension::from_params( VERSION.spec_version, VERSION.transaction_version, - bp_runtime::TransactionEra::Immortal, + pezbp_runtime::TransactionEra::Immortal, System::block_hash(BlockNumber::zero()), 10, 10, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/mod.rs index 35721c18..5c37ecbd 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/mod.rs @@ -23,9 +23,9 @@ use ::pezpallet_bridge_relayers::WeightInfo as _; use ::pezpallet_bridge_teyrchains::WeightInfoExt as TeyrchainsWeightInfoExt; pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; @@ -46,13 +46,13 @@ pub mod paritydb_weights; pub mod rocksdb_weights; pub mod xcm; -pub mod snowbridge_pallet_ethereum_client; -pub mod snowbridge_pallet_inbound_queue; -pub mod snowbridge_pallet_inbound_queue_v2; -pub mod snowbridge_pallet_outbound_queue; -pub mod snowbridge_pallet_outbound_queue_v2; -pub mod snowbridge_pallet_system; -pub mod snowbridge_pallet_system_v2; +pub mod snowbridge_pezpallet_ethereum_client; +pub mod snowbridge_pezpallet_inbound_queue; +pub mod snowbridge_pezpallet_inbound_queue_v2; +pub mod snowbridge_pezpallet_outbound_queue; +pub mod snowbridge_pezpallet_outbound_queue_v2; +pub mod snowbridge_pezpallet_system; +pub mod snowbridge_pezpallet_system_v2; pub use block_weights::constants::BlockExecutionWeight; pub use extrinsic_weights::constants::ExtrinsicBaseWeight; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index f56aedd7..aebbfd26 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs index 41901d84..07260516 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs index a86465be..d024ed99 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system.rs similarity index 98% rename from pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system.rs index 319505f6..bf907315 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezframe_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system_extensions.rs similarity index 97% rename from pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system_extensions.rs index 21a6b9d5..ceb4b882 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/frame_system_extensions.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezframe_system_extensions.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezframe_system_extensions // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_balances.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_balances.rs index 6edea74d..7d1bf8c2 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_balances.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_balances.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_balances // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_grandpa.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_grandpa.rs index 97379180..ceca578e 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_grandpa.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_grandpa.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_bridge_grandpa // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_messages.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_messages.rs index 0611393a..9d6b7b7a 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_messages.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_messages.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_bridge_messages // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_relayers.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_relayers.rs index db37777f..5ba87408 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_relayers.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_relayers.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_bridge_relayers // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_teyrchains.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_teyrchains.rs index 0a14354e..f8c2aff6 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_teyrchains.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_bridge_teyrchains.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_bridge_teyrchains // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_collator_selection.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_collator_selection.rs index e29cb2de..e368513c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_collator_selection.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_collator_selection.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_collator_selection // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_message_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_message_queue.rs index bcd0e6b8..34bda1a9 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_message_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_message_queue.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_message_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_multisig.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_multisig.rs index abf865f8..fbe7a602 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_multisig.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_multisig.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_multisig // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_session.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_session.rs index dc9de2b7..4a7f0c52 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_session.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_session.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_session // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_timestamp.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_timestamp.rs index 79833163..0b8d45cf 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_timestamp.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_timestamp.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_timestamp // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_transaction_payment.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_transaction_payment.rs index faae4688..b64cc2dd 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_transaction_payment.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_transaction_payment.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_transaction_payment // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_utility.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_utility.rs index 60a4a980..5f150b37 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_utility.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_utility.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_utility // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_xcm.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_xcm.rs index 661093b1..baf78b8f 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_xcm.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/pezpallet_xcm.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_xcm // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_ethereum_client.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_ethereum_client.rs index ed297e2b..fddb5639 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_ethereum_client.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_ethereum_client.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_ethereum_client` +//! Autogenerated weights for `snowbridge_pezpallet_ethereum_client` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=snowbridge_pallet_ethereum_client +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=snowbridge_pezpallet_ethereum_client // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_ethereum_client`. +/// Weight functions for `snowbridge_pezpallet_ethereum_client`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_ethereum_client::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_ethereum_client::WeightInfo for WeightInfo { /// Storage: `EthereumBeaconClient::FinalizedBeaconStateIndex` (r:1 w:1) /// Proof: `EthereumBeaconClient::FinalizedBeaconStateIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `EthereumBeaconClient::FinalizedBeaconStateMapping` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue.rs index d512fb8f..87e0648f 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_inbound_queue` +//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=snowbridge_pallet_inbound_queue +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=snowbridge_pezpallet_inbound_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_inbound_queue`. +/// Weight functions for `snowbridge_pezpallet_inbound_queue`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_inbound_queue::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_inbound_queue::WeightInfo for WeightInfo { /// Storage: `EthereumInboundQueue::OperatingMode` (r:1 w:0) /// Proof: `EthereumInboundQueue::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue_v2.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue_v2.rs index e0659d23..c17f03c2 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue_v2.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue_v2.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_inbound_queue_v2` +//! Autogenerated weights for `snowbridge_pezpallet_inbound_queue_v2` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -31,7 +31,7 @@ // --extrinsic=* // --wasm-execution=compiled // --output -// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_inbound_queue_v2.rs +// pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pezpallet_inbound_queue_v2.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -41,9 +41,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_inbound_queue_v2`. +/// Weight functions for `snowbridge_pezpallet_inbound_queue_v2`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_inbound_queue_v2::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_inbound_queue_v2::WeightInfo for WeightInfo { /// Storage: `EthereumInboundQueueV2::OperatingMode` (r:1 w:0) /// Proof: `EthereumInboundQueueV2::OperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `EthereumBeaconClient::LatestFinalizedBlockRoot` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue.rs index 966e9e03..a4c1b5d3 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_outbound_queue` +//! Autogenerated weights for `snowbridge_pezpallet_outbound_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=snowbridge_pallet_outbound_queue +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=snowbridge_pezpallet_outbound_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_outbound_queue`. +/// Weight functions for `snowbridge_pezpallet_outbound_queue`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_outbound_queue::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_outbound_queue::WeightInfo for WeightInfo { /// Storage: `EthereumOutboundQueue::MessageLeaves` (r:1 w:1) /// Proof: `EthereumOutboundQueue::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumOutboundQueue::Nonce` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue_v2.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue_v2.rs index b2aa3d88..b1132b61 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue_v2.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_outbound_queue_v2.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_outbound_queue_v2` +//! Autogenerated weights for `snowbridge_pezpallet_outbound_queue_v2` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-03-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --runtime -// target/release/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=snowbridge_pallet_outbound_queue_v2 +// target/release/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=snowbridge_pezpallet_outbound_queue_v2 // --extrinsic // * // --header=./pezcumulus/file_header.txt @@ -44,9 +44,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_outbound_queue_v2`. +/// Weight functions for `snowbridge_pezpallet_outbound_queue_v2`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_outbound_queue_v2::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_outbound_queue_v2::WeightInfo for WeightInfo { /// Storage: `EthereumOutboundQueueV2::MessageLeaves` (r:1 w:1) /// Proof: `EthereumOutboundQueueV2::MessageLeaves` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumOutboundQueueV2::Nonce` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system.rs index d81e0a37..f39f2a4c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `snowbridge_pallet_system` +//! Autogenerated weights for `snowbridge_pezpallet_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -27,8 +27,8 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm -// --pallet=snowbridge_pallet_system +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm +// --pallet=snowbridge_pezpallet_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `snowbridge_pallet_system`. +/// Weight functions for `snowbridge_pezpallet_system`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_system::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_system::WeightInfo for WeightInfo { /// Storage: `EthereumSystem::Channels` (r:1 w:0) /// Proof: `EthereumSystem::Channels` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) /// Storage: `EthereumSystem::PricingParameters` (r:1 w:0) diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system_v2.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system_v2.rs index c04368be..d86a0976 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system_v2.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/snowbridge_pallet_system_v2.rs @@ -27,12 +27,12 @@ // pallet // --chain // bridge-hub-pezkuwichain-dev -// --pallet=snowbridge_pallet_system +// --pallet=snowbridge_pezpallet_system // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --output -// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pallet_system.rs +// teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/src/weights/snowbridge_pezpallet_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,7 +44,7 @@ use core::marker::PhantomData; /// Weight functions for `snowbridge_system`. pub struct WeightInfo(PhantomData); -impl snowbridge_pallet_system_v2::WeightInfo for WeightInfo { +impl snowbridge_pezpallet_system_v2::WeightInfo for WeightInfo { fn register_token() -> Weight { // Proof Size summary in bytes: // Measured: `256` diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs index 74ea0ec6..0ec708e2 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_fungible.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_xcm_benchmarks::fungible // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs index 33bfe426..764c64d7 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm/pezpallet_xcm_benchmarks_generic.rs @@ -27,7 +27,7 @@ // benchmark // pallet // --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm +// --runtime=target/production/wbuild/pezbridge-hub-zagros-runtime/pezbridge_hub_zagros_runtime.wasm // --pallet=pezpallet_xcm_benchmarks::generic // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights/xcm diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/xcm_config.rs index 889d95e2..3ce7db7b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/xcm_config.rs @@ -66,7 +66,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const ZagrosLocation: Location = Location::parent(); pub const RelayNetwork: NetworkId = NetworkId::ByGenesis(ZAGROS_GENESIS_HASH); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub const MaxInstructions: u32 = 100; @@ -120,7 +120,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -314,7 +314,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/snowbridge.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/snowbridge.rs index edf3c429..44129308 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/snowbridge.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/snowbridge.rs @@ -19,7 +19,7 @@ use bp_asset_hub_zagros::ASSET_HUB_ZAGROS_TEYRCHAIN_ID; use bp_bridge_hub_zagros::BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID; use bp_pezkuwi_core::Signature; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_to_pezkuwichain_config, xcm_config::XcmConfig, AllPalletsWithoutSystem, BridgeRejectObsoleteHeadersAndMessages, Executive, MessageQueueServiceWeight, Runtime, RuntimeCall, RuntimeEvent, SessionKeys, TxExtension, UncheckedExtrinsic, @@ -27,7 +27,7 @@ use bridge_hub_zagros_runtime::{ use codec::{Decode, Encode}; use pezcumulus_primitives_core::XcmError::FailedToTransactAsset; use pezframe_support::parameter_types; -use snowbridge_pallet_ethereum_client::WeightInfo; +use snowbridge_pezpallet_ethereum_client::WeightInfo; use pezsp_core::H160; use pezsp_runtime::{ generic::{Era, SignedPayload}, @@ -39,9 +39,9 @@ parameter_types! { pub const DefaultBridgeHubEthereumBaseFee: Balance = 3_833_568_200_000; } -fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys { +fn collator_session_keys() -> pezbridge_hub_test_utils::CollatorSessionKeys { use pezsp_keyring::Sr25519Keyring::Alice; - bridge_hub_test_utils::CollatorSessionKeys::new( + pezbridge_hub_test_utils::CollatorSessionKeys::new( AccountId::from(Alice), AccountId::from(Alice), SessionKeys { aura: AuraId::from(Alice.public()) }, @@ -50,7 +50,7 @@ fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys( + pezsnowbridge_runtime_test_common::send_transfer_token_message_success::( 11155111, collator_session_keys(), BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID, @@ -69,7 +69,7 @@ pub fn transfer_token_to_ethereum_works() { #[test] pub fn unpaid_transfer_token_to_ethereum_should_work() { - snowbridge_runtime_test_common::send_unpaid_transfer_token_message::( + pezsnowbridge_runtime_test_common::send_unpaid_transfer_token_message::( 11155111, collator_session_keys(), BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID, @@ -81,7 +81,7 @@ pub fn unpaid_transfer_token_to_ethereum_should_work() { #[test] pub fn transfer_token_to_ethereum_insufficient_fund() { - snowbridge_runtime_test_common::send_transfer_token_message_failure::( + pezsnowbridge_runtime_test_common::send_transfer_token_message_failure::( 11155111, collator_session_keys(), BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID, @@ -98,16 +98,16 @@ pub fn transfer_token_to_ethereum_insufficient_fund() { fn max_message_queue_service_weight_is_more_than_beacon_extrinsic_weights() { let max_message_queue_weight = MessageQueueServiceWeight::get(); let force_checkpoint = - ::WeightInfo::force_checkpoint(); + ::WeightInfo::force_checkpoint(); let submit_checkpoint = - ::WeightInfo::submit(); + ::WeightInfo::submit(); max_message_queue_weight.all_gt(force_checkpoint); max_message_queue_weight.all_gt(submit_checkpoint); } #[test] fn ethereum_client_consensus_extrinsics_work() { - snowbridge_runtime_test_common::ethereum_extrinsic( + pezsnowbridge_runtime_test_common::ethereum_extrinsic( collator_session_keys(), BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID, construct_and_apply_extrinsic, @@ -116,7 +116,7 @@ fn ethereum_client_consensus_extrinsics_work() { #[test] fn ethereum_to_pezkuwi_message_extrinsics_work() { - snowbridge_runtime_test_common::ethereum_to_pezkuwi_message_extrinsics_work( + pezsnowbridge_runtime_test_common::ethereum_to_pezkuwi_message_extrinsics_work( collator_session_keys(), BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID, construct_and_apply_extrinsic, @@ -129,7 +129,7 @@ fn ethereum_to_pezkuwi_message_extrinsics_work() { /// will fail. #[test] pub fn ethereum_outbound_queue_processes_messages_before_message_queue_works() { - snowbridge_runtime_test_common::ethereum_outbound_queue_processes_messages_before_message_queue_works::< + pezsnowbridge_runtime_test_common::ethereum_outbound_queue_processes_messages_before_message_queue_works::< Runtime, XcmConfig, AllPalletsWithoutSystem, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/tests.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/tests.rs index 0ab66123..22c48e0c 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/tests/tests.rs @@ -21,11 +21,11 @@ use bp_messages::LegacyLaneId; use bp_pezkuwi_core::Signature; use bp_relayers::{PayRewardFromAccount, RewardsAccountOwner, RewardsAccountParams}; use bridge_common_config::{BridgeRelayersInstance, BridgeReward, RequiredStakeForStakeAndSlash}; -use bridge_hub_test_utils::{ +use pezbridge_hub_test_utils::{ test_cases::{from_teyrchain, run_test}, GovernanceOrigin, SlotDurations, }; -use bridge_hub_zagros_runtime::{ +use pezbridge_hub_zagros_runtime::{ bridge_common_config, bridge_to_pezkuwichain_config, bridge_to_pezkuwichain_config::PezkuwichainGlobalConsensusNetwork, xcm_config::{ @@ -67,7 +67,7 @@ use xcm::{ latest::{prelude::*, PEZKUWICHAIN_GENESIS_HASH, ZAGROS_GENESIS_HASH}, VersionedLocation, }; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; // Random para id of sibling chain used in tests. pub const SIBLING_TEYRCHAIN_ID: u32 = 2053; @@ -137,8 +137,8 @@ fn construct_and_estimate_extrinsic_fee(call: RuntimeCall) -> Balance { TransactionPayment::compute_fee(xt.encoded_size() as _, &info, 0) } -fn collator_session_keys() -> bridge_hub_test_utils::CollatorSessionKeys { - bridge_hub_test_utils::CollatorSessionKeys::new( +fn collator_session_keys() -> pezbridge_hub_test_utils::CollatorSessionKeys { + pezbridge_hub_test_utils::CollatorSessionKeys::new( AccountId::from(Alice), AccountId::from(Alice), SessionKeys { aura: AuraId::from(Alice.public()) }, @@ -152,7 +152,7 @@ fn slot_durations() -> SlotDurations { } } -bridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( +pezbridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -173,7 +173,7 @@ bridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( #[test] fn initialize_bridge_by_governance_works() { - bridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< + pezbridge_hub_test_utils::test_cases::initialize_bridge_by_governance_works::< Runtime, BridgeGrandpaPezkuwichainInstance, >( @@ -185,7 +185,7 @@ fn initialize_bridge_by_governance_works() { #[test] fn change_bridge_grandpa_pallet_mode_by_governance_works() { - bridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_grandpa_pallet_mode_by_governance_works::< Runtime, BridgeGrandpaPezkuwichainInstance, >( @@ -197,7 +197,7 @@ fn change_bridge_grandpa_pallet_mode_by_governance_works() { #[test] fn change_bridge_teyrchains_pallet_mode_by_governance_works() { - bridge_hub_test_utils::test_cases::change_bridge_teyrchains_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_teyrchains_pallet_mode_by_governance_works::< Runtime, BridgeTeyrchainPezkuwichainInstance, >( @@ -209,7 +209,7 @@ fn change_bridge_teyrchains_pallet_mode_by_governance_works() { #[test] fn change_bridge_messages_pallet_mode_by_governance_works() { - bridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_bridge_messages_pallet_mode_by_governance_works::< Runtime, WithBridgeHubPezkuwichainMessagesInstance, >( @@ -221,7 +221,7 @@ fn change_bridge_messages_pallet_mode_by_governance_works() { #[test] fn change_delivery_reward_by_governance_works() { - bridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< Runtime, DeliveryRewardInBalance, u64, @@ -236,7 +236,7 @@ fn change_delivery_reward_by_governance_works() { #[test] fn change_required_stake_by_governance_works() { - bridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< + pezbridge_hub_test_utils::test_cases::change_storage_constant_by_governance_works::< Runtime, RequiredStakeForStakeAndSlash, Balance, @@ -251,7 +251,7 @@ fn change_required_stake_by_governance_works() { #[test] fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { - bridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< + pezbridge_hub_test_utils::test_cases::handle_export_message_from_system_teyrchain_to_outbound_queue_works::< Runtime, XcmConfig, WithBridgeHubPezkuwichainMessagesInstance, @@ -273,7 +273,7 @@ fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { PezkuwiXcm::force_xcm_version(RuntimeOrigin::root(), Box::new(BridgeHubPezkuwichainLocation::get()), XCM_VERSION).expect("version saved!"); // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubPezkuwichainInstance, LocationToAccountId, @@ -283,7 +283,7 @@ fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubPezkuwichainInstance >(locations, LegacyLaneId([0, 0, 0, 1])) } @@ -294,7 +294,7 @@ fn handle_export_message_from_system_teyrchain_add_to_outbound_queue_works() { #[test] fn message_dispatch_routing_works() { - bridge_hub_test_utils::test_cases::message_dispatch_routing_works::< + pezbridge_hub_test_utils::test_cases::message_dispatch_routing_works::< Runtime, AllPalletsWithoutSystem, XcmConfig, @@ -335,7 +335,7 @@ fn relayed_incoming_message_works() { ByGenesis(ZAGROS_GENESIS_HASH), || { // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubPezkuwichainInstance, LocationToAccountId, @@ -345,7 +345,7 @@ fn relayed_incoming_message_works() { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubPezkuwichainInstance, >(locations, LegacyLaneId([0, 0, 0, 1])) @@ -370,7 +370,7 @@ fn free_relay_extrinsic_works() { ByGenesis(ZAGROS_GENESIS_HASH), || { // we need to create lane between sibling teyrchain and remote destination - bridge_hub_test_utils::ensure_opened_bridge::< + pezbridge_hub_test_utils::ensure_opened_bridge::< Runtime, XcmOverBridgeHubPezkuwichainInstance, LocationToAccountId, @@ -380,7 +380,7 @@ fn free_relay_extrinsic_works() { BridgedUniversalLocation::get(), false, |locations, _fee| { - bridge_hub_test_utils::open_bridge_with_storage::< + pezbridge_hub_test_utils::open_bridge_with_storage::< Runtime, XcmOverBridgeHubPezkuwichainInstance, >(locations, LegacyLaneId([0, 0, 0, 1])) @@ -395,11 +395,11 @@ fn free_relay_extrinsic_works() { #[test] pub fn can_calculate_weight_for_paid_export_message_with_reserve_transfer() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_zagros::BridgeHubZagrosBaseXcmFeeInWnds", bp_bridge_hub_zagros::BridgeHubZagrosBaseXcmFeeInWnds::get(), || { - bridge_hub_test_utils::test_cases::can_calculate_weight_for_paid_export_message_with_reserve_transfer::< + pezbridge_hub_test_utils::test_cases::can_calculate_weight_for_paid_export_message_with_reserve_transfer::< Runtime, XcmConfig, WeightToFee, @@ -416,7 +416,7 @@ pub fn can_calculate_weight_for_paid_export_message_with_reserve_transfer() { #[test] pub fn can_calculate_fee_for_standalone_message_delivery_transaction() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_zagros::BridgeHubZagrosBaseDeliveryFeeInWnds", bp_bridge_hub_zagros::BridgeHubZagrosBaseDeliveryFeeInWnds::get(), || { @@ -435,7 +435,7 @@ pub fn can_calculate_fee_for_standalone_message_delivery_transaction() { #[test] pub fn can_calculate_fee_for_standalone_message_confirmation_transaction() { - bridge_hub_test_utils::check_sane_fees_values( + pezbridge_hub_test_utils::check_sane_fees_values( "bp_bridge_hub_zagros::BridgeHubZagrosBaseConfirmationFeeInWnds", bp_bridge_hub_zagros::BridgeHubZagrosBaseConfirmationFeeInWnds::get(), || { diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/common/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/common/Cargo.toml index 3dc0dd41..5a3ebd48 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/common/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/common/Cargo.toml @@ -18,7 +18,7 @@ pezcumulus-primitives-core = { workspace = true } pezframe-support = { workspace = true } pezpallet-message-queue = { workspace = true } scale-info = { features = ["derive"], workspace = true } -snowbridge-core = { workspace = true } +pezsnowbridge-core = { workspace = true } pezsp-core = { workspace = true } pezsp-runtime = { workspace = true } pezsp-std = { workspace = true } @@ -34,7 +34,7 @@ std = [ "pezframe-support/std", "pezpallet-message-queue/std", "scale-info/std", - "snowbridge-core/std", + "pezsnowbridge-core/std", "pezsp-core/std", "pezsp-runtime/std", "pezsp-std/std", @@ -46,7 +46,7 @@ runtime-benchmarks = [ "pezcumulus-primitives-core/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezpallet-message-queue/runtime-benchmarks", - "snowbridge-core/runtime-benchmarks", + "pezsnowbridge-core/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/common/src/message_queue.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/common/src/message_queue.rs index 9bea0f06..ed4de19f 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/common/src/message_queue.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/common/src/message_queue.rs @@ -22,7 +22,7 @@ use pezframe_support::{ }; use pezpallet_message_queue::OnQueueChanged; use scale_info::TypeInfo; -use snowbridge_core::ChannelId; +use pezsnowbridge_core::ChannelId; use pezsp_core::H256; use xcm::latest::prelude::{Junction, Location}; diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/Cargo.toml b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/Cargo.toml index 64943f22..96cf9a7b 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bridge-hub-test-utils" +name = "pezbridge-hub-test-utils" version = "0.7.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ description = "Utils for BridgeHub testing" license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/bridge-hub-test-utils" +documentation = "https://docs.rs/pezbridge-hub-test-utils" [lints] workspace = true @@ -31,7 +31,7 @@ pezsp-std = { workspace = true } pezsp-tracing = { workspace = true, default-features = true } # Pezcumulus -asset-test-utils = { workspace = true, default-features = true } +asset-test-pezutils = { workspace = true, default-features = true } pezcumulus-pezpallet-teyrchain-system = { workspace = true } pezcumulus-pezpallet-xcmp-queue = { workspace = true } teyrchains-common = { workspace = true } @@ -44,11 +44,11 @@ xcm-builder = { workspace = true } xcm-executor = { workspace = true } # Bridges -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-messages = { workspace = true } bp-pezkuwi-core = { workspace = true } bp-relayers = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } bp-test-utils = { workspace = true } bp-teyrchains = { workspace = true } pezpallet-bridge-grandpa = { workspace = true } @@ -60,12 +60,12 @@ pezpallet-xcm-bridge-hub = { workspace = true } [features] default = ["std"] std = [ - "asset-test-utils/std", - "bp-header-chain/std", + "asset-test-pezutils/std", + "bp-header-pez-chain/std", "bp-messages/std", "bp-pezkuwi-core/std", "bp-relayers/std", - "bp-runtime/std", + "pezbp-runtime/std", "bp-test-utils/std", "bp-teyrchains/std", "codec/std", @@ -94,12 +94,12 @@ std = [ "xcm/std", ] runtime-benchmarks = [ - "asset-test-utils/runtime-benchmarks", - "bp-header-chain/runtime-benchmarks", + "asset-test-pezutils/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-messages/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", "bp-relayers/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "bp-test-utils/runtime-benchmarks", "bp-teyrchains/runtime-benchmarks", "pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks", diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_grandpa_chain.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_grandpa_chain.rs index 3f8e6463..f1ef59f5 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_grandpa_chain.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_grandpa_chain.rs @@ -24,7 +24,7 @@ use crate::{ }; use alloc::{boxed::Box, vec}; -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::UnrewardedRelayersState; use bp_relayers::{RewardsAccountOwner, RewardsAccountParams}; use pezframe_support::traits::{OnFinalize, OnInitialize}; @@ -44,7 +44,7 @@ use xcm::latest::prelude::*; pub trait WithRemoteGrandpaChainHelper { /// This chain runtime. type Runtime: BasicTeyrchainRuntime - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_xcmp_queue::Config + BridgeGrandpaConfig> + BridgeMessagesConfig< Self::MPI, @@ -74,7 +74,7 @@ impl WithRemoteGrandpaChainHelp for WithRemoteGrandpaChainHelperAdapter where Runtime: BasicTeyrchainRuntime - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_xcmp_queue::Config + BridgeGrandpaConfig> + BridgeMessagesConfig< MPI, @@ -515,7 +515,7 @@ where RuntimeHelper::Runtime: pezpallet_utility::Config>, ThisChainOf: - bp_runtime::Chain>, + pezbp_runtime::Chain>, RuntimeCallOf: From> + From>, BridgedChainOf: ChainWithGrandpa, @@ -617,7 +617,7 @@ where RuntimeHelper: WithRemoteGrandpaChainHelper, AccountIdOf: From, ThisChainOf: - bp_runtime::Chain>, + pezbp_runtime::Chain>, RuntimeCallOf: From>, BridgedChainOf: ChainWithGrandpa, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_teyrchain.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_teyrchain.rs index 485f309b..b3311816 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_teyrchain.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/from_teyrchain.rs @@ -24,11 +24,11 @@ use crate::{ }; use alloc::{boxed::Box, vec}; -use bp_header_chain::ChainWithGrandpa; +use bp_header_pez_chain::ChainWithGrandpa; use bp_messages::UnrewardedRelayersState; use bp_pezkuwi_core::teyrchains::ParaHash; use bp_relayers::{RewardsAccountOwner, RewardsAccountParams}; -use bp_runtime::{Chain, Teyrchain}; +use pezbp_runtime::{Chain, Teyrchain}; use pezframe_support::traits::{OnFinalize, OnInitialize}; use pezframe_system::pezpallet_prelude::BlockNumberFor; use pezpallet_bridge_messages::{BridgedChainOf, LaneIdOf, ThisChainOf}; @@ -46,7 +46,7 @@ use xcm::latest::prelude::*; pub trait WithRemoteTeyrchainHelper { /// This chain runtime. type Runtime: BasicTeyrchainRuntime - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_xcmp_queue::Config + BridgeGrandpaConfig + BridgeTeyrchainsConfig + BridgeMessagesConfig< @@ -79,7 +79,7 @@ impl WithRemoteTeyrchainHe for WithRemoteTeyrchainHelperAdapter where Runtime: BasicTeyrchainRuntime - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_xcmp_queue::Config + BridgeGrandpaConfig + BridgeTeyrchainsConfig + BridgeMessagesConfig< @@ -129,7 +129,7 @@ pub fn relayed_incoming_message_works( + From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { helpers::relayed_incoming_message_works::< RuntimeHelper::Runtime, @@ -264,7 +264,7 @@ pub fn free_relay_extrinsic_works( + From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { // ensure that the runtime allows free header submissions let free_headers_interval = ( + From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { helpers::relayed_incoming_message_works::< RuntimeHelper::Runtime, @@ -560,7 +560,7 @@ where + From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { run_test::(collator_session_key, 1000, vec![], || { // generate bridged relay chain finality, teyrchain heads and message proofs, @@ -630,7 +630,7 @@ where + From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { run_test::(collator_session_key, 1000, vec![], || { // generate bridged relay chain finality, teyrchain heads and message proofs, @@ -694,7 +694,7 @@ where From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { run_test::(collator_session_key, 1000, vec![], || { // generate bridged relay chain finality, teyrchain heads and message proofs, @@ -755,7 +755,7 @@ where From>, BridgedChainOf: Chain + Teyrchain, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, { run_test::(collator_session_key, 1000, vec![], || { // generate bridged relay chain finality, teyrchain heads and message proofs, diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/helpers.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/helpers.rs index 6ecc42f0..16db36ca 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/helpers.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/helpers.rs @@ -18,10 +18,10 @@ use crate::test_cases::{bridges_prelude::*, run_test, RuntimeHelper}; -use asset_test_utils::BasicTeyrchainRuntime; +use asset_test_pezutils::BasicTeyrchainRuntime; use bp_messages::MessageNonce; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaId}; -use bp_runtime::Chain; +use pezbp_runtime::Chain; use codec::Decode; use core::marker::PhantomData; use pezframe_support::{ @@ -228,10 +228,10 @@ where /// Initialize bridge GRANDPA pallet. pub(crate) fn initialize_bridge_grandpa_pallet( - init_data: bp_header_chain::InitializationData>, + init_data: bp_header_pez_chain::InitializationData>, ) where Runtime: BridgeGrandpaConfig - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_timestamp::Config, { pezpallet_bridge_grandpa::Pallet::::initialize( @@ -245,7 +245,7 @@ pub(crate) fn initialize_bridge_grandpa_pallet( pub type CallsAndVerifiers = Vec<(RuntimeCallOf, Box)>; -pub type InboundRelayerId = bp_runtime::AccountIdOf>; +pub type InboundRelayerId = pezbp_runtime::AccountIdOf>; /// Returns relayer id at the bridged chain. pub fn relayer_id_at_bridged_chain, MPI>( @@ -271,10 +271,10 @@ pub fn relayed_incoming_message_works( InteriorLocation, MessageNonce, Xcm<()>, - bp_runtime::ChainId, + pezbp_runtime::ChainId, ) -> CallsAndVerifiers, ) where - Runtime: BasicTeyrchainRuntime + pezcumulus_pallet_xcmp_queue::Config + BridgeMessagesConfig, + Runtime: BasicTeyrchainRuntime + pezcumulus_pezpallet_xcmp_queue::Config + BridgeMessagesConfig, AllPalletsWithoutSystem: OnInitialize> + OnFinalize>, MPI: 'static, @@ -307,7 +307,7 @@ pub fn relayed_incoming_message_works( 2, AccountId::from(alice).into(), ); - mock_open_hrmp_channel::>( + mock_open_hrmp_channel::>( runtime_para_id.into(), sibling_teyrchain_id.into(), included_head, @@ -351,7 +351,7 @@ pub fn relayed_incoming_message_works( // verify that imported XCM contains original message let imported_xcm = - RuntimeHelper::>::take_xcm( + RuntimeHelper::>::take_xcm( sibling_teyrchain_id.into(), ) .unwrap(); @@ -401,7 +401,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub { Runtime: BasicTeyrchainRuntime + BridgeXcmOverBridgeConfig, XcmOverBridgePalletInstance: 'static, ::RuntimeCall: GetDispatchInfo + From>, - ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as bp_runtime::Chain>::Balance>, + ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as pezbp_runtime::Chain>::Balance>, ::Balance: From, LocationToAccountId: ConvertLocation>, TokenLocation: Get @@ -473,7 +473,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub { ) where Runtime: pezframe_system::Config + pezpallet_xcm_bridge_hub::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_xcm::Config, XcmOverBridgePalletInstance: 'static, ::RuntimeCall: @@ -527,7 +527,7 @@ pub(crate) mod for_pallet_xcm_bridge_hub { Runtime: BasicTeyrchainRuntime + BridgeXcmOverBridgeConfig, XcmOverBridgePalletInstance: 'static, ::RuntimeCall: GetDispatchInfo + From>, - ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as bp_runtime::Chain>::Balance>, + ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as pezbp_runtime::Chain>::Balance>, ::Balance: From, LocationToAccountId: ConvertLocation>, TokenLocation: Get diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/mod.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/mod.rs index 2be2e888..7dc003e0 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/mod.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_cases/mod.rs @@ -26,12 +26,12 @@ pub(crate) mod helpers; use crate::{test_cases::bridges_prelude::*, test_data}; -use asset_test_utils::BasicTeyrchainRuntime; +use asset_test_pezutils::BasicTeyrchainRuntime; use bp_messages::{ target_chain::{DispatchMessage, DispatchMessageData, MessageDispatch}, LaneState, MessageKey, MessagesOperatingMode, OutboundLaneData, }; -use bp_runtime::BasicOperatingMode; +use pezbp_runtime::BasicOperatingMode; use codec::Encode; use pezframe_support::{ assert_ok, @@ -68,7 +68,7 @@ pub(crate) mod bridges_prelude { pub use for_pallet_xcm_bridge_hub::open_and_close_bridge_works; // Re-export test_case from assets -pub use asset_test_utils::include_teleports_for_native_asset_works; +pub use asset_test_pezutils::include_teleports_for_native_asset_works; use pezpallet_bridge_messages::LaneIdOf; pub type RuntimeHelper = @@ -432,16 +432,16 @@ pub fn message_dispatch_routing_works< slot_durations: SlotDurations, runtime_para_id: u32, sibling_teyrchain_id: u32, - unwrap_pezcumulus_pallet_teyrchain_system_event: Box< - dyn Fn(Vec) -> Option>, + unwrap_pezcumulus_pezpallet_teyrchain_system_event: Box< + dyn Fn(Vec) -> Option>, >, - unwrap_pezcumulus_pallet_xcmp_queue_event: Box< - dyn Fn(Vec) -> Option>, + unwrap_pezcumulus_pezpallet_xcmp_queue_event: Box< + dyn Fn(Vec) -> Option>, >, prepare_configuration: impl Fn(), ) where Runtime: BasicTeyrchainRuntime - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_xcmp_queue::Config + BridgeMessagesConfig, AllPalletsWithoutSystem: OnInitialize> + OnFinalize>, @@ -450,7 +450,7 @@ pub fn message_dispatch_routing_works< XcmConfig: xcm_executor::Config, MessagesPalletInstance: 'static, HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, RuntimeNetwork: Get, BridgedNetwork: Get, @@ -501,10 +501,10 @@ pub fn message_dispatch_routing_works< // check events - UpwardMessageSent let mut events = >::events() .into_iter() - .filter_map(|e| unwrap_pezcumulus_pallet_teyrchain_system_event(e.event.encode())); + .filter_map(|e| unwrap_pezcumulus_pezpallet_teyrchain_system_event(e.event.encode())); assert!(events.any(|e| matches!( e, - pezcumulus_pallet_teyrchain_system::Event::UpwardMessageSent { .. } + pezcumulus_pezpallet_teyrchain_system::Event::UpwardMessageSent { .. } ))); // 2. this message is sent from other global consensus with destination of this Runtime @@ -536,7 +536,7 @@ pub fn message_dispatch_routing_works< assert_eq!( >::events() .into_iter() - .filter_map(|e| unwrap_pezcumulus_pallet_xcmp_queue_event(e.event.encode())) + .filter_map(|e| unwrap_pezcumulus_pezpallet_xcmp_queue_event(e.event.encode())) .count(), 0 ); @@ -564,9 +564,9 @@ pub fn message_dispatch_routing_works< // check events - XcmpMessageSent let mut events = >::events() .into_iter() - .filter_map(|e| unwrap_pezcumulus_pallet_xcmp_queue_event(e.event.encode())); + .filter_map(|e| unwrap_pezcumulus_pezpallet_xcmp_queue_event(e.event.encode())); assert!( - events.any(|e| matches!(e, pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. })) + events.any(|e| matches!(e, pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { .. })) ); }) } @@ -681,9 +681,9 @@ pub(crate) mod for_pallet_xcm_bridge_hub { Runtime: BasicTeyrchainRuntime + BridgeXcmOverBridgeConfig, XcmOverBridgePalletInstance: 'static, ::RuntimeCall: GetDispatchInfo + From>, - ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as bp_runtime::Chain>::Balance>, + ::Balance: From<<>::BridgeMessagesPalletInstance>>::ThisChain as pezbp_runtime::Chain>::Balance>, ::Balance: From, - <>::BridgeMessagesPalletInstance>>::ThisChain as bp_runtime::Chain>::AccountId: From<::AccountId>, + <>::BridgeMessagesPalletInstance>>::ThisChain as pezbp_runtime::Chain>::AccountId: From<::AccountId>, LocationToAccountId: ConvertLocation>, TokenLocation: Get, { diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_grandpa_chain.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_grandpa_chain.rs index 1ab86a52..8af61cbe 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_grandpa_chain.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_grandpa_chain.rs @@ -23,7 +23,7 @@ use bp_messages::{ target_chain::FromBridgedChainMessagesProof, ChainWithMessages, LaneState, MessageNonce, UnrewardedRelayersState, }; -use bp_runtime::{AccountIdOf, BlockNumberOf, Chain, HeaderOf, UnverifiedStorageProofParams}; +use pezbp_runtime::{AccountIdOf, BlockNumberOf, Chain, HeaderOf, UnverifiedStorageProofParams}; use bp_test_utils::make_default_justification; use codec::Encode; use pezpallet_bridge_grandpa::{BridgedChain, BridgedHeader}; @@ -31,9 +31,9 @@ use pezsp_runtime::traits::Header as HeaderT; use xcm::latest::prelude::*; use crate::test_cases::helpers::InboundRelayerId; -use bp_header_chain::{justification::GrandpaJustification, ChainWithGrandpa}; +use bp_header_pez_chain::{justification::GrandpaJustification, ChainWithGrandpa}; use bp_messages::{DeliveredMessages, InboundLaneData, UnrewardedRelayer}; -use bp_runtime::HashOf; +use pezbp_runtime::HashOf; use pezpallet_bridge_messages::{ messages_generation::{ encode_all_messages, encode_lane_data, prepare_message_delivery_storage_proof, @@ -289,7 +289,7 @@ where /// Maximal expected `submit_finality_proof` call size. pub fn maximal_expected_submit_finality_proof_call_size() -> usize { - bp_header_chain::max_expected_submit_finality_proof_arguments_size::( + bp_header_pez_chain::max_expected_submit_finality_proof_arguments_size::( false, BridgedChain::MAX_AUTHORITIES_COUNT * 2 / 3 + 1, ) as usize diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_teyrchain.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_teyrchain.rs index c0db3704..b8a2adaa 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_teyrchain.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/from_teyrchain.rs @@ -26,7 +26,7 @@ use bp_messages::{ target_chain::FromBridgedChainMessagesProof, ChainWithMessages, LaneState, UnrewardedRelayersState, Weight, }; -use bp_runtime::{ +use pezbp_runtime::{ AccountIdOf, BlockNumberOf, Chain, HeaderOf, Teyrchain, UnverifiedStorageProofParams, }; use bp_test_utils::prepare_teyrchain_heads_proof; @@ -37,7 +37,7 @@ use pezsp_runtime::traits::Header as HeaderT; use xcm::latest::prelude::*; use crate::test_cases::helpers::InboundRelayerId; -use bp_header_chain::{justification::GrandpaJustification, ChainWithGrandpa}; +use bp_header_pez_chain::{justification::GrandpaJustification, ChainWithGrandpa}; use bp_messages::{DeliveredMessages, InboundLaneData, MessageNonce, UnrewardedRelayer}; use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId}; use pezpallet_bridge_messages::{ @@ -67,9 +67,9 @@ where PPI: 'static, MPI: 'static, ParaHash: From< - <>::BridgedChain as bp_runtime::Chain>::Hash, + <>::BridgedChain as pezbp_runtime::Chain>::Hash, >, - <>::BridgedChain as bp_runtime::Chain>::Hash: + <>::BridgedChain as pezbp_runtime::Chain>::Hash: From, BridgedChainOf: Chain + Teyrchain, ::RuntimeCall: From> @@ -120,7 +120,7 @@ where PPI: 'static, MPI: 'static, >::BridgedChain: - bp_runtime::Chain + ChainWithGrandpa, + pezbp_runtime::Chain + ChainWithGrandpa, BridgedChainOf: Chain + Teyrchain, ::RuntimeCall: From> + From> @@ -217,8 +217,8 @@ pub fn make_complex_relayer_delivery_proofs< ) where BridgedRelayChain: - bp_runtime::Chain + ChainWithGrandpa, - BridgedTeyrchain: bp_runtime::Chain + Teyrchain, + pezbp_runtime::Chain + ChainWithGrandpa, + BridgedTeyrchain: pezbp_runtime::Chain + Teyrchain, ThisChainWithMessages: ChainWithMessages, LaneId: Copy + Encode, { @@ -288,8 +288,8 @@ pub fn make_complex_relayer_confirmation_proofs< ) where BridgedRelayChain: - bp_runtime::Chain + ChainWithGrandpa, - BridgedTeyrchain: bp_runtime::Chain + Teyrchain, + pezbp_runtime::Chain + ChainWithGrandpa, + BridgedTeyrchain: pezbp_runtime::Chain + Teyrchain, ThisChainWithMessages: ChainWithMessages, LaneId: Copy + Encode, { @@ -353,8 +353,8 @@ pub fn make_complex_bridged_teyrchain_heads_proof + ChainWithGrandpa, - BridgedTeyrchain: bp_runtime::Chain + Teyrchain, + pezbp_runtime::Chain + ChainWithGrandpa, + BridgedTeyrchain: pezbp_runtime::Chain + Teyrchain, { let bridged_para_head = ParaHead( bp_test_utils::test_header_with_root::>( diff --git a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/mod.rs b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/mod.rs index a2dadf7f..193e6f29 100644 --- a/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/mod.rs +++ b/pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils/src/test_data/mod.rs @@ -29,7 +29,7 @@ use pezpallet_bridge_grandpa::BridgedHeader; use xcm::latest::prelude::*; use bp_messages::MessageNonce; -use bp_runtime::BasicOperatingMode; +use pezbp_runtime::BasicOperatingMode; use bp_test_utils::authority_list; use xcm::GetVersion; use xcm_builder::{BridgeMessage, HaulBlob, HaulBlobError, HaulBlobExporter}; @@ -53,8 +53,8 @@ pub fn initialization_data< GrandpaPalletInstance: 'static, >( block_number: u32, -) -> bp_header_chain::InitializationData> { - bp_header_chain::InitializationData { +) -> bp_header_pez_chain::InitializationData> { + bp_header_pez_chain::InitializationData { header: Box::new(bp_test_utils::test_header(block_number.into())), authority_list: authority_list(), set_id: 1, diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/Cargo.toml index 1d898e26..624db96d 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/Cargo.toml @@ -73,7 +73,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -168,7 +168,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] @@ -282,7 +282,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/lib.rs index 44223abd..0bb34359 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/lib.rs @@ -53,7 +53,7 @@ pub use ambassador::pezpallet_ambassador_origins; use alloc::{vec, vec::Vec}; use ambassador::AmbassadorCoreInstance; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use fellowship::{pezpallet_fellowship_origins, Fellows, FellowshipCoreInstance}; use impls::{AllianceProposalProvider, EqualOrGreatestRootCmp}; use pezsp_api::impl_runtime_apis; @@ -112,7 +112,7 @@ use pezkuwi_runtime_common::{ impls::VersionedLocatableAsset, BlockHashCount, SlowAdjustingFeeUpdate, }; use xcm::{prelude::*, Version as XcmVersion}; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -191,13 +191,13 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -410,8 +410,8 @@ parameter_types! { pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -425,7 +425,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -461,7 +461,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -477,7 +477,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -490,11 +490,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EitherOfDiverse, Fellows>; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -689,10 +689,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 4, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 4, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -703,12 +703,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -765,7 +765,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -789,15 +789,15 @@ type Migrations = ( // unreleased pezpallet_collator_selection::migration::v2::MigrationToV2, // unreleased - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, // unreleased pezpallet_core_fellowship::migration::MigrateV0ToV1, // unreleased pezpallet_core_fellowship::migration::MigrateV0ToV1, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, pezpallet_session::migrations::v1::MigrateV0ToV1< Runtime, pezpallet_session::migrations::v1::InitOffenceSeverity, @@ -827,8 +827,8 @@ mod benches { [pezpallet_timestamp, Timestamp] [pezpallet_transaction_payment, TransactionPayment] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_alliance, Alliance] [pezpallet_collective, AllianceMotion] [pezpallet_preimage, Preimage] @@ -846,7 +846,7 @@ mod benches { [pezpallet_ranked_collective, SecretaryCollective] [pezpallet_salary, SecretarySalary] [pezpallet_asset_rate, AssetRate] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] // XCM [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] // NOTE: Make sure you point to the individual modules below. @@ -1008,7 +1008,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::WndLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -1029,7 +1029,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -1039,37 +1039,37 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -1110,7 +1110,7 @@ impl_runtime_apis! { use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -1142,12 +1142,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm_config::WndLocation; use testnet_teyrchains_constants::zagros::locations::{AssetHubParaId, AssetHubLocation}; @@ -1354,9 +1354,9 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } parameter_types! { diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/mod.rs index 880405db..49a48914 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/mod.rs @@ -14,9 +14,9 @@ // limitations under the License. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index 14e2779c..6abe93b6 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/collectives-zagros-runtime/collectives_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs index 94548e1e..03eb6720 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/collectives-zagros-runtime/collectives_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs index 8a10dcb6..e8748b6a 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/collectives-zagros-runtime/collectives_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/xcm_config.rs index 416b84dc..5ac0432c 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/src/xcm_config.rs @@ -59,7 +59,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const WndLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub RelayTreasuryLocation: Location = (Parent, PalletInstance(zagros_runtime_constants::TREASURY_PALLET_ID)).into(); @@ -121,7 +121,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognised. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -329,7 +329,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/tests/tests.rs b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/tests/tests.rs index 1cae2d2f..fa67771c 100644 --- a/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/collectives/collectives-zagros/tests/tests.rs @@ -27,7 +27,7 @@ use testnet_teyrchains_constants::zagros::fee::WeightToFee; use teyrchains_common::AccountId; use teyrchains_runtimes_test_utils::GovernanceOrigin; use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/Cargo.toml index 81129ec6..52b1e721 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/Cargo.toml @@ -66,7 +66,7 @@ pezkuwichain-runtime-constants = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus pezcumulus-pezpallet-aura-ext = { workspace = true } @@ -153,7 +153,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -211,7 +211,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/coretime.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/coretime.rs index 91ccbb0a..ddeecff1 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/coretime.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/coretime.rs @@ -16,7 +16,7 @@ use crate::{xcm_config::LocationToAccountId, *}; use codec::{Decode, Encode}; -use pezcumulus_pallet_teyrchain_system::RelaychainDataProvider; +use pezcumulus_pezpallet_teyrchain_system::RelaychainDataProvider; use pezcumulus_primitives_core::relay_chain; use pezframe_support::{ parameter_types, diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/lib.rs index 93b1f48f..48e62c98 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/lib.rs @@ -38,7 +38,7 @@ extern crate alloc; use alloc::{vec, vec::Vec}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -85,7 +85,7 @@ use xcm_config::{ FellowshipLocation, GovernanceLocation, RocRelayLocation, XcmConfig, XcmOriginToTransactDispatchOrigin, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -103,7 +103,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -126,8 +126,8 @@ pub type UncheckedExtrinsic = /// Migrations to apply on runtime upgrade. pub type Migrations = ( pezpallet_collator_selection::migration::v2::MigrationToV2, - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, pezpallet_broker::migration::MigrateV0ToV1, pezpallet_broker::migration::MigrateV1ToV2, pezpallet_broker::migration::MigrateV2ToV3, @@ -138,7 +138,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); /// Executive: handles dispatch to the various modules. @@ -228,13 +228,13 @@ impl pezframe_system::Config for Runtime { type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -293,8 +293,8 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -308,7 +308,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -344,7 +344,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// Fellows pluralistic body. @@ -371,7 +371,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -383,11 +383,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = RootOrFellows; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -639,10 +639,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 3, TeyrchainInfo: teyrchain_info = 4, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 5, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 5, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -653,12 +653,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM & related - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -678,13 +678,13 @@ construct_runtime!( mod benches { pezframe_benchmarking::define_benchmarks!( [pezframe_system, SystemBench::] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] [pezpallet_timestamp, Timestamp] [pezpallet_balances, Balances] [pezpallet_broker, Broker] [pezpallet_collator_selection, CollatorSelection] [pezpallet_session, SessionBench::] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] [pezpallet_message_queue, MessageQueue] [pezpallet_multisig, Multisig] @@ -693,7 +693,7 @@ mod benches { // NOTE: Make sure you point to the individual modules below. [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -856,7 +856,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::RocRelayLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -877,7 +877,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -887,12 +887,12 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) @@ -933,7 +933,7 @@ impl_runtime_apis! { use pezframe_benchmarking::BenchmarkList; use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -964,12 +964,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm::latest::prelude::*; use xcm_config::RocRelayLocation; @@ -1174,11 +1174,11 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } @@ -1196,7 +1196,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/mod.rs index 64c6bf27..7f24b9cd 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/mod.rs @@ -18,9 +18,9 @@ //! Expose the auto generated weight files. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs index 37140acb..ab474f63 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-pezkuwichain-runtime/coretime_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs index f8ccd737..979a08b0 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-pezkuwichain-runtime/coretime_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs index db693a6c..7761ca9c 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-pezkuwichain-runtime/coretime_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/xcm_config.rs index 0c24062d..8263c3d9 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/src/xcm_config.rs @@ -57,7 +57,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const RocRelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub BrokerPalletLocation: Location = @@ -127,7 +127,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -288,7 +288,7 @@ impl pezpallet_xcm::Config for Runtime { type AuthorizedAliasConsideration = Disabled; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/tests/tests.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/tests/tests.rs index 42b060eb..9ca5ce12 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain/tests/tests.rs @@ -23,7 +23,7 @@ use pezsp_core::crypto::Ss58Codec; use testnet_teyrchains_constants::pezkuwichain::fee::WeightToFee; use teyrchains_common::AccountId; use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/Cargo.toml index f1e2efcd..6101dfb2 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/Cargo.toml @@ -65,7 +65,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -152,7 +152,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] @@ -210,7 +210,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/coretime.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/coretime.rs index f3a49710..39dad766 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/coretime.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/coretime.rs @@ -16,7 +16,7 @@ use crate::{xcm_config::LocationToAccountId, *}; use codec::{Decode, Encode}; -use pezcumulus_pallet_teyrchain_system::RelaychainDataProvider; +use pezcumulus_pezpallet_teyrchain_system::RelaychainDataProvider; use pezcumulus_primitives_core::relay_chain; use pezframe_support::{ parameter_types, diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/lib.rs index b073849e..3aff505e 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/lib.rs @@ -38,7 +38,7 @@ extern crate alloc; use alloc::{vec, vec::Vec}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -83,7 +83,7 @@ use xcm_config::{ FellowshipLocation, GovernanceLocation, TokenRelayLocation, XcmConfig, XcmOriginToTransactDispatchOrigin, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -101,7 +101,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -124,8 +124,8 @@ pub type UncheckedExtrinsic = /// Migrations to apply on runtime upgrade. pub type Migrations = ( pezpallet_collator_selection::migration::v2::MigrationToV2, - pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v4::MigrationToV4, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, pezpallet_broker::migration::MigrateV0ToV1, pezpallet_broker::migration::MigrateV1ToV2, pezpallet_broker::migration::MigrateV2ToV3, @@ -136,7 +136,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); /// Executive: handles dispatch to the various modules. @@ -226,13 +226,13 @@ impl pezframe_system::Config for Runtime { type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = ConstU32<16>; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -291,8 +291,8 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -306,7 +306,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -342,7 +342,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// Fellows pluralistic body. @@ -369,7 +369,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -381,11 +381,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = RootOrFellows; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -637,10 +637,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 3, TeyrchainInfo: teyrchain_info = 4, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 5, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 5, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -651,12 +651,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM & related - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -676,13 +676,13 @@ construct_runtime!( mod benches { pezframe_benchmarking::define_benchmarks!( [pezframe_system, SystemBench::] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] [pezpallet_timestamp, Timestamp] [pezpallet_balances, Balances] [pezpallet_broker, Broker] [pezpallet_collator_selection, CollatorSelection] [pezpallet_session, SessionBench::] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] [pezpallet_message_queue, MessageQueue] [pezpallet_multisig, Multisig] @@ -691,7 +691,7 @@ mod benches { // NOTE: Make sure you point to the individual modules below. [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -854,7 +854,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::TokenRelayLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -875,7 +875,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -885,37 +885,37 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -955,7 +955,7 @@ impl_runtime_apis! { use pezframe_benchmarking::BenchmarkList; use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -986,12 +986,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm::latest::prelude::*; use xcm_config::TokenRelayLocation; @@ -1211,7 +1211,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/mod.rs index 64c6bf27..7f24b9cd 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/mod.rs @@ -18,9 +18,9 @@ //! Expose the auto generated weight files. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index 5cea5b13..d98d24fc 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-zagros-runtime/coretime_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs index 8fc62d7f..34f36395 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-zagros-runtime/coretime_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs index 5f794435..0207544f 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/coretime-zagros-runtime/coretime_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/xcm_config.rs index 9a889a1f..c1ba089a 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/src/xcm_config.rs @@ -64,7 +64,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const TokenRelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub BrokerPalletLocation: Location = @@ -135,7 +135,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -335,7 +335,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/tests/tests.rs b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/tests/tests.rs index cd253896..441406c5 100644 --- a/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/coretime/coretime-zagros/tests/tests.rs @@ -27,7 +27,7 @@ use testnet_teyrchains_constants::zagros::fee::WeightToFee; use teyrchains_common::AccountId; use teyrchains_runtimes_test_utils::GovernanceOrigin; use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/lib.rs index 523b4360..22ddee3d 100644 --- a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/lib.rs @@ -51,7 +51,7 @@ pub mod xcm_config; extern crate alloc; use alloc::{vec, vec::Vec}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezsp_api::impl_runtime_apis; pub use pezsp_consensus_aura::sr25519::AuthorityId as AuraId; use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata}; @@ -160,7 +160,7 @@ impl pezframe_system::Config for Runtime { type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; } @@ -170,14 +170,14 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, 3, 9, >; -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -188,7 +188,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type ReservedXcmpWeight = (); type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RelayParentOffset = ConstU32<0>; } @@ -222,7 +222,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} impl pezpallet_timestamp::Config for Runtime { type Moment = u64; @@ -255,12 +255,12 @@ construct_runtime! { pub enum Runtime { System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, TeyrchainInfo: teyrchain_info = 2, Timestamp: pezpallet_timestamp = 3, // DMP handler. - CumulusXcm: pezcumulus_pallet_xcm = 10, + CumulusXcm: pezcumulus_pezpallet_xcm = 10, MessageQueue: pezpallet_message_queue = 11, // The main stage. @@ -268,7 +268,7 @@ construct_runtime! { // Collator support Aura: pezpallet_aura = 30, - AuraExt: pezcumulus_pallet_aura_ext = 31, + AuraExt: pezcumulus_pezpallet_aura_ext = 31, // Sudo. Sudo: pezpallet_sudo = 255, @@ -318,7 +318,7 @@ pub type Executive = pezframe_executive::Executive< #[cfg(feature = "runtime-benchmarks")] mod benches { pezframe_benchmarking::define_benchmarks!( - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] [pezframe_system, SystemBench::] [pezframe_system_extensions, SystemExtensionsBench::] [pezpallet_glutton, Glutton] @@ -476,7 +476,7 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } @@ -517,7 +517,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/mod.rs index c25063f1..bcfc7857 100644 --- a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/mod.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub mod pezcumulus_pallet_teyrchain_system; +pub mod pezcumulus_pezpallet_teyrchain_system; pub mod pezpallet_glutton; pub mod pezpallet_message_queue; pub mod pezpallet_timestamp; diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index 37681b7f..5292ceb4 100644 --- a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/glutton-zagros-runtime/glutton_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights // --wasm-execution=compiled @@ -48,9 +48,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/xcm_config.rs index b576afde..ee7a02a6 100644 --- a/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/glutton/glutton-zagros/src/xcm_config.rs @@ -100,7 +100,7 @@ impl xcm_executor::Config for XcmConfig { type XcmRecorder = (); } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = xcm_executor::XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/Cargo.toml b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/Cargo.toml index 95f057f4..e9fa67b4 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/Cargo.toml @@ -88,7 +88,7 @@ pezkuwichain-runtime-constants = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus pezcumulus-pezpallet-aura-ext = { workspace = true } @@ -194,7 +194,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -271,7 +271,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs index 823b0d40..2aa2ccdb 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs @@ -30,7 +30,7 @@ extern crate alloc; use alloc::{vec, vec::Vec}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -80,7 +80,7 @@ use xcm_config::{ FellowshipLocation, GovernanceLocation, PriceForSiblingTeyrchainDelivery, XcmConfig, XcmOriginToTransactDispatchOrigin, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -100,7 +100,7 @@ pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. /// Includes SkipCheckIfFeeless to exempt governance members from fees /// when using #[pallet::feeless_if] marked extrinsics. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -125,14 +125,14 @@ pub type UncheckedExtrinsic = /// Migrations to apply on runtime upgrade. pub type Migrations = ( pezpallet_collator_selection::migration::v2::MigrationToV2, - pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, + pezcumulus_pezpallet_xcmp_queue::migration::v5::MigrateV4ToV5, pezpallet_session::migrations::v1::MigrateV0ToV1< Runtime, pezpallet_session::migrations::v1::InitOffenceSeverity, >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); /// Executive: handles dispatch to the various modules. @@ -209,14 +209,14 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = ConstU32<16>; type MultiBlockMigrator = MultiBlockMigrations; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -279,7 +279,7 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -290,11 +290,11 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -331,7 +331,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { // Fellows pluralistic body. @@ -416,7 +416,7 @@ pub type RootOrDiwanOrTechnical = EitherOfDiverse< pezpallet_collective::EnsureProportionMoreThan, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -429,10 +429,10 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOrigin = RootOrFellows; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -667,10 +667,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 4, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 4, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -682,12 +682,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM & related - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -774,14 +774,14 @@ mod benches { [pezpallet_pez_rewards, PezRewards] [pezkuwi_runtime_common::identity_migrator, IdentityMigrator] // Pezcumulus - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_collator_selection, CollatorSelection] // XCM [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -938,7 +938,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::RelayLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -959,7 +959,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -969,12 +969,12 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) @@ -1015,7 +1015,7 @@ impl_runtime_apis! { use pezframe_benchmarking::BenchmarkList; use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -1047,12 +1047,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use testnet_teyrchains_constants::pezkuwichain::locations::{AssetHubParaId, AssetHubLocation}; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; @@ -1242,11 +1242,11 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } @@ -1264,7 +1264,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/mod.rs index dfe84a2d..11ec2809 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/mod.rs @@ -16,9 +16,9 @@ //! Expose the auto generated weight files. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs index bbba17bc..740489dd 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-pezkuwichain-runtime/people_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs index 98b636c9..ce57a443 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-pezkuwichain-runtime/people_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs index 5321d3a7..ee6ecd06 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-pezkuwichain-runtime/people_pezkuwichain_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/xcm_config.rs index d9e2dcf9..88145c59 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/xcm_config.rs @@ -54,7 +54,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const RelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub const MaxInstructions: u32 = 100; @@ -128,7 +128,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -286,7 +286,7 @@ impl pezpallet_xcm::Config for Runtime { type AuthorizedAliasConsideration = Disabled; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/tests/tests.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/tests/tests.rs index b2b8a849..14e6309c 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/tests/tests.rs @@ -23,7 +23,7 @@ use pezsp_core::crypto::Ss58Codec; use testnet_teyrchains_constants::pezkuwichain::fee::WeightToFee; use teyrchains_common::AccountId; use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/people/people-zagros/Cargo.toml index 43c15522..1b8b8642 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/Cargo.toml @@ -66,7 +66,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } zagros-runtime-constants = { workspace = true } # Pezcumulus @@ -153,7 +153,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] @@ -211,7 +211,7 @@ runtime-benchmarks = [ "teyrchains-runtimes-test-utils/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/lib.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/lib.rs index 46f3cdf0..cc9b3269 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/lib.rs @@ -27,7 +27,7 @@ extern crate alloc; use alloc::{vec, vec::Vec}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -79,7 +79,7 @@ use xcm_config::{ FellowshipLocation, GovernanceLocation, PriceForSiblingTeyrchainDelivery, XcmConfig, XcmOriginToTransactDispatchOrigin, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -97,7 +97,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The transactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -125,7 +125,7 @@ pub type Migrations = ( >, // permanent pezpallet_xcm::migration::MigrateToLatestXcmVersion, - pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1, + pezcumulus_pezpallet_aura_ext::migration::MigrateV0ToV1, ); /// Executive: handles dispatch to the various modules. @@ -202,14 +202,14 @@ impl pezframe_system::Config for Runtime { type SystemWeightInfo = weights::pezframe_system::WeightInfo; type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = ConstU32<16>; type MultiBlockMigrator = MultiBlockMigrations; type SingleBlockMigrations = Migrations; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { - type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo; +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { + type WeightInfo = weights::pezcumulus_pezpallet_weight_reclaim::WeightInfo; } impl pezpallet_timestamp::Config for Runtime { @@ -268,7 +268,7 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -279,11 +279,11 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_teyrchain_system::WeightInfo; type RelayParentOffset = ConstU32<0>; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -320,7 +320,7 @@ impl pezpallet_message_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { // Fellows pluralistic body. @@ -333,7 +333,7 @@ pub type RootOrFellows = EitherOfDiverse< EnsureXcm>, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -345,11 +345,11 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = RootOrFellows; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo; + type WeightInfo = weights::pezcumulus_pezpallet_xcmp_queue::WeightInfo; type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery; } -impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::migration::v5::V5Config for Runtime { // This must be the same as the `ChannelInfo` from the `Config`: type ChannelList = TeyrchainSystem; } @@ -580,10 +580,10 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, - WeightReclaim: pezcumulus_pallet_weight_reclaim = 4, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim = 4, // Monetary stuff. Balances: pezpallet_balances = 10, @@ -594,12 +594,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -635,14 +635,14 @@ mod benches { // Pezkuwi [pezkuwi_runtime_common::identity_migrator, IdentityMigrator] // Pezcumulus - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_collator_selection, CollatorSelection] // XCM [pezpallet_xcm, PalletXcmExtrinsicsBenchmark::] [pezpallet_xcm_benchmarks::fungible, XcmBalances] [pezpallet_xcm_benchmarks::generic, XcmGeneric] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); } @@ -799,7 +799,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::RelayLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -820,7 +820,7 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -830,37 +830,37 @@ impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -900,7 +900,7 @@ impl_runtime_apis! { use pezframe_benchmarking::BenchmarkList; use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark; // This is defined once again in dispatch_benchmark, because list_benchmarks! @@ -931,12 +931,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use xcm_config::RelayLocation; use testnet_teyrchains_constants::zagros::locations::{AssetHubParaId, AssetHubLocation}; @@ -1172,7 +1172,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/mod.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/mod.rs index 7e2adbb2..8bb5031a 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/mod.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/mod.rs @@ -16,9 +16,9 @@ //! Expose the auto generated weight files. pub mod block_weights; -pub mod pezcumulus_pallet_teyrchain_system; -pub mod pezcumulus_pallet_weight_reclaim; -pub mod pezcumulus_pallet_xcmp_queue; +pub mod pezcumulus_pezpallet_teyrchain_system; +pub mod pezcumulus_pezpallet_weight_reclaim; +pub mod pezcumulus_pezpallet_xcmp_queue; pub mod extrinsic_weights; pub mod pezframe_system; pub mod pezframe_system_extensions; diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs index 1e09aa88..0cab8a66 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_teyrchain_system.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system` +//! Autogenerated weights for `pezcumulus_pezpallet_teyrchain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-zagros-runtime/people_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_teyrchain_system +// --pallet=pezcumulus_pezpallet_teyrchain_system // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_teyrchain_system`. +/// Weight functions for `pezcumulus_pezpallet_teyrchain_system`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_teyrchain_system::WeightInfo for WeightInfo { /// Storage: `TeyrchainSystem::LastDmqMqcHead` (r:1 w:1) /// Proof: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs index 1aa9b305..0768790b 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_weight_reclaim.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim` +//! Autogenerated weights for `pezcumulus_pezpallet_weight_reclaim` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-zagros-runtime/people_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_weight_reclaim +// --pallet=pezcumulus_pezpallet_weight_reclaim // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_weight_reclaim`. +/// Weight functions for `pezcumulus_pezpallet_weight_reclaim`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_weight_reclaim::WeightInfo for WeightInfo { fn storage_weight_reclaim() -> Weight { // Proof Size summary in bytes: // Measured: `0` diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs index 7c58b033..d32eb693 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue` +//! Autogenerated weights for `pezcumulus_pezpallet_xcmp_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -28,7 +28,7 @@ // pallet // --extrinsic=* // --runtime=target/production/wbuild/people-zagros-runtime/people_zagros_runtime.wasm -// --pallet=pezcumulus_pallet_xcmp_queue +// --pallet=pezcumulus_pezpallet_xcmp_queue // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt // --output=./pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights // --wasm-execution=compiled @@ -47,9 +47,9 @@ use pezframe_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pezcumulus_pallet_xcmp_queue`. +/// Weight functions for `pezcumulus_pezpallet_xcmp_queue`. pub struct WeightInfo(PhantomData); -impl pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { +impl pezcumulus_pezpallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/frame_system.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/frame_system.rs rename to pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezframe_system.rs diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/frame_system_extensions.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/frame_system_extensions.rs rename to pezcumulus/teyrchains/runtimes/people/people-zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/xcm_config.rs index 5bad136e..791edc59 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/src/xcm_config.rs @@ -62,7 +62,7 @@ parameter_types! { pub const RootLocation: Location = Location::here(); pub const RelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH)); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub const MaxInstructions: u32 = 100; @@ -137,7 +137,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -338,7 +338,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/people/people-zagros/tests/tests.rs b/pezcumulus/teyrchains/runtimes/people/people-zagros/tests/tests.rs index f0907efc..4bf55bd2 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-zagros/tests/tests.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-zagros/tests/tests.rs @@ -27,7 +27,7 @@ use testnet_teyrchains_constants::zagros::fee::WeightToFee; use teyrchains_common::AccountId; use teyrchains_runtimes_test_utils::GovernanceOrigin; use xcm::latest::prelude::*; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const ALICE: [u8; 32] = [1u8; 32]; diff --git a/pezcumulus/teyrchains/runtimes/test-utils/Cargo.toml b/pezcumulus/teyrchains/runtimes/test-utils/Cargo.toml index 50e84829..cb4a17a1 100644 --- a/pezcumulus/teyrchains/runtimes/test-utils/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/test-utils/Cargo.toml @@ -42,7 +42,7 @@ pezpallet-xcm = { workspace = true } pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } [features] default = ["std"] @@ -68,7 +68,7 @@ std = [ "teyrchain-info/std", "teyrchains-common/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -91,6 +91,6 @@ runtime-benchmarks = [ "teyrchain-info/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/runtimes/test-utils/src/lib.rs b/pezcumulus/teyrchains/runtimes/test-utils/src/lib.rs index 4d093332..e5feabda 100644 --- a/pezcumulus/teyrchains/runtimes/test-utils/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/test-utils/src/lib.rs @@ -16,7 +16,7 @@ use core::marker::PhantomData; use codec::{Decode, DecodeLimit}; -use pezcumulus_pallet_teyrchain_system::teyrchain_inherent::{ +use pezcumulus_pezpallet_teyrchain_system::teyrchain_inherent::{ deconstruct_teyrchain_inherent_data, InboundMessagesData, }; use pezcumulus_primitives_core::{ @@ -135,7 +135,7 @@ pub trait BasicTeyrchainRuntime: + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_timestamp::Config { } @@ -148,7 +148,7 @@ where + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_timestamp::Config, ValidatorIdOf: From>, { @@ -269,7 +269,7 @@ pub struct RuntimeHelper( /// Utility function that advances the chain to the desired block number. /// If an author is provided, that author information is injected to all the blocks in the meantime. impl< - Runtime: pezframe_system::Config + pezcumulus_pallet_teyrchain_system::Config + pezpallet_timestamp::Config, + Runtime: pezframe_system::Config + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_timestamp::Config, AllPalletsWithoutSystem, > RuntimeHelper where @@ -356,7 +356,7 @@ where let (inherent_data, downward_messages, horizontal_messages) = deconstruct_teyrchain_inherent_data(inherent_data); - let _ = pezcumulus_pallet_teyrchain_system::Pallet::::set_validation_data( + let _ = pezcumulus_pezpallet_teyrchain_system::Pallet::::set_validation_data( Runtime::RuntimeOrigin::none(), inherent_data, InboundMessagesData::new( @@ -410,7 +410,7 @@ impl } impl< - Runtime: pezpallet_xcm::Config + pezcumulus_pallet_teyrchain_system::Config, + Runtime: pezpallet_xcm::Config + pezcumulus_pezpallet_teyrchain_system::Config, AllPalletsWithoutSystem, > RuntimeHelper { @@ -426,7 +426,7 @@ impl< ) -> DispatchResult where HrmpChannelOpener: pezframe_support::inherent::ProvideInherent< - Call = pezcumulus_pallet_teyrchain_system::Call, + Call = pezcumulus_pezpallet_teyrchain_system::Call, >, { // open hrmp (if needed) @@ -453,7 +453,7 @@ impl< } impl< - Runtime: pezcumulus_pallet_teyrchain_system::Config + pezpallet_xcm::Config, + Runtime: pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_xcm::Config, AllPalletsWithoutSystem, > RuntimeHelper { @@ -577,7 +577,7 @@ pub enum XcmReceivedFrom { Sibling, } -impl +impl RuntimeHelper { pub fn xcm_max_weight(from: XcmReceivedFrom) -> Weight { @@ -621,20 +621,20 @@ impl RuntimeHelper { pub fn xcmp_queue_message_sent( unwrap_xcmp_queue_event: Box< - dyn Fn(Vec) -> Option>, + dyn Fn(Vec) -> Option>, >, ) -> Option { >::events() .into_iter() .filter_map(|e| unwrap_xcmp_queue_event(e.event.encode())) .find_map(|e| match e { - pezcumulus_pallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => + pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => Some(message_hash), _ => None, }) @@ -676,8 +676,8 @@ pub fn assert_total( /// AuRa consensus hook expects pallets to be initialized, before calling this function make sure to /// `run_to_block` at least once. pub fn mock_open_hrmp_channel< - C: pezcumulus_pallet_teyrchain_system::Config, - T: ProvideInherent>, + C: pezcumulus_pezpallet_teyrchain_system::Config, + T: ProvideInherent>, >( sender: ParaId, recipient: ParaId, diff --git a/pezcumulus/teyrchains/runtimes/test-utils/src/test_cases.rs b/pezcumulus/teyrchains/runtimes/test-utils/src/test_cases.rs index a5c12995..31eea628 100644 --- a/pezcumulus/teyrchains/runtimes/test-utils/src/test_cases.rs +++ b/pezcumulus/teyrchains/runtimes/test-utils/src/test_cases.rs @@ -32,7 +32,7 @@ use pezsp_runtime::{ }; use teyrchains_common::AccountId; use xcm::prelude::InstructionError; -use xcm_runtime_apis::fees::{ +use xcm_runtime_pezapis::fees::{ runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, Error as XcmPaymentApiError, }; @@ -53,7 +53,7 @@ pub fn change_storage_constant_by_governance_works: From>, StorageConstant: Get, @@ -118,7 +118,7 @@ pub fn set_storage_keys_by_governance_works( + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config + + pezcumulus_pezpallet_teyrchain_system::Config + pezpallet_timestamp::Config, ValidatorIdOf: From>, { @@ -164,8 +164,8 @@ where + pezpallet_xcm::Config + teyrchain_info::Config + pezpallet_collator_selection::Config - + pezcumulus_pallet_teyrchain_system::Config - + pezcumulus_pallet_xcmp_queue::Config + + pezcumulus_pezpallet_teyrchain_system::Config + + pezcumulus_pezpallet_xcmp_queue::Config + pezpallet_timestamp::Config, ValidatorIdOf: From>, RuntimeOrigin: OriginTrait::AccountId>, diff --git a/pezcumulus/teyrchains/runtimes/testing/penpal/Cargo.toml b/pezcumulus/teyrchains/runtimes/testing/penpal/Cargo.toml index 6b95cf13..56db1448 100644 --- a/pezcumulus/teyrchains/runtimes/testing/penpal/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/testing/penpal/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "penpal-runtime" +name = "pez-penpal-runtime" version = "0.14.0" authors = ["Anonymous"] description = "A teyrchain for communication back and forth with XCM of assets and uniques." @@ -7,7 +7,7 @@ license = "Unlicense" homepage.workspace = true repository.workspace = true edition.workspace = true -documentation = "https://docs.rs/penpal-runtime" +documentation = "https://docs.rs/pez-penpal-runtime" publish = false [lints] @@ -68,7 +68,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # Pezcumulus assets-common = { workspace = true } @@ -158,7 +158,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] @@ -217,7 +217,7 @@ runtime-benchmarks = [ "teyrchains-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/teyrchains/runtimes/testing/penpal/src/lib.rs b/pezcumulus/teyrchains/runtimes/testing/penpal/src/lib.rs index d9cc8b97..747df4e9 100644 --- a/pezcumulus/teyrchains/runtimes/testing/penpal/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/testing/penpal/src/lib.rs @@ -54,7 +54,7 @@ use assets_common::{ local_and_foreign_assets::{LocalFromLeft, TargetFromLeft}, AssetIdForTrustBackedAssetsConvert, }; -use pezcumulus_pallet_teyrchain_system::RelayNumberStrictlyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberStrictlyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ construct_runtime, derive_impl, @@ -103,7 +103,7 @@ use xcm::{ Version as XcmVersion, VersionedAsset, VersionedAssetId, VersionedAssets, VersionedLocation, VersionedXcm, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -394,7 +394,7 @@ impl pezframe_system::Config for Runtime { /// This is used as an identifier of the chain. 42 is the generic bizinikiwi prefix. type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = Migrations; } @@ -638,14 +638,14 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -656,7 +656,7 @@ impl pezcumulus_pallet_teyrchain_system::Config for Runtime { type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases; - type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< + type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -690,7 +690,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = MessageQueueServiceWeight; } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -706,7 +706,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender:: XcmpQueue, >; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = PezkuwiXcm; @@ -863,7 +863,7 @@ construct_runtime!( { // System support stuff. System: pezframe_system = 0, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 1, Timestamp: pezpallet_timestamp = 2, TeyrchainInfo: teyrchain_info = 3, @@ -877,12 +877,12 @@ construct_runtime!( CollatorSelection: pezpallet_collator_selection = 21, Session: pezpallet_session = 22, Aura: pezpallet_aura = 23, - AuraExt: pezcumulus_pallet_aura_ext = 24, + AuraExt: pezcumulus_pezpallet_aura_ext = 24, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 30, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 30, PezkuwiXcm: pezpallet_xcm = 31, - CumulusXcm: pezcumulus_pallet_xcm = 32, + CumulusXcm: pezcumulus_pezpallet_xcm = 32, MessageQueue: pezpallet_message_queue = 34, // Handy utilities. @@ -911,8 +911,8 @@ mod benches { [pezpallet_sudo, Sudo] [pezpallet_timestamp, Timestamp] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] [pezpallet_utility, Utility] ); } @@ -1066,7 +1066,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetLocationId(xcm_config::RelayLocation::get())]; PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -1087,7 +1087,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { PezkuwiXcm::dry_run_call::(origin, call, result_xcms_version) } @@ -1097,37 +1097,37 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationToAccountId, >::convert_location(location) } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_apis::trusted_query::XcmTrustedQueryResult { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> xcm_runtime_pezapis::trusted_query::XcmTrustedQueryResult { PezkuwiXcm::is_trusted_teleporter(asset, location) } } - impl xcm_runtime_apis::authorized_aliases::AuthorizedAliasersApi for Runtime { + impl xcm_runtime_pezapis::authorized_aliases::AuthorizedAliasersApi for Runtime { fn authorized_aliasers(target: VersionedLocation) -> Result< - Vec, - xcm_runtime_apis::authorized_aliases::Error + Vec, + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::authorized_aliasers(target) } fn is_authorized_alias(origin: VersionedLocation, target: VersionedLocation) -> Result< bool, - xcm_runtime_apis::authorized_aliases::Error + xcm_runtime_pezapis::authorized_aliases::Error > { PezkuwiXcm::is_authorized_alias(origin, target) } @@ -1162,7 +1162,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( use pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -1182,8 +1182,8 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench; impl pezframe_system_benchmarking::Config for Runtime {} - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use pezframe_support::traits::WhitelistedStorageKeys; let whitelist: Vec = AllPalletsWithSystem::whitelisted_storage_keys(); @@ -1227,7 +1227,7 @@ pezpallet_revive::impl_runtime_apis_plus_revive_traits!( } ); -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/testing/penpal/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/testing/penpal/src/xcm_config.rs index 08246c40..ac1fdaae 100644 --- a/pezcumulus/teyrchains/runtimes/testing/penpal/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/testing/penpal/src/xcm_config.rs @@ -87,7 +87,7 @@ parameter_types! { // By default, it is set to `Zagros Network` and can be changed using `System::set_storage`. pub storage RelayNetworkId: NetworkId = NetworkId::ByGenesis(ZAGROS_GENESIS_HASH); pub RelayNetwork: Option = Some(RelayNetworkId::get()); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [ GlobalConsensus(RelayNetworkId::get()), Teyrchain(TeyrchainInfo::teyrchain_id().into()) @@ -211,7 +211,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -509,7 +509,7 @@ impl pezpallet_xcm::Config for Runtime { >; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain/src/lib.rs b/pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain/src/lib.rs index 0714bd57..c6083e12 100644 --- a/pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/testing/pezkuwichain-teyrchain/src/lib.rs @@ -27,7 +27,7 @@ mod genesis_config_presets; extern crate alloc; use alloc::vec::Vec; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezkuwi_runtime_common::xcm_sender::NoPriceForMessageDelivery; use pezsp_api::impl_runtime_apis; use pezsp_core::OpaqueMetadata; @@ -224,12 +224,12 @@ impl pezframe_system::Config for Runtime { type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = RemoveCollectiveFlip; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { type WeightInfo = (); } @@ -289,14 +289,14 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY, >; -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -335,12 +335,12 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = (); } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { pub const RocLocation: Location = Location::parent(); pub const PezkuwichainNetwork: NetworkId = NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH); - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); pub UniversalLocation: InteriorLocation = [GlobalConsensus(PezkuwichainNetwork::get()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into(); pub CheckingAccount: AccountId = PezkuwiXcm::check_account(); } @@ -412,7 +412,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognised. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a // transaction from the Root origin. ParentAsSuperuser, @@ -547,12 +547,12 @@ impl pezpallet_xcm::Config for Runtime { type AuthorizedAliasConsideration = Disabled; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = (); @@ -565,7 +565,7 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { type MaxPageSize = ConstU32<{ 103 * 1024 }>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = pezcumulus_pallet_xcmp_queue::weights::BizinikiwiWeight; + type WeightInfo = pezcumulus_pezpallet_xcmp_queue::weights::BizinikiwiWeight; type PriceForSiblingDelivery = NoPriceForMessageDelivery; } @@ -630,21 +630,21 @@ construct_runtime! { Timestamp: pezpallet_timestamp, Sudo: pezpallet_sudo, TransactionPayment: pezpallet_transaction_payment, - WeightReclaim: pezcumulus_pallet_weight_reclaim, + WeightReclaim: pezcumulus_pezpallet_weight_reclaim, - TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 20, + TeyrchainSystem: pezcumulus_pezpallet_teyrchain_system = 20, TeyrchainInfo: teyrchain_info = 21, Balances: pezpallet_balances = 30, Assets: pezpallet_assets = 31, Aura: pezpallet_aura, - AuraExt: pezcumulus_pallet_aura_ext, + AuraExt: pezcumulus_pezpallet_aura_ext, // XCM helpers. - XcmpQueue: pezcumulus_pallet_xcmp_queue = 50, + XcmpQueue: pezcumulus_pezpallet_xcmp_queue = 50, PezkuwiXcm: pezpallet_xcm = 51, - CumulusXcm: pezcumulus_pallet_xcm = 52, + CumulusXcm: pezcumulus_pezpallet_xcm = 52, // RIP DmpQueue 53 MessageQueue: pezpallet_message_queue = 54, @@ -671,7 +671,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -888,7 +888,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs index 9556f9f8..a2615d92 100644 --- a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/lib.rs @@ -38,7 +38,7 @@ use pezkuwi_runtime_common::{prod_or_fast, xcm_sender::NoPriceForMessageDelivery use teyrchains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use alloc::{borrow::Cow, vec, vec::Vec}; -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezframe_support::weights::{constants, FixedFee, RuntimeDbWeight}; use pezsp_api::impl_runtime_apis; use pezsp_core::OpaqueMetadata; @@ -218,12 +218,12 @@ impl pezframe_system::Config for Runtime { type BlockWeights = RuntimeBlockWeights; type BlockLength = RuntimeBlockLength; type SS58Prefix = SS58Prefix; - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = RemoveCollectiveFlip; } -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { type WeightInfo = (); } @@ -331,7 +331,7 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -353,8 +353,8 @@ impl HandleMessage for DmpSink { } } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { - type WeightInfo = pezcumulus_pallet_teyrchain_system::weights::BizinikiwiWeight; +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { + type WeightInfo = pezcumulus_pezpallet_teyrchain_system::weights::BizinikiwiWeight; type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); type SelfParaId = teyrchain_info::Pallet; @@ -415,7 +415,7 @@ impl WeightToFeePolynomial for WeightToFee { } } -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = (); @@ -432,7 +432,7 @@ impl pezcumulus_pallet_xcmp_queue::Config for Runtime { impl teyrchain_info::Config for Runtime {} -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} impl pezpallet_aura::Config for Runtime { type AuthorityId = AuraId; @@ -499,10 +499,10 @@ mod runtime { #[runtime::pezpallet_index(3)] pub type TransactionPayment = pezpallet_transaction_payment; #[runtime::pezpallet_index(4)] - pub type WeightReclaim = pezcumulus_pallet_weight_reclaim; + pub type WeightReclaim = pezcumulus_pezpallet_weight_reclaim; #[runtime::pezpallet_index(20)] - pub type TeyrchainSystem = pezcumulus_pallet_teyrchain_system; + pub type TeyrchainSystem = pezcumulus_pezpallet_teyrchain_system; #[runtime::pezpallet_index(21)] pub type TeyrchainInfo = teyrchain_info; @@ -519,7 +519,7 @@ mod runtime { #[runtime::pezpallet_index(31)] pub type Aura = pezpallet_aura; #[runtime::pezpallet_index(32)] - pub type AuraExt = pezcumulus_pallet_aura_ext; + pub type AuraExt = pezcumulus_pezpallet_aura_ext; #[runtime::pezpallet_index(40)] pub type Utility = pezpallet_utility; @@ -527,11 +527,11 @@ mod runtime { pub type VerifySignature = pezpallet_verify_signature; #[runtime::pezpallet_index(51)] - pub type XcmpQueue = pezcumulus_pallet_xcmp_queue; + pub type XcmpQueue = pezcumulus_pezpallet_xcmp_queue; #[runtime::pezpallet_index(52)] pub type PezkuwiXcm = pezpallet_xcm; #[runtime::pezpallet_index(53)] - pub type CumulusXcm = pezcumulus_pallet_xcm; + pub type CumulusXcm = pezcumulus_pezpallet_xcm; #[runtime::pezpallet_index(54)] pub type MessageQueue = pezpallet_message_queue; } @@ -555,7 +555,7 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( // Uncomment this to enable running signed transactions using v5 extrinsics. @@ -772,7 +772,7 @@ impl_runtime_apis! { } } -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/xcm_config.rs b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/xcm_config.rs index 0b72244b..54eb6d9f 100644 --- a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/xcm_config.rs +++ b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/src/xcm_config.rs @@ -46,7 +46,7 @@ use xcm_executor::XcmExecutor; parameter_types! { pub const RelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = None; - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); // For the real deployment, it is recommended to set `RelayNetwork` according to the relay chain // and prepend `UniversalLocation` with `GlobalConsensus(RelayNetwork::get())`. pub UniversalLocation: InteriorLocation = Teyrchain(TeyrchainInfo::teyrchain_id().into()).into(); @@ -91,7 +91,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Native signed account converter; this just converts an `AccountId32` origin into a normal // `RuntimeOrigin::Signed` origin of the same 32-byte value. SignedAccountId32AsNative, @@ -210,7 +210,7 @@ impl pezpallet_xcm::Config for Runtime { type AuthorizedAliasConsideration = (); } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/pezcumulus/xcm/xcm-emulator/Cargo.toml b/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml similarity index 94% rename from pezcumulus/xcm/xcm-emulator/Cargo.toml rename to pezcumulus/xcm/xcm-pez-emulator/Cargo.toml index 675ee36d..1b488e4c 100644 --- a/pezcumulus/xcm/xcm-emulator/Cargo.toml +++ b/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "xcm-emulator" +name = "xcm-pez-emulator" description = "Test kit to emulate XCM program execution." version = "0.5.0" authors.workspace = true @@ -7,7 +7,7 @@ edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/xcm-emulator" +documentation = "https://docs.rs/xcm-pez-emulator" [lints] workspace = true @@ -47,7 +47,7 @@ pezkuwi-runtime-teyrchains = { workspace = true, default-features = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] runtime-benchmarks = [ @@ -69,6 +69,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezcumulus/xcm/xcm-emulator/README.md b/pezcumulus/xcm/xcm-pez-emulator/README.md similarity index 91% rename from pezcumulus/xcm/xcm-emulator/README.md rename to pezcumulus/xcm/xcm-pez-emulator/README.md index 89b82c47..37f10b1e 100644 --- a/pezcumulus/xcm/xcm-emulator/README.md +++ b/pezcumulus/xcm/xcm-pez-emulator/README.md @@ -1,4 +1,4 @@ -# xcm-emulator +# xcm-pez-emulator XCM-Emulator is a tool to emulate XCM program execution using pre-configured runtimes, including those used to run on live @@ -19,5 +19,5 @@ in particular things like disputes, staking and iamonline events can't be tested ## Alternatives If you just wish to test execution of various XCM instructions -against the XCM VM then the `xcm-simulator` (in the PezkuwiChain +against the XCM VM then the `xcm-pez-simulator` (in the PezkuwiChain repo) is the perfect tool for this. diff --git a/pezcumulus/xcm/xcm-emulator/src/lib.rs b/pezcumulus/xcm/xcm-pez-emulator/src/lib.rs similarity index 99% rename from pezcumulus/xcm/xcm-emulator/src/lib.rs rename to pezcumulus/xcm/xcm-pez-emulator/src/lib.rs index 841c77d4..f886862b 100644 --- a/pezcumulus/xcm/xcm-emulator/src/lib.rs +++ b/pezcumulus/xcm/xcm-pez-emulator/src/lib.rs @@ -66,7 +66,7 @@ pub use pezsp_runtime::BoundedSlice; pub use pezsp_tracing; // Pezcumulus -pub use pezcumulus_pallet_teyrchain_system::{ +pub use pezcumulus_pezpallet_teyrchain_system::{ teyrchain_inherent::{deconstruct_teyrchain_inherent_data, InboundMessagesData}, Call as TeyrchainSystemCall, Pallet as TeyrchainSystemPallet, }; @@ -90,7 +90,7 @@ pub use xcm::latest::prelude::{ Teyrchain as TeyrchainJunction, WeightLimit, XcmHash, }; pub use xcm_executor::traits::ConvertLocation; -use xcm_simulator::helpers::TopicIdTracker; +use xcm_pez_simulator::helpers::TopicIdTracker; pub type AccountIdOf = ::AccountId; @@ -731,7 +731,7 @@ macro_rules! decl_test_teyrchains { timestamp_set.dispatch(::RuntimeOrigin::none()) ); - // 2. inherent: pezcumulus_pallet_teyrchain_system::Call::set_validation_data + // 2. inherent: pezcumulus_pezpallet_teyrchain_system::Call::set_validation_data let data = N::hrmp_channel_teyrchain_inherent_data(para_id, relay_block_number, parent_head_data); let (data, mut downward_messages, mut horizontal_messages) = $crate::deconstruct_teyrchain_inherent_data(data); @@ -1548,7 +1548,7 @@ pub struct TestAccount { pub balance: Balance, } -/// Default `Args` provided by xcm-emulator to be stored in a `Test` instance +/// Default `Args` provided by xcm-pez-emulator to be stored in a `Test` instance #[derive(Clone)] pub struct TestArgs { pub dest: Location, diff --git a/pezcumulus/zombienet/zombienet-sdk/tests/zombie_ci/statement_store_bench.rs b/pezcumulus/zombienet/zombienet-sdk/tests/zombie_ci/statement_store_bench.rs index 4ab0b60a..22c0c501 100644 --- a/pezcumulus/zombienet/zombienet-sdk/tests/zombie_ci/statement_store_bench.rs +++ b/pezcumulus/zombienet/zombienet-sdk/tests/zombie_ci/statement_store_bench.rs @@ -38,7 +38,7 @@ const TIMEOUT_MS: u64 = 3000; /// - Execution time (min/avg/max) across all participants /// - Retry attempts (min/avg/max) needed for statement propagation #[tokio::test(flavor = "multi_thread")] -async fn statement_store_one_node_bench() -> Result<(), anyhow::Error> { +async fn statement_store_one_pez_node_bench() -> Result<(), anyhow::Error> { let _ = env_logger::try_init_from_env( env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"), ); diff --git a/pezkuwi/cli/Cargo.toml b/pezkuwi/cli/Cargo.toml index 8b960663..0967c863 100644 --- a/pezkuwi/cli/Cargo.toml +++ b/pezkuwi/cli/Cargo.toml @@ -32,7 +32,7 @@ pezkuwi-service = { optional = true, workspace = true } pezframe-benchmarking-cli = { optional = true, workspace = true, default-features = true } pezkuwi-node-metrics = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezsc-cli = { optional = true, workspace = true, default-features = true } pezsc-network-types = { workspace = true, default-features = true } pezsc-service = { optional = true, workspace = true, default-features = true } @@ -62,7 +62,7 @@ cli = [ runtime-benchmarks = [ "pezframe-benchmarking-cli?/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-service?/runtime-benchmarks", "pezsc-cli?/runtime-benchmarks", "pezsc-service?/runtime-benchmarks", diff --git a/pezkuwi/cli/src/cli.rs b/pezkuwi/cli/src/cli.rs index 9145ac79..8a340e16 100644 --- a/pezkuwi/cli/src/cli.rs +++ b/pezkuwi/cli/src/cli.rs @@ -16,7 +16,7 @@ //! Pezkuwi CLI library. -pub use pezkuwi_node_primitives::NODE_VERSION; +pub use pezkuwi_pez_node_primitives::NODE_VERSION; use clap::Parser; use std::path::PathBuf; diff --git a/pezkuwi/erasure-coding/Cargo.toml b/pezkuwi/erasure-coding/Cargo.toml index 2da0603e..6f0a2b2b 100644 --- a/pezkuwi/erasure-coding/Cargo.toml +++ b/pezkuwi/erasure-coding/Cargo.toml @@ -15,7 +15,7 @@ workspace = true [dependencies] codec = { features = ["derive", "std"], workspace = true } novelpoly = { workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezsp-core = { workspace = true, default-features = true } pezsp-trie = { workspace = true, default-features = true } @@ -31,7 +31,7 @@ harness = false [features] runtime-benchmarks = [ - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", ] diff --git a/pezkuwi/erasure-coding/fuzzer/Cargo.toml b/pezkuwi/erasure-coding/fuzzer/Cargo.toml index 4bac0196..31897f2e 100644 --- a/pezkuwi/erasure-coding/fuzzer/Cargo.toml +++ b/pezkuwi/erasure-coding/fuzzer/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "erasure_coding_fuzzer" +name = "pez_erasure_coding_fuzzer" version = "1.0.0" authors.workspace = true edition.workspace = true license.workspace = true publish = false description = "Pezkuwi SDK component: erasure coding fuzzer" -documentation = "https://docs.rs/erasure_coding_fuzzer" +documentation = "https://docs.rs/pez_erasure_coding_fuzzer" repository = { workspace = true } homepage = { workspace = true } @@ -16,7 +16,7 @@ workspace = true [dependencies] honggfuzz = { workspace = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } [[bin]] @@ -30,6 +30,6 @@ path = "src/round_trip.rs" [features] runtime-benchmarks = [ "pezkuwi-erasure-coding/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", ] diff --git a/pezkuwi/erasure-coding/fuzzer/src/reconstruct.rs b/pezkuwi/erasure-coding/fuzzer/src/reconstruct.rs index 23dc4b9f..9e1f2f6e 100644 --- a/pezkuwi/erasure-coding/fuzzer/src/reconstruct.rs +++ b/pezkuwi/erasure-coding/fuzzer/src/reconstruct.rs @@ -16,7 +16,7 @@ use honggfuzz::fuzz; use pezkuwi_erasure_coding::*; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; fn main() { loop { diff --git a/pezkuwi/erasure-coding/fuzzer/src/round_trip.rs b/pezkuwi/erasure-coding/fuzzer/src/round_trip.rs index da97ded5..bce778e0 100644 --- a/pezkuwi/erasure-coding/fuzzer/src/round_trip.rs +++ b/pezkuwi/erasure-coding/fuzzer/src/round_trip.rs @@ -16,7 +16,7 @@ use honggfuzz::fuzz; use pezkuwi_erasure_coding::*; -use pezkuwi_node_primitives::{AvailableData, BlockData, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV}; use pezkuwi_primitives::PersistedValidationData; use std::sync::Arc; diff --git a/pezkuwi/erasure-coding/src/lib.rs b/pezkuwi/erasure-coding/src/lib.rs index 5904d536..aac7ab9c 100644 --- a/pezkuwi/erasure-coding/src/lib.rs +++ b/pezkuwi/erasure-coding/src/lib.rs @@ -25,7 +25,7 @@ //! The data is coded so any f+1 chunks can be used to reconstruct the full data. use codec::{Decode, Encode}; -use pezkuwi_node_primitives::{AvailableData, Proof}; +use pezkuwi_pez_node_primitives::{AvailableData, Proof}; use pezkuwi_primitives::{BlakeTwo256, Hash as H256, HashT}; use pezsp_core::Blake2Hasher; use pezsp_trie::{ @@ -334,7 +334,7 @@ mod tests { use std::sync::Arc; use super::*; - use pezkuwi_node_primitives::{AvailableData, BlockData, PoV}; + use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV}; use pezkuwi_primitives::{HeadData, PersistedValidationData}; use quickcheck::{Arbitrary, Gen, QuickCheck}; diff --git a/pezkuwi/node/collation-generation/Cargo.toml b/pezkuwi/node/collation-generation/Cargo.toml index 9ee9440a..350127f5 100644 --- a/pezkuwi/node/collation-generation/Cargo.toml +++ b/pezkuwi/node/collation-generation/Cargo.toml @@ -17,7 +17,7 @@ codec = { features = ["bit-vec", "derive"], workspace = true } futures = { workspace = true } gum = { workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -37,7 +37,7 @@ pezsp-keyring = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/collation-generation/src/lib.rs b/pezkuwi/node/collation-generation/src/lib.rs index 86a4da0c..3b59dd04 100644 --- a/pezkuwi/node/collation-generation/src/lib.rs +++ b/pezkuwi/node/collation-generation/src/lib.rs @@ -34,7 +34,7 @@ use codec::Encode; use error::{Error, Result}; use futures::{channel::oneshot, future::FutureExt, select}; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ AvailableData, Collation, CollationGenerationConfig, CollationSecondedSignal, PoV, SubmitCollationParams, }; diff --git a/pezkuwi/node/collation-generation/src/tests.rs b/pezkuwi/node/collation-generation/src/tests.rs index cebe85fd..09f54c60 100644 --- a/pezkuwi/node/collation-generation/src/tests.rs +++ b/pezkuwi/node/collation-generation/src/tests.rs @@ -17,7 +17,7 @@ use super::*; use assert_matches::assert_matches; use futures::{self, Future, StreamExt}; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ BlockData, Collation, CollationResult, CollatorFn, MaybeCompressedPoV, PoV, }; use pezkuwi_node_subsystem::{ diff --git a/pezkuwi/node/core/approval-voting-parallel/Cargo.toml b/pezkuwi/node/core/approval-voting-parallel/Cargo.toml index 1ef0241f..2e18d16e 100644 --- a/pezkuwi/node/core/approval-voting-parallel/Cargo.toml +++ b/pezkuwi/node/core/approval-voting-parallel/Cargo.toml @@ -22,7 +22,7 @@ pezkuwi-approval-distribution = { workspace = true, default-features = true } pezkuwi-node-core-approval-voting = { workspace = true, default-features = true } pezkuwi-node-metrics = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } @@ -51,7 +51,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-approval-voting/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/approval-voting-parallel/src/lib.rs b/pezkuwi/node/core/approval-voting-parallel/src/lib.rs index 5dbb2e6b..ead03532 100644 --- a/pezkuwi/node/core/approval-voting-parallel/src/lib.rs +++ b/pezkuwi/node/core/approval-voting-parallel/src/lib.rs @@ -28,7 +28,7 @@ use pezkuwi_node_metrics::metered::{ UnboundedMeteredSender, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::time::{Clock, SystemClock}, DISPUTE_WINDOW, }; diff --git a/pezkuwi/node/core/approval-voting-parallel/src/tests.rs b/pezkuwi/node/core/approval-voting-parallel/src/tests.rs index 91b0e248..bab7e38e 100644 --- a/pezkuwi/node/core/approval-voting-parallel/src/tests.rs +++ b/pezkuwi/node/core/approval-voting-parallel/src/tests.rs @@ -32,7 +32,7 @@ use futures::{channel::oneshot, future, stream::PollNext, StreamExt}; use itertools::Itertools; use pezkuwi_node_core_approval_voting::{ApprovalVotingWorkProvider, Config}; use pezkuwi_node_network_protocol::{peer_set::ValidationVersion, ObservedRole, PeerId, View}; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ time::SystemClock, v1::RELAY_VRF_MODULO_CONTEXT, v2::{ diff --git a/pezkuwi/node/core/approval-voting/Cargo.toml b/pezkuwi/node/core/approval-voting/Cargo.toml index 9daffebb..5ebe1626 100644 --- a/pezkuwi/node/core/approval-voting/Cargo.toml +++ b/pezkuwi/node/core/approval-voting/Cargo.toml @@ -32,7 +32,7 @@ schnellru = { workspace = true } schnorrkel = { workspace = true, default-features = true } thiserror = { workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } @@ -67,7 +67,7 @@ pezkuwi-subsystem-bench = { workspace = true } subsystem-benchmarks = [] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/approval-voting/src/approval_checking.rs b/pezkuwi/node/core/approval-voting/src/approval_checking.rs index 7dc4c7f9..1e9f6736 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_checking.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_checking.rs @@ -17,14 +17,14 @@ //! Utilities for checking whether a candidate has been approved under a given block. use bitvec::{order::Lsb0 as BitOrderLsb0, slice::BitSlice}; -use pezkuwi_node_primitives::approval::v1::DelayTranche; +use pezkuwi_pez_node_primitives::approval::v1::DelayTranche; use pezkuwi_primitives::ValidatorIndex; use crate::{ persisted_entries::{ApprovalEntry, CandidateEntry, TrancheEntry}, MAX_RECORDED_NO_SHOW_VALIDATORS_PER_CANDIDATE, }; -use pezkuwi_node_primitives::approval::time::Tick; +use pezkuwi_pez_node_primitives::approval::time::Tick; /// Result of counting the necessary tranches needed for approving a block. #[derive(Debug, PartialEq, Clone)] diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/common/migration_helpers.rs b/pezkuwi/node/core/approval-voting/src/approval_db/common/migration_helpers.rs index f0cbf65d..6b043144 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/common/migration_helpers.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/common/migration_helpers.rs @@ -16,7 +16,7 @@ use bitvec::{order::Lsb0 as BitOrderLsb0, vec::BitVec}; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ v1::{AssignmentCert, AssignmentCertKind, VrfProof, VrfSignature, RELAY_VRF_MODULO_CONTEXT}, v2::VrfPreOutput, }; diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/v1/mod.rs b/pezkuwi/node/core/approval-voting/src/approval_db/v1/mod.rs index 740d8565..968ee7a9 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/v1/mod.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/v1/mod.rs @@ -23,7 +23,7 @@ //! require a db migration (check `node/service/src/teyrchains_db/upgrade.rs`). use codec::{Decode, Encode}; -use pezkuwi_node_primitives::approval::v1::{AssignmentCert, DelayTranche}; +use pezkuwi_pez_node_primitives::approval::v1::{AssignmentCert, DelayTranche}; use pezkuwi_primitives::{ BlockNumber, CandidateHash, CandidateReceiptV2 as CandidateReceipt, CoreIndex, GroupIndex, Hash, SessionIndex, ValidatorIndex, ValidatorSignature, diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/v2/migration_helpers.rs b/pezkuwi/node/core/approval-voting/src/approval_db/v2/migration_helpers.rs index db556140..37421764 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/v2/migration_helpers.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/v2/migration_helpers.rs @@ -24,7 +24,7 @@ use crate::{ backend::Backend, }; -use pezkuwi_node_primitives::approval::v1::AssignmentCertKind; +use pezkuwi_pez_node_primitives::approval::v1::AssignmentCertKind; use pezkuwi_node_subsystem_util::database::Database; use pezsp_application_crypto::pezsp_core::H256; use std::{collections::HashSet, sync::Arc}; diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/v2/mod.rs b/pezkuwi/node/core/approval-voting/src/approval_db/v2/mod.rs index d6ad2c8a..ac1b3ce2 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/v2/mod.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/v2/mod.rs @@ -17,7 +17,7 @@ //! Version 2 of the DB schema. use codec::{Decode, Encode}; -use pezkuwi_node_primitives::approval::{v1::DelayTranche, v2::AssignmentCertV2}; +use pezkuwi_pez_node_primitives::approval::{v1::DelayTranche, v2::AssignmentCertV2}; use pezkuwi_node_subsystem::{SubsystemError, SubsystemResult}; use pezkuwi_node_subsystem_util::database::{DBTransaction, Database}; use pezkuwi_primitives::{ diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/v3/migration_helpers.rs b/pezkuwi/node/core/approval-voting/src/approval_db/v3/migration_helpers.rs index 3b0502a2..1f7c54a0 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/v3/migration_helpers.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/v3/migration_helpers.rs @@ -24,7 +24,7 @@ use crate::{ }, backend::{Backend, V2ReadBackend}, }; -use pezkuwi_node_primitives::approval::v1::AssignmentCertKind; +use pezkuwi_pez_node_primitives::approval::v1::AssignmentCertKind; use pezkuwi_node_subsystem_util::database::Database; use pezsp_application_crypto::pezsp_core::H256; use std::{collections::HashSet, sync::Arc}; diff --git a/pezkuwi/node/core/approval-voting/src/approval_db/v3/mod.rs b/pezkuwi/node/core/approval-voting/src/approval_db/v3/mod.rs index aa4370b1..ea1187dd 100644 --- a/pezkuwi/node/core/approval-voting/src/approval_db/v3/mod.rs +++ b/pezkuwi/node/core/approval-voting/src/approval_db/v3/mod.rs @@ -20,7 +20,7 @@ //! and adds a new field `pending_signatures` for `BlockEntry` use codec::{Decode, Encode}; -use pezkuwi_node_primitives::approval::v2::CandidateBitfield; +use pezkuwi_pez_node_primitives::approval::v2::CandidateBitfield; use pezkuwi_node_subsystem::SubsystemResult; use pezkuwi_node_subsystem_util::database::{DBTransaction, Database}; use pezkuwi_overseer::SubsystemError; diff --git a/pezkuwi/node/core/approval-voting/src/criteria.rs b/pezkuwi/node/core/approval-voting/src/criteria.rs index 09202087..30bc78f6 100644 --- a/pezkuwi/node/core/approval-voting/src/criteria.rs +++ b/pezkuwi/node/core/approval-voting/src/criteria.rs @@ -18,10 +18,10 @@ use codec::Encode; use itertools::Itertools; -pub use pezkuwi_node_primitives::approval::criteria::{ +pub use pezkuwi_pez_node_primitives::approval::criteria::{ AssignmentCriteria, Config, InvalidAssignment, InvalidAssignmentReason, OurAssignment, }; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ self as approval_types, v1::{AssignmentCert, AssignmentCertKind, DelayTranche, RelayVRFStory}, v2::{ diff --git a/pezkuwi/node/core/approval-voting/src/import.rs b/pezkuwi/node/core/approval-voting/src/import.rs index d14fbf54..6cfdf3b2 100644 --- a/pezkuwi/node/core/approval-voting/src/import.rs +++ b/pezkuwi/node/core/approval-voting/src/import.rs @@ -28,7 +28,7 @@ //! //! We maintain a rolling window of session indices. This starts as empty -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::{ self as approval_types, v1::{BlockApprovalMeta, RelayVRFStory}, @@ -65,7 +65,7 @@ use crate::{ persisted_entries::CandidateEntry, }; -use pezkuwi_node_primitives::approval::time::{slot_number_to_tick, Tick}; +use pezkuwi_pez_node_primitives::approval::time::{slot_number_to_tick, Tick}; use super::{State, LOG_TARGET}; @@ -612,7 +612,7 @@ pub(crate) mod tests { }; use approval_types::time::Clock; use assert_matches::assert_matches; - use pezkuwi_node_primitives::{ + use pezkuwi_pez_node_primitives::{ approval::v1::{VrfSignature, VrfTranscript}, DISPUTE_WINDOW, }; @@ -689,7 +689,7 @@ pub(crate) mod tests { fn compute_assignments( &self, _keystore: &LocalKeystore, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, _config: &criteria::Config, _leaving_cores: Vec<( CandidateHash, @@ -704,13 +704,13 @@ pub(crate) mod tests { fn check_assignment_cert( &self, - _claimed_core_bitfield: pezkuwi_node_primitives::approval::v2::CoreBitfield, + _claimed_core_bitfield: pezkuwi_pez_node_primitives::approval::v2::CoreBitfield, _validator_index: pezkuwi_primitives::ValidatorIndex, _config: &criteria::Config, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, - _assignment: &pezkuwi_node_primitives::approval::v2::AssignmentCertV2, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, + _assignment: &pezkuwi_pez_node_primitives::approval::v2::AssignmentCertV2, _backing_groups: Vec, - ) -> Result + ) -> Result { Ok(0) } diff --git a/pezkuwi/node/core/approval-voting/src/lib.rs b/pezkuwi/node/core/approval-voting/src/lib.rs index 2481a517..abd18cff 100644 --- a/pezkuwi/node/core/approval-voting/src/lib.rs +++ b/pezkuwi/node/core/approval-voting/src/lib.rs @@ -22,7 +22,7 @@ //! been sufficiently approved to finalize. use futures_timer::Delay; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::{ v1::{BlockApprovalMeta, DelayTranche}, v2::{ @@ -92,7 +92,7 @@ use approval_checking::RequiredTranches; use bitvec::{order::Lsb0, vec::BitVec}; pub use criteria::{AssignmentCriteria, Config as AssignmentConfig, RealAssignmentCriteria}; use persisted_entries::{ApprovalEntry, BlockEntry, CandidateEntry}; -use pezkuwi_node_primitives::approval::time::{ +use pezkuwi_pez_node_primitives::approval::time::{ slot_number_to_tick, Clock, ClockExt, DelayedApprovalTimer, SystemClock, Tick, }; diff --git a/pezkuwi/node/core/approval-voting/src/persisted_entries.rs b/pezkuwi/node/core/approval-voting/src/persisted_entries.rs index 84f14fa1..3c255aca 100644 --- a/pezkuwi/node/core/approval-voting/src/persisted_entries.rs +++ b/pezkuwi/node/core/approval-voting/src/persisted_entries.rs @@ -21,7 +21,7 @@ //! data and logic are intertwined. use itertools::Itertools; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ v1::{DelayTranche, RelayVRFStory}, v2::{AssignmentCertV2, CandidateBitfield}, }; @@ -38,7 +38,7 @@ use crate::approval_db::v2::Bitfield; use super::criteria::OurAssignment; -use pezkuwi_node_primitives::approval::time::Tick; +use pezkuwi_pez_node_primitives::approval::time::Tick; /// Metadata regarding a specific tranche of assignments for a specific candidate. #[derive(Debug, Clone, PartialEq)] diff --git a/pezkuwi/node/core/approval-voting/src/tests.rs b/pezkuwi/node/core/approval-voting/src/tests.rs index 66924c46..8e430131 100644 --- a/pezkuwi/node/core/approval-voting/src/tests.rs +++ b/pezkuwi/node/core/approval-voting/src/tests.rs @@ -22,7 +22,7 @@ use overseer::prometheus::{ prometheus::{IntCounter, IntCounterVec}, Histogram, HistogramOpts, HistogramVec, Opts, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::{ v1::{ AssignmentCert, AssignmentCertKind, DelayTranche, VrfPreOutput, VrfProof, VrfSignature, @@ -239,7 +239,7 @@ where fn compute_assignments( &self, _keystore: &LocalKeystore, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, _config: &criteria::Config, _leaving_cores: Vec<( CandidateHash, @@ -253,13 +253,13 @@ where fn check_assignment_cert( &self, - _claimed_core_bitfield: pezkuwi_node_primitives::approval::v2::CoreBitfield, + _claimed_core_bitfield: pezkuwi_pez_node_primitives::approval::v2::CoreBitfield, validator_index: ValidatorIndex, _config: &criteria::Config, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, - _assignment: &pezkuwi_node_primitives::approval::v2::AssignmentCertV2, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, + _assignment: &pezkuwi_pez_node_primitives::approval::v2::AssignmentCertV2, _backing_groups: Vec, - ) -> Result { + ) -> Result { self.1(validator_index) } } diff --git a/pezkuwi/node/core/av-store/Cargo.toml b/pezkuwi/node/core/av-store/Cargo.toml index 83bc4df4..5c62e147 100644 --- a/pezkuwi/node/core/av-store/Cargo.toml +++ b/pezkuwi/node/core/av-store/Cargo.toml @@ -21,7 +21,7 @@ thiserror = { workspace = true } codec = { features = ["derive"], workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -42,7 +42,7 @@ pezsp-keyring = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/av-store/src/lib.rs b/pezkuwi/node/core/av-store/src/lib.rs index f045f008..454610c0 100644 --- a/pezkuwi/node/core/av-store/src/lib.rs +++ b/pezkuwi/node/core/av-store/src/lib.rs @@ -39,7 +39,7 @@ use pezkuwi_node_subsystem_util::database::{DBTransaction, Database}; use pezsp_consensus::SyncOracle; use bitvec::{order::Lsb0 as BitOrderLsb0, vec::BitVec}; -use pezkuwi_node_primitives::{AvailableData, ErasureChunk}; +use pezkuwi_pez_node_primitives::{AvailableData, ErasureChunk}; use pezkuwi_node_subsystem::{ errors::{ChainApiError, RuntimeApiError}, messages::{AvailabilityStoreMessage, ChainApiMessage, StoreAvailableDataError}, diff --git a/pezkuwi/node/core/av-store/src/tests.rs b/pezkuwi/node/core/av-store/src/tests.rs index 5b0a2737..96026154 100644 --- a/pezkuwi/node/core/av-store/src/tests.rs +++ b/pezkuwi/node/core/av-store/src/tests.rs @@ -22,7 +22,7 @@ use util::availability_chunks::availability_chunk_index; use self::test_helpers::mock::new_leaf; use parking_lot::Mutex; -use pezkuwi_node_primitives::{AvailableData, BlockData, PoV, Proof}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV, Proof}; use pezkuwi_node_subsystem::{ errors::RuntimeApiError, messages::{AllMessages, RuntimeApiMessage, RuntimeApiRequest}, diff --git a/pezkuwi/node/core/backing/Cargo.toml b/pezkuwi/node/core/backing/Cargo.toml index 2715ea86..d8faa74d 100644 --- a/pezkuwi/node/core/backing/Cargo.toml +++ b/pezkuwi/node/core/backing/Cargo.toml @@ -18,7 +18,7 @@ fatality = { workspace = true } futures = { workspace = true } gum = { workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -44,7 +44,7 @@ pezsp-tracing = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/backing/src/lib.rs b/pezkuwi/node/core/backing/src/lib.rs index 16d32eb3..acadd0b0 100644 --- a/pezkuwi/node/core/backing/src/lib.rs +++ b/pezkuwi/node/core/backing/src/lib.rs @@ -80,7 +80,7 @@ use futures::{ use schnellru::{ByLength, LruMap}; use error::{Error, FatalResult}; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ AvailableData, InvalidCandidate, PoV, SignedFullStatementWithPVD, StatementWithPVD, ValidationResult, }; diff --git a/pezkuwi/node/core/backing/src/tests/mod.rs b/pezkuwi/node/core/backing/src/tests/mod.rs index d4b56acf..29673775 100644 --- a/pezkuwi/node/core/backing/src/tests/mod.rs +++ b/pezkuwi/node/core/backing/src/tests/mod.rs @@ -17,7 +17,7 @@ use super::*; use assert_matches::assert_matches; use futures::{future, Future}; -use pezkuwi_node_primitives::{BlockData, InvalidCandidate, SignedFullStatement, Statement}; +use pezkuwi_pez_node_primitives::{BlockData, InvalidCandidate, SignedFullStatement, Statement}; use pezkuwi_node_subsystem::{ messages::{ AllMessages, ChainApiMessage, CollatorProtocolMessage, HypotheticalMembership, PvfExecKind, diff --git a/pezkuwi/node/core/candidate-validation/Cargo.toml b/pezkuwi/node/core/candidate-validation/Cargo.toml index 5b0e8f09..1a6a5434 100644 --- a/pezkuwi/node/core/candidate-validation/Cargo.toml +++ b/pezkuwi/node/core/candidate-validation/Cargo.toml @@ -23,7 +23,7 @@ pezsp-application-crypto = { workspace = true } pezsp-keystore = { workspace = true } pezkuwi-node-metrics = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } @@ -49,7 +49,7 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-core-pvf/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/candidate-validation/src/lib.rs b/pezkuwi/node/core/candidate-validation/src/lib.rs index e95b928c..583ff1f3 100644 --- a/pezkuwi/node/core/candidate-validation/src/lib.rs +++ b/pezkuwi/node/core/candidate-validation/src/lib.rs @@ -27,7 +27,7 @@ use pezkuwi_node_core_pvf::{ InternalValidationError, InvalidCandidate as WasmInvalidCandidate, PossiblyInvalidError, PrepareError, PrepareJobKind, PvfPrepData, ValidationError, ValidationHost, }; -use pezkuwi_node_primitives::{InvalidCandidate, PoV, ValidationResult}; +use pezkuwi_pez_node_primitives::{InvalidCandidate, PoV, ValidationResult}; use pezkuwi_node_subsystem::{ errors::RuntimeApiError, messages::{ diff --git a/pezkuwi/node/core/candidate-validation/src/tests.rs b/pezkuwi/node/core/candidate-validation/src/tests.rs index 77507707..7a1905cc 100644 --- a/pezkuwi/node/core/candidate-validation/src/tests.rs +++ b/pezkuwi/node/core/candidate-validation/src/tests.rs @@ -24,7 +24,7 @@ use crate::PvfExecKind; use assert_matches::assert_matches; use futures::executor; use pezkuwi_node_core_pvf::PrepareError; -use pezkuwi_node_primitives::BlockData; +use pezkuwi_pez_node_primitives::BlockData; use pezkuwi_node_subsystem::messages::AllMessages; use pezkuwi_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use pezkuwi_node_subsystem_util::reexports::SubsystemContext; diff --git a/pezkuwi/node/core/chain-api/Cargo.toml b/pezkuwi/node/core/chain-api/Cargo.toml index 9ca5a197..9c076f56 100644 --- a/pezkuwi/node/core/chain-api/Cargo.toml +++ b/pezkuwi/node/core/chain-api/Cargo.toml @@ -25,7 +25,7 @@ pezsc-consensus-babe = { workspace = true, default-features = true } codec = { workspace = true, default-features = true } futures = { features = ["thread-pool"], workspace = true } maplit = { workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem-test-helpers = { workspace = true } pezkuwi-primitives = { workspace = true, default-features = true } pezsp-blockchain = { workspace = true, default-features = true } @@ -35,7 +35,7 @@ pezsp-core = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/chain-api/src/tests.rs b/pezkuwi/node/core/chain-api/src/tests.rs index a633ec69..cca5a057 100644 --- a/pezkuwi/node/core/chain-api/src/tests.rs +++ b/pezkuwi/node/core/chain-api/src/tests.rs @@ -20,7 +20,7 @@ use codec::Encode; use futures::{channel::oneshot, future::BoxFuture}; use std::collections::BTreeMap; -use pezkuwi_node_primitives::BlockWeight; +use pezkuwi_pez_node_primitives::BlockWeight; use pezkuwi_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use pezkuwi_node_subsystem_types::ChainApiBackend; use pezkuwi_primitives::{Block, BlockNumber, Hash, Header}; diff --git a/pezkuwi/node/core/chain-selection/Cargo.toml b/pezkuwi/node/core/chain-selection/Cargo.toml index 9ef4e2bf..2a69da16 100644 --- a/pezkuwi/node/core/chain-selection/Cargo.toml +++ b/pezkuwi/node/core/chain-selection/Cargo.toml @@ -17,7 +17,7 @@ codec = { workspace = true, default-features = true } futures = { workspace = true } futures-timer = { workspace = true } gum = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -33,7 +33,7 @@ pezsp-core = { workspace = true, default-features = true } [features] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/chain-selection/src/db_backend/v1.rs b/pezkuwi/node/core/chain-selection/src/db_backend/v1.rs index c9fad2df..f165c854 100644 --- a/pezkuwi/node/core/chain-selection/src/db_backend/v1.rs +++ b/pezkuwi/node/core/chain-selection/src/db_backend/v1.rs @@ -37,7 +37,7 @@ use crate::{ Error, }; -use pezkuwi_node_primitives::BlockWeight; +use pezkuwi_pez_node_primitives::BlockWeight; use pezkuwi_primitives::{BlockNumber, Hash}; use codec::{Decode, Encode}; diff --git a/pezkuwi/node/core/chain-selection/src/lib.rs b/pezkuwi/node/core/chain-selection/src/lib.rs index be93bcf2..87609291 100644 --- a/pezkuwi/node/core/chain-selection/src/lib.rs +++ b/pezkuwi/node/core/chain-selection/src/lib.rs @@ -16,7 +16,7 @@ //! Implements the Chain Selection Subsystem. -use pezkuwi_node_primitives::BlockWeight; +use pezkuwi_pez_node_primitives::BlockWeight; use pezkuwi_node_subsystem::{ errors::ChainApiError, messages::{ChainApiMessage, ChainSelectionMessage}, diff --git a/pezkuwi/node/core/chain-selection/src/tree.rs b/pezkuwi/node/core/chain-selection/src/tree.rs index 70d83868..095424f9 100644 --- a/pezkuwi/node/core/chain-selection/src/tree.rs +++ b/pezkuwi/node/core/chain-selection/src/tree.rs @@ -23,7 +23,7 @@ //! Each direct descendant of the finalized block acts as its own sub-tree, //! and as the finalized block advances, orphaned sub-trees are entirely pruned. -use pezkuwi_node_primitives::BlockWeight; +use pezkuwi_pez_node_primitives::BlockWeight; use pezkuwi_node_subsystem::ChainApiError; use pezkuwi_primitives::{BlockNumber, Hash}; diff --git a/pezkuwi/node/core/dispute-coordinator/Cargo.toml b/pezkuwi/node/core/dispute-coordinator/Cargo.toml index 7c2a0527..d7113dbe 100644 --- a/pezkuwi/node/core/dispute-coordinator/Cargo.toml +++ b/pezkuwi/node/core/dispute-coordinator/Cargo.toml @@ -26,7 +26,7 @@ gum = { workspace = true, default-features = true } schnellru = { workspace = true } thiserror = { workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -54,7 +54,7 @@ disputes = [] subsystem-benchmarks = [] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/dispute-coordinator/src/db/v1.rs b/pezkuwi/node/core/dispute-coordinator/src/db/v1.rs index 165dc97a..ce7ad2c4 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/db/v1.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/db/v1.rs @@ -22,7 +22,7 @@ //! the dispute data in the database. Any breaking changes here will still //! require a db migration (check `node/service/src/teyrchains_db/upgrade.rs`). -use pezkuwi_node_primitives::DisputeStatus; +use pezkuwi_pez_node_primitives::DisputeStatus; use pezkuwi_node_subsystem_util::database::{DBTransaction, Database}; use pezkuwi_primitives::{ CandidateHash, CandidateReceiptV2 as CandidateReceipt, Hash, InvalidDisputeStatementKind, @@ -225,9 +225,9 @@ pub struct CandidateVotes { pub invalid: Vec<(InvalidDisputeStatementKind, ValidatorIndex, ValidatorSignature)>, } -impl From for pezkuwi_node_primitives::CandidateVotes { - fn from(db_votes: CandidateVotes) -> pezkuwi_node_primitives::CandidateVotes { - pezkuwi_node_primitives::CandidateVotes { +impl From for pezkuwi_pez_node_primitives::CandidateVotes { + fn from(db_votes: CandidateVotes) -> pezkuwi_pez_node_primitives::CandidateVotes { + pezkuwi_pez_node_primitives::CandidateVotes { candidate_receipt: db_votes.candidate_receipt, valid: db_votes.valid.into_iter().map(|(kind, i, sig)| (i, (kind, sig))).collect(), invalid: db_votes.invalid.into_iter().map(|(kind, i, sig)| (i, (kind, sig))).collect(), @@ -235,8 +235,8 @@ impl From for pezkuwi_node_primitives::CandidateVotes { } } -impl From for CandidateVotes { - fn from(primitive_votes: pezkuwi_node_primitives::CandidateVotes) -> CandidateVotes { +impl From for CandidateVotes { + fn from(primitive_votes: pezkuwi_pez_node_primitives::CandidateVotes) -> CandidateVotes { CandidateVotes { candidate_receipt: primitive_votes.candidate_receipt, valid: primitive_votes @@ -375,7 +375,7 @@ fn load_cleaned_votes_watermark( mod tests { use super::*; - use pezkuwi_node_primitives::DISPUTE_WINDOW; + use pezkuwi_pez_node_primitives::DISPUTE_WINDOW; use pezkuwi_primitives::{Hash, Id as ParaId}; use pezkuwi_primitives_test_helpers::{ dummy_candidate_receipt, dummy_candidate_receipt_v2, dummy_hash, diff --git a/pezkuwi/node/core/dispute-coordinator/src/import.rs b/pezkuwi/node/core/dispute-coordinator/src/import.rs index ac168b56..9e775873 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/import.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/import.rs @@ -28,7 +28,7 @@ use std::collections::{BTreeMap, HashMap, HashSet}; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ disputes::ValidCandidateVotes, CandidateVotes, DisputeStatus, SignedDisputeStatement, Timestamp, }; use pezkuwi_node_subsystem::overseer; diff --git a/pezkuwi/node/core/dispute-coordinator/src/initialized.rs b/pezkuwi/node/core/dispute-coordinator/src/initialized.rs index b61e3ad9..b37f764a 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/initialized.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/initialized.rs @@ -28,7 +28,7 @@ use futures::{ use pezsc_keystore::LocalKeystore; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ disputes::ValidCandidateVotes, CandidateVotes, DisputeStatus, SignedDisputeStatement, Timestamp, DISPUTE_WINDOW, }; diff --git a/pezkuwi/node/core/dispute-coordinator/src/lib.rs b/pezkuwi/node/core/dispute-coordinator/src/lib.rs index 37b3dfe2..f1d3cbeb 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/lib.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/lib.rs @@ -33,7 +33,7 @@ use futures::FutureExt; use gum::CandidateHash; use pezsc_keystore::LocalKeystore; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ CandidateVotes, DisputeMessage, DisputeMessageCheckError, SignedDisputeStatement, DISPUTE_WINDOW, }; diff --git a/pezkuwi/node/core/dispute-coordinator/src/participation/mod.rs b/pezkuwi/node/core/dispute-coordinator/src/participation/mod.rs index d8863113..29e0f7c5 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/participation/mod.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/participation/mod.rs @@ -25,7 +25,7 @@ use futures::{ #[cfg(test)] use futures_timer::Delay; -use pezkuwi_node_primitives::ValidationResult; +use pezkuwi_pez_node_primitives::ValidationResult; use pezkuwi_node_subsystem::{ messages::{AvailabilityRecoveryMessage, CandidateValidationMessage, PvfExecKind}, overseer, ActiveLeavesUpdate, RecoveryError, diff --git a/pezkuwi/node/core/dispute-coordinator/src/participation/tests.rs b/pezkuwi/node/core/dispute-coordinator/src/participation/tests.rs index ed868879..b3be262a 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/participation/tests.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/participation/tests.rs @@ -23,7 +23,7 @@ use pezsp_core::testing::TaskExecutor; use super::*; use codec::Encode; -use pezkuwi_node_primitives::{AvailableData, BlockData, InvalidCandidate, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, InvalidCandidate, PoV}; use pezkuwi_node_subsystem::{ messages::{ AllMessages, ChainApiMessage, DisputeCoordinatorMessage, PvfExecKind, RuntimeApiMessage, diff --git a/pezkuwi/node/core/dispute-coordinator/src/scraping/mod.rs b/pezkuwi/node/core/dispute-coordinator/src/scraping/mod.rs index 59ffea82..67db5479 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/scraping/mod.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/scraping/mod.rs @@ -19,7 +19,7 @@ use std::collections::{btree_map::Entry, BTreeMap, HashSet}; use futures::channel::oneshot; use schnellru::{ByLength, LruMap}; -use pezkuwi_node_primitives::{DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION, MAX_FINALITY_LAG}; +use pezkuwi_pez_node_primitives::{DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION, MAX_FINALITY_LAG}; use pezkuwi_node_subsystem::{ messages::ChainApiMessage, overseer, ActivatedLeaf, ActiveLeavesUpdate, ChainApiError, RuntimeApiError, SubsystemSender, diff --git a/pezkuwi/node/core/dispute-coordinator/src/scraping/tests.rs b/pezkuwi/node/core/dispute-coordinator/src/scraping/tests.rs index 8ed1e4d8..80eb6497 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/scraping/tests.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/scraping/tests.rs @@ -22,7 +22,7 @@ use codec::Encode; use futures::future::join; use pezsp_core::testing::TaskExecutor; -use pezkuwi_node_primitives::DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; +use pezkuwi_pez_node_primitives::DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; use pezkuwi_node_subsystem::{ messages::{ AllMessages, ChainApiMessage, DisputeCoordinatorMessage, RuntimeApiMessage, diff --git a/pezkuwi/node/core/dispute-coordinator/src/status.rs b/pezkuwi/node/core/dispute-coordinator/src/status.rs index 221d5793..a86f01e2 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/status.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/status.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Pezkuwi. If not, see . -use pezkuwi_node_primitives::{dispute_is_inactive, DisputeStatus, Timestamp}; +use pezkuwi_pez_node_primitives::{dispute_is_inactive, DisputeStatus, Timestamp}; use pezkuwi_primitives::{CandidateHash, SessionIndex}; use std::time::{SystemTime, UNIX_EPOCH}; diff --git a/pezkuwi/node/core/dispute-coordinator/src/tests.rs b/pezkuwi/node/core/dispute-coordinator/src/tests.rs index 4085a081..897a2a3f 100644 --- a/pezkuwi/node/core/dispute-coordinator/src/tests.rs +++ b/pezkuwi/node/core/dispute-coordinator/src/tests.rs @@ -31,7 +31,7 @@ use futures::{ use pezkuwi_node_subsystem_util::database::Database; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ DisputeMessage, DisputeStatus, SignedDisputeStatement, SignedFullStatement, Statement, DISPUTE_WINDOW, }; @@ -51,7 +51,7 @@ use pezsp_core::{sr25519::Pair, testing::TaskExecutor, Pair as PairT}; use pezsp_keyring::Sr25519Keyring; use pezsp_keystore::{Keystore, KeystorePtr}; -use pezkuwi_node_primitives::{Timestamp, ACTIVE_DURATION_SECS}; +use pezkuwi_pez_node_primitives::{Timestamp, ACTIVE_DURATION_SECS}; use pezkuwi_node_subsystem::{ messages::{AllMessages, BlockDescription, RuntimeApiMessage, RuntimeApiRequest}, ActiveLeavesUpdate, diff --git a/pezkuwi/node/core/provisioner/Cargo.toml b/pezkuwi/node/core/provisioner/Cargo.toml index 56853616..39f1bff3 100644 --- a/pezkuwi/node/core/provisioner/Cargo.toml +++ b/pezkuwi/node/core/provisioner/Cargo.toml @@ -18,7 +18,7 @@ fatality = { workspace = true } futures = { workspace = true } futures-timer = { workspace = true } gum = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -36,7 +36,7 @@ pezsp-keystore = { workspace = true, default-features = true } [features] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/provisioner/src/disputes/mod.rs b/pezkuwi/node/core/provisioner/src/disputes/mod.rs index 4618d6cb..5377b79b 100644 --- a/pezkuwi/node/core/provisioner/src/disputes/mod.rs +++ b/pezkuwi/node/core/provisioner/src/disputes/mod.rs @@ -19,7 +19,7 @@ use crate::LOG_TARGET; use futures::channel::oneshot; -use pezkuwi_node_primitives::CandidateVotes; +use pezkuwi_pez_node_primitives::CandidateVotes; use pezkuwi_node_subsystem::{messages::DisputeCoordinatorMessage, overseer}; use pezkuwi_primitives::{CandidateHash, SessionIndex}; diff --git a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 99ea406e..018a5c65 100644 --- a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -20,7 +20,7 @@ use crate::{error::GetOnchainDisputesError, metrics, LOG_TARGET}; use futures::channel::oneshot; -use pezkuwi_node_primitives::{dispute_is_inactive, CandidateVotes, DisputeStatus, Timestamp}; +use pezkuwi_pez_node_primitives::{dispute_is_inactive, CandidateVotes, DisputeStatus, Timestamp}; use pezkuwi_node_subsystem::{ errors::RuntimeApiError, messages::{DisputeCoordinatorMessage, RuntimeApiMessage, RuntimeApiRequest}, diff --git a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs index 9e947eb3..237f3ee8 100644 --- a/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs +++ b/pezkuwi/node/core/provisioner/src/disputes/prioritized_selection/tests.rs @@ -20,7 +20,7 @@ use super::super::{ }; use bitvec::prelude::*; use futures::channel::mpsc; -use pezkuwi_node_primitives::{CandidateVotes, DisputeStatus, ACTIVE_DURATION_SECS}; +use pezkuwi_pez_node_primitives::{CandidateVotes, DisputeStatus, ACTIVE_DURATION_SECS}; use pezkuwi_node_subsystem::messages::{ AllMessages, DisputeCoordinatorMessage, RuntimeApiMessage, RuntimeApiRequest, }; diff --git a/pezkuwi/node/core/pvf/Cargo.toml b/pezkuwi/node/core/pvf/Cargo.toml index fd025668..062c7fcc 100644 --- a/pezkuwi/node/core/pvf/Cargo.toml +++ b/pezkuwi/node/core/pvf/Cargo.toml @@ -38,7 +38,7 @@ codec = { features = ["derive"], workspace = true } pezkuwi-node-core-pvf-common = { workspace = true, default-features = true } pezkuwi-node-metrics = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } @@ -92,7 +92,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-pvf-prepare-worker?/runtime-benchmarks", "pezkuwi-node-core-pvf/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", diff --git a/pezkuwi/node/core/pvf/common/Cargo.toml b/pezkuwi/node/core/pvf/common/Cargo.toml index 4e189e32..525bebee 100644 --- a/pezkuwi/node/core/pvf/common/Cargo.toml +++ b/pezkuwi/node/core/pvf/common/Cargo.toml @@ -22,7 +22,7 @@ thiserror = { workspace = true } codec = { features = ["derive"], workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } @@ -55,7 +55,7 @@ test-utils = [] jemalloc-allocator = [] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", "pezsc-executor-wasmtime/runtime-benchmarks", diff --git a/pezkuwi/node/core/pvf/common/src/execute.rs b/pezkuwi/node/core/pvf/common/src/execute.rs index 80fdfe85..e0f0076f 100644 --- a/pezkuwi/node/core/pvf/common/src/execute.rs +++ b/pezkuwi/node/core/pvf/common/src/execute.rs @@ -16,7 +16,7 @@ use crate::{error::InternalValidationError, ArtifactChecksum}; use codec::{Decode, Encode}; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_primitives::{ExecutorParams, PersistedValidationData}; use pezkuwi_teyrchain_primitives::primitives::ValidationResult; use std::time::Duration; diff --git a/pezkuwi/node/core/pvf/execute-worker/Cargo.toml b/pezkuwi/node/core/pvf/execute-worker/Cargo.toml index 2228ac99..2310d521 100644 --- a/pezkuwi/node/core/pvf/execute-worker/Cargo.toml +++ b/pezkuwi/node/core/pvf/execute-worker/Cargo.toml @@ -22,7 +22,7 @@ nix = { features = ["process", "resource", "sched"], workspace = true } codec = { features = ["derive"], workspace = true } pezkuwi-node-core-pvf-common = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } @@ -33,7 +33,7 @@ builder = [] runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-core-pvf-common/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-teyrchain-primitives/runtime-benchmarks", ] diff --git a/pezkuwi/node/core/pvf/execute-worker/src/lib.rs b/pezkuwi/node/core/pvf/execute-worker/src/lib.rs index 63b20b1e..a2bc129f 100644 --- a/pezkuwi/node/core/pvf/execute-worker/src/lib.rs +++ b/pezkuwi/node/core/pvf/execute-worker/src/lib.rs @@ -52,7 +52,7 @@ use pezkuwi_node_core_pvf_common::{ }, worker_dir, ArtifactChecksum, }; -use pezkuwi_node_primitives::{BlockData, PoV, POV_BOMB_LIMIT}; +use pezkuwi_pez_node_primitives::{BlockData, PoV, POV_BOMB_LIMIT}; use pezkuwi_primitives::{ExecutorParams, PersistedValidationData}; use pezkuwi_teyrchain_primitives::primitives::ValidationResult; use std::{ diff --git a/pezkuwi/node/core/pvf/src/execute/queue.rs b/pezkuwi/node/core/pvf/src/execute/queue.rs index 37a167f8..d429c201 100644 --- a/pezkuwi/node/core/pvf/src/execute/queue.rs +++ b/pezkuwi/node/core/pvf/src/execute/queue.rs @@ -34,7 +34,7 @@ use pezkuwi_node_core_pvf_common::{ execute::{JobResponse, WorkerError, WorkerResponse}, SecurityStatus, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_node_subsystem::{messages::PvfExecKind, ActiveLeavesUpdate}; use pezkuwi_primitives::{ExecutorParams, ExecutorParamsHash, Hash, PersistedValidationData}; use slotmap::HopSlotMap; @@ -908,7 +908,7 @@ impl Unscheduled { #[cfg(test)] mod tests { - use pezkuwi_node_primitives::BlockData; + use pezkuwi_pez_node_primitives::BlockData; use pezkuwi_node_subsystem_test_helpers::mock::new_leaf; use pezsp_core::H256; diff --git a/pezkuwi/node/core/pvf/src/execute/worker_interface.rs b/pezkuwi/node/core/pvf/src/execute/worker_interface.rs index fbe3d005..57d3a682 100644 --- a/pezkuwi/node/core/pvf/src/execute/worker_interface.rs +++ b/pezkuwi/node/core/pvf/src/execute/worker_interface.rs @@ -32,7 +32,7 @@ use pezkuwi_node_core_pvf_common::{ execute::{Handshake, WorkerError, WorkerResponse}, worker_dir, ArtifactChecksum, SecurityStatus, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_primitives::{ExecutorParams, PersistedValidationData}; use std::{path::Path, sync::Arc, time::Duration}; use tokio::{io, net::UnixStream}; diff --git a/pezkuwi/node/core/pvf/src/host.rs b/pezkuwi/node/core/pvf/src/host.rs index 96395b2d..810663d6 100644 --- a/pezkuwi/node/core/pvf/src/host.rs +++ b/pezkuwi/node/core/pvf/src/host.rs @@ -38,7 +38,7 @@ use pezkuwi_node_core_pvf_common::{ prepare::PrepareSuccess, pvf::PvfPrepData, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_node_subsystem::{ messages::PvfExecKind, ActiveLeavesUpdate, SubsystemError, SubsystemResult, }; @@ -1054,7 +1054,7 @@ pub(crate) mod tests { use crate::{artifacts::generate_artifact_path, testing::artifact_id, PossiblyInvalidError}; use assert_matches::assert_matches; use futures::future::BoxFuture; - use pezkuwi_node_primitives::BlockData; + use pezkuwi_pez_node_primitives::BlockData; use pezsp_core::H256; const TEST_EXECUTION_TIMEOUT: Duration = Duration::from_secs(3); diff --git a/pezkuwi/node/core/pvf/src/testing.rs b/pezkuwi/node/core/pvf/src/testing.rs index a1845bd6..3f6519f1 100644 --- a/pezkuwi/node/core/pvf/src/testing.rs +++ b/pezkuwi/node/core/pvf/src/testing.rs @@ -24,7 +24,7 @@ pub use crate::{ use crate::{artifacts::ArtifactId, get_worker_version}; use is_executable::IsExecutable; use pezkuwi_node_core_pvf_common::pvf::PvfPrepData; -use pezkuwi_node_primitives::NODE_VERSION; +use pezkuwi_pez_node_primitives::NODE_VERSION; use pezkuwi_primitives::ExecutorParams; use std::{ path::PathBuf, diff --git a/pezkuwi/node/core/pvf/tests/it/adder.rs b/pezkuwi/node/core/pvf/tests/it/adder.rs index b95acea6..cb3ae87b 100644 --- a/pezkuwi/node/core/pvf/tests/it/adder.rs +++ b/pezkuwi/node/core/pvf/tests/it/adder.rs @@ -18,7 +18,7 @@ use super::TestHost; use codec::{Decode, Encode}; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_primitives::PersistedValidationData; use pezkuwi_teyrchain_primitives::primitives::{ BlockData as GenericBlockData, HeadData as GenericHeadData, diff --git a/pezkuwi/node/core/pvf/tests/it/main.rs b/pezkuwi/node/core/pvf/tests/it/main.rs index 40f00925..b34bd0ed 100644 --- a/pezkuwi/node/core/pvf/tests/it/main.rs +++ b/pezkuwi/node/core/pvf/tests/it/main.rs @@ -25,7 +25,7 @@ use pezkuwi_node_core_pvf::{ ValidationHost, JOB_TIMEOUT_WALL_CLOCK_FACTOR, }; use pezkuwi_node_core_pvf_common::{compute_checksum, ArtifactChecksum}; -use pezkuwi_node_primitives::{PoV, POV_BOMB_LIMIT}; +use pezkuwi_pez_node_primitives::{PoV, POV_BOMB_LIMIT}; use pezkuwi_node_subsystem::messages::PvfExecKind; use pezkuwi_primitives::{ ExecutorParam, ExecutorParams, Hash, PersistedValidationData, PvfExecKind as RuntimePvfExecKind, diff --git a/pezkuwi/node/core/pvf/tests/it/process.rs b/pezkuwi/node/core/pvf/tests/it/process.rs index 97b9070a..344b300a 100644 --- a/pezkuwi/node/core/pvf/tests/it/process.rs +++ b/pezkuwi/node/core/pvf/tests/it/process.rs @@ -23,7 +23,7 @@ use codec::Encode; use pezkuwi_node_core_pvf::{ InvalidCandidate, PossiblyInvalidError, PrepareError, ValidationError, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_primitives::PersistedValidationData; use pezkuwi_teyrchain_primitives::primitives::{ BlockData as GenericBlockData, HeadData as GenericHeadData, diff --git a/pezkuwi/node/core/runtime-api/Cargo.toml b/pezkuwi/node/core/runtime-api/Cargo.toml index a20a63b6..3829cc3e 100644 --- a/pezkuwi/node/core/runtime-api/Cargo.toml +++ b/pezkuwi/node/core/runtime-api/Cargo.toml @@ -27,7 +27,7 @@ pezkuwi-primitives = { workspace = true, default-features = true } [dev-dependencies] async-trait = { workspace = true } futures = { features = ["thread-pool"], workspace = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem-test-helpers = { workspace = true } pezkuwi-primitives-test-helpers = { workspace = true } pezsp-api = { workspace = true, default-features = true } @@ -38,7 +38,7 @@ pezsp-keyring = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/core/runtime-api/src/tests.rs b/pezkuwi/node/core/runtime-api/src/tests.rs index 7d39b24e..ec627102 100644 --- a/pezkuwi/node/core/runtime-api/src/tests.rs +++ b/pezkuwi/node/core/runtime-api/src/tests.rs @@ -16,7 +16,7 @@ use super::*; -use pezkuwi_node_primitives::{BabeAllowedSlots, BabeEpoch, BabeEpochConfiguration}; +use pezkuwi_pez_node_primitives::{BabeAllowedSlots, BabeEpoch, BabeEpochConfiguration}; use pezkuwi_node_subsystem::SpawnGlue; use pezkuwi_node_subsystem_test_helpers::make_subsystem_context; use pezkuwi_primitives::{ diff --git a/pezkuwi/node/gum/Cargo.toml b/pezkuwi/node/gum/Cargo.toml index cd0cc342..8da801da 100644 --- a/pezkuwi/node/gum/Cargo.toml +++ b/pezkuwi/node/gum/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "tracing-gum" +name = "pez-tracing-gum" version = "7.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license.workspace = true description = "Stick logs together with the TraceID as provided by tempo" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/tracing-gum" +documentation = "https://docs.rs/pez-tracing-gum" [lints] workspace = true diff --git a/pezkuwi/node/gum/README.md b/pezkuwi/node/gum/README.md index 2fb91bc3..83a2990b 100644 --- a/pezkuwi/node/gum/README.md +++ b/pezkuwi/node/gum/README.md @@ -1,4 +1,4 @@ -# tracing-gum +# pez-tracing-gum "gum" to make `tracing::{warn,info,..}` and `mick-jaeger` stick together, to be cross referenced in grafana with zero additional loc in the source code. diff --git a/pezkuwi/node/gum/proc-macro/Cargo.toml b/pezkuwi/node/gum/proc-macro/Cargo.toml index 6b29cb78..4e704f4a 100644 --- a/pezkuwi/node/gum/proc-macro/Cargo.toml +++ b/pezkuwi/node/gum/proc-macro/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "tracing-gum-proc-macro" +name = "pez-tracing-gum-proc-macro" version = "5.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license.workspace = true description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/tracing-gum-proc-macro" +documentation = "https://docs.rs/pez-tracing-gum-proc-macro" [lints] workspace = true diff --git a/pezkuwi/node/gum/proc-macro/src/lib.rs b/pezkuwi/node/gum/proc-macro/src/lib.rs index 36278d6b..393bd267 100644 --- a/pezkuwi/node/gum/proc-macro/src/lib.rs +++ b/pezkuwi/node/gum/proc-macro/src/lib.rs @@ -18,7 +18,7 @@ #![deny(missing_docs)] #![deny(clippy::dbg_macro)] -//! Generative part of `tracing-gum`. See `tracing-gum` for usage documentation. +//! Generative part of `pez-tracing-gum`. See `pez-tracing-gum` for usage documentation. use proc_macro2::{Ident, Span, TokenStream}; use quote::{quote, ToTokens}; @@ -184,8 +184,8 @@ fn support_crate() -> TokenStream { quote! {crate} } else { use proc_macro_crate::{crate_name, FoundCrate}; - let crate_name = crate_name("tracing-gum") - .expect("Support crate `tracing-gum` is present in `Cargo.toml`. qed"); + let crate_name = crate_name("pez-tracing-gum") + .expect("Support crate `pez-tracing-gum` is present in `Cargo.toml`. qed"); match crate_name { FoundCrate::Itself => quote! {crate}, FoundCrate::Name(name) => Ident::new(&name, Span::call_site()).to_token_stream(), diff --git a/pezkuwi/node/malus/Cargo.toml b/pezkuwi/node/malus/Cargo.toml index c9ea4bf5..e3cee940 100644 --- a/pezkuwi/node/malus/Cargo.toml +++ b/pezkuwi/node/malus/Cargo.toml @@ -45,7 +45,7 @@ pezkuwi-cli = { features = [ ], workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-types = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } @@ -76,7 +76,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-pvf-execute-worker/runtime-benchmarks", "pezkuwi-node-core-pvf-prepare-worker/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", diff --git a/pezkuwi/node/malus/src/variants/common.rs b/pezkuwi/node/malus/src/variants/common.rs index 0f8b9cd3..8cdd5166 100644 --- a/pezkuwi/node/malus/src/variants/common.rs +++ b/pezkuwi/node/malus/src/variants/common.rs @@ -21,7 +21,7 @@ use crate::{ shared::{MALICIOUS_POV, MALUS}, }; -use pezkuwi_node_primitives::{InvalidCandidate, ValidationResult}; +use pezkuwi_pez_node_primitives::{InvalidCandidate, ValidationResult}; use pezkuwi_primitives::{ CandidateCommitments, CandidateDescriptorV2 as CandidateDescriptor, diff --git a/pezkuwi/node/malus/src/variants/suggest_garbage_candidate.rs b/pezkuwi/node/malus/src/variants/suggest_garbage_candidate.rs index 5b1e6076..93b59646 100644 --- a/pezkuwi/node/malus/src/variants/suggest_garbage_candidate.rs +++ b/pezkuwi/node/malus/src/variants/suggest_garbage_candidate.rs @@ -30,7 +30,7 @@ use pezkuwi_cli::{ }, validator_overseer_builder, Cli, }; -use pezkuwi_node_primitives::{AvailableData, BlockData, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV}; use pezkuwi_node_subsystem_types::{ChainApiBackend, RuntimeApiSubsystemClient}; use pezkuwi_primitives::{CandidateDescriptorV2, CandidateReceiptV2, CoreIndex}; diff --git a/pezkuwi/node/network/approval-distribution/Cargo.toml b/pezkuwi/node/network/approval-distribution/Cargo.toml index 63cc8c62..a7382bfb 100644 --- a/pezkuwi/node/network/approval-distribution/Cargo.toml +++ b/pezkuwi/node/network/approval-distribution/Cargo.toml @@ -16,7 +16,7 @@ workspace = true itertools = { workspace = true } pezkuwi-node-metrics = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -47,7 +47,7 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/approval-distribution/src/lib.rs b/pezkuwi/node/network/approval-distribution/src/lib.rs index 158c67d5..f9fa99d6 100644 --- a/pezkuwi/node/network/approval-distribution/src/lib.rs +++ b/pezkuwi/node/network/approval-distribution/src/lib.rs @@ -33,7 +33,7 @@ use pezkuwi_node_network_protocol::{ peer_set::MAX_NOTIFICATION_SIZE, v3 as protocol_v3, PeerId, UnifiedReputationChange as Rep, ValidationProtocols, View, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::{ criteria::{AssignmentCriteria, InvalidAssignment}, time::{Clock, ClockExt, SystemClock, TICK_TOO_FAR_IN_FUTURE}, @@ -1683,7 +1683,7 @@ impl State { .check_assignment_cert( claimed_cores, assignment.validator, - &pezkuwi_node_primitives::approval::criteria::Config::from(session_info), + &pezkuwi_pez_node_primitives::approval::criteria::Config::from(session_info), entry.vrf_story.clone(), &assignment.cert, backing_groups, diff --git a/pezkuwi/node/network/approval-distribution/src/metrics.rs b/pezkuwi/node/network/approval-distribution/src/metrics.rs index c1c5281b..c12f6736 100644 --- a/pezkuwi/node/network/approval-distribution/src/metrics.rs +++ b/pezkuwi/node/network/approval-distribution/src/metrics.rs @@ -15,7 +15,7 @@ // along with Pezkuwi. If not, see . use pezkuwi_node_metrics::metrics::{prometheus, Metrics as MetricsTrait}; -use pezkuwi_node_primitives::approval::v2::AssignmentCertKindV2; +use pezkuwi_pez_node_primitives::approval::v2::AssignmentCertKindV2; /// Approval Distribution metrics. #[derive(Default, Clone)] diff --git a/pezkuwi/node/network/approval-distribution/src/tests.rs b/pezkuwi/node/network/approval-distribution/src/tests.rs index 2629f070..ff63c4c4 100644 --- a/pezkuwi/node/network/approval-distribution/src/tests.rs +++ b/pezkuwi/node/network/approval-distribution/src/tests.rs @@ -23,7 +23,7 @@ use pezkuwi_node_network_protocol::{ peer_set::ValidationVersion, view, ObservedRole, }; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ criteria, v1::{VrfPreOutput, VrfProof, VrfSignature}, v2::{ @@ -457,14 +457,14 @@ fn signature_for( struct MockAssignmentCriteria { tranche: - Result, + Result, } impl AssignmentCriteria for MockAssignmentCriteria { fn compute_assignments( &self, _keystore: &LocalKeystore, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, _config: &criteria::Config, _leaving_cores: Vec<( CandidateHash, @@ -478,13 +478,13 @@ impl AssignmentCriteria for MockAssignmentCriteria { fn check_assignment_cert( &self, - _claimed_core_bitfield: pezkuwi_node_primitives::approval::v2::CoreBitfield, + _claimed_core_bitfield: pezkuwi_pez_node_primitives::approval::v2::CoreBitfield, _validator_index: pezkuwi_primitives::ValidatorIndex, _config: &criteria::Config, - _relay_vrf_story: pezkuwi_node_primitives::approval::v1::RelayVRFStory, - _assignment: &pezkuwi_node_primitives::approval::v2::AssignmentCertV2, + _relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory, + _assignment: &pezkuwi_pez_node_primitives::approval::v2::AssignmentCertV2, _backing_groups: Vec, - ) -> Result { + ) -> Result { self.tranche } } @@ -4031,13 +4031,13 @@ fn const_ensure_size_not_zero() { struct DummyClock; impl Clock for DummyClock { - fn tick_now(&self) -> pezkuwi_node_primitives::approval::time::Tick { + fn tick_now(&self) -> pezkuwi_pez_node_primitives::approval::time::Tick { 0 } fn wait( &self, - _tick: pezkuwi_node_primitives::approval::time::Tick, + _tick: pezkuwi_pez_node_primitives::approval::time::Tick, ) -> std::pin::Pin + Send + 'static>> { todo!() } diff --git a/pezkuwi/node/network/availability-distribution/Cargo.toml b/pezkuwi/node/network/availability-distribution/Cargo.toml index 803679f8..b376c525 100644 --- a/pezkuwi/node/network/availability-distribution/Cargo.toml +++ b/pezkuwi/node/network/availability-distribution/Cargo.toml @@ -25,7 +25,7 @@ futures = { workspace = true } gum = { workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -52,7 +52,7 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/availability-distribution/src/pov_requester/mod.rs b/pezkuwi/node/network/availability-distribution/src/pov_requester/mod.rs index 1a68c1c6..efed3431 100644 --- a/pezkuwi/node/network/availability-distribution/src/pov_requester/mod.rs +++ b/pezkuwi/node/network/availability-distribution/src/pov_requester/mod.rs @@ -23,7 +23,7 @@ use pezkuwi_node_network_protocol::request_response::{ v1::{PoVFetchingRequest, PoVFetchingResponse}, OutgoingRequest, Recipient, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_node_subsystem::{ messages::{IfDisconnected, NetworkBridgeTxMessage}, overseer, @@ -128,7 +128,7 @@ mod tests { use pezsc_network::ProtocolName; use pezsp_core::testing::TaskExecutor; - use pezkuwi_node_primitives::BlockData; + use pezkuwi_pez_node_primitives::BlockData; use pezkuwi_node_subsystem::messages::{ AllMessages, AvailabilityDistributionMessage, RuntimeApiMessage, RuntimeApiRequest, }; diff --git a/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/mod.rs b/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/mod.rs index 019d1889..277d0fef 100644 --- a/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/mod.rs +++ b/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/mod.rs @@ -29,7 +29,7 @@ use pezkuwi_node_network_protocol::request_response::{ v1::{self, ChunkResponse}, v2, }; -use pezkuwi_node_primitives::ErasureChunk; +use pezkuwi_pez_node_primitives::ErasureChunk; use pezkuwi_node_subsystem::{ messages::{AvailabilityStoreMessage, IfDisconnected, NetworkBridgeTxMessage}, overseer, diff --git a/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/tests.rs b/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/tests.rs index d1068710..320c7498 100644 --- a/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/tests.rs +++ b/pezkuwi/node/network/availability-distribution/src/requester/fetch_task/tests.rs @@ -33,7 +33,7 @@ use pezkuwi_node_network_protocol::request_response::{ v1::{self, ChunkResponse}, Protocol, Recipient, ReqProtocolNames, }; -use pezkuwi_node_primitives::{BlockData, PoV, Proof}; +use pezkuwi_pez_node_primitives::{BlockData, PoV, Proof}; use pezkuwi_node_subsystem::messages::AllMessages; use pezkuwi_primitives::{CandidateHash, ChunkIndex, ValidatorIndex}; diff --git a/pezkuwi/node/network/availability-distribution/src/requester/tests.rs b/pezkuwi/node/network/availability-distribution/src/requester/tests.rs index a0b8fef0..bc8d29b6 100644 --- a/pezkuwi/node/network/availability-distribution/src/requester/tests.rs +++ b/pezkuwi/node/network/availability-distribution/src/requester/tests.rs @@ -18,7 +18,7 @@ use futures::FutureExt; use std::future::Future; use pezkuwi_node_network_protocol::request_response::ReqProtocolNames; -use pezkuwi_node_primitives::{BlockData, ErasureChunk, PoV}; +use pezkuwi_pez_node_primitives::{BlockData, ErasureChunk, PoV}; use pezkuwi_node_subsystem_util::runtime::RuntimeInfo; use pezkuwi_primitives::{ BlockNumber, ChunkIndex, CoreState, ExecutorParams, GroupIndex, Hash, Id as ParaId, diff --git a/pezkuwi/node/network/availability-distribution/src/responder.rs b/pezkuwi/node/network/availability-distribution/src/responder.rs index bc23ed5e..474f538a 100644 --- a/pezkuwi/node/network/availability-distribution/src/responder.rs +++ b/pezkuwi/node/network/availability-distribution/src/responder.rs @@ -26,7 +26,7 @@ use pezkuwi_node_network_protocol::{ request_response::{v1, v2, IncomingRequest, IncomingRequestReceiver, IsRequest}, UnifiedReputationChange as Rep, }; -use pezkuwi_node_primitives::{AvailableData, ErasureChunk}; +use pezkuwi_pez_node_primitives::{AvailableData, ErasureChunk}; use pezkuwi_node_subsystem::{messages::AvailabilityStoreMessage, SubsystemSender}; use pezkuwi_primitives::{CandidateHash, ValidatorIndex}; diff --git a/pezkuwi/node/network/availability-distribution/src/tests/mock.rs b/pezkuwi/node/network/availability-distribution/src/tests/mock.rs index 51a5baae..1bfc0c8b 100644 --- a/pezkuwi/node/network/availability-distribution/src/tests/mock.rs +++ b/pezkuwi/node/network/availability-distribution/src/tests/mock.rs @@ -21,7 +21,7 @@ use std::sync::Arc; use pezsp_keyring::Sr25519Keyring; use pezkuwi_erasure_coding::{branches, obtain_chunks_v1 as obtain_chunks}; -use pezkuwi_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV, Proof}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV, Proof}; use pezkuwi_primitives::{ CandidateCommitments, CandidateHash, ChunkIndex, CommittedCandidateReceiptV2, GroupIndex, Hash, HeadData, Id as ParaId, IndexedVec, OccupiedCore, PersistedValidationData, SessionInfo, diff --git a/pezkuwi/node/network/availability-distribution/src/tests/state.rs b/pezkuwi/node/network/availability-distribution/src/tests/state.rs index 0d5cc85c..c05d78b5 100644 --- a/pezkuwi/node/network/availability-distribution/src/tests/state.rs +++ b/pezkuwi/node/network/availability-distribution/src/tests/state.rs @@ -37,7 +37,7 @@ use pezsp_keystore::KeystorePtr; use pezkuwi_node_network_protocol::request_response::{ v1, v2, IncomingRequest, OutgoingRequest, Protocol, ReqProtocolNames, Requests, }; -use pezkuwi_node_primitives::ErasureChunk; +use pezkuwi_pez_node_primitives::ErasureChunk; use pezkuwi_node_subsystem::{ messages::{ AllMessages, AvailabilityDistributionMessage, AvailabilityStoreMessage, ChainApiMessage, diff --git a/pezkuwi/node/network/availability-recovery/Cargo.toml b/pezkuwi/node/network/availability-recovery/Cargo.toml index deab274f..fd1812ac 100644 --- a/pezkuwi/node/network/availability-recovery/Cargo.toml +++ b/pezkuwi/node/network/availability-recovery/Cargo.toml @@ -31,7 +31,7 @@ tokio = { workspace = true, default-features = true } codec = { features = ["derive"], workspace = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -56,7 +56,7 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/availability-recovery/src/lib.rs b/pezkuwi/node/network/availability-recovery/src/lib.rs index 4c04d50d..941679f9 100644 --- a/pezkuwi/node/network/availability-recovery/src/lib.rs +++ b/pezkuwi/node/network/availability-recovery/src/lib.rs @@ -54,7 +54,7 @@ use pezkuwi_node_network_protocol::{ }, UnifiedReputationChange as Rep, }; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{ errors::RecoveryError, messages::{AvailabilityRecoveryMessage, AvailabilityStoreMessage}, diff --git a/pezkuwi/node/network/availability-recovery/src/task/mod.rs b/pezkuwi/node/network/availability-recovery/src/task/mod.rs index 1be9447b..ce0e141a 100644 --- a/pezkuwi/node/network/availability-recovery/src/task/mod.rs +++ b/pezkuwi/node/network/availability-recovery/src/task/mod.rs @@ -31,7 +31,7 @@ pub use self::strategy::{REGULAR_CHUNKS_REQ_RETRY_LIMIT, SYSTEMATIC_CHUNKS_REQ_R use crate::{metrics::Metrics, ErasureTask, PostRecoveryCheck, LOG_TARGET}; use codec::Encode; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{messages::AvailabilityStoreMessage, overseer, RecoveryError}; use pezkuwi_primitives::{AuthorityDiscoveryId, CandidateHash, Hash}; use pezsc_network::ProtocolName; diff --git a/pezkuwi/node/network/availability-recovery/src/task/strategy/chunks.rs b/pezkuwi/node/network/availability-recovery/src/task/strategy/chunks.rs index d04e8dd5..da145a54 100644 --- a/pezkuwi/node/network/availability-recovery/src/task/strategy/chunks.rs +++ b/pezkuwi/node/network/availability-recovery/src/task/strategy/chunks.rs @@ -26,7 +26,7 @@ use crate::{ ErasureTask, RecoveryStrategy, LOG_TARGET, }; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{overseer, RecoveryError}; use pezkuwi_primitives::ValidatorIndex; diff --git a/pezkuwi/node/network/availability-recovery/src/task/strategy/full.rs b/pezkuwi/node/network/availability-recovery/src/task/strategy/full.rs index 06873809..5582cca9 100644 --- a/pezkuwi/node/network/availability-recovery/src/task/strategy/full.rs +++ b/pezkuwi/node/network/availability-recovery/src/task/strategy/full.rs @@ -22,7 +22,7 @@ use crate::{ use pezkuwi_node_network_protocol::request_response::{ self as req_res, outgoing::RequestError, OutgoingRequest, Recipient, Requests, }; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{messages::NetworkBridgeTxMessage, overseer, RecoveryError}; use pezkuwi_primitives::ValidatorIndex; use pezsc_network::{IfDisconnected, OutboundFailure, RequestFailure}; diff --git a/pezkuwi/node/network/availability-recovery/src/task/strategy/mod.rs b/pezkuwi/node/network/availability-recovery/src/task/strategy/mod.rs index 083e96ff..48b0a01c 100644 --- a/pezkuwi/node/network/availability-recovery/src/task/strategy/mod.rs +++ b/pezkuwi/node/network/availability-recovery/src/task/strategy/mod.rs @@ -37,7 +37,7 @@ use pezkuwi_node_network_protocol::request_response::CHUNK_REQUEST_TIMEOUT; use pezkuwi_node_network_protocol::request_response::{ self as req_res, outgoing::RequestError, OutgoingRequest, Recipient, Requests, }; -use pezkuwi_node_primitives::{AvailableData, ErasureChunk}; +use pezkuwi_pez_node_primitives::{AvailableData, ErasureChunk}; use pezkuwi_node_subsystem::{ messages::{AvailabilityStoreMessage, NetworkBridgeTxMessage}, overseer, RecoveryError, @@ -645,7 +645,7 @@ mod tests { }; use pezkuwi_erasure_coding::{recovery_threshold, systematic_recovery_threshold}; use pezkuwi_node_network_protocol::request_response::Protocol; - use pezkuwi_node_primitives::{BlockData, PoV}; + use pezkuwi_pez_node_primitives::{BlockData, PoV}; use pezkuwi_node_subsystem::{AllMessages, TimeoutExt}; use pezkuwi_node_subsystem_test_helpers::{ derive_erasure_chunks_with_proofs_and_root, sender_receiver, TestSubsystemSender, diff --git a/pezkuwi/node/network/availability-recovery/src/task/strategy/systematic.rs b/pezkuwi/node/network/availability-recovery/src/task/strategy/systematic.rs index 78500a77..8c94809f 100644 --- a/pezkuwi/node/network/availability-recovery/src/task/strategy/systematic.rs +++ b/pezkuwi/node/network/availability-recovery/src/task/strategy/systematic.rs @@ -26,7 +26,7 @@ use crate::{ LOG_TARGET, }; -use pezkuwi_node_primitives::AvailableData; +use pezkuwi_pez_node_primitives::AvailableData; use pezkuwi_node_subsystem::{overseer, RecoveryError}; use pezkuwi_primitives::{ChunkIndex, ValidatorIndex}; diff --git a/pezkuwi/node/network/availability-recovery/src/tests.rs b/pezkuwi/node/network/availability-recovery/src/tests.rs index ce079b65..116772ca 100644 --- a/pezkuwi/node/network/availability-recovery/src/tests.rs +++ b/pezkuwi/node/network/availability-recovery/src/tests.rs @@ -31,7 +31,7 @@ use pezkuwi_node_network_protocol::request_response::{ IncomingRequest, Protocol, Recipient, ReqProtocolNames, Requests, }; -use pezkuwi_node_primitives::{BlockData, ErasureChunk, PoV, Proof}; +use pezkuwi_pez_node_primitives::{BlockData, ErasureChunk, PoV, Proof}; use pezkuwi_node_subsystem::messages::{ AllMessages, NetworkBridgeTxMessage, RuntimeApiMessage, RuntimeApiRequest, }; diff --git a/pezkuwi/node/network/collator-protocol/Cargo.toml b/pezkuwi/node/network/collator-protocol/Cargo.toml index 0c13c011..85ecbedf 100644 --- a/pezkuwi/node/network/collator-protocol/Cargo.toml +++ b/pezkuwi/node/network/collator-protocol/Cargo.toml @@ -26,7 +26,7 @@ pezsp-runtime = { workspace = true, default-features = true } fatality = { workspace = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -60,7 +60,7 @@ experimental-collator-protocol = ["async-trait", "tokio"] runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/collator-protocol/src/collator_side/collation.rs b/pezkuwi/node/network/collator-protocol/src/collator_side/collation.rs index 71025e85..069cafb9 100644 --- a/pezkuwi/node/network/collator-protocol/src/collator_side/collation.rs +++ b/pezkuwi/node/network/collator-protocol/src/collator_side/collation.rs @@ -24,7 +24,7 @@ use pezkuwi_node_network_protocol::{ request_response::{incoming::OutgoingResponse, v2 as protocol_v2, IncomingRequest}, PeerId, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_primitives::{ CandidateHash, CandidateReceiptV2 as CandidateReceipt, Hash, HeadData, Id as ParaId, }; diff --git a/pezkuwi/node/network/collator-protocol/src/collator_side/error.rs b/pezkuwi/node/network/collator-protocol/src/collator_side/error.rs index aaa5a068..17103778 100644 --- a/pezkuwi/node/network/collator-protocol/src/collator_side/error.rs +++ b/pezkuwi/node/network/collator-protocol/src/collator_side/error.rs @@ -15,7 +15,7 @@ // along with Pezkuwi. If not, see . use pezkuwi_node_network_protocol::request_response::incoming; -use pezkuwi_node_primitives::UncheckedSignedFullStatement; +use pezkuwi_pez_node_primitives::UncheckedSignedFullStatement; use pezkuwi_node_subsystem::{errors::SubsystemError, RuntimeApiError}; use pezkuwi_node_subsystem_util::{backing_implicit_view, runtime}; diff --git a/pezkuwi/node/network/collator-protocol/src/collator_side/mod.rs b/pezkuwi/node/network/collator-protocol/src/collator_side/mod.rs index 5e6dffd1..f5801727 100644 --- a/pezkuwi/node/network/collator-protocol/src/collator_side/mod.rs +++ b/pezkuwi/node/network/collator-protocol/src/collator_side/mod.rs @@ -37,7 +37,7 @@ use pezkuwi_node_network_protocol::{ v1 as protocol_v1, v2 as protocol_v2, CollationProtocols, OurView, PeerId, UnifiedReputationChange as Rep, View, }; -use pezkuwi_node_primitives::{CollationSecondedSignal, PoV, Statement}; +use pezkuwi_pez_node_primitives::{CollationSecondedSignal, PoV, Statement}; use pezkuwi_node_subsystem::{ messages::{ ChainApiMessage, CollatorProtocolMessage, NetworkBridgeEvent, NetworkBridgeTxMessage, diff --git a/pezkuwi/node/network/collator-protocol/src/collator_side/tests/mod.rs b/pezkuwi/node/network/collator-protocol/src/collator_side/tests/mod.rs index e28ed39c..9d6c4493 100644 --- a/pezkuwi/node/network/collator-protocol/src/collator_side/tests/mod.rs +++ b/pezkuwi/node/network/collator-protocol/src/collator_side/tests/mod.rs @@ -41,7 +41,7 @@ use pezkuwi_node_network_protocol::{ }, view, ObservedRole, }; -use pezkuwi_node_primitives::BlockData; +use pezkuwi_pez_node_primitives::BlockData; use pezkuwi_node_subsystem::{ messages::{AllMessages, ReportPeerMessage, RuntimeApiMessage, RuntimeApiRequest}, ActivatedLeaf, ActiveLeavesUpdate, diff --git a/pezkuwi/node/network/collator-protocol/src/validator_side/collation.rs b/pezkuwi/node/network/collator-protocol/src/validator_side/collation.rs index f7ec5d34..1537c9d4 100644 --- a/pezkuwi/node/network/collator-protocol/src/validator_side/collation.rs +++ b/pezkuwi/node/network/collator-protocol/src/validator_side/collation.rs @@ -47,7 +47,7 @@ use pezkuwi_node_network_protocol::{ request_response::{outgoing::RequestError, v1 as request_v1, OutgoingResult}, PeerId, }; -use pezkuwi_node_primitives::PoV; +use pezkuwi_pez_node_primitives::PoV; use pezkuwi_node_subsystem_util::metrics::prometheus::prometheus::HistogramTimer; use pezkuwi_primitives::{ CandidateHash, CandidateReceiptV2 as CandidateReceipt, CollatorId, Hash, HeadData, diff --git a/pezkuwi/node/network/collator-protocol/src/validator_side/mod.rs b/pezkuwi/node/network/collator-protocol/src/validator_side/mod.rs index 15eaf3d7..7cd6fb55 100644 --- a/pezkuwi/node/network/collator-protocol/src/validator_side/mod.rs +++ b/pezkuwi/node/network/collator-protocol/src/validator_side/mod.rs @@ -37,7 +37,7 @@ use pezkuwi_node_network_protocol::{ v1 as protocol_v1, v2 as protocol_v2, CollationProtocols, OurView, PeerId, UnifiedReputationChange as Rep, View, }; -use pezkuwi_node_primitives::{SignedFullStatement, Statement}; +use pezkuwi_pez_node_primitives::{SignedFullStatement, Statement}; use pezkuwi_node_subsystem::{ messages::{ CanSecondRequest, CandidateBackingMessage, CollatorProtocolMessage, IfDisconnected, diff --git a/pezkuwi/node/network/collator-protocol/src/validator_side/tests/mod.rs b/pezkuwi/node/network/collator-protocol/src/validator_side/tests/mod.rs index 1c94fdf9..a63d9a78 100644 --- a/pezkuwi/node/network/collator-protocol/src/validator_side/tests/mod.rs +++ b/pezkuwi/node/network/collator-protocol/src/validator_side/tests/mod.rs @@ -34,7 +34,7 @@ use pezkuwi_node_network_protocol::{ request_response::{Requests, ResponseSender}, ObservedRole, }; -use pezkuwi_node_primitives::{BlockData, PoV}; +use pezkuwi_pez_node_primitives::{BlockData, PoV}; use pezkuwi_node_subsystem::messages::{ AllMessages, ReportPeerMessage, RuntimeApiMessage, RuntimeApiRequest, }; diff --git a/pezkuwi/node/network/dispute-distribution/Cargo.toml b/pezkuwi/node/network/dispute-distribution/Cargo.toml index 60cffda5..e7d3ed46 100644 --- a/pezkuwi/node/network/dispute-distribution/Cargo.toml +++ b/pezkuwi/node/network/dispute-distribution/Cargo.toml @@ -20,7 +20,7 @@ futures-timer = { workspace = true } gum = { workspace = true, default-features = true } indexmap = { workspace = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -43,7 +43,7 @@ pezsp-tracing = { workspace = true, default-features = true } runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/dispute-distribution/src/lib.rs b/pezkuwi/node/network/dispute-distribution/src/lib.rs index d1f25fc2..1457c4b8 100644 --- a/pezkuwi/node/network/dispute-distribution/src/lib.rs +++ b/pezkuwi/node/network/dispute-distribution/src/lib.rs @@ -33,7 +33,7 @@ use pezkuwi_node_subsystem_util::nesting_sender::NestingSender; use pezsp_keystore::KeystorePtr; use pezkuwi_node_network_protocol::request_response::{incoming::IncomingRequestReceiver, v1}; -use pezkuwi_node_primitives::DISPUTE_WINDOW; +use pezkuwi_pez_node_primitives::DISPUTE_WINDOW; use pezkuwi_node_subsystem::{ messages::DisputeDistributionMessage, overseer, FromOrchestra, OverseerSignal, SpawnedSubsystem, SubsystemError, diff --git a/pezkuwi/node/network/dispute-distribution/src/receiver/batches/batch.rs b/pezkuwi/node/network/dispute-distribution/src/receiver/batches/batch.rs index 91c6d32c..90a2d1fa 100644 --- a/pezkuwi/node/network/dispute-distribution/src/receiver/batches/batch.rs +++ b/pezkuwi/node/network/dispute-distribution/src/receiver/batches/batch.rs @@ -21,7 +21,7 @@ use pezkuwi_node_network_protocol::{ request_response::{incoming::OutgoingResponseSender, v1::DisputeRequest}, PeerId, }; -use pezkuwi_node_primitives::SignedDisputeStatement; +use pezkuwi_pez_node_primitives::SignedDisputeStatement; use pezkuwi_primitives::{CandidateReceiptV2 as CandidateReceipt, ValidatorIndex}; use crate::receiver::{BATCH_COLLECTING_INTERVAL, MIN_KEEP_BATCH_ALIVE_VOTES}; diff --git a/pezkuwi/node/network/dispute-distribution/src/receiver/mod.rs b/pezkuwi/node/network/dispute-distribution/src/receiver/mod.rs index 284db4fc..84336b82 100644 --- a/pezkuwi/node/network/dispute-distribution/src/receiver/mod.rs +++ b/pezkuwi/node/network/dispute-distribution/src/receiver/mod.rs @@ -38,7 +38,7 @@ use pezkuwi_node_network_protocol::{ }, PeerId, UnifiedReputationChange as Rep, }; -use pezkuwi_node_primitives::DISPUTE_WINDOW; +use pezkuwi_pez_node_primitives::DISPUTE_WINDOW; use pezkuwi_node_subsystem::{ messages::{DisputeCoordinatorMessage, ImportStatementsResult}, overseer, diff --git a/pezkuwi/node/network/dispute-distribution/src/sender/error.rs b/pezkuwi/node/network/dispute-distribution/src/sender/error.rs index 6668750b..c0ea4de3 100644 --- a/pezkuwi/node/network/dispute-distribution/src/sender/error.rs +++ b/pezkuwi/node/network/dispute-distribution/src/sender/error.rs @@ -17,7 +17,7 @@ //! Error handling related code and Error/Result definitions. -use pezkuwi_node_primitives::disputes::DisputeMessageCheckError; +use pezkuwi_pez_node_primitives::disputes::DisputeMessageCheckError; use pezkuwi_node_subsystem::SubsystemError; use pezkuwi_node_subsystem_util::runtime; diff --git a/pezkuwi/node/network/dispute-distribution/src/sender/mod.rs b/pezkuwi/node/network/dispute-distribution/src/sender/mod.rs index dab15c91..57db520d 100644 --- a/pezkuwi/node/network/dispute-distribution/src/sender/mod.rs +++ b/pezkuwi/node/network/dispute-distribution/src/sender/mod.rs @@ -26,7 +26,7 @@ use futures::{channel::oneshot, future::poll_fn, Future}; use futures_timer::Delay; use indexmap::{map::Entry, IndexMap}; use pezkuwi_node_network_protocol::request_response::v1::DisputeRequest; -use pezkuwi_node_primitives::{DisputeMessage, DisputeStatus}; +use pezkuwi_pez_node_primitives::{DisputeMessage, DisputeStatus}; use pezkuwi_node_subsystem::{ messages::DisputeCoordinatorMessage, overseer, ActiveLeavesUpdate, SubsystemSender, }; diff --git a/pezkuwi/node/network/dispute-distribution/src/tests/mock.rs b/pezkuwi/node/network/dispute-distribution/src/tests/mock.rs index 0e01f941..6eabdcaa 100644 --- a/pezkuwi/node/network/dispute-distribution/src/tests/mock.rs +++ b/pezkuwi/node/network/dispute-distribution/src/tests/mock.rs @@ -31,7 +31,7 @@ use pezsp_application_crypto::AppCrypto; use pezsp_keyring::Sr25519Keyring; use pezsp_keystore::{Keystore, KeystorePtr}; -use pezkuwi_node_primitives::{DisputeMessage, SignedDisputeStatement}; +use pezkuwi_pez_node_primitives::{DisputeMessage, SignedDisputeStatement}; use pezkuwi_primitives::{ AuthorityDiscoveryId, CandidateHash, CandidateReceiptV2 as CandidateReceipt, Hash, SessionIndex, SessionInfo, ValidatorId, ValidatorIndex, diff --git a/pezkuwi/node/network/dispute-distribution/src/tests/mod.rs b/pezkuwi/node/network/dispute-distribution/src/tests/mod.rs index bbd87e66..6dab0d7d 100644 --- a/pezkuwi/node/network/dispute-distribution/src/tests/mod.rs +++ b/pezkuwi/node/network/dispute-distribution/src/tests/mod.rs @@ -44,7 +44,7 @@ use pezkuwi_node_network_protocol::{ request_response::{v1::DisputeResponse, Recipient, Requests}, IfDisconnected, }; -use pezkuwi_node_primitives::DisputeStatus; +use pezkuwi_pez_node_primitives::DisputeStatus; use pezkuwi_node_subsystem::{ messages::{ AllMessages, DisputeCoordinatorMessage, DisputeDistributionMessage, ImportStatementsResult, diff --git a/pezkuwi/node/network/protocol/Cargo.toml b/pezkuwi/node/network/protocol/Cargo.toml index ea8377fc..b8cc9a1f 100644 --- a/pezkuwi/node/network/protocol/Cargo.toml +++ b/pezkuwi/node/network/protocol/Cargo.toml @@ -22,7 +22,7 @@ fatality = { workspace = true } futures = { workspace = true } gum = { workspace = true, default-features = true } hex = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } rand = { workspace = true, default-features = true } pezsc-authority-discovery = { workspace = true, default-features = true } @@ -38,7 +38,7 @@ rand_chacha = { workspace = true, default-features = true } [features] runtime-benchmarks = [ "gum/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezsc-authority-discovery/runtime-benchmarks", "pezsc-network/runtime-benchmarks", diff --git a/pezkuwi/node/network/protocol/src/lib.rs b/pezkuwi/node/network/protocol/src/lib.rs index 24c78e3b..d4e7f137 100644 --- a/pezkuwi/node/network/protocol/src/lib.rs +++ b/pezkuwi/node/network/protocol/src/lib.rs @@ -471,7 +471,7 @@ pub mod v1 { use pezkuwi_primitives::{CollatorId, CollatorSignature, Hash, Id as ParaId}; - use pezkuwi_node_primitives::UncheckedSignedFullStatement; + use pezkuwi_pez_node_primitives::UncheckedSignedFullStatement; /// Network messages used by the collator protocol subsystem #[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)] @@ -515,7 +515,7 @@ pub mod v2 { use pezkuwi_primitives::{CandidateHash, CollatorId, CollatorSignature, Hash, Id as ParaId}; - use pezkuwi_node_primitives::UncheckedSignedFullStatement; + use pezkuwi_pez_node_primitives::UncheckedSignedFullStatement; /// This parts of the protocol did not change from v1, so just alias them in v2. pub use super::v1::declare_signature_payload; @@ -565,7 +565,7 @@ pub mod v3 { UncheckedSignedStatement, }; - use pezkuwi_node_primitives::approval::v2::{ + use pezkuwi_pez_node_primitives::approval::v2::{ CandidateBitfield, IndirectAssignmentCertV2, IndirectSignedApprovalVoteV2, }; diff --git a/pezkuwi/node/network/protocol/src/request_response/v1.rs b/pezkuwi/node/network/protocol/src/request_response/v1.rs index e5c7d740..55cde2e9 100644 --- a/pezkuwi/node/network/protocol/src/request_response/v1.rs +++ b/pezkuwi/node/network/protocol/src/request_response/v1.rs @@ -18,7 +18,7 @@ use codec::{Decode, Encode}; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ AvailableData, DisputeMessage, ErasureChunk, PoV, Proof, UncheckedDisputeMessage, }; use pezkuwi_primitives::{ diff --git a/pezkuwi/node/network/protocol/src/request_response/v2.rs b/pezkuwi/node/network/protocol/src/request_response/v2.rs index ba4d6d92..524d7af3 100644 --- a/pezkuwi/node/network/protocol/src/request_response/v2.rs +++ b/pezkuwi/node/network/protocol/src/request_response/v2.rs @@ -18,7 +18,7 @@ use codec::{Decode, Encode}; -use pezkuwi_node_primitives::ErasureChunk; +use pezkuwi_pez_node_primitives::ErasureChunk; use pezkuwi_primitives::{ CandidateHash, CommittedCandidateReceiptV2 as CommittedCandidateReceipt, Hash, Id as ParaId, PersistedValidationData, UncheckedSignedStatement, ValidatorIndex, diff --git a/pezkuwi/node/network/statement-distribution/Cargo.toml b/pezkuwi/node/network/statement-distribution/Cargo.toml index 3f4729bb..42774f66 100644 --- a/pezkuwi/node/network/statement-distribution/Cargo.toml +++ b/pezkuwi/node/network/statement-distribution/Cargo.toml @@ -26,7 +26,7 @@ futures = { workspace = true } futures-timer = { workspace = true } gum = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -55,7 +55,7 @@ subsystem-benchmarks = [] runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/network/statement-distribution/src/v2/mod.rs b/pezkuwi/node/network/statement-distribution/src/v2/mod.rs index 45a8b6d3..06859af9 100644 --- a/pezkuwi/node/network/statement-distribution/src/v2/mod.rs +++ b/pezkuwi/node/network/statement-distribution/src/v2/mod.rs @@ -31,7 +31,7 @@ use pezkuwi_node_network_protocol::{ v3::{self as protocol_v3, StatementFilter}, IfDisconnected, PeerId, UnifiedReputationChange as Rep, ValidationProtocols, View, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ SignedFullStatementWithPVD, StatementWithPVD as FullStatementWithPVD, }; use pezkuwi_node_subsystem::{ diff --git a/pezkuwi/node/network/statement-distribution/src/v2/tests/mod.rs b/pezkuwi/node/network/statement-distribution/src/v2/tests/mod.rs index 06eb7638..e52c31dd 100644 --- a/pezkuwi/node/network/statement-distribution/src/v2/tests/mod.rs +++ b/pezkuwi/node/network/statement-distribution/src/v2/tests/mod.rs @@ -24,7 +24,7 @@ use pezkuwi_node_network_protocol::{ v3::{BackedCandidateAcknowledgement, BackedCandidateManifest}, view, ObservedRole, }; -use pezkuwi_node_primitives::{Statement, StatementWithPVD}; +use pezkuwi_pez_node_primitives::{Statement, StatementWithPVD}; use pezkuwi_node_subsystem::messages::{ network_bridge_event::NewGossipTopology, AllMessages, ChainApiMessage, HypotheticalCandidate, HypotheticalMembership, NetworkBridgeEvent, ProspectiveTeyrchainsMessage, ReportPeerMessage, diff --git a/pezkuwi/node/overseer/Cargo.toml b/pezkuwi/node/overseer/Cargo.toml index 6c32094b..12ad59a3 100644 --- a/pezkuwi/node/overseer/Cargo.toml +++ b/pezkuwi/node/overseer/Cargo.toml @@ -20,7 +20,7 @@ gum = { workspace = true, default-features = true } orchestra = { features = ["futures_channel"], workspace = true } pezkuwi-node-metrics = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem-types = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezsc-client-api = { workspace = true, default-features = true } @@ -47,7 +47,7 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-primitives-test-helpers/runtime-benchmarks", diff --git a/pezkuwi/node/overseer/examples/minimal-example.rs b/pezkuwi/node/overseer/examples/minimal-example.rs index 9d232390..891e8c07 100644 --- a/pezkuwi/node/overseer/examples/minimal-example.rs +++ b/pezkuwi/node/overseer/examples/minimal-example.rs @@ -23,7 +23,7 @@ use futures_timer::Delay; use orchestra::async_trait; use std::time::Duration; -use pezkuwi_node_primitives::{BlockData, PoV}; +use pezkuwi_pez_node_primitives::{BlockData, PoV}; use pezkuwi_node_subsystem_types::messages::{CandidateValidationMessage, PvfExecKind}; use pezkuwi_overseer::{ self as overseer, diff --git a/pezkuwi/node/overseer/src/metrics.rs b/pezkuwi/node/overseer/src/metrics.rs index 36a2f81e..2d1e5725 100644 --- a/pezkuwi/node/overseer/src/metrics.rs +++ b/pezkuwi/node/overseer/src/metrics.rs @@ -24,7 +24,7 @@ pub use pezkuwi_node_metrics::metrics::{self, prometheus, Metrics as MetricsTrai struct MetricsInner { activated_heads_total: prometheus::Counter, deactivated_heads_total: prometheus::Counter, - messages_relayed_total: prometheus::Counter, + pez_messages_relayed_total: prometheus::Counter, to_subsystem_bounded_tof: prometheus::HistogramVec, to_subsystem_bounded_sent: prometheus::GaugeVec, @@ -63,7 +63,7 @@ impl Metrics { pub(crate) fn on_message_relayed(&self) { if let Some(metrics) = &self.0 { - metrics.messages_relayed_total.inc(); + metrics.pez_messages_relayed_total.inc(); } } @@ -153,9 +153,9 @@ impl MetricsTrait for Metrics { )?, registry, )?, - messages_relayed_total: prometheus::register( + pez_messages_relayed_total: prometheus::register( prometheus::Counter::new( - "pezkuwi_teyrchain_messages_relayed_total", + "pezkuwi_teyrchain_pez_messages_relayed_total", "Number of messages relayed by Overseer.", )?, registry, diff --git a/pezkuwi/node/overseer/src/tests.rs b/pezkuwi/node/overseer/src/tests.rs index 698126eb..0a567bf3 100644 --- a/pezkuwi/node/overseer/src/tests.rs +++ b/pezkuwi/node/overseer/src/tests.rs @@ -21,7 +21,7 @@ use std::{collections::HashMap, sync::atomic, task::Poll}; use pezkuwi_node_network_protocol::{ peer_set::ValidationVersion, ObservedRole, PeerId, UnifiedReputationChange, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ BlockData, CollationGenerationConfig, CollationResult, DisputeMessage, InvalidDisputeVote, PoV, UncheckedDisputeMessage, ValidDisputeVote, }; @@ -283,7 +283,7 @@ fn extract_metrics(registry: &prometheus::Registry) -> HashMap<&'static str, u64 let activated = extract("pezkuwi_teyrchain_activated_heads_total"); let deactivated = extract("pezkuwi_teyrchain_deactivated_heads_total"); - let relayed = extract("pezkuwi_teyrchain_messages_relayed_total"); + let relayed = extract("pezkuwi_teyrchain_pez_messages_relayed_total"); let mut result = HashMap::new(); result.insert("activated", activated); result.insert("deactivated", deactivated); diff --git a/pezkuwi/node/primitives/Cargo.toml b/pezkuwi/node/primitives/Cargo.toml index 8c8b0599..5643184e 100644 --- a/pezkuwi/node/primitives/Cargo.toml +++ b/pezkuwi/node/primitives/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pezkuwi-node-primitives" +name = "pezkuwi-pez-node-primitives" description = "Primitives types for the Node-side" version = "7.0.0" authors.workspace = true @@ -7,7 +7,7 @@ edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/pezkuwi-node-primitives" +documentation = "https://docs.rs/pezkuwi-pez-node-primitives" [lints] workspace = true diff --git a/pezkuwi/node/service/Cargo.toml b/pezkuwi/node/service/Cargo.toml index dcb9d86a..c0f60bab 100644 --- a/pezkuwi/node/service/Cargo.toml +++ b/pezkuwi/node/service/Cargo.toml @@ -15,7 +15,7 @@ workspace = true [dependencies] # Bizinikiwi Client -mmr-gadget = { workspace = true, default-features = true } +pezmmr-gadget = { workspace = true, default-features = true } pezsc-authority-discovery = { workspace = true, default-features = true } pezsc-basic-authorship = { workspace = true, default-features = true } pezsc-chain-spec = { workspace = true, default-features = true } @@ -91,7 +91,7 @@ thiserror = { workspace = true } pezkuwi-core-primitives = { workspace = true, default-features = true } pezkuwi-node-core-teyrchains-inherent = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-types = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } @@ -135,7 +135,7 @@ pezkuwi-node-core-runtime-api = { optional = true, workspace = true, default-fea pezkuwi-statement-distribution = { optional = true, workspace = true, default-features = true } xcm = { workspace = true, default-features = true } -xcm-runtime-apis = { workspace = true, default-features = true } +xcm-runtime-pezapis = { workspace = true, default-features = true } [dev-dependencies] assert_matches = { workspace = true } @@ -203,7 +203,7 @@ runtime-benchmarks = [ "pezframe-system-rpc-runtime-api/runtime-benchmarks", "pezframe-system/runtime-benchmarks", "gum/runtime-benchmarks", - "mmr-gadget/runtime-benchmarks", + "pezmmr-gadget/runtime-benchmarks", "pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks", "pezpallet-transaction-payment/runtime-benchmarks", "pezkuwi-approval-distribution?/runtime-benchmarks", @@ -232,7 +232,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-runtime-api?/runtime-benchmarks", "pezkuwi-node-core-teyrchains-inherent/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", @@ -283,7 +283,7 @@ runtime-benchmarks = [ "pezsp-timestamp/runtime-benchmarks", "pezsp-transaction-pool/runtime-benchmarks", "pezsp-version/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants?/runtime-benchmarks", "zagros-runtime?/runtime-benchmarks", diff --git a/pezkuwi/node/service/src/builder/mod.rs b/pezkuwi/node/service/src/builder/mod.rs index f1663b1f..b2dc3726 100644 --- a/pezkuwi/node/service/src/builder/mod.rs +++ b/pezkuwi/node/service/src/builder/mod.rs @@ -31,7 +31,7 @@ use crate::{ }; use pezframe_benchmarking_cli::BIZINIKIWI_REFERENCE_HARDWARE; use gum::info; -use mmr_gadget::MmrGadget; +use pezmmr_gadget::MmrGadget; use pezkuwi_availability_recovery::FETCH_CHUNKS_THRESHOLD; use pezkuwi_node_core_approval_voting::Config as ApprovalVotingConfig; use pezkuwi_node_core_av_store::Config as AvailabilityConfig; @@ -780,7 +780,7 @@ where // When offchain indexing is enabled, MMR gadget should also run. if is_offchain_indexing_enabled { task_manager.spawn_essential_handle().spawn_blocking( - "mmr-gadget", + "pezmmr-gadget", None, MmrGadget::start( client.clone(), diff --git a/pezkuwi/node/service/src/fake_runtime_api.rs b/pezkuwi/node/service/src/fake_runtime_api.rs index f12b5ec8..17200345 100644 --- a/pezkuwi/node/service/src/fake_runtime_api.rs +++ b/pezkuwi/node/service/src/fake_runtime_api.rs @@ -427,30 +427,30 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { - fn query_acceptable_payment_assets(_: xcm::Version) -> Result, xcm_runtime_apis::fees::Error> { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { + fn query_acceptable_payment_assets(_: xcm::Version) -> Result, xcm_runtime_pezapis::fees::Error> { unimplemented!() } - fn query_weight_to_asset_fee(_: Weight, _: VersionedAssetId) -> Result { + fn query_weight_to_asset_fee(_: Weight, _: VersionedAssetId) -> Result { unimplemented!() } - fn query_xcm_weight(_: VersionedXcm<()>) -> Result { + fn query_xcm_weight(_: VersionedXcm<()>) -> Result { unimplemented!() } - fn query_delivery_fees(_: VersionedLocation, _: VersionedXcm<()>, _: VersionedAssetId) -> Result { + fn query_delivery_fees(_: VersionedLocation, _: VersionedXcm<()>, _: VersionedAssetId) -> Result { unimplemented!() } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { - fn dry_run_call(_: (), _: (), _: XcmVersion) -> Result, xcm_runtime_apis::dry_run::Error> { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { + fn dry_run_call(_: (), _: (), _: XcmVersion) -> Result, xcm_runtime_pezapis::dry_run::Error> { unimplemented!() } - fn dry_run_xcm(_: VersionedLocation, _: VersionedXcm<()>) -> Result, xcm_runtime_apis::dry_run::Error> { + fn dry_run_xcm(_: VersionedLocation, _: VersionedXcm<()>) -> Result, xcm_runtime_pezapis::dry_run::Error> { unimplemented!() } } diff --git a/pezkuwi/node/service/src/relay_chain_selection.rs b/pezkuwi/node/service/src/relay_chain_selection.rs index f0429590..90d320a1 100644 --- a/pezkuwi/node/service/src/relay_chain_selection.rs +++ b/pezkuwi/node/service/src/relay_chain_selection.rs @@ -37,7 +37,7 @@ use super::{HeaderProvider, HeaderProviderProvider}; use futures::channel::oneshot; -use pezkuwi_node_primitives::MAX_FINALITY_LAG as PRIMITIVES_MAX_FINALITY_LAG; +use pezkuwi_pez_node_primitives::MAX_FINALITY_LAG as PRIMITIVES_MAX_FINALITY_LAG; use pezkuwi_node_subsystem::messages::{ ApprovalVotingParallelMessage, ChainSelectionMessage, DisputeCoordinatorMessage, HighestApprovedAncestorBlock, diff --git a/pezkuwi/node/service/src/tests.rs b/pezkuwi/node/service/src/tests.rs index 00be2611..2a19e2d9 100644 --- a/pezkuwi/node/service/src/tests.rs +++ b/pezkuwi/node/service/src/tests.rs @@ -17,7 +17,7 @@ use super::{relay_chain_selection::*, *}; use futures::channel::oneshot::Receiver; -use pezkuwi_node_primitives::approval::v2::VrfSignature; +use pezkuwi_pez_node_primitives::approval::v2::VrfSignature; use pezkuwi_node_subsystem::messages::{AllMessages, BlockDescription}; use pezkuwi_node_subsystem_util::TimeoutExt; use pezkuwi_overseer::{HighPriority, PriorityLevel}; diff --git a/pezkuwi/node/subsystem-bench/Cargo.toml b/pezkuwi/node/subsystem-bench/Cargo.toml index 8021c567..23f98361 100644 --- a/pezkuwi/node/subsystem-bench/Cargo.toml +++ b/pezkuwi/node/subsystem-bench/Cargo.toml @@ -42,7 +42,7 @@ pezkuwi-dispute-distribution = { workspace = true, default-features = true } pezkuwi-node-core-av-store = { workspace = true, default-features = true } pezkuwi-node-core-dispute-coordinator = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-types = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } @@ -116,7 +116,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-dispute-coordinator/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", diff --git a/pezkuwi/node/subsystem-bench/src/lib/approval/helpers.rs b/pezkuwi/node/subsystem-bench/src/lib/approval/helpers.rs index 8784687b..df66c1f2 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/approval/helpers.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/approval/helpers.rs @@ -20,7 +20,7 @@ use pezkuwi_node_network_protocol::{ grid_topology::{SessionGridTopology, TopologyPeerInfo}, View, }; -use pezkuwi_node_primitives::approval::time::{Clock, SystemClock, Tick}; +use pezkuwi_pez_node_primitives::approval::time::{Clock, SystemClock, Tick}; use pezkuwi_node_subsystem::messages::{ ApprovalDistributionMessage, ApprovalVotingParallelMessage, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/approval/message_generator.rs b/pezkuwi/node/subsystem-bench/src/lib/approval/message_generator.rs index ba6890f1..3e1d1ddf 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/approval/message_generator.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/approval/message_generator.rs @@ -34,7 +34,7 @@ use pezkuwi_node_network_protocol::{ grid_topology::{GridNeighbors, RandomRouting, RequiredRouting, SessionGridTopology}, v3 as protocol_v3, }; -use pezkuwi_node_primitives::approval::{ +use pezkuwi_pez_node_primitives::approval::{ self, time::tranche_to_tick, v2::{CoreBitfield, IndirectAssignmentCertV2, IndirectSignedApprovalVoteV2}, diff --git a/pezkuwi/node/subsystem-bench/src/lib/approval/mock_chain_selection.rs b/pezkuwi/node/subsystem-bench/src/lib/approval/mock_chain_selection.rs index 911c1e39..b08130e0 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/approval/mock_chain_selection.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/approval/mock_chain_selection.rs @@ -16,7 +16,7 @@ use crate::approval::{ApprovalTestState, PastSystemClock, LOG_TARGET, SLOT_DURATION_MILLIS}; use futures::FutureExt; -use pezkuwi_node_primitives::approval::time::{slot_number_to_tick, Clock, TICK_DURATION_MILLIS}; +use pezkuwi_pez_node_primitives::approval::time::{slot_number_to_tick, Clock, TICK_DURATION_MILLIS}; use pezkuwi_node_subsystem::{overseer, SpawnedSubsystem, SubsystemError}; use pezkuwi_node_subsystem_types::messages::ChainSelectionMessage; diff --git a/pezkuwi/node/subsystem-bench/src/lib/approval/mod.rs b/pezkuwi/node/subsystem-bench/src/lib/approval/mod.rs index 6a88b3eb..5faeb3b3 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/approval/mod.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/approval/mod.rs @@ -50,7 +50,7 @@ use orchestra::TimeoutExt; use overseer::{metrics::Metrics as OverseerMetrics, MetricsTrait}; use pezkuwi_approval_distribution::ApprovalDistribution; use pezkuwi_node_core_approval_voting_parallel::ApprovalVotingParallelSubsystem; -use pezkuwi_node_primitives::approval::time::{ +use pezkuwi_pez_node_primitives::approval::time::{ slot_number_to_tick, tick_to_slot_number, Clock, ClockExt, SystemClock, }; @@ -58,7 +58,7 @@ use pezkuwi_node_core_approval_voting::{ ApprovalVotingSubsystem, Config as ApprovalVotingConfig, RealAssignmentCriteria, }; use pezkuwi_node_network_protocol::v3 as protocol_v3; -use pezkuwi_node_primitives::approval::{self, v1::RelayVRFStory}; +use pezkuwi_pez_node_primitives::approval::{self, v1::RelayVRFStory}; use pezkuwi_node_subsystem::{ messages::{ApprovalDistributionMessage, ApprovalVotingMessage, ApprovalVotingParallelMessage}, overseer, AllMessages, Overseer, OverseerConnector, SpawnGlue, diff --git a/pezkuwi/node/subsystem-bench/src/lib/availability/test_state.rs b/pezkuwi/node/subsystem-bench/src/lib/availability/test_state.rs index 6cd54710..69e1d000 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/availability/test_state.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/availability/test_state.rs @@ -27,7 +27,7 @@ use pezkuwi_node_network_protocol::{ request_response::{v2::ChunkFetchingRequest, ReqProtocolNames}, ValidationProtocols, VersionedValidationProtocol, }; -use pezkuwi_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV}; use pezkuwi_node_subsystem_test_helpers::{ derive_erasure_chunks_with_proofs_and_root, mock::new_block_import_info, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/disputes/test_state.rs b/pezkuwi/node/subsystem-bench/src/lib/disputes/test_state.rs index 5377e0fd..c91b46de 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/disputes/test_state.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/disputes/test_state.rs @@ -24,7 +24,7 @@ use pezkuwi_node_network_protocol::request_response::{ v1::{DisputeRequest, DisputeResponse}, ProtocolName, Requests, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ InvalidDisputeVote, SignedDisputeStatement, UncheckedDisputeMessage, ValidDisputeVote, }; use pezkuwi_node_subsystem_test_helpers::mock::new_block_import_info; diff --git a/pezkuwi/node/subsystem-bench/src/lib/mock/av_store.rs b/pezkuwi/node/subsystem-bench/src/lib/mock/av_store.rs index a4a8fa10..e81c3406 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/mock/av_store.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/mock/av_store.rs @@ -23,7 +23,7 @@ use pezkuwi_node_network_protocol::request_response::{ v1::AvailableDataFetchingResponse, v2::ChunkFetchingResponse, Protocol, ReqProtocolNames, Requests, }; -use pezkuwi_node_primitives::{AvailableData, ErasureChunk}; +use pezkuwi_pez_node_primitives::{AvailableData, ErasureChunk}; use pezkuwi_node_subsystem::{ messages::AvailabilityStoreMessage, overseer, SpawnedSubsystem, SubsystemError, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/mock/availability_recovery.rs b/pezkuwi/node/subsystem-bench/src/lib/mock/availability_recovery.rs index a50f1c70..1e9655fc 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/mock/availability_recovery.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/mock/availability_recovery.rs @@ -19,7 +19,7 @@ use std::sync::Arc; use futures::FutureExt; -use pezkuwi_node_primitives::{AvailableData, BlockData, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV}; use pezkuwi_node_subsystem::{ messages::AvailabilityRecoveryMessage, overseer, SpawnedSubsystem, SubsystemError, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_backing.rs b/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_backing.rs index a2313661..b1ff9272 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_backing.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_backing.rs @@ -18,7 +18,7 @@ use crate::{configuration::TestConfiguration, NODE_UNDER_TEST}; use futures::FutureExt; -use pezkuwi_node_primitives::{SignedFullStatementWithPVD, Statement, StatementWithPVD}; +use pezkuwi_pez_node_primitives::{SignedFullStatementWithPVD, Statement, StatementWithPVD}; use pezkuwi_node_subsystem::{ messages::CandidateBackingMessage, overseer, SpawnedSubsystem, SubsystemError, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_validation.rs b/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_validation.rs index 28f4b976..7f6b3278 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_validation.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/mock/candidate_validation.rs @@ -18,7 +18,7 @@ //! is responding with candidate valid for every request. use futures::FutureExt; -use pezkuwi_node_primitives::ValidationResult; +use pezkuwi_pez_node_primitives::ValidationResult; use pezkuwi_node_subsystem::{ messages::CandidateValidationMessage, overseer, SpawnedSubsystem, SubsystemError, }; diff --git a/pezkuwi/node/subsystem-bench/src/lib/statement/test_state.rs b/pezkuwi/node/subsystem-bench/src/lib/statement/test_state.rs index 59f2f60e..698d0150 100644 --- a/pezkuwi/node/subsystem-bench/src/lib/statement/test_state.rs +++ b/pezkuwi/node/subsystem-bench/src/lib/statement/test_state.rs @@ -35,7 +35,7 @@ use pezkuwi_node_network_protocol::{ }, ValidationProtocols, }; -use pezkuwi_node_primitives::{AvailableData, BlockData, PoV}; +use pezkuwi_pez_node_primitives::{AvailableData, BlockData, PoV}; use pezkuwi_node_subsystem_test_helpers::{ derive_erasure_chunks_with_proofs_and_root, mock::new_block_import_info, }; diff --git a/pezkuwi/node/subsystem-test-helpers/Cargo.toml b/pezkuwi/node/subsystem-test-helpers/Cargo.toml index 6a3176b2..667c5b1a 100644 --- a/pezkuwi/node/subsystem-test-helpers/Cargo.toml +++ b/pezkuwi/node/subsystem-test-helpers/Cargo.toml @@ -18,7 +18,7 @@ async-trait = { workspace = true } futures = { workspace = true } parking_lot = { workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-util = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -34,7 +34,7 @@ pezsp-keystore = { workspace = true, default-features = true } [features] runtime-benchmarks = [ "pezkuwi-erasure-coding/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-util/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", diff --git a/pezkuwi/node/subsystem-test-helpers/src/lib.rs b/pezkuwi/node/subsystem-test-helpers/src/lib.rs index fa057757..9eee6cea 100644 --- a/pezkuwi/node/subsystem-test-helpers/src/lib.rs +++ b/pezkuwi/node/subsystem-test-helpers/src/lib.rs @@ -19,7 +19,7 @@ #![warn(missing_docs)] use pezkuwi_erasure_coding::{branches, obtain_chunks_v1 as obtain_chunks}; -use pezkuwi_node_primitives::{AvailableData, ErasureChunk, Proof}; +use pezkuwi_pez_node_primitives::{AvailableData, ErasureChunk, Proof}; use pezkuwi_node_subsystem::{ messages::AllMessages, overseer, FromOrchestra, OverseerSignal, SpawnGlue, SpawnedSubsystem, SubsystemError, SubsystemResult, TrySendError, diff --git a/pezkuwi/node/subsystem-types/Cargo.toml b/pezkuwi/node/subsystem-types/Cargo.toml index e58b715a..6eabd002 100644 --- a/pezkuwi/node/subsystem-types/Cargo.toml +++ b/pezkuwi/node/subsystem-types/Cargo.toml @@ -19,7 +19,7 @@ fatality = { workspace = true } futures = { workspace = true } orchestra = { features = ["futures_channel"], workspace = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-statement-table = { workspace = true, default-features = true } prometheus-endpoint = { workspace = true, default-features = true } @@ -38,7 +38,7 @@ thiserror = { workspace = true } [features] runtime-benchmarks = [ "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-statement-table/runtime-benchmarks", "pezsc-client-api/runtime-benchmarks", diff --git a/pezkuwi/node/subsystem-types/src/messages.rs b/pezkuwi/node/subsystem-types/src/messages.rs index a758f632..ec25fd31 100644 --- a/pezkuwi/node/subsystem-types/src/messages.rs +++ b/pezkuwi/node/subsystem-types/src/messages.rs @@ -31,7 +31,7 @@ pub use pezsc_network::IfDisconnected; use pezkuwi_node_network_protocol::{ self as net_protocol, peer_set::PeerSet, request_response::Requests, PeerId, }; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ approval::{ v1::{BlockApprovalMeta, DelayTranche}, v2::{CandidateBitfield, IndirectAssignmentCertV2, IndirectSignedApprovalVoteV2}, diff --git a/pezkuwi/node/subsystem-util/Cargo.toml b/pezkuwi/node/subsystem-util/Cargo.toml index ca076df9..d64e1bd9 100644 --- a/pezkuwi/node/subsystem-util/Cargo.toml +++ b/pezkuwi/node/subsystem-util/Cargo.toml @@ -27,7 +27,7 @@ metered = { features = ["futures_channel"], workspace = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } pezkuwi-node-metrics = { workspace = true, default-features = true } pezkuwi-node-network-protocol = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-node-subsystem-types = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } @@ -54,7 +54,7 @@ runtime-benchmarks = [ "pezkuwi-erasure-coding/runtime-benchmarks", "pezkuwi-node-metrics/runtime-benchmarks", "pezkuwi-node-network-protocol/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks", "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", diff --git a/pezkuwi/node/subsystem-util/src/runtime/mod.rs b/pezkuwi/node/subsystem-util/src/runtime/mod.rs index df534c79..a2385dd1 100644 --- a/pezkuwi/node/subsystem-util/src/runtime/mod.rs +++ b/pezkuwi/node/subsystem-util/src/runtime/mod.rs @@ -16,7 +16,7 @@ //! Convenient interface to runtime information. -use pezkuwi_node_primitives::MAX_FINALITY_LAG; +use pezkuwi_pez_node_primitives::MAX_FINALITY_LAG; use schnellru::{ByLength, LruMap}; use codec::Encode; @@ -614,7 +614,7 @@ pub async fn fetch_validation_code_bomb_limit( // TODO: Remove this once runtime API version 12 is released. #[allow(deprecated)] - Ok(pezkuwi_node_primitives::VALIDATION_CODE_BOMB_LIMIT as u32) + Ok(pezkuwi_pez_node_primitives::VALIDATION_CODE_BOMB_LIMIT as u32) } else { res } diff --git a/pezkuwi/node/test/service/Cargo.toml b/pezkuwi/node/test/service/Cargo.toml index abce097a..ca17f513 100644 --- a/pezkuwi/node/test/service/Cargo.toml +++ b/pezkuwi/node/test/service/Cargo.toml @@ -20,7 +20,7 @@ serde_json = { workspace = true, default-features = true } tokio = { workspace = true, default-features = true } # Pezkuwi dependencies -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-overseer = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } @@ -29,7 +29,7 @@ pezkuwi-runtime-teyrchains = { workspace = true, default-features = true } pezkuwi-service = { workspace = true, default-features = true } pezkuwi-test-runtime = { workspace = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } -test-runtime-constants = { workspace = true, default-features = true } +peztest-runtime-constants = { workspace = true, default-features = true } # Bizinikiwi dependencies pezframe-system = { workspace = true, default-features = true } @@ -66,7 +66,7 @@ runtime-benchmarks = [ "pezpallet-balances/runtime-benchmarks", "pezpallet-staking/runtime-benchmarks", "pezpallet-transaction-payment/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-overseer/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", @@ -91,5 +91,5 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine/runtime-benchmarks", "bizinikiwi-test-client/runtime-benchmarks", - "test-runtime-constants/runtime-benchmarks", + "peztest-runtime-constants/runtime-benchmarks", ] diff --git a/pezkuwi/node/test/service/src/chain_spec.rs b/pezkuwi/node/test/service/src/chain_spec.rs index baae7c6d..ab990982 100644 --- a/pezkuwi/node/test/service/src/chain_spec.rs +++ b/pezkuwi/node/test/service/src/chain_spec.rs @@ -30,7 +30,7 @@ use pezsp_consensus_babe::AuthorityId as BabeId; use pezsp_core::{crypto::get_public_from_string_or_panic, sr25519}; use pezsp_keyring::Sr25519Keyring; use pezsp_runtime::Perbill; -use test_runtime_constants::currency::DOTS; +use peztest_runtime_constants::currency::DOTS; const DEFAULT_PROTOCOL_ID: &str = "hez"; diff --git a/pezkuwi/node/test/service/src/lib.rs b/pezkuwi/node/test/service/src/lib.rs index c18d20cd..cb34d24b 100644 --- a/pezkuwi/node/test/service/src/lib.rs +++ b/pezkuwi/node/test/service/src/lib.rs @@ -22,7 +22,7 @@ pub mod chain_spec; pub use chain_spec::*; use futures::{future::Future, stream::StreamExt}; -use pezkuwi_node_primitives::{CollationGenerationConfig, CollatorFn}; +use pezkuwi_pez_node_primitives::{CollationGenerationConfig, CollatorFn}; use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage}; use pezkuwi_overseer::Handle; use pezkuwi_primitives::{Balance, CollatorPair, HeadData, Id as ParaId, ValidationCode}; diff --git a/pezkuwi/pallets/validator-pool/Cargo.toml b/pezkuwi/pezpallets/validator-pool/Cargo.toml similarity index 100% rename from pezkuwi/pallets/validator-pool/Cargo.toml rename to pezkuwi/pezpallets/validator-pool/Cargo.toml diff --git a/pezkuwi/pallets/validator-pool/src/benchmarking.rs b/pezkuwi/pezpallets/validator-pool/src/benchmarking.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/benchmarking.rs rename to pezkuwi/pezpallets/validator-pool/src/benchmarking.rs diff --git a/pezkuwi/pallets/validator-pool/src/lib.rs b/pezkuwi/pezpallets/validator-pool/src/lib.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/lib.rs rename to pezkuwi/pezpallets/validator-pool/src/lib.rs diff --git a/pezkuwi/pallets/validator-pool/src/mock.rs b/pezkuwi/pezpallets/validator-pool/src/mock.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/mock.rs rename to pezkuwi/pezpallets/validator-pool/src/mock.rs diff --git a/pezkuwi/pallets/validator-pool/src/tests.rs b/pezkuwi/pezpallets/validator-pool/src/tests.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/tests.rs rename to pezkuwi/pezpallets/validator-pool/src/tests.rs diff --git a/pezkuwi/pallets/validator-pool/src/types.rs b/pezkuwi/pezpallets/validator-pool/src/types.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/types.rs rename to pezkuwi/pezpallets/validator-pool/src/types.rs diff --git a/pezkuwi/pallets/validator-pool/src/weights.rs b/pezkuwi/pezpallets/validator-pool/src/weights.rs similarity index 100% rename from pezkuwi/pallets/validator-pool/src/weights.rs rename to pezkuwi/pezpallets/validator-pool/src/weights.rs diff --git a/pezkuwi/rpc/Cargo.toml b/pezkuwi/rpc/Cargo.toml index 76a99dc4..6f01d52e 100644 --- a/pezkuwi/rpc/Cargo.toml +++ b/pezkuwi/rpc/Cargo.toml @@ -14,7 +14,7 @@ workspace = true [dependencies] jsonrpsee = { features = ["server"], workspace = true } -mmr-rpc = { workspace = true, default-features = true } +pezmmr-rpc = { workspace = true, default-features = true } pezpallet-transaction-payment-rpc = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezsc-chain-spec = { workspace = true, default-features = true } @@ -42,7 +42,7 @@ bizinikiwi-state-trie-migration-rpc = { workspace = true, default-features = tru [features] runtime-benchmarks = [ - "mmr-rpc/runtime-benchmarks", + "pezmmr-rpc/runtime-benchmarks", "pezpallet-transaction-payment-rpc/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezsc-chain-spec/runtime-benchmarks", diff --git a/pezkuwi/rpc/src/lib.rs b/pezkuwi/rpc/src/lib.rs index a22c4331..d7e09174 100644 --- a/pezkuwi/rpc/src/lib.rs +++ b/pezkuwi/rpc/src/lib.rs @@ -112,7 +112,7 @@ where + Sync + 'static, C::Api: bizinikiwi_frame_rpc_system::AccountNonceApi, - C::Api: mmr_rpc::MmrRuntimeApi::Hash, BlockNumber>, + C::Api: pezmmr_rpc::MmrRuntimeApi::Hash, BlockNumber>, C::Api: pezpallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, @@ -123,7 +123,7 @@ where AuthorityId: AuthorityIdBound, ::Signature: Send + Sync, { - use mmr_rpc::{Mmr, MmrApiServer}; + use pezmmr_rpc::{Mmr, MmrApiServer}; use pezpallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use pezsc_consensus_babe_rpc::{Babe, BabeApiServer}; use pezsc_consensus_beefy_rpc::{Beefy, BeefyApiServer}; diff --git a/pezkuwi/runtime/common/Cargo.toml b/pezkuwi/runtime/common/Cargo.toml index 5216feee..d0473110 100644 --- a/pezkuwi/runtime/common/Cargo.toml +++ b/pezkuwi/runtime/common/Cargo.toml @@ -57,7 +57,7 @@ libsecp256k1 = { workspace = true } pezkuwi-primitives = { workspace = true } pezkuwi-runtime-teyrchains = { workspace = true } -slot-range-helper = { workspace = true } +pez-slot-range-helper = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { optional = true, workspace = true } @@ -105,7 +105,7 @@ std = [ "rustc-hex/std", "scale-info/std", "serde/std", - "slot-range-helper/std", + "pez-slot-range-helper/std", "pezsp-api/std", "pezsp-core/std", "pezsp-inherents/std", @@ -143,7 +143,7 @@ runtime-benchmarks = [ "pezkuwi-primitives-test-helpers/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-runtime-teyrchains/runtime-benchmarks", - "slot-range-helper/runtime-benchmarks", + "pez-slot-range-helper/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-inherents/runtime-benchmarks", "pezsp-io/runtime-benchmarks", diff --git a/pezkuwi/runtime/common/slot_range_helper/Cargo.toml b/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml similarity index 86% rename from pezkuwi/runtime/common/slot_range_helper/Cargo.toml rename to pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml index e9678ac0..d2222d85 100644 --- a/pezkuwi/runtime/common/slot_range_helper/Cargo.toml +++ b/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "slot-range-helper" +name = "pez-slot-range-helper" version = "7.0.0" authors.workspace = true edition.workspace = true @@ -7,7 +7,7 @@ license.workspace = true description = "Helper crate for generating slot ranges for the Pezkuwi runtime." homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/slot-range-helper" +documentation = "https://docs.rs/pez-slot-range-helper" [lints] workspace = true diff --git a/pezkuwi/runtime/common/slot_range_helper/src/lib.rs b/pezkuwi/runtime/common/pez-slot-range-helper/src/lib.rs similarity index 99% rename from pezkuwi/runtime/common/slot_range_helper/src/lib.rs rename to pezkuwi/runtime/common/pez-slot-range-helper/src/lib.rs index 1c262d1b..6416d103 100644 --- a/pezkuwi/runtime/common/slot_range_helper/src/lib.rs +++ b/pezkuwi/runtime/common/pez-slot-range-helper/src/lib.rs @@ -29,7 +29,7 @@ pub use pezsp_runtime::traits::CheckedSub; /// /// Usage: /// ``` -/// slot_range_helper::generate_slot_range!(Zero(0), One(1), Two(2), Three(3)); +/// pez_slot_range_helper::generate_slot_range!(Zero(0), One(1), Two(2), Three(3)); /// ``` /// /// To extend the usage, continue to add `Identifier(value)` items to the macro. diff --git a/pezkuwi/runtime/common/src/purchase/mock.rs b/pezkuwi/runtime/common/src/purchase/mock.rs index 6215b459..cac8a3c8 100644 --- a/pezkuwi/runtime/common/src/purchase/mock.rs +++ b/pezkuwi/runtime/common/src/purchase/mock.rs @@ -151,19 +151,19 @@ pub fn bob() -> AccountId { } pub fn alice_signature() -> [u8; 64] { - // echo -n "Hello, World" | subkey -s sign "bottom drive obey lake curtain smoke basket hold + // echo -n "Hello, World" | pez_subkey -s sign "bottom drive obey lake curtain smoke basket hold // race lonely fit walk//Alice" hex_literal::hex!("20e0faffdf4dfe939f2faa560f73b1d01cde8472e2b690b7b40606a374244c3a2e9eb9c8107c10b605138374003af8819bd4387d7c24a66ee9253c2e688ab881") } pub fn bob_signature() -> [u8; 64] { - // echo -n "Hello, World" | subkey -s sign "bottom drive obey lake curtain smoke basket hold + // echo -n "Hello, World" | pez_subkey -s sign "bottom drive obey lake curtain smoke basket hold // race lonely fit walk//Bob" hex_literal::hex!("d6d460187ecf530f3ec2d6e3ac91b9d083c8fbd8f1112d92a82e4d84df552d18d338e6da8944eba6e84afaacf8a9850f54e7b53a84530d649be2e0119c7ce889") } pub fn alice_signature_ed25519() -> [u8; 64] { - // echo -n "Hello, World" | subkey -e sign "bottom drive obey lake curtain smoke basket hold + // echo -n "Hello, World" | pez_subkey -e sign "bottom drive obey lake curtain smoke basket hold // race lonely fit walk//Alice" hex_literal::hex!("ee3f5a6cbfc12a8f00c18b811dc921b550ddf272354cda4b9a57b1d06213fcd8509f5af18425d39a279d13622f14806c3e978e2163981f2ec1c06e9628460b0e") } diff --git a/pezkuwi/runtime/common/src/slot_range.rs b/pezkuwi/runtime/common/src/slot_range.rs index 23728750..1177f839 100644 --- a/pezkuwi/runtime/common/src/slot_range.rs +++ b/pezkuwi/runtime/common/src/slot_range.rs @@ -17,7 +17,7 @@ //! The `SlotRange` struct which succinctly handles the 36 values that //! represent all sub ranges between 0 and 7 inclusive. -slot_range_helper::generate_slot_range!( +pez_slot_range_helper::generate_slot_range!( Zero(0), One(1), Two(2), diff --git a/pezkuwi/runtime/pezkuwichain/Cargo.toml b/pezkuwi/runtime/pezkuwichain/Cargo.toml index e06c3e4a..5a467be4 100644 --- a/pezkuwi/runtime/pezkuwichain/Cargo.toml +++ b/pezkuwi/runtime/pezkuwichain/Cargo.toml @@ -116,7 +116,7 @@ pezpallet-validator-pool = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } [dev-dependencies] remote-externalities = { workspace = true, default-features = true } @@ -222,7 +222,7 @@ std = [ "bizinikiwi-wasm-builder", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -307,7 +307,7 @@ runtime-benchmarks = [ "bizinikiwi-wasm-builder?/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ diff --git a/pezkuwi/runtime/pezkuwichain/bridge-primitives/Cargo.toml b/pezkuwi/runtime/pezkuwichain/bridge-primitives/Cargo.toml index e73b1119..45c89a03 100644 --- a/pezkuwi/runtime/pezkuwichain/bridge-primitives/Cargo.toml +++ b/pezkuwi/runtime/pezkuwichain/bridge-primitives/Cargo.toml @@ -17,9 +17,9 @@ workspace = true [dependencies] # Bridge Dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Based Dependencies pezframe-support = { workspace = true } @@ -29,17 +29,17 @@ pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "pezframe-support/std", "pezsp-api/std", "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", ] diff --git a/pezkuwi/runtime/pezkuwichain/bridge-primitives/src/lib.rs b/pezkuwi/runtime/pezkuwichain/bridge-primitives/src/lib.rs index 29d5b940..99aae949 100644 --- a/pezkuwi/runtime/pezkuwichain/bridge-primitives/src/lib.rs +++ b/pezkuwi/runtime/pezkuwichain/bridge-primitives/src/lib.rs @@ -20,8 +20,8 @@ pub use bp_pezkuwi_core::*; -use bp_header_chain::ChainWithGrandpa; -use bp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId}; +use bp_header_pez_chain::ChainWithGrandpa; +use pezbp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId}; use pezframe_support::{pezsp_runtime::StateVersion, weights::Weight}; /// Pezkuwichain Chain diff --git a/pezkuwi/runtime/pezkuwichain/src/genesis_config_presets.rs b/pezkuwi/runtime/pezkuwichain/src/genesis_config_presets.rs index 8cdd3ff7..db7786ac 100644 --- a/pezkuwi/runtime/pezkuwichain/src/genesis_config_presets.rs +++ b/pezkuwi/runtime/pezkuwichain/src/genesis_config_presets.rs @@ -253,7 +253,7 @@ fn pezkuwichain_staging_testnet_config_genesis() -> serde_json::Value { use hex_literal::hex; use pezsp_core::crypto::UncheckedInto; - // subkey inspect "$SECRET" + // pez_subkey inspect "$SECRET" let endowed_accounts = Vec::from([ // 5DwBmEFPXRESyEam5SsQF1zbWSCn2kCjyLW51hJHXe9vW4xs hex!["52bc71c1eca5353749542dfdf0af97bf764f9c2f44e860cd485f1cd86400f649"].into(), diff --git a/pezkuwi/runtime/pezkuwichain/src/lib.rs b/pezkuwi/runtime/pezkuwichain/src/lib.rs index 11e8f829..9dac925d 100644 --- a/pezkuwi/runtime/pezkuwichain/src/lib.rs +++ b/pezkuwi/runtime/pezkuwichain/src/lib.rs @@ -139,7 +139,7 @@ use governance::{ pezpallet_custom_origins, AuctionAdmin, Fellows, LeaseAdmin, Treasurer, TreasurySpender, }; use xcm_config::XcmConfig; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -1843,7 +1843,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::TokenLocation::get())]; XcmPallet::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -1864,7 +1864,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { XcmPallet::dry_run_call::(origin, call, result_xcms_version) } @@ -1874,12 +1874,12 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationConverter, >::convert_location(location) @@ -2639,11 +2639,11 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_teleporter(asset, location) } } diff --git a/pezkuwi/runtime/pezkuwichain/src/tests.rs b/pezkuwi/runtime/pezkuwichain/src/tests.rs index 0fdf45b6..0f8efb6e 100644 --- a/pezkuwi/runtime/pezkuwichain/src/tests.rs +++ b/pezkuwi/runtime/pezkuwichain/src/tests.rs @@ -23,7 +23,7 @@ use crate::xcm_config::LocationConverter; use pezframe_support::traits::WhitelistedStorageKeys; use pezsp_core::{crypto::Ss58Codec, hexdisplay::HexDisplay}; use pezsp_keyring::Sr25519Keyring::Alice; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; #[test] fn check_whitelist() { diff --git a/pezkuwi/runtime/pezkuwichain/src/weights/frame_system.rs b/pezkuwi/runtime/pezkuwichain/src/weights/pezframe_system.rs similarity index 100% rename from pezkuwi/runtime/pezkuwichain/src/weights/frame_system.rs rename to pezkuwi/runtime/pezkuwichain/src/weights/pezframe_system.rs diff --git a/pezkuwi/runtime/pezkuwichain/src/weights/frame_system_extensions.rs b/pezkuwi/runtime/pezkuwichain/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezkuwi/runtime/pezkuwichain/src/weights/frame_system_extensions.rs rename to pezkuwi/runtime/pezkuwichain/src/weights/pezframe_system_extensions.rs diff --git a/pezkuwi/runtime/test-runtime/Cargo.toml b/pezkuwi/runtime/test-runtime/Cargo.toml index 9b4e150e..89f74073 100644 --- a/pezkuwi/runtime/test-runtime/Cargo.toml +++ b/pezkuwi/runtime/test-runtime/Cargo.toml @@ -57,7 +57,7 @@ pezpallet-timestamp = { workspace = true } pezpallet-transaction-payment = { workspace = true } pezpallet-transaction-payment-rpc-runtime-api = { workspace = true } pezpallet-vesting = { workspace = true } -test-runtime-constants = { workspace = true } +peztest-runtime-constants = { workspace = true } pezpallet-xcm = { workspace = true } pezkuwi-primitives = { workspace = true } @@ -122,7 +122,7 @@ std = [ "pezsp-staking/std", "pezsp-transaction-pool/std", "pezsp-version/std", - "test-runtime-constants/std", + "peztest-runtime-constants/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", @@ -168,7 +168,7 @@ runtime-benchmarks = [ "pezsp-transaction-pool/runtime-benchmarks", "pezsp-version/runtime-benchmarks", "bizinikiwi-wasm-builder/runtime-benchmarks", - "test-runtime-constants/runtime-benchmarks", + "peztest-runtime-constants/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm/runtime-benchmarks", diff --git a/pezkuwi/runtime/test-runtime/constants/Cargo.toml b/pezkuwi/runtime/test-runtime/constants/Cargo.toml index 2d3c1186..c3bdab0e 100644 --- a/pezkuwi/runtime/test-runtime/constants/Cargo.toml +++ b/pezkuwi/runtime/test-runtime/constants/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "test-runtime-constants" +name = "peztest-runtime-constants" publish = false version = "1.0.0" authors.workspace = true edition.workspace = true license.workspace = true description = "Pezkuwi SDK component: test runtime constants" -documentation = "https://docs.rs/test-runtime-constants" +documentation = "https://docs.rs/peztest-runtime-constants" repository = { workspace = true } homepage = { workspace = true } diff --git a/pezkuwi/runtime/test-runtime/src/lib.rs b/pezkuwi/runtime/test-runtime/src/lib.rs index 263b8ddd..fa1ce784 100644 --- a/pezkuwi/runtime/test-runtime/src/lib.rs +++ b/pezkuwi/runtime/test-runtime/src/lib.rs @@ -104,10 +104,10 @@ pub use pezsp_runtime::BuildStorage; pub use teyrchains_paras::Call as ParasCall; /// Constant values used within the runtime. -use test_runtime_constants::{currency::*, fee::*, time::*}; +use peztest_runtime_constants::{currency::*, fee::*, time::*}; pub mod xcm_config; -impl_runtime_weights!(test_runtime_constants); +impl_runtime_weights!(peztest_runtime_constants); // Make the WASM binary available. #[cfg(feature = "std")] diff --git a/pezkuwi/runtime/zagros/Cargo.toml b/pezkuwi/runtime/zagros/Cargo.toml index 23e8d379..aba11dbb 100644 --- a/pezkuwi/runtime/zagros/Cargo.toml +++ b/pezkuwi/runtime/zagros/Cargo.toml @@ -121,7 +121,7 @@ pezkuwi-teyrchain-primitives = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } [dev-dependencies] approx = { workspace = true } @@ -234,7 +234,7 @@ std = [ "pezsp-version/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", "zagros-runtime-constants/std", ] @@ -326,7 +326,7 @@ runtime-benchmarks = [ "bizinikiwi-wasm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", "xcm/runtime-benchmarks", "zagros-runtime-constants/runtime-benchmarks", ] diff --git a/pezkuwi/runtime/zagros/bridge-primitives/Cargo.toml b/pezkuwi/runtime/zagros/bridge-primitives/Cargo.toml index 1dfa9214..5ca57f34 100644 --- a/pezkuwi/runtime/zagros/bridge-primitives/Cargo.toml +++ b/pezkuwi/runtime/zagros/bridge-primitives/Cargo.toml @@ -17,9 +17,9 @@ workspace = true [dependencies] # Bridge Dependencies -bp-header-chain = { workspace = true } +bp-header-pez-chain = { workspace = true } bp-pezkuwi-core = { workspace = true } -bp-runtime = { workspace = true } +pezbp-runtime = { workspace = true } # Bizinikiwi Based Dependencies pezframe-support = { workspace = true } @@ -29,17 +29,17 @@ pezsp-std = { workspace = true } [features] default = ["std"] std = [ - "bp-header-chain/std", + "bp-header-pez-chain/std", "bp-pezkuwi-core/std", - "bp-runtime/std", + "pezbp-runtime/std", "pezframe-support/std", "pezsp-api/std", "pezsp-std/std", ] runtime-benchmarks = [ - "bp-header-chain/runtime-benchmarks", + "bp-header-pez-chain/runtime-benchmarks", "bp-pezkuwi-core/runtime-benchmarks", - "bp-runtime/runtime-benchmarks", + "pezbp-runtime/runtime-benchmarks", "pezframe-support/runtime-benchmarks", "pezsp-api/runtime-benchmarks", ] diff --git a/pezkuwi/runtime/zagros/bridge-primitives/src/lib.rs b/pezkuwi/runtime/zagros/bridge-primitives/src/lib.rs index 28aaecc1..7d6ba60e 100644 --- a/pezkuwi/runtime/zagros/bridge-primitives/src/lib.rs +++ b/pezkuwi/runtime/zagros/bridge-primitives/src/lib.rs @@ -20,8 +20,8 @@ pub use bp_pezkuwi_core::*; -use bp_header_chain::ChainWithGrandpa; -use bp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId}; +use bp_header_pez_chain::ChainWithGrandpa; +use pezbp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId}; use pezframe_support::{pezsp_runtime::StateVersion, weights::Weight}; /// Zagros Chain diff --git a/pezkuwi/runtime/zagros/src/genesis_config_presets.rs b/pezkuwi/runtime/zagros/src/genesis_config_presets.rs index 5e327e05..79999df0 100644 --- a/pezkuwi/runtime/zagros/src/genesis_config_presets.rs +++ b/pezkuwi/runtime/zagros/src/genesis_config_presets.rs @@ -221,7 +221,7 @@ fn zagros_staging_testnet_config_genesis() -> serde_json::Value { // DO NOT use them in production chains as the secret seed is public. // // SECRET_SEED="slow awkward present example safe bundle science ocean cradle word tennis earn" - // subkey inspect -n pezkuwi "$SECRET_SEED" + // pez_subkey inspect -n pezkuwi "$SECRET_SEED" let endowed_accounts: Vec = vec![ // 15S75FkhCWEowEGfxWwVfrW3LQuy8w8PNhVmrzfsVhCMjUh1 hex!["c416837e232d9603e83162ef4bda08e61580eeefe60fe92fc044aa508559ae42"].into(), diff --git a/pezkuwi/runtime/zagros/src/lib.rs b/pezkuwi/runtime/zagros/src/lib.rs index dca7df84..77ed56a9 100644 --- a/pezkuwi/runtime/zagros/src/lib.rs +++ b/pezkuwi/runtime/zagros/src/lib.rs @@ -118,7 +118,7 @@ use xcm::{ VersionedLocation, VersionedXcm, }; use xcm_builder::PayOverXcm; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, }; @@ -2718,7 +2718,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::fees::XcmPaymentApi for Runtime { + impl xcm_runtime_pezapis::fees::XcmPaymentApi for Runtime { fn query_acceptable_payment_assets(xcm_version: xcm::Version) -> Result, XcmPaymentApiError> { let acceptable_assets = vec![AssetId(xcm_config::TokenLocation::get())]; XcmPallet::query_acceptable_payment_assets(xcm_version, acceptable_assets) @@ -2739,7 +2739,7 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::dry_run::DryRunApi for Runtime { + impl xcm_runtime_pezapis::dry_run::DryRunApi for Runtime { fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion) -> Result, XcmDryRunApiError> { XcmPallet::dry_run_call::(origin, call, result_xcms_version) } @@ -2749,12 +2749,12 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::conversions::LocationToAccountApi for Runtime { + impl xcm_runtime_pezapis::conversions::LocationToAccountApi for Runtime { fn convert_location(location: VersionedLocation) -> Result< AccountId, - xcm_runtime_apis::conversions::Error + xcm_runtime_pezapis::conversions::Error > { - xcm_runtime_apis::conversions::LocationToAccountHelper::< + xcm_runtime_pezapis::conversions::LocationToAccountHelper::< AccountId, xcm_config::LocationConverter, >::convert_location(location) @@ -3113,11 +3113,11 @@ pezsp_api::impl_runtime_apis! { } } - impl xcm_runtime_apis::trusted_query::TrustedQueryApi for Runtime { - fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { + impl xcm_runtime_pezapis::trusted_query::TrustedQueryApi for Runtime { + fn is_trusted_reserve(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_reserve(asset, location) } - fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { + fn is_trusted_teleporter(asset: VersionedAsset, location: VersionedLocation) -> Result { XcmPallet::is_trusted_teleporter(asset, location) } } diff --git a/pezkuwi/runtime/zagros/src/tests.rs b/pezkuwi/runtime/zagros/src/tests.rs index 6032b3e1..b283f2db 100644 --- a/pezkuwi/runtime/zagros/src/tests.rs +++ b/pezkuwi/runtime/zagros/src/tests.rs @@ -24,7 +24,7 @@ use pezframe_support::traits::WhitelistedStorageKeys; use pezpallet_staking::EraPayout; use pezsp_core::{crypto::Ss58Codec, hexdisplay::HexDisplay}; use pezsp_keyring::Sr25519Keyring::Alice; -use xcm_runtime_apis::conversions::LocationToAccountHelper; +use xcm_runtime_pezapis::conversions::LocationToAccountHelper; const MILLISECONDS_PER_HOUR: u64 = 60 * 60 * 1000; diff --git a/pezkuwi/runtime/zagros/src/weights/frame_system.rs b/pezkuwi/runtime/zagros/src/weights/pezframe_system.rs similarity index 100% rename from pezkuwi/runtime/zagros/src/weights/frame_system.rs rename to pezkuwi/runtime/zagros/src/weights/pezframe_system.rs diff --git a/pezkuwi/runtime/zagros/src/weights/frame_system_extensions.rs b/pezkuwi/runtime/zagros/src/weights/pezframe_system_extensions.rs similarity index 100% rename from pezkuwi/runtime/zagros/src/weights/frame_system_extensions.rs rename to pezkuwi/runtime/zagros/src/weights/pezframe_system_extensions.rs diff --git a/pezkuwi/teyrchain/test-teyrchains/adder/collator/Cargo.toml b/pezkuwi/teyrchain/test-teyrchains/adder/collator/Cargo.toml index 4add5d4b..a0ca8177 100644 --- a/pezkuwi/teyrchain/test-teyrchains/adder/collator/Cargo.toml +++ b/pezkuwi/teyrchain/test-teyrchains/adder/collator/Cargo.toml @@ -25,7 +25,7 @@ futures-timer = { workspace = true } log = { workspace = true, default-features = true } pezkuwi-cli = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-service = { features = [ @@ -52,7 +52,7 @@ tokio = { features = ["macros"], workspace = true, default-features = true } runtime-benchmarks = [ "pezkuwi-cli/runtime-benchmarks", "pezkuwi-node-core-pvf/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-service/runtime-benchmarks", diff --git a/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/lib.rs b/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/lib.rs index 624c9d92..3cbec756 100644 --- a/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/lib.rs +++ b/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/lib.rs @@ -19,7 +19,7 @@ use codec::{Decode, Encode}; use futures::channel::oneshot; use futures_timer::Delay; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ Collation, CollationResult, CollationSecondedSignal, CollatorFn, MaybeCompressedPoV, PoV, Statement, }; @@ -225,7 +225,7 @@ impl Collator { hrmp_watermark: validation_data.relay_parent_number, }; - let compressed_pov = pezkuwi_node_primitives::maybe_compress_pov(pov); + let compressed_pov = pezkuwi_pez_node_primitives::maybe_compress_pov(pov); let (result_sender, recv) = oneshot::channel::(); let seconded_collations = seconded_collations.clone(); diff --git a/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/main.rs b/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/main.rs index 6b561b32..a2842401 100644 --- a/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/main.rs +++ b/pezkuwi/teyrchain/test-teyrchains/adder/collator/src/main.rs @@ -17,7 +17,7 @@ //! Collator for the adder test teyrchain. use pezkuwi_cli::{Error, Result}; -use pezkuwi_node_primitives::CollationGenerationConfig; +use pezkuwi_pez_node_primitives::CollationGenerationConfig; use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage}; use pezkuwi_primitives::Id as ParaId; use pezsc_cli::{Error as BizinikiwiCliError, BizinikiwiCli}; diff --git a/pezkuwi/teyrchain/test-teyrchains/undying/collator/Cargo.toml b/pezkuwi/teyrchain/test-teyrchains/undying/collator/Cargo.toml index 8ffefafb..102875ac 100644 --- a/pezkuwi/teyrchain/test-teyrchains/undying/collator/Cargo.toml +++ b/pezkuwi/teyrchain/test-teyrchains/undying/collator/Cargo.toml @@ -26,7 +26,7 @@ log = { workspace = true, default-features = true } pezkuwi-cli = { workspace = true, default-features = true } pezkuwi-erasure-coding = { workspace = true, default-features = true } -pezkuwi-node-primitives = { workspace = true, default-features = true } +pezkuwi-pez-node-primitives = { workspace = true, default-features = true } pezkuwi-node-subsystem = { workspace = true, default-features = true } pezkuwi-primitives = { workspace = true, default-features = true } pezkuwi-service = { features = [ @@ -55,7 +55,7 @@ runtime-benchmarks = [ "pezkuwi-cli/runtime-benchmarks", "pezkuwi-erasure-coding/runtime-benchmarks", "pezkuwi-node-core-pvf/runtime-benchmarks", - "pezkuwi-node-primitives/runtime-benchmarks", + "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-node-subsystem/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", "pezkuwi-service/runtime-benchmarks", diff --git a/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/lib.rs b/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/lib.rs index c92683b7..dc20a969 100644 --- a/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/lib.rs +++ b/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/lib.rs @@ -20,7 +20,7 @@ use codec::{Decode, Encode}; use futures::{channel::oneshot, StreamExt}; use futures_timer::Delay; use pezkuwi_cli::ProvideRuntimeApi; -use pezkuwi_node_primitives::{ +use pezkuwi_pez_node_primitives::{ maybe_compress_pov, AvailableData, Collation, CollationResult, CollationSecondedSignal, CollatorFn, MaybeCompressedPoV, PoV, Statement, UpwardMessages, }; diff --git a/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/main.rs b/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/main.rs index 5427edcd..0e51d55a 100644 --- a/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/main.rs +++ b/pezkuwi/teyrchain/test-teyrchains/undying/collator/src/main.rs @@ -17,7 +17,7 @@ //! Collator for the `Undying` test teyrchain. use pezkuwi_cli::{Error, Result}; -use pezkuwi_node_primitives::CollationGenerationConfig; +use pezkuwi_pez_node_primitives::CollationGenerationConfig; use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage}; use pezkuwi_primitives::Id as ParaId; use pezsc_cli::{Error as BizinikiwiCliError, BizinikiwiCli}; diff --git a/pezkuwi/utils/generate-bags/Cargo.toml b/pezkuwi/utils/pez-generate-bags/Cargo.toml similarity index 83% rename from pezkuwi/utils/generate-bags/Cargo.toml rename to pezkuwi/utils/pez-generate-bags/Cargo.toml index e0acd606..934e3c44 100644 --- a/pezkuwi/utils/generate-bags/Cargo.toml +++ b/pezkuwi/utils/pez-generate-bags/Cargo.toml @@ -15,12 +15,12 @@ workspace = true [dependencies] clap = { features = ["derive"], workspace = true } -generate-bags = { workspace = true, default-features = true } +pez-generate-bags = { workspace = true, default-features = true } zagros-runtime = { workspace = true, default-features = true } [features] runtime-benchmarks = [ - "generate-bags/runtime-benchmarks", + "pez-generate-bags/runtime-benchmarks", "zagros-runtime/runtime-benchmarks", ] diff --git a/pezkuwi/utils/generate-bags/src/main.rs b/pezkuwi/utils/pez-generate-bags/src/main.rs similarity index 98% rename from pezkuwi/utils/generate-bags/src/main.rs rename to pezkuwi/utils/pez-generate-bags/src/main.rs index bcece84a..77afb73f 100644 --- a/pezkuwi/utils/generate-bags/src/main.rs +++ b/pezkuwi/utils/pez-generate-bags/src/main.rs @@ -21,7 +21,7 @@ //! quantity of bags, or if the existential deposit changes, etc. use clap::{Parser, ValueEnum}; -use generate_bags::generate_thresholds; +use pez_generate_bags::generate_thresholds; use std::path::{Path, PathBuf}; use zagros_runtime::Runtime as ZagrosRuntime; diff --git a/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml b/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml index 6cce62fb..ebd6eef6 100644 --- a/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "remote-ext-tests-bags-list" +name = "pez-remote-ext-tests-bags-list" publish = false version = "1.0.0" authors.workspace = true edition.workspace = true license.workspace = true description = "Pezkuwi SDK component: remote ext tests bags list" -documentation = "https://docs.rs/remote-ext-tests-bags-list" +documentation = "https://docs.rs/pez-remote-ext-tests-bags-list" repository = { workspace = true } homepage = { workspace = true } diff --git a/pezkuwi/xcm/Cargo.toml b/pezkuwi/xcm/Cargo.toml index f6ef76e2..cca0fdd6 100644 --- a/pezkuwi/xcm/Cargo.toml +++ b/pezkuwi/xcm/Cargo.toml @@ -27,7 +27,7 @@ serde = { features = ["alloc", "derive", "rc"], workspace = true } pezsp-runtime = { workspace = true } pezsp-weights = { features = ["serde"], workspace = true } tracing = { workspace = true } -xcm-procedural = { workspace = true, default-features = true } +xcm-pez-procedural = { workspace = true, default-features = true } [dev-dependencies] pezsp-io = { workspace = true, default-features = true } @@ -55,5 +55,5 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", - "xcm-procedural/runtime-benchmarks", + "xcm-pez-procedural/runtime-benchmarks", ] diff --git a/pezkuwi/xcm/docs/Cargo.toml b/pezkuwi/xcm/docs/Cargo.toml index f7aea60c..759d61ab 100644 --- a/pezkuwi/xcm/docs/Cargo.toml +++ b/pezkuwi/xcm/docs/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "xcm-docs" +name = "xcm-pez-docs" description = "Documentation and guides for XCM" version = "0.1.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" @@ -7,7 +7,7 @@ repository.workspace = true authors.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/xcm-docs" +documentation = "https://docs.rs/xcm-pez-docs" homepage = { workspace = true } [dependencies] @@ -16,7 +16,7 @@ pezpallet-xcm = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } # For building FRAME runtimes codec = { workspace = true, default-features = true } @@ -48,6 +48,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/network.rs b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/network.rs index a9f9565f..3af8c6d2 100644 --- a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/network.rs +++ b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/network.rs @@ -22,7 +22,7 @@ use frame::deps::{ pezsp_io::TestExternalities, pezsp_runtime::{AccountId32, BuildStorage}, }; -use xcm_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; +use xcm_pez_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; use super::{relay_chain, teyrchain}; diff --git a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/relay_chain/xcm_config.rs b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/relay_chain/xcm_config.rs index 94e71c56..452c1f9f 100644 --- a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/relay_chain/xcm_config.rs +++ b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/relay_chain/xcm_config.rs @@ -128,7 +128,7 @@ pub type LocalOriginToLocation = SignedToAccountId32; - type XcmRouter = super::super::network::RelayChainXcmRouter; // Provided by xcm-simulator + type XcmRouter = super::super::network::RelayChainXcmRouter; // Provided by xcm-pez-simulator // Anyone can execute XCM programs type ExecuteXcmOrigin = EnsureXcmOrigin; // We execute any type of program diff --git a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/tests.rs b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/tests.rs index 7c2ca420..f74431f0 100644 --- a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/tests.rs +++ b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/tests.rs @@ -19,7 +19,7 @@ use frame::testing_prelude::*; use test_log::test; use xcm::prelude::*; use xcm_executor::traits::{ConvertLocation, TransferType}; -use xcm_simulator::TestExt; +use xcm_pez_simulator::TestExt; use super::{ network::{MockNet, ParaA, Relay, ALICE, BOB, CENTS, INITIAL_BALANCE}, diff --git a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/mod.rs b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/mod.rs index 0a3b3682..79f92646 100644 --- a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/mod.rs +++ b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/mod.rs @@ -19,7 +19,7 @@ use frame::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup}; use xcm_executor::XcmExecutor; -use xcm_simulator::mock_message_queue; +use xcm_pez_simulator::mock_message_queue; mod xcm_config; use xcm_config::XcmConfig; diff --git a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/xcm_config.rs b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/xcm_config.rs index 6f446354..620229a0 100644 --- a/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/xcm_config.rs +++ b/pezkuwi/xcm/docs/src/cookbook/relay_token_transactor/teyrchain/xcm_config.rs @@ -155,7 +155,7 @@ pub type LocalOriginToLocation = SignedToAccountId32; - type XcmRouter = super::super::network::TeyrchainXcmRouter; // Provided by xcm-simulator + type XcmRouter = super::super::network::TeyrchainXcmRouter; // Provided by xcm-pez-simulator // Anyone can execute XCM programs type ExecuteXcmOrigin = EnsureXcmOrigin; // We execute any type of program diff --git a/pezkuwi/xcm/docs/src/fundamentals.rs b/pezkuwi/xcm/docs/src/fundamentals.rs index 67711f82..5086ea7f 100644 --- a/pezkuwi/xcm/docs/src/fundamentals.rs +++ b/pezkuwi/xcm/docs/src/fundamentals.rs @@ -47,7 +47,7 @@ //! configurable. //! - [`Builder`](xcm_builder): A collection of types used to configure the executor. //! - [`XCM Pallet`](pezpallet_xcm): A FRAME pallet for interacting with the executor. -//! - [`Simulator`](xcm_simulator): A playground to tinker with different XCM programs and executor +//! - [`Simulator`](xcm_pez_simulator): A playground to tinker with different XCM programs and executor //! configurations. //! //! XCM programs are composed of Instructions, which reference Locations and Assets. diff --git a/pezkuwi/xcm/pezpallet-xcm/Cargo.toml b/pezkuwi/xcm/pezpallet-xcm/Cargo.toml index 6064fbde..e9ec4301 100644 --- a/pezkuwi/xcm/pezpallet-xcm/Cargo.toml +++ b/pezkuwi/xcm/pezpallet-xcm/Cargo.toml @@ -30,7 +30,7 @@ pezsp-runtime = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } xcm-executor = { workspace = true } -xcm-runtime-apis = { workspace = true } +xcm-runtime-pezapis = { workspace = true } # marked optional, used in benchmarking pezframe-benchmarking = { optional = true, workspace = true } @@ -42,7 +42,7 @@ pezpallet-assets = { workspace = true, default-features = true } pezkuwi-runtime-teyrchains = { workspace = true, default-features = true } pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } pezsp-tracing = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] default = ["std"] @@ -61,7 +61,7 @@ std = [ "tracing/std", "xcm-builder/std", "xcm-executor/std", - "xcm-runtime-apis/std", + "xcm-runtime-pezapis/std", "xcm/std", ] runtime-benchmarks = [ @@ -76,8 +76,8 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-runtime-apis/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-runtime-pezapis/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] test-utils = ["std"] diff --git a/pezkuwi/xcm/pezpallet-xcm/precompiles/Cargo.toml b/pezkuwi/xcm/pezpallet-xcm/precompiles/Cargo.toml index 26528e09..60e425ac 100644 --- a/pezkuwi/xcm/pezpallet-xcm/precompiles/Cargo.toml +++ b/pezkuwi/xcm/pezpallet-xcm/precompiles/Cargo.toml @@ -36,7 +36,7 @@ scale-info = { workspace = true, default-features = true } pezsp-io = { workspace = true, default-features = true } pezsp-runtime = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] default = ["std"] @@ -71,7 +71,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] try-runtime = [ diff --git a/pezkuwi/xcm/pezpallet-xcm/precompiles/src/mock.rs b/pezkuwi/xcm/pezpallet-xcm/precompiles/src/mock.rs index 3097cac2..05789f15 100644 --- a/pezkuwi/xcm/pezpallet-xcm/precompiles/src/mock.rs +++ b/pezkuwi/xcm/pezpallet-xcm/precompiles/src/mock.rs @@ -40,7 +40,7 @@ use xcm_executor::{ traits::{Identity, JustTry}, XcmExecutor, }; -use xcm_simulator::helpers::derive_topic_id; +use xcm_pez_simulator::helpers::derive_topic_id; use crate::XcmPrecompile; diff --git a/pezkuwi/xcm/pezpallet-xcm/src/lib.rs b/pezkuwi/xcm/pezpallet-xcm/src/lib.rs index 745e2373..5f856731 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/lib.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/lib.rs @@ -72,7 +72,7 @@ use xcm_executor::{ }, AssetsInHolding, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ authorized_aliases::{Error as AuthorizedAliasersApiError, OriginAliaser}, dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::Error as XcmPaymentApiError, @@ -3063,7 +3063,7 @@ impl Pallet { /// /// Returns not only the call result and events, but also the local XCM, if any, /// and any XCMs forwarded to other locations. - /// Meant to be used in the `xcm_runtime_apis::dry_run::DryRunApi` runtime API. + /// Meant to be used in the `xcm_runtime_pezapis::dry_run::DryRunApi` runtime API. pub fn dry_run_call( origin: OriginCaller, call: RuntimeCall, @@ -3119,7 +3119,7 @@ impl Pallet { /// Dry-runs `xcm` with the given `origin_location`. /// /// Returns execution result, events, and any forwarded XCMs to other locations. - /// Meant to be used in the `xcm_runtime_apis::dry_run::DryRunApi` runtime API. + /// Meant to be used in the `xcm_runtime_pezapis::dry_run::DryRunApi` runtime API. pub fn dry_run_xcm( origin_location: VersionedLocation, xcm: VersionedXcm<::RuntimeCall>, @@ -3326,7 +3326,7 @@ impl Pallet { let asset_id = versioned_asset_id.clone().try_into().map_err(|()| { tracing::trace!( - target: "xcm::xcm_runtime_apis::query_delivery_fees", + target: "xcm::xcm_runtime_pezapis::query_delivery_fees", "Failed to convert asset id: {versioned_asset_id:?}!" ); XcmPaymentApiError::VersionedConversionFailed diff --git a/pezkuwi/xcm/pezpallet-xcm/src/migration.rs b/pezkuwi/xcm/pezpallet-xcm/src/migration.rs index c9e317aa..b8467426 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/migration.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/migration.rs @@ -456,7 +456,7 @@ pub mod v1 { } /// When adding a new XCM version, we need to run this migration for `pezpallet_xcm` to ensure that all -/// previously stored data with subkey prefix `XCM_VERSION-1` (and below) are migrated to the +/// previously stored data with pez_subkey prefix `XCM_VERSION-1` (and below) are migrated to the /// `XCM_VERSION`. /// /// NOTE: This migration can be permanently added to the runtime migrations. diff --git a/pezkuwi/xcm/pezpallet-xcm/src/mock.rs b/pezkuwi/xcm/pezpallet-xcm/src/mock.rs index 7dec21bb..a0b4ed75 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/mock.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/mock.rs @@ -45,7 +45,7 @@ use xcm_executor::{ traits::{Identity, JustTry}, XcmExecutor, }; -use xcm_simulator::helpers::derive_topic_id; +use xcm_pez_simulator::helpers::derive_topic_id; use crate::{self as pezpallet_xcm, TestWeightInfo}; diff --git a/pezkuwi/xcm/pezpallet-xcm/src/tests/mod.rs b/pezkuwi/xcm/pezpallet-xcm/src/tests/mod.rs index 65f21133..0184565d 100644 --- a/pezkuwi/xcm/pezpallet-xcm/src/tests/mod.rs +++ b/pezkuwi/xcm/pezpallet-xcm/src/tests/mod.rs @@ -46,7 +46,7 @@ use xcm_executor::{ traits::{Properties, QueryHandler, QueryResponseStatus, ShouldExecute}, XcmExecutor, }; -use xcm_simulator::fake_message_hash; +use xcm_pez_simulator::fake_message_hash; const ALICE: AccountId = AccountId::new([0u8; 32]); const BOB: AccountId = AccountId::new([1u8; 32]); diff --git a/pezkuwi/xcm/procedural/Cargo.toml b/pezkuwi/xcm/procedural/Cargo.toml index 25cdf3a6..0a04a1f1 100644 --- a/pezkuwi/xcm/procedural/Cargo.toml +++ b/pezkuwi/xcm/procedural/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "xcm-procedural" +name = "xcm-pez-procedural" description = "Procedural macros for XCM" authors.workspace = true edition.workspace = true @@ -8,7 +8,7 @@ version = "7.0.0" publish = true homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/xcm-procedural" +documentation = "https://docs.rs/xcm-pez-procedural" [lints] workspace = true diff --git a/pezkuwi/xcm/procedural/tests/enum_variants.rs b/pezkuwi/xcm/procedural/tests/enum_variants.rs index 8ba62a72..2b7ee760 100644 --- a/pezkuwi/xcm/procedural/tests/enum_variants.rs +++ b/pezkuwi/xcm/procedural/tests/enum_variants.rs @@ -17,7 +17,7 @@ //! Test the struct generated by the `NumVariants` derive macro. use pezframe_support::traits::Get; -use xcm_procedural::NumVariants; +use xcm_pez_procedural::NumVariants; #[allow(dead_code)] #[derive(NumVariants)] diff --git a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/badly_formatted_attribute.rs b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/badly_formatted_attribute.rs index 101a292b..ae1a7505 100644 --- a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/badly_formatted_attribute.rs +++ b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/badly_formatted_attribute.rs @@ -16,7 +16,7 @@ //! Test error when using a badly formatted attribute. -use xcm_procedural::Builder; +use xcm_pez_procedural::Builder; struct Xcm(pub Vec>); diff --git a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/no_unpaid_execution.rs b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/no_unpaid_execution.rs index 9718d9df..fcdcae9a 100644 --- a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/no_unpaid_execution.rs +++ b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/no_unpaid_execution.rs @@ -16,7 +16,7 @@ //! Test error when there's no `UnpaidExecution` instruction. -use xcm_procedural::Builder; +use xcm_pez_procedural::Builder; struct Xcm(pub Vec>); diff --git a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/wrong_target.rs b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/wrong_target.rs index 001552f0..8ceb223e 100644 --- a/pezkuwi/xcm/procedural/tests/ui/builder_pattern/wrong_target.rs +++ b/pezkuwi/xcm/procedural/tests/ui/builder_pattern/wrong_target.rs @@ -17,7 +17,7 @@ //! Test error when attaching the derive builder macro to something //! other than the XCM `Instruction` enum. -use xcm_procedural::Builder; +use xcm_pez_procedural::Builder; #[derive(Builder)] struct SomeStruct; diff --git a/pezkuwi/xcm/src/v3/junctions.rs b/pezkuwi/xcm/src/v3/junctions.rs index 32e3a886..55183bd2 100644 --- a/pezkuwi/xcm/src/v3/junctions.rs +++ b/pezkuwi/xcm/src/v3/junctions.rs @@ -641,7 +641,7 @@ impl From<()> for Junctions { } } -xcm_procedural::impl_conversion_functions_for_junctions_v3!(); +xcm_pez_procedural::impl_conversion_functions_for_junctions_v3!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v3/mod.rs b/pezkuwi/xcm/src/v3/mod.rs index 4e472030..7131e827 100644 --- a/pezkuwi/xcm/src/v3/mod.rs +++ b/pezkuwi/xcm/src/v3/mod.rs @@ -466,8 +466,8 @@ impl XcmContext { Decode, DecodeWithMemTracking, TypeInfo, - xcm_procedural::XcmWeightInfoTrait, - xcm_procedural::Builder, + xcm_pez_procedural::XcmWeightInfoTrait, + xcm_pez_procedural::Builder, )] #[derive_where(Clone, Eq, PartialEq, Debug)] #[codec(encode_bound())] diff --git a/pezkuwi/xcm/src/v3/multilocation.rs b/pezkuwi/xcm/src/v3/multilocation.rs index 9eaa839c..fa7046fd 100644 --- a/pezkuwi/xcm/src/v3/multilocation.rs +++ b/pezkuwi/xcm/src/v3/multilocation.rs @@ -518,7 +518,7 @@ impl> From> for MultiLocation { } } -xcm_procedural::impl_conversion_functions_for_multilocation_v3!(); +xcm_pez_procedural::impl_conversion_functions_for_multilocation_v3!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v4/junctions.rs b/pezkuwi/xcm/src/v4/junctions.rs index dd538584..39bb863e 100644 --- a/pezkuwi/xcm/src/v4/junctions.rs +++ b/pezkuwi/xcm/src/v4/junctions.rs @@ -596,7 +596,7 @@ impl From<()> for Junctions { } } -xcm_procedural::impl_conversion_functions_for_junctions_v4!(); +xcm_pez_procedural::impl_conversion_functions_for_junctions_v4!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v4/location.rs b/pezkuwi/xcm/src/v4/location.rs index dadd3ad6..b59e9315 100644 --- a/pezkuwi/xcm/src/v4/location.rs +++ b/pezkuwi/xcm/src/v4/location.rs @@ -555,7 +555,7 @@ impl From for Location { } } -xcm_procedural::impl_conversion_functions_for_location_v4!(); +xcm_pez_procedural::impl_conversion_functions_for_location_v4!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v4/mod.rs b/pezkuwi/xcm/src/v4/mod.rs index 8439b811..6c7e7ce6 100644 --- a/pezkuwi/xcm/src/v4/mod.rs +++ b/pezkuwi/xcm/src/v4/mod.rs @@ -429,8 +429,8 @@ impl XcmContext { Decode, DecodeWithMemTracking, TypeInfo, - xcm_procedural::XcmWeightInfoTrait, - xcm_procedural::Builder, + xcm_pez_procedural::XcmWeightInfoTrait, + xcm_pez_procedural::Builder, )] #[derive_where(Clone, Eq, PartialEq, Debug)] #[codec(encode_bound())] diff --git a/pezkuwi/xcm/src/v5/junctions.rs b/pezkuwi/xcm/src/v5/junctions.rs index 1f082028..652a8ccf 100644 --- a/pezkuwi/xcm/src/v5/junctions.rs +++ b/pezkuwi/xcm/src/v5/junctions.rs @@ -596,7 +596,7 @@ impl From<()> for Junctions { } } -xcm_procedural::impl_conversion_functions_for_junctions_v5!(); +xcm_pez_procedural::impl_conversion_functions_for_junctions_v5!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v5/location.rs b/pezkuwi/xcm/src/v5/location.rs index 23bccdea..4b13ac5f 100644 --- a/pezkuwi/xcm/src/v5/location.rs +++ b/pezkuwi/xcm/src/v5/location.rs @@ -541,7 +541,7 @@ impl From for Location { } } -xcm_procedural::impl_conversion_functions_for_location_v5!(); +xcm_pez_procedural::impl_conversion_functions_for_location_v5!(); #[cfg(test)] mod tests { diff --git a/pezkuwi/xcm/src/v5/mod.rs b/pezkuwi/xcm/src/v5/mod.rs index af8f63ce..4765a429 100644 --- a/pezkuwi/xcm/src/v5/mod.rs +++ b/pezkuwi/xcm/src/v5/mod.rs @@ -381,8 +381,8 @@ impl XcmContext { Decode, DecodeWithMemTracking, TypeInfo, - xcm_procedural::XcmWeightInfoTrait, - xcm_procedural::Builder, + xcm_pez_procedural::XcmWeightInfoTrait, + xcm_pez_procedural::Builder, )] #[derive_where(Clone, Eq, PartialEq, Debug)] #[codec(encode_bound())] @@ -1150,7 +1150,7 @@ pub enum Instruction { PartialEq, Eq, Clone, - xcm_procedural::NumVariants, + xcm_pez_procedural::NumVariants, )] pub enum Hint { /// Set asset claimer for all the trapped assets during the execution. diff --git a/pezkuwi/xcm/xcm-builder/Cargo.toml b/pezkuwi/xcm/xcm-builder/Cargo.toml index 86c39ecb..ca84b8cf 100644 --- a/pezkuwi/xcm/xcm-builder/Cargo.toml +++ b/pezkuwi/xcm/xcm-builder/Cargo.toml @@ -47,7 +47,7 @@ primitive-types = { features = [ "scale-info", ], workspace = true } pezsp-tracing = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] default = ["std"] @@ -67,7 +67,7 @@ runtime-benchmarks = [ "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] std = [ diff --git a/pezkuwi/xcm/xcm-builder/src/tests/mock.rs b/pezkuwi/xcm/xcm-builder/src/tests/mock.rs index 096f01a2..afa9b8b9 100644 --- a/pezkuwi/xcm/xcm-builder/src/tests/mock.rs +++ b/pezkuwi/xcm/xcm-builder/src/tests/mock.rs @@ -49,7 +49,7 @@ pub use xcm_executor::{ }, AssetsInHolding, Config, }; -pub use xcm_simulator::helpers::derive_topic_id; +pub use xcm_pez_simulator::helpers::derive_topic_id; #[derive(Debug)] pub enum TestOrigin { diff --git a/pezkuwi/xcm/xcm-builder/src/tests/pay/mock.rs b/pezkuwi/xcm/xcm-builder/src/tests/pay/mock.rs index e397cd02..5b816050 100644 --- a/pezkuwi/xcm/xcm-builder/src/tests/pay/mock.rs +++ b/pezkuwi/xcm/xcm-builder/src/tests/pay/mock.rs @@ -24,7 +24,7 @@ use pezframe_system::{EnsureRoot, EnsureSigned}; use pezkuwi_primitives::{AccountIndex, BlakeTwo256, Signature}; use pezsp_runtime::{generic, traits::MaybeEquivalence, AccountId32, BuildStorage}; use xcm_executor::{traits::ConvertLocation, XcmExecutor}; -use xcm_simulator::ParaId; +use xcm_pez_simulator::ParaId; pub type TxExtension = ( pezframe_system::AuthorizeCall, diff --git a/pezkuwi/xcm/xcm-builder/tests/mock/mod.rs b/pezkuwi/xcm/xcm-builder/tests/mock/mod.rs index 6ee282d7..49f6fae8 100644 --- a/pezkuwi/xcm/xcm-builder/tests/mock/mod.rs +++ b/pezkuwi/xcm/xcm-builder/tests/mock/mod.rs @@ -38,7 +38,7 @@ use xcm_builder::{ IsChildSystemTeyrchain, IsConcrete, MintLocation, RespectSuspension, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, }; -use xcm_simulator::helpers::derive_topic_id; +use xcm_pez_simulator::helpers::derive_topic_id; pub type AccountId = AccountId32; pub type Balance = u128; diff --git a/pezkuwi/xcm/xcm-builder/tests/scenarios.rs b/pezkuwi/xcm/xcm-builder/tests/scenarios.rs index 43390981..341aceef 100644 --- a/pezkuwi/xcm/xcm-builder/tests/scenarios.rs +++ b/pezkuwi/xcm/xcm-builder/tests/scenarios.rs @@ -24,7 +24,7 @@ use pezkuwi_teyrchain_primitives::primitives::Id as ParaId; use pezsp_runtime::traits::AccountIdConversion; use xcm::latest::{prelude::*, Error::UntrustedTeleportLocation}; use xcm_executor::XcmExecutor; -use xcm_simulator::fake_message_hash; +use xcm_pez_simulator::fake_message_hash; pub const ALICE: AccountId = AccountId::new([0u8; 32]); pub const PARA_ID: u32 = 2000; diff --git a/pezkuwi/xcm/xcm-executor/integration-tests/Cargo.toml b/pezkuwi/xcm/xcm-executor/integration-tests/Cargo.toml index cd5da7bb..dfb4bb46 100644 --- a/pezkuwi/xcm/xcm-executor/integration-tests/Cargo.toml +++ b/pezkuwi/xcm/xcm-executor/integration-tests/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "xcm-executor-integration-tests" +name = "xcm-pez-executor-integration-tests" description = "Integration tests for the XCM Executor" authors.workspace = true edition.workspace = true license.workspace = true version = "1.0.0" publish = false -documentation = "https://docs.rs/xcm-executor-integration-tests" +documentation = "https://docs.rs/xcm-pez-executor-integration-tests" repository = { workspace = true } homepage = { workspace = true } diff --git a/pezkuwi/xcm/xcm-executor/src/tests/mod.rs b/pezkuwi/xcm/xcm-executor/src/tests/mod.rs index 4cece908..3438e533 100644 --- a/pezkuwi/xcm/xcm-executor/src/tests/mod.rs +++ b/pezkuwi/xcm/xcm-executor/src/tests/mod.rs @@ -17,7 +17,7 @@ //! Unit tests for the XCM executor. //! //! These exclude any cross-chain functionality. For those, look at the -//! `xcm-emulator` based tests in the pezcumulus folder. +//! `xcm-pez-emulator` based tests in the pezcumulus folder. //! These tests deal with internal state changes of the XCVM. mod initiate_transfer; diff --git a/pezkuwi/xcm/xcm-simulator/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml similarity index 95% rename from pezkuwi/xcm/xcm-simulator/Cargo.toml rename to pezkuwi/xcm/xcm-pez-simulator/Cargo.toml index 73f311e5..37ff5dd1 100644 --- a/pezkuwi/xcm/xcm-simulator/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "xcm-simulator" +name = "xcm-pez-simulator" description = "Test kit to simulate cross-chain message passing and XCM execution" version = "7.0.0" authors.workspace = true @@ -7,7 +7,7 @@ edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/xcm-simulator" +documentation = "https://docs.rs/xcm-pez-simulator" [lints] workspace = true diff --git a/pezkuwi/xcm/xcm-simulator/example/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml similarity index 88% rename from pezkuwi/xcm/xcm-simulator/example/Cargo.toml rename to pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml index 31604d9e..717951e8 100644 --- a/pezkuwi/xcm/xcm-simulator/example/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "xcm-simulator-example" -description = "Examples of xcm-simulator usage." +name = "xcm-pez-simulator-example" +description = "Examples of xcm-pez-simulator usage." authors.workspace = true edition.workspace = true license.workspace = true version = "7.0.0" homepage.workspace = true repository.workspace = true -documentation = "https://docs.rs/xcm-simulator-example" +documentation = "https://docs.rs/xcm-pez-simulator-example" publish = false [lints] @@ -36,7 +36,7 @@ pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [dev-dependencies] pezsp-tracing = { workspace = true } @@ -56,6 +56,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezkuwi/xcm/xcm-simulator/example/src/lib.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/lib.rs similarity index 97% rename from pezkuwi/xcm/xcm-simulator/example/src/lib.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/lib.rs index 212d630c..66b05736 100644 --- a/pezkuwi/xcm/xcm-simulator/example/src/lib.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/example/src/lib.rs @@ -29,7 +29,7 @@ use pezsp_runtime::BuildStorage; use pezsp_tracing; use xcm::prelude::*; use xcm_executor::traits::ConvertLocation; -use xcm_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; +use xcm_pez_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; pub const ALICE: pezsp_runtime::AccountId32 = pezsp_runtime::AccountId32::new([1u8; 32]); pub const INITIAL_BALANCE: u128 = 1_000_000_000; diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/mod.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/mod.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/mod.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/mod.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/asset_transactor.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/asset_transactor.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/asset_transactor.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/asset_transactor.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/barrier.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/barrier.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/barrier.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/barrier.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/constants.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/constants.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/constants.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/constants.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/location_converter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/location_converter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/location_converter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/location_converter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/mod.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/mod.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/mod.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/mod.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/origin_converter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/origin_converter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/origin_converter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/origin_converter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/teleporter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/teleporter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/teleporter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/teleporter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/weigher.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/weigher.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/relay_chain/xcm_config/weigher.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/relay_chain/xcm_config/weigher.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/tests.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/tests.rs similarity index 99% rename from pezkuwi/xcm/xcm-simulator/example/src/tests.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/tests.rs index f534f457..9087a7f1 100644 --- a/pezkuwi/xcm/xcm-simulator/example/src/tests.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/example/src/tests.rs @@ -19,7 +19,7 @@ use crate::*; use codec::Encode; use pezframe_support::{assert_ok, weights::Weight}; use xcm::latest::QueryResponseInfo; -use xcm_simulator::{mock_message_queue::ReceivedDmp, TestExt}; +use xcm_pez_simulator::{mock_message_queue::ReceivedDmp, TestExt}; // Helper function for forming buy execution message fn buy_execution(fees: impl Into) -> Instruction { diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/mod.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/mod.rs similarity index 99% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/mod.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/mod.rs index 2aa58c8e..9b9c27d2 100644 --- a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/mod.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/mod.rs @@ -36,7 +36,7 @@ use pezsp_runtime::{ use xcm::latest::prelude::*; use xcm_builder::{EnsureXcmOrigin, SignedToAccountId32}; use xcm_executor::{traits::ConvertLocation, XcmExecutor}; -use xcm_simulator::mock_message_queue; +use xcm_pez_simulator::mock_message_queue; pub type AccountId = AccountId32; pub type Balance = u128; diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/asset_transactor.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/asset_transactor.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/asset_transactor.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/asset_transactor.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/barrier.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/barrier.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/barrier.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/barrier.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/constants.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/constants.rs similarity index 95% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/constants.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/constants.rs index 1bdb1a20..5d3a13ab 100644 --- a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/constants.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/constants.rs @@ -17,7 +17,7 @@ use crate::teyrchain::Runtime; use pezframe_support::parameter_types; use xcm::latest::prelude::*; -use xcm_simulator::mock_message_queue::TeyrchainId; +use xcm_pez_simulator::mock_message_queue::TeyrchainId; parameter_types! { pub KsmPerSecondPerByte: (AssetId, u128, u128) = (AssetId(Parent.into()), 1, 1); diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/location_converter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/location_converter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/location_converter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/location_converter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/mod.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/mod.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/mod.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/mod.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/origin_converter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/origin_converter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/origin_converter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/origin_converter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/reserve.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/reserve.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/reserve.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/reserve.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/teleporter.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/teleporter.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/teleporter.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/teleporter.rs diff --git a/pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/weigher.rs b/pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/weigher.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/example/src/teyrchain/xcm_config/weigher.rs rename to pezkuwi/xcm/xcm-pez-simulator/example/src/teyrchain/xcm_config/weigher.rs diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/.gitignore b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/.gitignore similarity index 100% rename from pezkuwi/xcm/xcm-simulator/fuzzer/.gitignore rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/.gitignore diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml similarity index 90% rename from pezkuwi/xcm/xcm-simulator/fuzzer/Cargo.toml rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml index 3fc59ed2..51e968bc 100644 --- a/pezkuwi/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "xcm-simulator-fuzzer" -description = "Examples of xcm-simulator usage." +name = "xcm-pez-simulator-fuzzer" +description = "Examples of xcm-pez-simulator usage." version = "1.0.0" authors.workspace = true edition.workspace = true license.workspace = true publish = false -documentation = "https://docs.rs/xcm-simulator-fuzzer" +documentation = "https://docs.rs/xcm-pez-simulator-fuzzer" repository = { workspace = true } homepage = { workspace = true } @@ -42,7 +42,7 @@ pezkuwi-teyrchain-primitives = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] try-runtime = [ @@ -71,6 +71,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/README.md b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/README.md similarity index 100% rename from pezkuwi/xcm/xcm-simulator/fuzzer/README.md rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/README.md diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/src/fuzz.rs b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/fuzz.rs similarity index 98% rename from pezkuwi/xcm/xcm-simulator/fuzzer/src/fuzz.rs rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/fuzz.rs index 3c42557a..5c2de286 100644 --- a/pezkuwi/xcm/xcm-simulator/fuzzer/src/fuzz.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/fuzz.rs @@ -26,7 +26,7 @@ use codec::DecodeLimit; use pezkuwi_core_primitives::AccountId; use pezkuwi_teyrchain_primitives::primitives::Id as ParaId; use pezsp_runtime::{traits::AccountIdConversion, BuildStorage}; -use xcm_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; +use xcm_pez_simulator::{decl_test_network, decl_test_relay_chain, decl_test_teyrchain, TestExt}; #[cfg(feature = "try-runtime")] use pezframe_support::traits::{TryState, TryStateSelect::All}; diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/src/relay_chain.rs b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/relay_chain.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/fuzzer/src/relay_chain.rs rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/relay_chain.rs diff --git a/pezkuwi/xcm/xcm-simulator/fuzzer/src/teyrchain.rs b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/teyrchain.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/fuzzer/src/teyrchain.rs rename to pezkuwi/xcm/xcm-pez-simulator/fuzzer/src/teyrchain.rs diff --git a/pezkuwi/xcm/xcm-simulator/src/lib.rs b/pezkuwi/xcm/xcm-pez-simulator/src/lib.rs similarity index 99% rename from pezkuwi/xcm/xcm-simulator/src/lib.rs rename to pezkuwi/xcm/xcm-pez-simulator/src/lib.rs index ab7e94a2..0327571d 100644 --- a/pezkuwi/xcm/xcm-simulator/src/lib.rs +++ b/pezkuwi/xcm/xcm-pez-simulator/src/lib.rs @@ -473,7 +473,7 @@ pub mod helpers { /// /// ``` /// use pezsp_runtime::testing::H256; - /// use xcm_simulator::helpers::TopicIdTracker; + /// use xcm_pez_simulator::helpers::TopicIdTracker; /// /// // Dummy topic IDs /// let topic_id = H256::repeat_byte(0x42); diff --git a/pezkuwi/xcm/xcm-simulator/src/mock_message_queue.rs b/pezkuwi/xcm/xcm-pez-simulator/src/mock_message_queue.rs similarity index 100% rename from pezkuwi/xcm/xcm-simulator/src/mock_message_queue.rs rename to pezkuwi/xcm/xcm-pez-simulator/src/mock_message_queue.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/Cargo.toml b/pezkuwi/xcm/xcm-runtime-pezapis/Cargo.toml similarity index 89% rename from pezkuwi/xcm/xcm-runtime-apis/Cargo.toml rename to pezkuwi/xcm/xcm-runtime-pezapis/Cargo.toml index a6520f21..94a3e816 100644 --- a/pezkuwi/xcm/xcm-runtime-apis/Cargo.toml +++ b/pezkuwi/xcm/xcm-runtime-pezapis/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "xcm-runtime-apis" +name = "xcm-runtime-pezapis" version = "0.1.1" authors.workspace = true edition.workspace = true license = "Apache-2.0" repository.workspace = true description = "XCM runtime APIs" -documentation = "https://docs.rs/xcm-runtime-apis" +documentation = "https://docs.rs/xcm-runtime-pezapis" homepage = { workspace = true } [package.metadata.docs.rs] @@ -32,7 +32,7 @@ pezsp-io = { workspace = true } pezsp-tracing = { workspace = true, default-features = true } tracing = { workspace = true } xcm-builder = { workspace = true } -xcm-simulator = { workspace = true, default-features = true } +xcm-pez-simulator = { workspace = true, default-features = true } [features] default = ["std"] @@ -62,6 +62,6 @@ runtime-benchmarks = [ "pezsp-io/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "xcm-simulator/runtime-benchmarks", + "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/authorized_aliases.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/authorized_aliases.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/authorized_aliases.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/authorized_aliases.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/conversions.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/conversions.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/conversions.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/conversions.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/dry_run.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/dry_run.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/dry_run.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/dry_run.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/fees.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/fees.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/fees.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/fees.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/lib.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/lib.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/lib.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/lib.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/src/trusted_query.rs b/pezkuwi/xcm/xcm-runtime-pezapis/src/trusted_query.rs similarity index 100% rename from pezkuwi/xcm/xcm-runtime-apis/src/trusted_query.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/src/trusted_query.rs diff --git a/pezkuwi/xcm/xcm-runtime-apis/tests/conversions.rs b/pezkuwi/xcm/xcm-runtime-pezapis/tests/conversions.rs similarity index 98% rename from pezkuwi/xcm/xcm-runtime-apis/tests/conversions.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/tests/conversions.rs index bb9cb79e..da83d082 100644 --- a/pezkuwi/xcm/xcm-runtime-apis/tests/conversions.rs +++ b/pezkuwi/xcm/xcm-runtime-pezapis/tests/conversions.rs @@ -27,7 +27,7 @@ use pezframe_support::{ use mock::*; use pezsp_api::ProvideRuntimeApi; use xcm::prelude::*; -use xcm_runtime_apis::conversions::{ +use xcm_runtime_pezapis::conversions::{ Error as LocationToAccountApiError, LocationToAccountApi, LocationToAccountHelper, }; diff --git a/pezkuwi/xcm/xcm-runtime-apis/tests/fee_estimation.rs b/pezkuwi/xcm/xcm-runtime-pezapis/tests/fee_estimation.rs similarity index 99% rename from pezkuwi/xcm/xcm-runtime-apis/tests/fee_estimation.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/tests/fee_estimation.rs index be836f78..f3eae2e7 100644 --- a/pezkuwi/xcm/xcm-runtime-apis/tests/fee_estimation.rs +++ b/pezkuwi/xcm/xcm-runtime-pezapis/tests/fee_estimation.rs @@ -20,7 +20,7 @@ use pezframe_support::pezsp_runtime::testing::H256; use pezframe_system::RawOrigin; use pezsp_api::ProvideRuntimeApi; use xcm::prelude::*; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ dry_run::{CallDryRunEffects, DryRunApi}, fees::XcmPaymentApi, }; @@ -31,7 +31,7 @@ use mock::{ ExistentialDeposit, HereLocation, OriginCaller, RuntimeCall, RuntimeEvent, TestClient, ASSET_HUB_ASSETS_PALLET_INSTANCE, ASSET_HUB_PARA_ID, USDT_ID, }; -use xcm_simulator::fake_message_hash; +use xcm_pez_simulator::fake_message_hash; // Scenario: User `1` in the local chain (id 2000) wants to transfer assets to account `[0u8; 32]` // on "AssetHub". He wants to make sure he has enough for fees, so before he calls the diff --git a/pezkuwi/xcm/xcm-runtime-apis/tests/mock.rs b/pezkuwi/xcm/xcm-runtime-pezapis/tests/mock.rs similarity index 99% rename from pezkuwi/xcm/xcm-runtime-apis/tests/mock.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/tests/mock.rs index 6d9e127d..f516aa36 100644 --- a/pezkuwi/xcm/xcm-runtime-apis/tests/mock.rs +++ b/pezkuwi/xcm/xcm-runtime-pezapis/tests/mock.rs @@ -43,13 +43,13 @@ use xcm_executor::{ XcmExecutor, }; -use xcm_runtime_apis::{ +use xcm_runtime_pezapis::{ conversions::{Error as LocationToAccountApiError, LocationToAccountApi}, dry_run::{CallDryRunEffects, DryRunApi, Error as XcmDryRunApiError, XcmDryRunEffects}, fees::{Error as XcmPaymentApiError, XcmPaymentApi}, trusted_query::{Error as TrustedQueryApiError, TrustedQueryApi}, }; -use xcm_simulator::helpers::derive_topic_id; +use xcm_pez_simulator::helpers::derive_topic_id; construct_runtime! { pub enum TestRuntime { diff --git a/pezkuwi/xcm/xcm-runtime-apis/tests/trusted_query.rs b/pezkuwi/xcm/xcm-runtime-pezapis/tests/trusted_query.rs similarity index 98% rename from pezkuwi/xcm/xcm-runtime-apis/tests/trusted_query.rs rename to pezkuwi/xcm/xcm-runtime-pezapis/tests/trusted_query.rs index ffb8706f..1d6dd221 100644 --- a/pezkuwi/xcm/xcm-runtime-apis/tests/trusted_query.rs +++ b/pezkuwi/xcm/xcm-runtime-pezapis/tests/trusted_query.rs @@ -24,7 +24,7 @@ use pezframe_support::pezsp_runtime::testing::H256; use mock::*; use pezsp_api::ProvideRuntimeApi; use xcm::{prelude::*, v3}; -use xcm_runtime_apis::trusted_query::{Error, TrustedQueryApi}; +use xcm_runtime_pezapis::trusted_query::{Error, TrustedQueryApi}; #[test] fn query_trusted_reserve() { diff --git a/prepare_crates_for_publishing.py b/prepare_crates_for_publishing.py deleted file mode 100644 index a1845f43..00000000 --- a/prepare_crates_for_publishing.py +++ /dev/null @@ -1,336 +0,0 @@ -#!/usr/bin/env python3 -""" -Pezkuwi SDK - crates.io Publishing Preparation Script - -Bu script tüm workspace crate'lerini tarar ve crates.io için gerekli -metadata'yı ekler/günceller. tomlkit kullanarak mevcut formatı korur. - -Yapılanlar: -1. description yoksa crate adından oluşturur -2. documentation = "https://docs.rs/{crate_name}" eklenir -3. Eksik workspace inheritance alanları eklenir - -Kullanım: - python3 prepare_crates_for_publishing.py [--dry-run] [--report-only] -""" - -import os -import re -import sys -from pathlib import Path -from typing import Dict, List, Tuple, Optional -import argparse - -try: - import tomlkit - from tomlkit import document, table, inline_table -except ImportError: - print("tomlkit gerekli: pip3 install --user tomlkit") - sys.exit(1) - -# Workspace root -WORKSPACE_ROOT = Path("/home/mamostehp/kurdistan-sdk") - -# crates.io'da yayınlanmayacak pattern'ler (test, example, internal) -NO_PUBLISH_PATTERNS = [ - r".*-test$", - r".*-tests$", - r".*-testing$", - r".*-mock$", - r".*-mocks$", - r".*-fuzzer$", - r".*-fixtures$", - r".*-bench$", - r".*-benchmarks$", - r"^test-.*", - r"^testing-.*", - r"^mock-.*", - r".*-emulated-chain$", - r".*-emulated$", - r".*integration-tests.*", - r"^adder.*", - r"^halving-mega.*", - r"^undying.*", - r"^penpal.*", - r"^minimal-template.*", - r"^parachain-template.*", - r"^teyrchain-template.*", - r"^solochain-template.*", -] - -# Description oluşturmak için prefix mapping -PREFIX_DESCRIPTIONS = { - "pezsp-": "Pezkuwi SDK primitive: ", - "pezsc-": "Pezkuwi SDK client component: ", - "pezpallet-": "Pezkuwi SDK FRAME pallet: ", - "pezframe-": "Pezkuwi SDK FRAME support: ", - "pezcumulus-": "Pezkuwi SDK cumulus/teyrchain component: ", - "pezkuwi-": "Pezkuwi SDK relay chain component: ", - "bizinikiwi-": "Bizinikiwi utility: ", - "xcm-": "Pezkuwi SDK XCM component: ", - "staging-": "Pezkuwi SDK staging component: ", - "pezstaging-": "Pezkuwi SDK staging component: ", - "bp-": "Pezkuwi SDK bridge primitive: ", - "pezpallet-bridge-": "Pezkuwi SDK bridge pallet: ", - "snowbridge-": "Pezkuwi SDK Snowbridge component: ", - "asset-hub-": "Pezkuwi SDK Asset Hub: ", - "bridge-hub-": "Pezkuwi SDK Bridge Hub: ", - "people-": "Pezkuwi SDK People chain: ", - "coretime-": "Pezkuwi SDK Coretime chain: ", - "collectives-": "Pezkuwi SDK Collectives chain: ", - "glutton-": "Pezkuwi SDK Glutton chain: ", -} - - -def should_publish(crate_name: str, cargo_toml_path: Path) -> bool: - """Crate'in crates.io'da yayınlanıp yayınlanmayacağını belirle.""" - # NO_PUBLISH_PATTERNS kontrol et - for pattern in NO_PUBLISH_PATTERNS: - if re.match(pattern, crate_name): - return False - - # Path-based kontroller - path_str = str(cargo_toml_path) - if "/test/" in path_str or "/tests/" in path_str: - return False - if "/examples/" in path_str or "/example/" in path_str: - return False - if "/fuzzer/" in path_str: - return False - if "/integration-tests/" in path_str: - return False - if "/emulated/" in path_str: - return False - - return True - - -def generate_description(crate_name: str) -> str: - """Crate adından description oluştur.""" - # Prefix'e göre açıklama oluştur - for prefix, desc_prefix in PREFIX_DESCRIPTIONS.items(): - if crate_name.startswith(prefix): - # Prefix'i kaldır ve human-readable yap - suffix = crate_name[len(prefix):] - readable = suffix.replace("-", " ").replace("_", " ") - return f"{desc_prefix}{readable}" - - # Default description - readable = crate_name.replace("-", " ").replace("_", " ") - return f"Pezkuwi SDK component: {readable}" - - -def parse_cargo_toml(path: Path) -> Optional[tomlkit.TOMLDocument]: - """Cargo.toml dosyasını parse et (format koruyarak).""" - try: - with open(path, "r", encoding="utf-8") as f: - return tomlkit.load(f) - except Exception as e: - print(f" HATA: {path} parse edilemedi: {e}") - return None - - -def write_cargo_toml(path: Path, data: tomlkit.TOMLDocument) -> bool: - """Cargo.toml dosyasını yaz (format koruyarak).""" - try: - with open(path, "w", encoding="utf-8") as f: - f.write(tomlkit.dumps(data)) - return True - except Exception as e: - print(f" HATA: {path} yazılamadı: {e}") - return False - - -def update_crate_metadata(cargo_path: Path, dry_run: bool = False) -> Tuple[str, bool, List[str]]: - """ - Bir crate'in metadata'sını güncelle. - - Returns: - (crate_name, was_modified, list_of_changes) - """ - data = parse_cargo_toml(cargo_path) - if data is None: - return ("PARSE_ERROR", False, [f"Parse hatası: {cargo_path}"]) - - # [package] section kontrolü - if "package" not in data: - return ("NO_PACKAGE", False, [f"[package] section yok: {cargo_path}"]) - - package = data["package"] - crate_name = package.get("name", "UNKNOWN") - changes = [] - modified = False - - # Helper: workspace inline table oluştur - def make_workspace_true(): - it = tomlkit.inline_table() - it["workspace"] = True - return it - - # 1. description - yoksa ekle - if "description" not in package: - desc = generate_description(crate_name) - package["description"] = desc - changes.append(f'description = "{desc}"') - modified = True - - # 2. documentation - yoksa ekle - if "documentation" not in package: - doc_url = f"https://docs.rs/{crate_name}" - package["documentation"] = doc_url - changes.append(f'documentation = "{doc_url}"') - modified = True - - # 3. repository.workspace = true - yoksa ekle - if "repository" not in package: - package["repository"] = make_workspace_true() - changes.append("repository.workspace = true") - modified = True - - # 4. homepage.workspace = true - yoksa ekle - if "homepage" not in package: - package["homepage"] = make_workspace_true() - changes.append("homepage.workspace = true") - modified = True - - # 5. authors.workspace = true - yoksa ekle - if "authors" not in package: - package["authors"] = make_workspace_true() - changes.append("authors.workspace = true") - modified = True - - # 6. edition.workspace = true - yoksa ekle (genellikle var) - if "edition" not in package: - package["edition"] = make_workspace_true() - changes.append("edition.workspace = true") - modified = True - - # 7. license - yoksa workspace'ten al - if "license" not in package: - package["license"] = make_workspace_true() - changes.append("license.workspace = true") - modified = True - - # 8. publish = false - test crate'leri için - should_pub = should_publish(crate_name, cargo_path) - current_publish = package.get("publish") - if current_publish is None and not should_pub: - package["publish"] = False - changes.append("publish = false") - modified = True - - if modified and not dry_run: - write_cargo_toml(cargo_path, data) - - return (crate_name, modified, changes) - - -def find_all_cargo_tomls(root: Path) -> List[Path]: - """Workspace'teki tüm Cargo.toml dosyalarını bul.""" - cargo_files = [] - # Hariç tutulacak dizinler - exclude_dirs = {"target", "vendor", ".git"} - - for cargo_path in root.rglob("Cargo.toml"): - # Root Cargo.toml'u atla (workspace tanımı) - if cargo_path == root / "Cargo.toml": - continue - # Hariç tutulan dizinleri atla - if any(part in exclude_dirs for part in cargo_path.parts): - continue - cargo_files.append(cargo_path) - return sorted(cargo_files) - - -def main(): - parser = argparse.ArgumentParser(description="Pezkuwi SDK crates.io hazırlık script'i") - parser.add_argument("--dry-run", action="store_true", help="Değişiklik yapma, sadece göster") - parser.add_argument("--report-only", action="store_true", help="Sadece rapor oluştur") - args = parser.parse_args() - - print("=" * 70) - print("Pezkuwi SDK - crates.io Publishing Preparation") - print("=" * 70) - print() - - if args.dry_run: - print("** DRY RUN MODE - Değişiklik yapılmayacak **\n") - - cargo_files = find_all_cargo_tomls(WORKSPACE_ROOT) - print(f"Toplam {len(cargo_files)} Cargo.toml dosyası bulundu.\n") - - # İstatistikler - stats = { - "total": len(cargo_files), - "modified": 0, - "publish_true": 0, - "publish_false": 0, - "errors": 0, - } - - results = [] - - for cargo_path in cargo_files: - rel_path = cargo_path.relative_to(WORKSPACE_ROOT) - crate_name, modified, changes = update_crate_metadata(cargo_path, dry_run=args.dry_run or args.report_only) - - if crate_name in ["PARSE_ERROR", "NO_PACKAGE"]: - stats["errors"] += 1 - results.append((str(rel_path), crate_name, changes)) - continue - - if modified: - stats["modified"] += 1 - - # Publish durumu tekrar hesapla - should_pub = should_publish(crate_name, cargo_path) - if should_pub: - stats["publish_true"] += 1 - else: - stats["publish_false"] += 1 - - results.append((str(rel_path), crate_name, changes)) - - # Rapor - print("\n" + "=" * 70) - print("RAPOR") - print("=" * 70) - - # Değişiklik yapılanlar - modified_crates = [(p, n, c) for p, n, c in results if c and n not in ["PARSE_ERROR", "NO_PACKAGE"]] - if modified_crates: - print(f"\n{len(modified_crates)} crate güncellendi:\n") - for rel_path, crate_name, changes in modified_crates[:50]: # İlk 50'yi göster - print(f" {crate_name}") - for change in changes: - print(f" + {change}") - if len(modified_crates) > 50: - print(f" ... ve {len(modified_crates) - 50} crate daha") - - # Hatalar - errors = [(p, n, c) for p, n, c in results if n in ["PARSE_ERROR", "NO_PACKAGE"]] - if errors: - print(f"\n{len(errors)} HATA:\n") - for rel_path, name, changes in errors: - print(f" {rel_path}: {changes[0] if changes else name}") - - # Özet - print("\n" + "-" * 70) - print("ÖZET") - print("-" * 70) - print(f" Toplam Cargo.toml : {stats['total']}") - print(f" Güncellenen : {stats['modified']}") - print(f" Yayınlanacak (publish) : {stats['publish_true']}") - print(f" Yayınlanmayacak : {stats['publish_false']}") - print(f" Hatalar : {stats['errors']}") - print() - - if args.dry_run or args.report_only: - print("** Bu bir dry-run/report idi. Değişiklik uygulamak için:") - print(" python3 prepare_crates_for_publishing.py") - else: - print("** Değişiklikler uygulandı! **") - - -if __name__ == "__main__": - main() diff --git a/rebrand_project.py b/rebrand_project.py new file mode 100644 index 00000000..a84d13df --- /dev/null +++ b/rebrand_project.py @@ -0,0 +1,215 @@ +import os +import sys + +# Rebranding haritası +REBRAND_MAP = [ + ("asset-test-utils", "asset-test-pezutils"), + ("asset-test-zutils", "asset-test-pezutils"), + ("chain-spec-guide-runtime", "pez-chain-spec-guide-runtime"), + ("equivocation-detector", "pez-equivocation-detector"), + ("erasure-coding-fuzzer", "pez-erasure-coding-fuzzer"), + ("ethereum-standards", "pez-ethereum-standards"), + ("finality-relay", "pez-finality-relay"), + ("fork-tree", "pez-fork-tree"), + ("generate-bags", "pez-generate-bags"), + ("kitchensink-runtime", "pez-kitchensink-runtime"), + ("messages-relay", "pez-messages-relay"), + ("minimal-template-node", "pez-minimal-template-node"), + ("minimal-template-runtime", "pez-minimal-template-runtime"), + ("node-bench", "pez-node-bench"), + ("node-primitives", "pez-node-primitives"), + ("node-rpc", "pez-node-rpc"), + ("node-runtime-generate-bags", "pez-node-runtime-generate-bags"), + ("node-template-release", "pez-node-template-release"), + ("node-testing", "pez-node-testing"), + ("penpal-emulated-chain", "pez-penpal-emulated-chain"), + ("penpal-runtime", "pez-penpal-runtime"), + ("remote-ext-tests-bags-list", "pez-remote-ext-tests-bags-list"), + ("revive-dev-node", "pez-revive-dev-node"), + ("revive-dev-runtime", "pez-revive-dev-runtime"), + ("slot-range-helper", "pez-slot-range-helper"), + ("solochain-template-node", "pez-solochain-template-node"), + ("solochain-template-runtime", "pez-solochain-template-runtime"), + ("subkey", "pez-subkey"), + ("template-zombienet-tests", "pez-template-zombienet-tests"), + ("test-runtime-constants", "peztest-runtime-constants"), + ("tracing-gum", "pez-tracing-gum"), + ("tracing-gum-proc-macro", "pez-tracing-gum-proc-macro"), + ("bp-header-chain", "bp-header-pez-chain"), + ("bp-runtime", "pezbp-runtime"), + ("bridge-hub-pezkuwichain-emulated-chain", "pezbridge-hub-pezkuwichain-emulated-chain"), + ("bridge-hub-pezkuwichain-integration-tests", "pezbridge-hub-pezkuwichain-integration-tests"), + ("bridge-hub-pezkuwichain-runtime", "pezbridge-hub-pezkuwichain-runtime"), + ("bridge-hub-test-utils", "pezbridge-hub-test-utils"), + ("bridge-hub-zagros-emulated-chain", "pezbridge-hub-zagros-emulated-chain"), + ("bridge-hub-zagros-integration-tests", "pezbridge-hub-zagros-integration-tests"), + ("bridge-hub-zagros-runtime", "pezbridge-hub-zagros-runtime"), + ("bridge-runtime-common", "pezbridge-runtime-common"), + ("mmr-gadget", "pezmmr-gadget"), + ("mmr-rpc", "pezmmr-rpc"), + ("snowbridge-beacon-primitives", "pezsnowbridge-beacon-primitives"), + ("snowbridge-core", "pezsnowbridge-core"), + ("snowbridge-ethereum", "pezsnowbridge-ethereum"), + ("snowbridge-inbound-queue-primitives", "pezsnowbridge-inbound-queue-primitives"), + ("snowbridge-merkle-tree", "pezsnowbridge-merkle-tree"), + ("snowbridge-outbound-queue-primitives", "pezsnowbridge-outbound-queue-primitives"), + ("snowbridge-outbound-queue-runtime-api", "pezsnowbridge-outbound-queue-runtime-api"), + ("snowbridge-outbound-queue-v2-runtime-api", "pezsnowbridge-outbound-queue-v2-runtime-api"), + ("snowbridge-pallet-ethereum-client", "snowbridge-pezpallet-ethereum-client"), + ("snowbridge-pallet-ethereum-client-fixtures", "snowbridge-pezpallet-ethereum-client-fixtures"), + ("snowbridge-pallet-inbound-queue", "snowbridge-pezpallet-inbound-queue"), + ("snowbridge-pallet-inbound-queue-fixtures", "snowbridge-pezpallet-inbound-queue-fixtures"), + ("snowbridge-pallet-inbound-queue-v2", "snowbridge-pezpallet-inbound-queue-v2"), + ("snowbridge-pallet-inbound-queue-v2-fixtures", "snowbridge-pezpallet-inbound-queue-v2-fixtures"), + ("snowbridge-pallet-outbound-queue", "snowbridge-pezpallet-outbound-queue"), + ("snowbridge-pallet-outbound-queue-v2", "snowbridge-pezpallet-outbound-queue-v2"), + ("snowbridge-pallet-system", "snowbridge-pezpallet-system"), + ("snowbridge-pallet-system-frontend", "snowbridge-pezpallet-system-frontend"), + ("snowbridge-pallet-system-v2", "snowbridge-pezpallet-system-v2"), + ("snowbridge-runtime-common", "pezsnowbridge-runtime-common"), + ("snowbridge-runtime-test-common", "pezsnowbridge-runtime-test-common"), + ("snowbridge-system-runtime-api", "pezsnowbridge-system-runtime-api"), + ("snowbridge-system-v2-runtime-api", "pezsnowbridge-system-v2-runtime-api"), + ("snowbridge-test-utils", "pezsnowbridge-test-utils"), + ("snowbridge-verification-primitives", "pezsnowbridge-verification-primitives"), + ("xcm-docs", "xcm-pez-docs"), + ("xcm-emulator", "xcm-pez-emulator"), + ("xcm-executor-integration-tests", "xcm-pez-executor-integration-tests"), + ("xcm-procedural", "xcm-pez-procedural"), + ("xcm-runtime-apis", "xcm-runtime-pezapis"), + ("xcm-simulator", "xcm-pez-simulator"), + ("xcm-simulator-example", "xcm-pez-simulator-example"), + ("xcm-simulator-fuzzer", "xcm-pez-simulator-fuzzer"), +] + +# Hedef dosya uzantıları +TARGET_EXTENSIONS = ('.rs', '.toml', '.md', '.txt', '.yml', '.yaml', '.json', '.py') + +# HARİÇ TUTULACAK KLASÖRLER (KESİN LİSTE) +EXCLUDE_DIRS = {'crate_placeholders', '.git', 'target', 'node_modules', '__pycache__'} + +def is_path_excluded(path): + """Verilen yolun yasaklı bir klasörün içinde olup olmadığını kontrol eder.""" + parts = path.split(os.sep) + # Eğer path'in herhangi bir parçası EXCLUDE_DIRS içindeyse True döner + return any(excluded in parts for excluded in EXCLUDE_DIRS) + +def replace_in_file(filepath): + # Kendi kendimizi değiştirmeyelim + if os.path.basename(filepath) == os.path.basename(__file__): + return + + try: + with open(filepath, 'r', encoding='utf-8', errors='ignore') as f: + content = f.read() + + original_content = content + + for old_name, new_name in REBRAND_MAP: + # 1. Normal (tireli) + content = content.replace(old_name, new_name) + # 2. Snake case (alt çizgili) + old_snake = old_name.replace('-', '_') + new_snake = new_name.replace('-', '_') + content = content.replace(old_snake, new_snake) + + if content != original_content: + with open(filepath, 'w', encoding='utf-8') as f: + f.write(content) + print(f" [GÜNCELLENDİ] Dosya içeriği: {filepath}") + + except Exception as e: + print(f" [HATA] Dosya okunamadı: {filepath} -> {e}") + +def rename_directories_and_files(root_dir): + # topdown=True kullanarak yukarıdan aşağıya iniyoruz, böylece dirs listesini modifiye edebiliriz + for dirpath, dirnames, filenames in os.walk(root_dir, topdown=True): + + # GÜVENLİK: Yasaklı klasörleri yerinde (in-place) listeden silerek os.walk'un oraya girmesini engelle + # Bu en güvenli yöntemdir. + dirnames[:] = [d for d in dirnames if d not in EXCLUDE_DIRS] + + # Eğer şu anki dizin zaten yasaklı bir yolun altındaysa (üstteki koruma kaçırdıysa) atla + if is_path_excluded(dirpath): + continue + + # 1. Dosya isimlerini değiştir + for filename in filenames: + if filename == os.path.basename(__file__): + continue + + for old_name, new_name in REBRAND_MAP: + if old_name in filename: + old_file_path = os.path.join(dirpath, filename) + new_filename = filename.replace(old_name, new_name) + new_file_path = os.path.join(dirpath, new_filename) + if os.path.exists(old_file_path): + try: + os.rename(old_file_path, new_file_path) + print(f" [RENAME] Dosya: {filename} -> {new_filename}") + except OSError as e: + print(f" [HATA] Dosya adlandırılamadı {filename}: {e}") + + # 2. Klasör isimlerini değiştir + # Not: dirnames listesi üzerinde iterasyon yapıyoruz ama rename işlemi riskli olabilir + # O yüzden sadece şu anki seviyedeki klasörleri kontrol ediyoruz + # Ancak os.walk çalışırken klasör adı değişirse alt dizin taraması sapıtabilir. + # Bu yüzden klasör yeniden adlandırmayı en sona, ayrı bir "bottom-up" geçişe bırakmak daha iyidir + # ama basitlik adına burada dikkatli yapıyoruz. + + # İkinci Geçiş: Sadece Klasör İsimleri (Bottom-Up) + # Klasör isimlerini değiştirirken path bozulmasın diye en alttan başlıyoruz + for dirpath, dirnames, filenames in os.walk(root_dir, topdown=False): + if is_path_excluded(dirpath): + continue + + for dirname in dirnames: + if dirname in EXCLUDE_DIRS: + continue + + for old_name, new_name in REBRAND_MAP: + if old_name == dirname: + old_dir_path = os.path.join(dirpath, dirname) + new_dir_path = os.path.join(dirpath, new_name) + if os.path.exists(old_dir_path): + try: + os.rename(old_dir_path, new_dir_path) + print(f" [RENAME] Klasör: {dirname} -> {new_name}") + except OSError as e: + print(f" [HATA] Klasör adlandırılamadı {dirname}: {e}") + +def process_content_updates(root_dir): + for dirpath, dirnames, filenames in os.walk(root_dir, topdown=True): + # Yasaklı klasörlere girme + dirnames[:] = [d for d in dirnames if d not in EXCLUDE_DIRS] + + if is_path_excluded(dirpath): + continue + + for filename in filenames: + if filename.endswith(TARGET_EXTENSIONS) or filename == 'Cargo.lock': + filepath = os.path.join(dirpath, filename) + replace_in_file(filepath) + +def main(): + root_dir = os.getcwd() + print("==================================================") + print(f"⚠️ DİKKAT: Çalışma dizini: {root_dir}") + print(f"⚠️ HARİÇ TUTULANLAR: {EXCLUDE_DIRS}") + print("==================================================") + + # Otomatik onay veya soru + # confirm = input("Emin misin? (evet/hayir): ") + # if confirm.lower() != "evet": return + print("İşlem başlatılıyor...") + + print("\n--- Adım 1: Dosya İçeriklerinin Güncellenmesi ---") + process_content_updates(root_dir) + + print("\n--- Adım 2: Klasör ve Dosya İsimlerinin Değiştirilmesi ---") + rename_directories_and_files(root_dir) + + print("\n✅ Rebranding işlemi tamamlandı.") + +if __name__ == "__main__": + main() diff --git a/reserve_crate_names_v2.py b/reserve_crate_names_v2.py index c24ab27d..7372da3e 100644 --- a/reserve_crate_names_v2.py +++ b/reserve_crate_names_v2.py @@ -60,7 +60,7 @@ NEW_CRATE_NAMES = [ "pez-node-bench", "pez-node-primitives", "pez-node-rpc", - "pez-node-runtime-generate-bags", + "pez-node-runtime-pez-generate-bags", "pez-node-template-release", "pez-node-testing", "pez-penpal-emulated-chain", @@ -86,7 +86,7 @@ NEW_CRATE_NAMES = [ "pez-slot-range-helper", "pez-solochain-template-node", "pez-solochain-template-runtime", - "pez-subkey", + "pez-pez_subkey", "pez-template-zombienet-tests", "peztest-runtime-constants", "test-teyrchain-adder", @@ -102,7 +102,7 @@ NEW_CRATE_NAMES = [ "teyrchains-relay", "teyrchains-runtimes-test-utils", "pez-tracing-gum", - "pez-tracing-gum-proc-macro", + "pez-pez-tracing-gum-proc-macro", "yet-another-teyrchain-runtime", "zagros-emulated-chain", "zagros-runtime", @@ -158,7 +158,7 @@ NEW_CRATE_NAMES = [ "pezsnowbridge-pezpallet-system", "pezsnowbridge-pezpallet-system-frontend", "pezsnowbridge-pezpallet-system-v2", - "pezsnowbridge-runtime-common", + "pezsnowpezbridge-runtime-common", "pezsnowbridge-runtime-test-common", "pezsnowbridge-system-runtime-api", "pezsnowbridge-system-v2-runtime-api", diff --git a/scripts/generate-umbrella.py b/scripts/generate-umbrella.py index e1ce7f1e..a6600653 100644 --- a/scripts/generate-umbrella.py +++ b/scripts/generate-umbrella.py @@ -35,7 +35,7 @@ def exclude(crate): # No runtime crates: if name.endswith("-runtime"): # Note: this is a bit hacky. We should use custom crate metadata instead. - return name != "sp-runtime" and name != "bp-runtime" and name != "frame-try-runtime" + return name != "sp-runtime" and name != "pezbp-runtime" and name != "frame-try-runtime" # Exclude snowbridge crates. if name.startswith("snowbridge-"): diff --git a/templates/minimal/README.md b/templates/minimal/README.md index e174b520..b3b8315c 100644 --- a/templates/minimal/README.md +++ b/templates/minimal/README.md @@ -21,8 +21,8 @@ - [Starting a Minimal Template Chain](#starting-a-minimal-template-chain) - - [Minimal Template Node](#minimal-template-node) - - [Zombienet with Minimal Template Node](#zombienet-with-minimal-template-node) + - [Minimal Template Node](#pez-minimal-template-node) + - [Zombienet with Minimal Template Node](#zombienet-with-pez-minimal-template-node) - [Connect with the PezkuwiChain-JS Apps Front-End](#connect-with-the-pezkuwi-js-apps-front-end) - [Takeaways](#takeaways) @@ -85,19 +85,19 @@ and has as entry point the node binary: docker build . -t pezkuwi-sdk-minimal-template ``` -#### Start the `minimal-template-node` +#### Start the `pez-minimal-template-node` -The `minimal-template-node` has dependency on the `minimal-template-runtime`. It will use -the `minimal_template_runtime::WASM_BINARY` constant (which holds the WASM blob as a byte +The `pez-minimal-template-node` has dependency on the `pez-minimal-template-runtime`. It will use +the `pez_minimal_template_runtime::WASM_BINARY` constant (which holds the WASM blob as a byte array) for chain spec building, while starting. ```sh - --tmp --consensus manual-seal-3000 + --tmp --consensus manual-seal-3000 # or via docker docker run --rm pezkuwi-sdk-minimal-template ``` -#### Zombienet with `minimal-template-node` +#### Zombienet with `pez-minimal-template-node` For this one we just need to have `zombienet` installed and run: diff --git a/templates/minimal/node/Cargo.toml b/templates/minimal/node/Cargo.toml index f09c2a38..748ce153 100644 --- a/templates/minimal/node/Cargo.toml +++ b/templates/minimal/node/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "minimal-template-node" +name = "pez-minimal-template-node" description = "A minimal Bizinikiwi-based Bizinikiwi node, ready for hacking." version = "0.0.0" license = "Unlicense" @@ -9,7 +9,7 @@ repository.workspace = true edition.workspace = true publish = false build = "build.rs" -documentation = "https://docs.rs/minimal-template-node" +documentation = "https://docs.rs/pez-minimal-template-node" [lints] workspace = true @@ -24,7 +24,7 @@ futures = { features = ["thread-pool"], workspace = true } futures-timer = { workspace = true } jsonrpsee = { features = ["server"], workspace = true } -minimal-template-runtime = { workspace = true } +pez-minimal-template-runtime = { workspace = true } pezkuwi-sdk = { workspace = true, features = ["experimental", "node"] } [build-dependencies] @@ -32,8 +32,8 @@ pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] } [features] default = ["std"] -std = ["minimal-template-runtime/std", "pezkuwi-sdk/std"] +std = ["pez-minimal-template-runtime/std", "pezkuwi-sdk/std"] runtime-benchmarks = [ - "minimal-template-runtime/runtime-benchmarks", + "pez-minimal-template-runtime/runtime-benchmarks", "pezkuwi-sdk/runtime-benchmarks", ] diff --git a/templates/minimal/node/src/chain_spec.rs b/templates/minimal/node/src/chain_spec.rs index b221ce36..d3f06587 100644 --- a/templates/minimal/node/src/chain_spec.rs +++ b/templates/minimal/node/src/chain_spec.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use minimal_template_runtime::WASM_BINARY; +use pez_minimal_template_runtime::WASM_BINARY; use pezkuwi_sdk::{ pezsc_service::{ChainType, Properties}, *, diff --git a/templates/minimal/node/src/command.rs b/templates/minimal/node/src/command.rs index 96bfb584..b9684c66 100644 --- a/templates/minimal/node/src/command.rs +++ b/templates/minimal/node/src/command.rs @@ -116,7 +116,7 @@ pub fn run() -> pezsc_cli::Result<()> { Some(Subcommand::ChainInfo(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| { - cmd.run::(&config) + cmd.run::(&config) }) }, None => { diff --git a/templates/minimal/node/src/rpc.rs b/templates/minimal/node/src/rpc.rs index 6c648073..8207a2f5 100644 --- a/templates/minimal/node/src/rpc.rs +++ b/templates/minimal/node/src/rpc.rs @@ -23,7 +23,7 @@ #![warn(missing_docs)] use jsonrpsee::RpcModule; -use minimal_template_runtime::interface::{AccountId, Nonce, OpaqueBlock}; +use pez_minimal_template_runtime::interface::{AccountId, Nonce, OpaqueBlock}; use pezkuwi_sdk::{ pezsc_transaction_pool_api::TransactionPool, pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}, diff --git a/templates/minimal/node/src/service.rs b/templates/minimal/node/src/service.rs index a8046603..7e20df48 100644 --- a/templates/minimal/node/src/service.rs +++ b/templates/minimal/node/src/service.rs @@ -17,7 +17,7 @@ use crate::cli::Consensus; use futures::FutureExt; -use minimal_template_runtime::{interface::OpaqueBlock as Block, RuntimeApi}; +use pez_minimal_template_runtime::{interface::OpaqueBlock as Block, RuntimeApi}; use pezkuwi_sdk::{ pezsc_client_api::backend::Backend, pezsc_executor::WasmExecutor, diff --git a/templates/minimal/pallets/README.md b/templates/minimal/pezpallets/README.md similarity index 100% rename from templates/minimal/pallets/README.md rename to templates/minimal/pezpallets/README.md diff --git a/templates/minimal/pallets/template/Cargo.toml b/templates/minimal/pezpallets/template/Cargo.toml similarity index 100% rename from templates/minimal/pallets/template/Cargo.toml rename to templates/minimal/pezpallets/template/Cargo.toml diff --git a/templates/minimal/pallets/template/src/lib.rs b/templates/minimal/pezpallets/template/src/lib.rs similarity index 100% rename from templates/minimal/pallets/template/src/lib.rs rename to templates/minimal/pezpallets/template/src/lib.rs diff --git a/templates/minimal/runtime/Cargo.toml b/templates/minimal/runtime/Cargo.toml index f2b5f6b0..6115791d 100644 --- a/templates/minimal/runtime/Cargo.toml +++ b/templates/minimal/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "minimal-template-runtime" +name = "pez-minimal-template-runtime" description = "A solochain runtime template built with Bizinikiwi, part of Pezkuwi Sdk." version = "0.0.0" license = "Unlicense" @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/minimal-template-runtime" +documentation = "https://docs.rs/pez-minimal-template-runtime" [lints] workspace = true diff --git a/templates/minimal/runtime/src/lib.rs b/templates/minimal/runtime/src/lib.rs index 41bb2a22..bcd0f456 100644 --- a/templates/minimal/runtime/src/lib.rs +++ b/templates/minimal/runtime/src/lib.rs @@ -83,8 +83,8 @@ pub mod genesis_config_presets { /// The runtime version. #[runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: alloc::borrow::Cow::Borrowed("minimal-template-runtime"), - impl_name: alloc::borrow::Cow::Borrowed("minimal-template-runtime"), + spec_name: alloc::borrow::Cow::Borrowed("pez-minimal-template-runtime"), + impl_name: alloc::borrow::Cow::Borrowed("pez-minimal-template-runtime"), authoring_version: 1, spec_version: 0, impl_version: 1, diff --git a/templates/minimal/zombienet.toml b/templates/minimal/zombienet.toml index 89df054b..5f248f6f 100644 --- a/templates/minimal/zombienet.toml +++ b/templates/minimal/zombienet.toml @@ -3,7 +3,7 @@ [relaychain] chain = "dev" -default_command = "minimal-template-node" +default_command = "pez-minimal-template-node" [[relaychain.nodes]] name = "alice" diff --git a/templates/solochain/README.md b/templates/solochain/README.md index 142a9435..01747bd3 100644 --- a/templates/solochain/README.md +++ b/templates/solochain/README.md @@ -45,7 +45,7 @@ After you build the project, you can use the following command to explore its parameters and subcommands: ```sh -./target/release/solochain-template-node -h +./target/release/pez-solochain-template-node -h ``` You can generate and view the [Rust @@ -62,19 +62,19 @@ The following command starts a single-node development chain that doesn't persist state: ```sh -./target/release/solochain-template-node --dev +./target/release/pez-solochain-template-node --dev ``` To purge the development chain's state, run the following command: ```sh -./target/release/solochain-template-node purge-chain --dev +./target/release/pez-solochain-template-node purge-chain --dev ``` To start the development chain with detailed logging, run the following command: ```sh -RUST_BACKTRACE=1 ./target/release/solochain-template-node -ldebug --dev +RUST_BACKTRACE=1 ./target/release/pez-solochain-template-node -ldebug --dev ``` Development chains: @@ -94,7 +94,7 @@ similar to the following: $ mkdir my-chain-state // Use of that folder to store the chain state -$ ./target/release/solochain-template-node --dev --base-path ./my-chain-state/ +$ ./target/release/pez-solochain-template-node --dev --base-path ./my-chain-state/ // Check the folder structure created inside the base path after running the chain $ ls ./my-chain-state @@ -153,7 +153,7 @@ following: `development_config` and `testnet_genesis` functions. These functions are used to define the genesis state for the local development chain configuration. These functions identify some [well-known - accounts](https://docs.pezkuwichain.io/reference/command-line-tools/subkey/) and + accounts](https://docs.pezkuwichain.io/reference/command-line-tools/pez_subkey/) and use them to configure the blockchain's initial state. - [`service.rs`](./node/src/service.rs): This file defines the node implementation. Take note of the libraries that this file imports and the diff --git a/templates/solochain/node/Cargo.toml b/templates/solochain/node/Cargo.toml index b8104d8b..2909bce6 100644 --- a/templates/solochain/node/Cargo.toml +++ b/templates/solochain/node/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "solochain-template-node" +name = "pez-solochain-template-node" description = "A solochain node template built with Bizinikiwi, part of Pezkuwi Sdk." version = "0.0.0" license = "Unlicense" @@ -10,7 +10,7 @@ edition.workspace = true publish = false build = "build.rs" -documentation = "https://docs.rs/solochain-template-node" +documentation = "https://docs.rs/pez-solochain-template-node" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -62,14 +62,14 @@ bizinikiwi-frame-rpc-system = { workspace = true, default-features = true } pezframe-benchmarking-cli = { workspace = true, default-features = true } # Local Dependencies -solochain-template-runtime = { workspace = true } +pez-solochain-template-runtime = { workspace = true } [build-dependencies] bizinikiwi-build-script-utils = { workspace = true, default-features = true } [features] default = ["std"] -std = ["solochain-template-runtime/std"] +std = ["pez-solochain-template-runtime/std"] # Dependencies that are only required if runtime benchmarking should be build. runtime-benchmarks = [ "pezframe-benchmarking-cli/runtime-benchmarks", @@ -89,7 +89,7 @@ runtime-benchmarks = [ "pezsc-service/runtime-benchmarks", "pezsc-transaction-pool-api/runtime-benchmarks", "pezsc-transaction-pool/runtime-benchmarks", - "solochain-template-runtime/runtime-benchmarks", + "pez-solochain-template-runtime/runtime-benchmarks", "pezsp-api/runtime-benchmarks", "pezsp-block-builder/runtime-benchmarks", "pezsp-blockchain/runtime-benchmarks", @@ -107,6 +107,6 @@ runtime-benchmarks = [ try-runtime = [ "pezframe-system/try-runtime", "pezpallet-transaction-payment/try-runtime", - "solochain-template-runtime/try-runtime", + "pez-solochain-template-runtime/try-runtime", "pezsp-runtime/try-runtime", ] diff --git a/templates/solochain/node/src/benchmarking.rs b/templates/solochain/node/src/benchmarking.rs index 1695f78b..ccae45b4 100644 --- a/templates/solochain/node/src/benchmarking.rs +++ b/templates/solochain/node/src/benchmarking.rs @@ -7,7 +7,7 @@ use crate::service::FullClient; use runtime::{AccountId, Balance, BalancesCall, SystemCall}; use pezsc_cli::Result; use pezsc_client_api::BlockBackend; -use solochain_template_runtime as runtime; +use pez_solochain_template_runtime as runtime; use pezsp_core::{Encode, Pair}; use pezsp_inherents::{InherentData, InherentDataProvider}; use pezsp_keyring::Sr25519Keyring; diff --git a/templates/solochain/node/src/chain_spec.rs b/templates/solochain/node/src/chain_spec.rs index f11cb5d6..ceffec95 100644 --- a/templates/solochain/node/src/chain_spec.rs +++ b/templates/solochain/node/src/chain_spec.rs @@ -1,5 +1,5 @@ use pezsc_service::ChainType; -use solochain_template_runtime::WASM_BINARY; +use pez_solochain_template_runtime::WASM_BINARY; /// Specialized `ChainSpec`. This is a specialization of the general Bizinikiwi ChainSpec type. pub type ChainSpec = pezsc_service::GenericChainSpec; diff --git a/templates/solochain/node/src/command.rs b/templates/solochain/node/src/command.rs index c67a898b..83f6ba78 100644 --- a/templates/solochain/node/src/command.rs +++ b/templates/solochain/node/src/command.rs @@ -7,7 +7,7 @@ use crate::{ use pezframe_benchmarking_cli::{BenchmarkCmd, ExtrinsicFactory, BIZINIKIWI_REFERENCE_HARDWARE}; use pezsc_cli::BizinikiwiCli; use pezsc_service::PartialComponents; -use solochain_template_runtime::{Block, EXISTENTIAL_DEPOSIT}; +use pez_solochain_template_runtime::{Block, EXISTENTIAL_DEPOSIT}; use pezsp_keyring::Sr25519Keyring; impl BizinikiwiCli for Cli { @@ -187,8 +187,8 @@ pub fn run() -> pezsc_cli::Result<()> { match config.network.network_backend { pezsc_network::config::NetworkBackendType::Libp2p => service::new_full::< pezsc_network::NetworkWorker< - solochain_template_runtime::opaque::Block, - ::Hash, + pez_solochain_template_runtime::opaque::Block, + ::Hash, >, >(config) .map_err(pezsc_cli::Error::Service), diff --git a/templates/solochain/node/src/rpc.rs b/templates/solochain/node/src/rpc.rs index c2e7c117..ca03fd15 100644 --- a/templates/solochain/node/src/rpc.rs +++ b/templates/solochain/node/src/rpc.rs @@ -9,7 +9,7 @@ use std::sync::Arc; use jsonrpsee::RpcModule; use pezsc_transaction_pool_api::TransactionPool; -use solochain_template_runtime::{opaque::Block, AccountId, Balance, Nonce}; +use pez_solochain_template_runtime::{opaque::Block, AccountId, Balance, Nonce}; use pezsp_api::ProvideRuntimeApi; use pezsp_block_builder::BlockBuilder; use pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; diff --git a/templates/solochain/node/src/service.rs b/templates/solochain/node/src/service.rs index e9484e7e..8716b9ea 100644 --- a/templates/solochain/node/src/service.rs +++ b/templates/solochain/node/src/service.rs @@ -7,7 +7,7 @@ use pezsc_consensus_grandpa::SharedVoterState; use pezsc_service::{error::Error as ServiceError, Configuration, TaskManager, WarpSyncConfig}; use pezsc_telemetry::{Telemetry, TelemetryWorker}; use pezsc_transaction_pool_api::OffchainTransactionPoolFactory; -use solochain_template_runtime::{self, apis::RuntimeApi, opaque::Block}; +use pez_solochain_template_runtime::{self, apis::RuntimeApi, opaque::Block}; use pezsp_consensus_aura::sr25519::AuthorityPair as AuraPair; use std::{sync::Arc, time::Duration}; diff --git a/templates/solochain/pallets/template/Cargo.toml b/templates/solochain/pezpallets/template/Cargo.toml similarity index 100% rename from templates/solochain/pallets/template/Cargo.toml rename to templates/solochain/pezpallets/template/Cargo.toml diff --git a/templates/solochain/pallets/template/README.md b/templates/solochain/pezpallets/template/README.md similarity index 100% rename from templates/solochain/pallets/template/README.md rename to templates/solochain/pezpallets/template/README.md diff --git a/templates/solochain/pallets/template/src/benchmarking.rs b/templates/solochain/pezpallets/template/src/benchmarking.rs similarity index 100% rename from templates/solochain/pallets/template/src/benchmarking.rs rename to templates/solochain/pezpallets/template/src/benchmarking.rs diff --git a/templates/solochain/pallets/template/src/lib.rs b/templates/solochain/pezpallets/template/src/lib.rs similarity index 100% rename from templates/solochain/pallets/template/src/lib.rs rename to templates/solochain/pezpallets/template/src/lib.rs diff --git a/templates/solochain/pallets/template/src/mock.rs b/templates/solochain/pezpallets/template/src/mock.rs similarity index 100% rename from templates/solochain/pallets/template/src/mock.rs rename to templates/solochain/pezpallets/template/src/mock.rs diff --git a/templates/solochain/pallets/template/src/tests.rs b/templates/solochain/pezpallets/template/src/tests.rs similarity index 100% rename from templates/solochain/pallets/template/src/tests.rs rename to templates/solochain/pezpallets/template/src/tests.rs diff --git a/templates/solochain/pallets/template/src/weights.rs b/templates/solochain/pezpallets/template/src/weights.rs similarity index 100% rename from templates/solochain/pallets/template/src/weights.rs rename to templates/solochain/pezpallets/template/src/weights.rs diff --git a/templates/solochain/runtime/Cargo.toml b/templates/solochain/runtime/Cargo.toml index 0acd24b5..8fb6165c 100644 --- a/templates/solochain/runtime/Cargo.toml +++ b/templates/solochain/runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "solochain-template-runtime" +name = "pez-solochain-template-runtime" description = "A solochain runtime template built with Bizinikiwi, part of Pezkuwi Sdk." version = "0.0.0" license = "Unlicense" @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/solochain-template-runtime" +documentation = "https://docs.rs/pez-solochain-template-runtime" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/templates/solochain/runtime/src/lib.rs b/templates/solochain/runtime/src/lib.rs index ec00343d..8917d935 100644 --- a/templates/solochain/runtime/src/lib.rs +++ b/templates/solochain/runtime/src/lib.rs @@ -61,8 +61,8 @@ impl_opaque_keys! { // https://docs.pezkuwichain.io/main-docs/build/upgrade#runtime-versioning #[pezsp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: alloc::borrow::Cow::Borrowed("solochain-template-runtime"), - impl_name: alloc::borrow::Cow::Borrowed("solochain-template-runtime"), + spec_name: alloc::borrow::Cow::Borrowed("pez-solochain-template-runtime"), + impl_name: alloc::borrow::Cow::Borrowed("pez-solochain-template-runtime"), authoring_version: 1, // The version of the runtime specification. A full node will not attempt to use its native // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, diff --git a/templates/teyrchain/pallets/README.md b/templates/teyrchain/pezpallets/README.md similarity index 100% rename from templates/teyrchain/pallets/README.md rename to templates/teyrchain/pezpallets/README.md diff --git a/templates/teyrchain/pallets/template/Cargo.toml b/templates/teyrchain/pezpallets/template/Cargo.toml similarity index 100% rename from templates/teyrchain/pallets/template/Cargo.toml rename to templates/teyrchain/pezpallets/template/Cargo.toml diff --git a/templates/teyrchain/pallets/template/src/benchmarking.rs b/templates/teyrchain/pezpallets/template/src/benchmarking.rs similarity index 100% rename from templates/teyrchain/pallets/template/src/benchmarking.rs rename to templates/teyrchain/pezpallets/template/src/benchmarking.rs diff --git a/templates/teyrchain/pallets/template/src/lib.rs b/templates/teyrchain/pezpallets/template/src/lib.rs similarity index 100% rename from templates/teyrchain/pallets/template/src/lib.rs rename to templates/teyrchain/pezpallets/template/src/lib.rs diff --git a/templates/teyrchain/pallets/template/src/mock.rs b/templates/teyrchain/pezpallets/template/src/mock.rs similarity index 100% rename from templates/teyrchain/pallets/template/src/mock.rs rename to templates/teyrchain/pezpallets/template/src/mock.rs diff --git a/templates/teyrchain/pallets/template/src/tests.rs b/templates/teyrchain/pezpallets/template/src/tests.rs similarity index 100% rename from templates/teyrchain/pallets/template/src/tests.rs rename to templates/teyrchain/pezpallets/template/src/tests.rs diff --git a/templates/teyrchain/pallets/template/src/weights.rs b/templates/teyrchain/pezpallets/template/src/weights.rs similarity index 100% rename from templates/teyrchain/pallets/template/src/weights.rs rename to templates/teyrchain/pezpallets/template/src/weights.rs diff --git a/templates/teyrchain/runtime/src/apis.rs b/templates/teyrchain/runtime/src/apis.rs index c822fa43..acea39ce 100644 --- a/templates/teyrchain/runtime/src/apis.rs +++ b/templates/teyrchain/runtime/src/apis.rs @@ -262,7 +262,7 @@ impl_runtime_apis! { use pezframe_benchmarking::BenchmarkList; use pezkuwi_sdk::pezframe_support::traits::StorageInfoTrait; use pezframe_system_benchmarking::Pallet as SystemBench; - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; use super::*; let mut list = Vec::::new(); @@ -287,12 +287,12 @@ impl_runtime_apis! { } fn verify_set_code() { - System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::::ValidationFunctionStored.into()); + System::assert_last_event(pezcumulus_pezpallet_teyrchain_system::Event::::ValidationFunctionStored.into()); } } - use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench; - impl pezcumulus_pallet_session_benchmarking::Config for Runtime {} + use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench; + impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {} use pezkuwi_sdk::pezframe_support::traits::WhitelistedStorageKeys; let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); diff --git a/templates/teyrchain/runtime/src/benchmarks.rs b/templates/teyrchain/runtime/src/benchmarks.rs index a86ac5ad..b7da078e 100644 --- a/templates/teyrchain/runtime/src/benchmarks.rs +++ b/templates/teyrchain/runtime/src/benchmarks.rs @@ -31,7 +31,7 @@ pezkuwi_sdk::pezframe_benchmarking::define_benchmarks!( [pezpallet_message_queue, MessageQueue] [pezpallet_sudo, Sudo] [pezpallet_collator_selection, CollatorSelection] - [pezcumulus_pallet_teyrchain_system, TeyrchainSystem] - [pezcumulus_pallet_xcmp_queue, XcmpQueue] - [pezcumulus_pallet_weight_reclaim, WeightReclaim] + [pezcumulus_pezpallet_teyrchain_system, TeyrchainSystem] + [pezcumulus_pezpallet_xcmp_queue, XcmpQueue] + [pezcumulus_pezpallet_weight_reclaim, WeightReclaim] ); diff --git a/templates/teyrchain/runtime/src/configs/mod.rs b/templates/teyrchain/runtime/src/configs/mod.rs index 49829084..8b029659 100644 --- a/templates/teyrchain/runtime/src/configs/mod.rs +++ b/templates/teyrchain/runtime/src/configs/mod.rs @@ -30,7 +30,7 @@ use pezkuwi_sdk::{pezstaging_teyrchain_info as teyrchain_info, pezstaging_xcm as use pezkuwi_sdk::{pezstaging_xcm_builder as xcm_builder, pezstaging_xcm_executor as xcm_executor}; // Bizinikiwi and Pezkuwi dependencies -use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases; +use pezcumulus_pezpallet_teyrchain_system::RelayNumberMonotonicallyIncreases; use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use pezframe_support::{ derive_impl, @@ -131,13 +131,13 @@ impl pezframe_system::Config for Runtime { /// This is used as an identifier of the chain. 42 is the generic bizinikiwi prefix. type SS58Prefix = SS58Prefix; /// The action to take on a Runtime Upgrade - type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode; + type OnSetCode = pezcumulus_pezpallet_teyrchain_system::TeyrchainSetCode; type MaxConsumers = pezframe_support::traits::ConstU32<16>; type SingleBlockMigrations = SingleBlockMigrations; } /// Configure the palelt weight reclaim tx. -impl pezcumulus_pallet_weight_reclaim::Config for Runtime { +impl pezcumulus_pezpallet_weight_reclaim::Config for Runtime { type WeightInfo = (); } @@ -204,7 +204,7 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } -impl pezcumulus_pallet_teyrchain_system::Config for Runtime { +impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime { type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -248,7 +248,7 @@ impl pezpallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = (); } -impl pezcumulus_pallet_aura_ext::Config for Runtime {} +impl pezcumulus_pezpallet_aura_ext::Config for Runtime {} parameter_types! { /// The asset ID for the asset that we use to pay for message delivery fees. @@ -266,7 +266,7 @@ pub type PriceForSiblingTeyrchainDelivery = pub type PriceForParentDelivery = ExponentialPrice; -impl pezcumulus_pallet_xcmp_queue::Config for Runtime { +impl pezcumulus_pezpallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = TeyrchainSystem; type VersionWrapper = (); diff --git a/templates/teyrchain/runtime/src/configs/xcm_config.rs b/templates/teyrchain/runtime/src/configs/xcm_config.rs index 70e54c9d..829a28c7 100644 --- a/templates/teyrchain/runtime/src/configs/xcm_config.rs +++ b/templates/teyrchain/runtime/src/configs/xcm_config.rs @@ -35,7 +35,7 @@ use xcm_executor::XcmExecutor; parameter_types! { pub const RelayLocation: Location = Location::parent(); pub const RelayNetwork: Option = None; - pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into(); + pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pezpallet_xcm::Origin::Relay.into(); // For the real deployment, it is recommended to set `RelayNetwork` according to the relay chain // and prepend `UniversalLocation` with `GlobalConsensus(RelayNetwork::get())`. pub UniversalLocation: InteriorLocation = Teyrchain(TeyrchainInfo::teyrchain_id().into()).into(); @@ -80,7 +80,7 @@ pub type XcmOriginToTransactDispatchOrigin = ( RelayChainAsNative, // Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when // recognized. - SiblingTeyrchainAsNative, + SiblingTeyrchainAsNative, // Native signed account converter; this just converts an `AccountId32` origin into a normal // `RuntimeOrigin::Signed` origin of the same 32-byte value. SignedAccountId32AsNative, @@ -201,7 +201,7 @@ impl pezpallet_xcm::Config for Runtime { type AuthorizedAliasConsideration = Disabled; } -impl pezcumulus_pallet_xcm::Config for Runtime { +impl pezcumulus_pezpallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } diff --git a/templates/teyrchain/runtime/src/lib.rs b/templates/teyrchain/runtime/src/lib.rs index 87682fe4..4067b94f 100644 --- a/templates/teyrchain/runtime/src/lib.rs +++ b/templates/teyrchain/runtime/src/lib.rs @@ -75,7 +75,7 @@ pub type BlockId = generic::BlockId; /// The extension to the basic transaction logic. #[docify::export(template_signed_extra)] -pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim< +pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( pezframe_system::AuthorizeCall, @@ -231,7 +231,7 @@ pub(crate) use async_backing_params::*; #[docify::export] /// Aura consensus hook -type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook< +type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, @@ -265,13 +265,13 @@ mod runtime { #[runtime::pezpallet_index(0)] pub type System = pezframe_system; #[runtime::pezpallet_index(1)] - pub type TeyrchainSystem = pezcumulus_pallet_teyrchain_system; + pub type TeyrchainSystem = pezcumulus_pezpallet_teyrchain_system; #[runtime::pezpallet_index(2)] pub type Timestamp = pezpallet_timestamp; #[runtime::pezpallet_index(3)] pub type TeyrchainInfo = teyrchain_info; #[runtime::pezpallet_index(4)] - pub type WeightReclaim = pezcumulus_pallet_weight_reclaim; + pub type WeightReclaim = pezcumulus_pezpallet_weight_reclaim; // Monetary stuff. #[runtime::pezpallet_index(10)] @@ -293,15 +293,15 @@ mod runtime { #[runtime::pezpallet_index(23)] pub type Aura = pezpallet_aura; #[runtime::pezpallet_index(24)] - pub type AuraExt = pezcumulus_pallet_aura_ext; + pub type AuraExt = pezcumulus_pezpallet_aura_ext; // XCM helpers. #[runtime::pezpallet_index(30)] - pub type XcmpQueue = pezcumulus_pallet_xcmp_queue; + pub type XcmpQueue = pezcumulus_pezpallet_xcmp_queue; #[runtime::pezpallet_index(31)] pub type PezkuwiXcm = pezpallet_xcm; #[runtime::pezpallet_index(32)] - pub type CumulusXcm = pezcumulus_pallet_xcm; + pub type CumulusXcm = pezcumulus_pezpallet_xcm; #[runtime::pezpallet_index(33)] pub type MessageQueue = pezpallet_message_queue; @@ -311,7 +311,7 @@ mod runtime { } #[docify::export(register_validate_block)] -pezcumulus_pallet_teyrchain_system::register_validate_block! { +pezcumulus_pezpallet_teyrchain_system::register_validate_block! { Runtime = Runtime, - BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::, + BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::, } diff --git a/templates/zombienet/Cargo.toml b/templates/zombienet/Cargo.toml index da69ce84..b14b9a7f 100644 --- a/templates/zombienet/Cargo.toml +++ b/templates/zombienet/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "template-zombienet-tests" +name = "pez-template-zombienet-tests" description = "Zombienet test for templates." version = "0.0.0" license = "Unlicense" @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true edition.workspace = true publish = false -documentation = "https://docs.rs/template-zombienet-tests" +documentation = "https://docs.rs/pez-template-zombienet-tests" [dependencies] anyhow = { workspace = true } diff --git a/templates/zombienet/tests/smoke.rs b/templates/zombienet/tests/smoke.rs index c0da7f8b..2e27e608 100644 --- a/templates/zombienet/tests/smoke.rs +++ b/templates/zombienet/tests/smoke.rs @@ -22,7 +22,7 @@ //! templates. //! //! To start all tests here we should run: -//! `cargo test -p template-zombienet-tests --features zombienet` +//! `cargo test -p pez-template-zombienet-tests --features zombienet` #[cfg(feature = "zombienet")] mod smoke { @@ -121,7 +121,7 @@ mod smoke { ); let config = get_config(NetworkSpec { - relaychain_cmd: "solochain-template-node", + relaychain_cmd: "pez-solochain-template-node", ..Default::default() })?; @@ -144,7 +144,7 @@ mod smoke { ); let config = get_config(NetworkSpec { - relaychain_cmd: "minimal-template-node", + relaychain_cmd: "pez-minimal-template-node", ..Default::default() })?; diff --git a/umbrella/Cargo.toml b/umbrella/Cargo.toml index 0e3b4cbe..f1479c3e 100644 --- a/umbrella/Cargo.toml +++ b/umbrella/Cargo.toml @@ -8,21 +8,21 @@ documentation = "https://docs.rs/pezkuwi-sdk" [features] default = ["std"] std = [ - "asset-test-utils?/std", + "asset-test-pezutils?/std", "assets-common?/std", "binary-merkle-tree?/std", - "bp-header-chain?/std", + "bp-header-pez-chain?/std", "bp-messages?/std", "bp-pezkuwi-core?/std", "bp-relayers?/std", - "bp-runtime?/std", + "pezbp-runtime?/std", "bp-test-utils?/std", "bp-teyrchains?/std", "bp-xcm-bridge-hub-router?/std", "bp-xcm-bridge-hub?/std", "bridge-hub-common?/std", - "bridge-hub-test-utils?/std", - "bridge-runtime-common?/std", + "pezbridge-hub-test-utils?/std", + "pezbridge-runtime-common?/std", "pezcumulus-pezpallet-aura-ext?/std", "pezcumulus-pezpallet-dmp-queue?/std", "pezcumulus-pezpallet-session-benchmarking?/std", @@ -180,7 +180,7 @@ std = [ "pezkuwi-sdk-frame?/std", "pezkuwi-teyrchain-primitives?/std", "pezsc-executor?/std", - "slot-range-helper?/std", + "pez-slot-range-helper?/std", "pezsp-api-proc-macro?/std", "pezsp-api?/std", "pezsp-application-crypto?/std", @@ -233,24 +233,24 @@ std = [ "testnet-teyrchains-constants?/std", "teyrchains-common?/std", "teyrchains-runtimes-test-utils?/std", - "xcm-runtime-apis?/std", + "xcm-runtime-pezapis?/std", ] runtime-benchmarks = [ - "asset-test-utils?/runtime-benchmarks", + "asset-test-pezutils?/runtime-benchmarks", "assets-common?/runtime-benchmarks", "binary-merkle-tree?/runtime-benchmarks", - "bp-header-chain?/runtime-benchmarks", + "bp-header-pez-chain?/runtime-benchmarks", "bp-messages?/runtime-benchmarks", "bp-pezkuwi-core?/runtime-benchmarks", "bp-relayers?/runtime-benchmarks", - "bp-runtime?/runtime-benchmarks", + "pezbp-runtime?/runtime-benchmarks", "bp-test-utils?/runtime-benchmarks", "bp-teyrchains?/runtime-benchmarks", "bp-xcm-bridge-hub-router?/runtime-benchmarks", "bp-xcm-bridge-hub?/runtime-benchmarks", "bridge-hub-common?/runtime-benchmarks", - "bridge-hub-test-utils?/runtime-benchmarks", - "bridge-runtime-common?/runtime-benchmarks", + "pezbridge-hub-test-utils?/runtime-benchmarks", + "pezbridge-runtime-common?/runtime-benchmarks", "pezcumulus-client-bootnodes?/runtime-benchmarks", "pezcumulus-client-cli?/runtime-benchmarks", "pezcumulus-client-collator?/runtime-benchmarks", @@ -299,9 +299,9 @@ runtime-benchmarks = [ "pezframe-system-rpc-runtime-api?/runtime-benchmarks", "pezframe-system?/runtime-benchmarks", "pezframe-try-runtime?/runtime-benchmarks", - "generate-bags?/runtime-benchmarks", - "mmr-gadget?/runtime-benchmarks", - "mmr-rpc?/runtime-benchmarks", + "pez-generate-bags?/runtime-benchmarks", + "pezmmr-gadget?/runtime-benchmarks", + "pezmmr-rpc?/runtime-benchmarks", "pezpallet-alliance?/runtime-benchmarks", "pezpallet-asset-conversion-ops?/runtime-benchmarks", "pezpallet-asset-conversion-tx-payment?/runtime-benchmarks", @@ -454,7 +454,7 @@ runtime-benchmarks = [ "pezkuwi-node-core-teyrchains-inherent?/runtime-benchmarks", "pezkuwi-node-metrics?/runtime-benchmarks", "pezkuwi-node-network-protocol?/runtime-benchmarks", - "pezkuwi-node-primitives?/runtime-benchmarks", + "pezkuwi-pez-node-primitives?/runtime-benchmarks", "pezkuwi-node-subsystem-types?/runtime-benchmarks", "pezkuwi-node-subsystem-util?/runtime-benchmarks", "pezkuwi-node-subsystem?/runtime-benchmarks", @@ -514,7 +514,7 @@ runtime-benchmarks = [ "pezsc-tracing?/runtime-benchmarks", "pezsc-transaction-pool-api?/runtime-benchmarks", "pezsc-transaction-pool?/runtime-benchmarks", - "slot-range-helper?/runtime-benchmarks", + "pez-slot-range-helper?/runtime-benchmarks", "pezsp-api?/runtime-benchmarks", "pezsp-authority-discovery?/runtime-benchmarks", "pezsp-block-builder?/runtime-benchmarks", @@ -552,7 +552,7 @@ runtime-benchmarks = [ "pezstaging-xcm-builder?/runtime-benchmarks", "pezstaging-xcm-executor?/runtime-benchmarks", "pezstaging-xcm?/runtime-benchmarks", - "subkey?/runtime-benchmarks", + "pez-subkey?/runtime-benchmarks", "bizinikiwi-frame-rpc-support?/runtime-benchmarks", "bizinikiwi-frame-rpc-system?/runtime-benchmarks", "bizinikiwi-rpc-client?/runtime-benchmarks", @@ -561,14 +561,14 @@ runtime-benchmarks = [ "testnet-teyrchains-constants?/runtime-benchmarks", "teyrchains-common?/runtime-benchmarks", "teyrchains-runtimes-test-utils?/runtime-benchmarks", - "tracing-gum?/runtime-benchmarks", - "xcm-emulator?/runtime-benchmarks", - "xcm-procedural?/runtime-benchmarks", - "xcm-runtime-apis?/runtime-benchmarks", - "xcm-simulator?/runtime-benchmarks", + "pez-tracing-gum?/runtime-benchmarks", + "xcm-pez-emulator?/runtime-benchmarks", + "xcm-pez-procedural?/runtime-benchmarks", + "xcm-runtime-pezapis?/runtime-benchmarks", + "xcm-pez-simulator?/runtime-benchmarks", ] try-runtime = [ - "asset-test-utils?/try-runtime", + "asset-test-pezutils?/try-runtime", "assets-common?/try-runtime", "pezcumulus-pezpallet-aura-ext?/try-runtime", "pezcumulus-pezpallet-dmp-queue?/try-runtime", @@ -753,17 +753,17 @@ with-tracing = [ runtime-full = [ "assets-common", "binary-merkle-tree", - "bp-header-chain", + "bp-header-pez-chain", "bp-messages", "bp-pezkuwi-core", "bp-relayers", - "bp-runtime", + "pezbp-runtime", "bp-test-utils", "bp-teyrchains", "bp-xcm-bridge-hub", "bp-xcm-bridge-hub-router", "bridge-hub-common", - "bridge-runtime-common", + "pezbridge-runtime-common", "pezcumulus-pezpallet-aura-ext", "pezcumulus-pezpallet-dmp-queue", "pezcumulus-pezpallet-session-benchmarking", @@ -781,7 +781,7 @@ runtime-full = [ "pezcumulus-primitives-teyrchain-inherent", "pezcumulus-primitives-timestamp", "pezcumulus-primitives-utility", - "ethereum-standards", + "pez-ethereum-standards", "pezframe-benchmarking", "pezframe-benchmarking-pezpallet-pov", "pezframe-election-provider-solution-type", @@ -928,7 +928,7 @@ runtime-full = [ "pezkuwi-teyrchain-primitives", "pezsc-chain-spec-derive", "pezsc-tracing-proc-macro", - "slot-range-helper", + "pez-slot-range-helper", "pezsp-api", "pezsp-api-proc-macro", "pezsp-application-crypto", @@ -982,9 +982,9 @@ runtime-full = [ "bizinikiwi-bip39", "testnet-teyrchains-constants", "teyrchains-common", - "tracing-gum-proc-macro", - "xcm-procedural", - "xcm-runtime-apis", + "pez-tracing-gum-proc-macro", + "xcm-pez-procedural", + "xcm-runtime-pezapis", ] runtime = [ "pezframe-benchmarking", @@ -1050,8 +1050,8 @@ runtime = [ "pezsp-weights", ] node = [ - "asset-test-utils", - "bridge-hub-test-utils", + "asset-test-pezutils", + "pezbridge-hub-test-utils", "pezcumulus-client-bootnodes", "pezcumulus-client-cli", "pezcumulus-client-collator", @@ -1070,13 +1070,13 @@ node = [ "pezcumulus-relay-chain-streams", "pezcumulus-test-relay-sproof-builder", "emulated-integration-tests-common", - "fork-tree", + "pez-fork-tree", "pezframe-benchmarking-cli", "frame-remote-externalities", "pezframe-support-procedural-tools", - "generate-bags", - "mmr-gadget", - "mmr-rpc", + "pez-generate-bags", + "pezmmr-gadget", + "pezmmr-rpc", "pezpallet-contracts-mock-network", "pezpallet-transaction-payment-rpc", "pezkuwi-approval-distribution", @@ -1110,7 +1110,7 @@ node = [ "pezkuwi-node-core-teyrchains-inherent", "pezkuwi-node-metrics", "pezkuwi-node-network-protocol", - "pezkuwi-node-primitives", + "pezkuwi-pez-node-primitives", "pezkuwi-node-subsystem", "pezkuwi-node-subsystem-types", "pezkuwi-node-subsystem-util", @@ -1186,7 +1186,7 @@ node = [ "pezstaging-node-inspect", "pezstaging-tracking-allocator", "std", - "subkey", + "pez-subkey", "bizinikiwi-build-script-utils", "bizinikiwi-frame-rpc-support", "bizinikiwi-frame-rpc-system", @@ -1195,9 +1195,9 @@ node = [ "bizinikiwi-state-trie-migration-rpc", "bizinikiwi-wasm-builder", "teyrchains-runtimes-test-utils", - "tracing-gum", - "xcm-emulator", - "xcm-simulator", + "pez-tracing-gum", + "xcm-pez-emulator", + "xcm-pez-simulator", ] tuples-96 = [ "pezframe-support-procedural?/tuples-96", @@ -1226,7 +1226,7 @@ default-features = false optional = true path = "../bizinikiwi/utils/binary-merkle-tree" -[dependencies.bp-header-chain] +[dependencies.bp-header-pez-chain] default-features = false optional = true path = "../bridges/primitives/header-chain" @@ -1246,7 +1246,7 @@ default-features = false optional = true path = "../bridges/primitives/relayers" -[dependencies.bp-runtime] +[dependencies.pezbp-runtime] default-features = false optional = true path = "../bridges/primitives/runtime" @@ -1276,7 +1276,7 @@ default-features = false optional = true path = "../pezcumulus/teyrchains/runtimes/bridge-hubs/common" -[dependencies.bridge-runtime-common] +[dependencies.pezbridge-runtime-common] default-features = false optional = true path = "../bridges/bin/runtime-common" @@ -1284,52 +1284,52 @@ path = "../bridges/bin/runtime-common" [dependencies.pezcumulus-pezpallet-aura-ext] default-features = false optional = true -path = "../pezcumulus/pallets/aura-ext" +path = "../pezcumulus/pezpallets/aura-ext" [dependencies.pezcumulus-pezpallet-dmp-queue] default-features = false optional = true -path = "../pezcumulus/pallets/dmp-queue" +path = "../pezcumulus/pezpallets/dmp-queue" [dependencies.pezcumulus-pezpallet-session-benchmarking] default-features = false optional = true -path = "../pezcumulus/pallets/session-benchmarking" +path = "../pezcumulus/pezpallets/session-benchmarking" [dependencies.pezcumulus-pezpallet-solo-to-para] default-features = false optional = true -path = "../pezcumulus/pallets/solo-to-para" +path = "../pezcumulus/pezpallets/solo-to-para" [dependencies.pezcumulus-pezpallet-teyrchain-system] default-features = false optional = true -path = "../pezcumulus/pallets/teyrchain-system" +path = "../pezcumulus/pezpallets/teyrchain-system" [dependencies.pezcumulus-pezpallet-teyrchain-system-proc-macro] default-features = false optional = true -path = "../pezcumulus/pallets/teyrchain-system/proc-macro" +path = "../pezcumulus/pezpallets/teyrchain-system/proc-macro" [dependencies.pezcumulus-pezpallet-weight-reclaim] default-features = false optional = true -path = "../pezcumulus/pallets/weight-reclaim" +path = "../pezcumulus/pezpallets/weight-reclaim" [dependencies.pezcumulus-pezpallet-xcm] default-features = false optional = true -path = "../pezcumulus/pallets/xcm" +path = "../pezcumulus/pezpallets/xcm" [dependencies.pezcumulus-pezpallet-xcmp-queue] default-features = false optional = true -path = "../pezcumulus/pallets/xcmp-queue" +path = "../pezcumulus/pezpallets/xcmp-queue" [dependencies.pezcumulus-ping] default-features = false optional = true -path = "../pezcumulus/teyrchains/pallets/ping" +path = "../pezcumulus/teyrchains/pezpallets/ping" [dependencies.pezcumulus-primitives-aura] default-features = false @@ -1366,10 +1366,10 @@ default-features = false optional = true path = "../pezcumulus/primitives/utility" -[dependencies.ethereum-standards] +[dependencies.pez-ethereum-standards] default-features = false optional = true -path = "../bizinikiwi/primitives/ethereum-standards" +path = "../bizinikiwi/primitives/pez-ethereum-standards" [dependencies.pezframe-benchmarking] default-features = false @@ -1574,7 +1574,7 @@ path = "../bizinikiwi/pezframe/child-bounties" [dependencies.pezpallet-collator-selection] default-features = false optional = true -path = "../pezcumulus/pallets/collator-selection" +path = "../pezcumulus/pezpallets/collator-selection" [dependencies.pezpallet-collective] default-features = false @@ -1584,7 +1584,7 @@ path = "../bizinikiwi/pezframe/collective" [dependencies.pezpallet-collective-content] default-features = false optional = true -path = "../pezcumulus/teyrchains/pallets/collective-content" +path = "../pezcumulus/teyrchains/pezpallets/collective-content" [dependencies.pezpallet-contracts] default-features = false @@ -2101,10 +2101,10 @@ default-features = false optional = true path = "../bizinikiwi/client/tracing/proc-macro" -[dependencies.slot-range-helper] +[dependencies.pez-slot-range-helper] default-features = false optional = true -path = "../pezkuwi/runtime/common/slot_range_helper" +path = "../pezkuwi/runtime/common/pez-slot-range-helper" [dependencies.pezsp-api] default-features = false @@ -2339,7 +2339,7 @@ path = "../bizinikiwi/primitives/weights" [dependencies.pezstaging-teyrchain-info] default-features = false optional = true -path = "../pezcumulus/teyrchains/pallets/teyrchain-info" +path = "../pezcumulus/teyrchains/pezpallets/teyrchain-info" [dependencies.pezstaging-xcm] default-features = false @@ -2371,27 +2371,27 @@ default-features = false optional = true path = "../pezcumulus/teyrchains/common" -[dependencies.tracing-gum-proc-macro] +[dependencies.pez-tracing-gum-proc-macro] default-features = false optional = true path = "../pezkuwi/node/gum/proc-macro" -[dependencies.xcm-procedural] +[dependencies.xcm-pez-procedural] default-features = false optional = true path = "../pezkuwi/xcm/procedural" -[dependencies.xcm-runtime-apis] +[dependencies.xcm-runtime-pezapis] default-features = false optional = true -path = "../pezkuwi/xcm/xcm-runtime-apis" +path = "../pezkuwi/xcm/xcm-runtime-pezapis" -[dependencies.asset-test-utils] +[dependencies.asset-test-pezutils] default-features = false optional = true path = "../pezcumulus/teyrchains/runtimes/assets/test-utils" -[dependencies.bridge-hub-test-utils] +[dependencies.pezbridge-hub-test-utils] default-features = false optional = true path = "../pezcumulus/teyrchains/runtimes/bridge-hubs/test-utils" @@ -2486,10 +2486,10 @@ default-features = false optional = true path = "../pezcumulus/teyrchains/integration-tests/emulated/common" -[dependencies.fork-tree] +[dependencies.pez-fork-tree] default-features = false optional = true -path = "../bizinikiwi/utils/fork-tree" +path = "../bizinikiwi/utils/pez-fork-tree" [dependencies.pezframe-benchmarking-cli] default-features = false @@ -2506,17 +2506,17 @@ default-features = false optional = true path = "../bizinikiwi/pezframe/support/procedural/tools" -[dependencies.generate-bags] +[dependencies.pez-generate-bags] default-features = false optional = true -path = "../bizinikiwi/utils/pezframe/generate-bags" +path = "../bizinikiwi/utils/pezframe/pez-generate-bags" -[dependencies.mmr-gadget] +[dependencies.pezmmr-gadget] default-features = false optional = true path = "../bizinikiwi/client/merkle-mountain-range" -[dependencies.mmr-rpc] +[dependencies.pezmmr-rpc] default-features = false optional = true path = "../bizinikiwi/client/merkle-mountain-range/rpc" @@ -2686,7 +2686,7 @@ default-features = false optional = true path = "../pezkuwi/node/network/protocol" -[dependencies.pezkuwi-node-primitives] +[dependencies.pezkuwi-pez-node-primitives] default-features = false optional = true path = "../pezkuwi/node/primitives" @@ -3061,10 +3061,10 @@ default-features = false optional = true path = "../pezkuwi/node/tracking-allocator" -[dependencies.subkey] +[dependencies.pez-subkey] default-features = false optional = true -path = "../bizinikiwi/bin/utils/subkey" +path = "../bizinikiwi/bin/utils/pez-subkey" [dependencies.bizinikiwi-build-script-utils] default-features = false @@ -3106,20 +3106,20 @@ default-features = false optional = true path = "../pezcumulus/teyrchains/runtimes/test-utils" -[dependencies.tracing-gum] +[dependencies.pez-tracing-gum] default-features = false optional = true path = "../pezkuwi/node/gum" -[dependencies.xcm-emulator] +[dependencies.xcm-pez-emulator] default-features = false optional = true -path = "../pezcumulus/xcm/xcm-emulator" +path = "../pezcumulus/xcm/xcm-pez-emulator" -[dependencies.xcm-simulator] +[dependencies.xcm-pez-simulator] default-features = false optional = true -path = "../pezkuwi/xcm/xcm-simulator" +path = "../pezkuwi/xcm/xcm-pez-simulator" [package.metadata.docs.rs] features = ["node", "runtime-full"] diff --git a/umbrella/src/lib.rs b/umbrella/src/lib.rs index 9d55f206..362a1b5f 100644 --- a/umbrella/src/lib.rs +++ b/umbrella/src/lib.rs @@ -12,8 +12,8 @@ // exactly the way that the CI expects it. /// Test utils for Asset Hub runtimes. -#[cfg(feature = "asset-test-utils")] -pub use asset_test_utils; +#[cfg(feature = "asset-test-pezutils")] +pub use asset_test_pezutils; /// Assets common utilities. #[cfg(feature = "assets-common")] @@ -24,8 +24,8 @@ pub use assets_common; pub use binary_merkle_tree; /// A common interface for describing what a bridge pallet should be able to do. -#[cfg(feature = "bp-header-chain")] -pub use bp_header_chain; +#[cfg(feature = "bp-header-pez-chain")] +pub use bp_header_pez_chain; /// Primitives of messages module. #[cfg(feature = "bp-messages")] @@ -40,8 +40,8 @@ pub use bp_pezkuwi_core; pub use bp_relayers; /// Primitives that may be used at (bridges) runtime level. -#[cfg(feature = "bp-runtime")] -pub use bp_runtime; +#[cfg(feature = "pezbp-runtime")] +pub use pezbp_runtime; /// Utilities for testing bizinikiwi-based runtime bridge code. #[cfg(feature = "bp-test-utils")] @@ -64,13 +64,13 @@ pub use bp_xcm_bridge_hub_router; pub use bridge_hub_common; /// Utils for BridgeHub testing. -#[cfg(feature = "bridge-hub-test-utils")] -pub use bridge_hub_test_utils; +#[cfg(feature = "pezbridge-hub-test-utils")] +pub use pezbridge_hub_test_utils; /// Common types and functions that may be used by bizinikiwi-based runtimes of all bridged /// chains. -#[cfg(feature = "bridge-runtime-common")] -pub use bridge_runtime_common; +#[cfg(feature = "pezbridge-runtime-common")] +pub use pezbridge_runtime_common; /// Teyrchain bootnodes registration and discovery. #[cfg(feature = "pezcumulus-client-bootnodes")] @@ -119,39 +119,39 @@ pub use pezcumulus_client_teyrchain_inherent; /// AURA consensus extension pallet for teyrchains. #[cfg(feature = "pezcumulus-pezpallet-aura-ext")] -pub use pezcumulus_pallet_aura_ext; +pub use pezcumulus_pezpallet_aura_ext; /// Migrates messages from the old DMP queue pallet. #[cfg(feature = "pezcumulus-pezpallet-dmp-queue")] -pub use pezcumulus_pallet_dmp_queue; +pub use pezcumulus_pezpallet_dmp_queue; /// FRAME sessions pallet benchmarking. #[cfg(feature = "pezcumulus-pezpallet-session-benchmarking")] -pub use pezcumulus_pallet_session_benchmarking; +pub use pezcumulus_pezpallet_session_benchmarking; /// Adds functionality to migrate from a Solo to a Teyrchain. #[cfg(feature = "pezcumulus-pezpallet-solo-to-para")] -pub use pezcumulus_pallet_solo_to_para; +pub use pezcumulus_pezpallet_solo_to_para; /// Base pallet for pezcumulus-based teyrchains. #[cfg(feature = "pezcumulus-pezpallet-teyrchain-system")] -pub use pezcumulus_pallet_teyrchain_system; +pub use pezcumulus_pezpallet_teyrchain_system; /// Proc macros provided by the teyrchain-system pallet. #[cfg(feature = "pezcumulus-pezpallet-teyrchain-system-proc-macro")] -pub use pezcumulus_pallet_teyrchain_system_proc_macro; +pub use pezcumulus_pezpallet_teyrchain_system_proc_macro; /// pallet and transaction extensions for accurate proof size reclaim. #[cfg(feature = "pezcumulus-pezpallet-weight-reclaim")] -pub use pezcumulus_pallet_weight_reclaim; +pub use pezcumulus_pezpallet_weight_reclaim; /// Pallet for stuff specific to teyrchains' usage of XCM. #[cfg(feature = "pezcumulus-pezpallet-xcm")] -pub use pezcumulus_pallet_xcm; +pub use pezcumulus_pezpallet_xcm; /// Pallet to queue outbound and inbound XCMP messages. #[cfg(feature = "pezcumulus-pezpallet-xcmp-queue")] -pub use pezcumulus_pallet_xcmp_queue; +pub use pezcumulus_pezpallet_xcmp_queue; /// Ping Pallet for Pezcumulus XCM/UMP testing. #[cfg(feature = "pezcumulus-ping")] @@ -210,18 +210,18 @@ pub use pezcumulus_relay_chain_streams; #[cfg(feature = "pezcumulus-test-relay-sproof-builder")] pub use pezcumulus_test_relay_sproof_builder; -/// Common resources for integration testing with xcm-emulator. +/// Common resources for integration testing with xcm-pez-emulator. #[cfg(feature = "emulated-integration-tests-common")] pub use emulated_integration_tests_common; /// Interfaces for Ethereum standards. -#[cfg(feature = "ethereum-standards")] -pub use ethereum_standards; +#[cfg(feature = "pez-ethereum-standards")] +pub use pez_ethereum_standards; /// Utility library for managing tree-like ordered data with logic for pruning the tree while /// finalizing nodes. -#[cfg(feature = "fork-tree")] -pub use fork_tree; +#[cfg(feature = "pez-fork-tree")] +pub use pez_fork_tree; /// Macro for benchmarking a FRAME runtime. #[cfg(feature = "pezframe-benchmarking")] @@ -289,16 +289,16 @@ pub use pezframe_system_rpc_runtime_api; pub use pezframe_try_runtime; /// Bag threshold generation script for pezpallet-bag-list. -#[cfg(feature = "generate-bags")] -pub use generate_bags; +#[cfg(feature = "pez-generate-bags")] +pub use pez_generate_bags; /// MMR Client gadget for bizinikiwi. -#[cfg(feature = "mmr-gadget")] -pub use mmr_gadget; +#[cfg(feature = "pezmmr-gadget")] +pub use pezmmr_gadget; /// Node-specific RPC methods for interaction with Merkle Mountain Range pallet. -#[cfg(feature = "mmr-rpc")] -pub use mmr_rpc; +#[cfg(feature = "pezmmr-rpc")] +pub use pezmmr_rpc; /// The Alliance pallet provides a collective for standard-setting industry collaboration. #[cfg(feature = "pezpallet-alliance")] @@ -956,8 +956,8 @@ pub use pezkuwi_node_metrics; pub use pezkuwi_node_network_protocol; /// Primitives types for the Node-side. -#[cfg(feature = "pezkuwi-node-primitives")] -pub use pezkuwi_node_primitives; +#[cfg(feature = "pezkuwi-pez-node-primitives")] +pub use pezkuwi_pez_node_primitives; /// Subsystem traits and message definitions and the generated overseer. #[cfg(feature = "pezkuwi-node-subsystem")] @@ -1245,8 +1245,8 @@ pub use pezsc_transaction_pool_api; pub use pezsc_utils; /// Helper crate for generating slot ranges for the Pezkuwi runtime. -#[cfg(feature = "slot-range-helper")] -pub use slot_range_helper; +#[cfg(feature = "pez-slot-range-helper")] +pub use pez_slot_range_helper; /// Bizinikiwi runtime api primitives. #[cfg(feature = "sp-api")] @@ -1500,8 +1500,8 @@ pub use pezstaging_xcm_executor; /// Generate and restore keys for Bizinikiwi based chains such as Pezkuwi, Kusama and a growing /// number of teyrchains and Bizinikiwi based projects. -#[cfg(feature = "subkey")] -pub use subkey; +#[cfg(feature = "pez_subkey")] +pub use pez_subkey; /// Converting BIP39 entropy to valid Bizinikiwi (sr25519) SecretKeys. #[cfg(feature = "bizinikiwi-bip39")] @@ -1548,26 +1548,26 @@ pub use teyrchains_common; pub use teyrchains_runtimes_test_utils; /// Stick logs together with the TraceID as provided by tempo. -#[cfg(feature = "tracing-gum")] -pub use tracing_gum; +#[cfg(feature = "pez-tracing-gum")] +pub use pez_tracing_gum; /// Generate an overseer including builder pattern and message wrapper from a single annotated /// struct definition. -#[cfg(feature = "tracing-gum-proc-macro")] -pub use tracing_gum_proc_macro; +#[cfg(feature = "pez-tracing-gum-proc-macro")] +pub use pez_tracing_gum_proc_macro; /// Test kit to emulate XCM program execution. -#[cfg(feature = "xcm-emulator")] -pub use xcm_emulator; +#[cfg(feature = "xcm-pez-emulator")] +pub use xcm_pez_emulator; /// Procedural macros for XCM. -#[cfg(feature = "xcm-procedural")] -pub use xcm_procedural; +#[cfg(feature = "xcm-pez-procedural")] +pub use xcm_pez_procedural; /// XCM runtime APIs. -#[cfg(feature = "xcm-runtime-apis")] -pub use xcm_runtime_apis; +#[cfg(feature = "xcm-runtime-pezapis")] +pub use xcm_runtime_pezapis; /// Test kit to simulate cross-chain message passing and XCM execution. -#[cfg(feature = "xcm-simulator")] -pub use xcm_simulator; +#[cfg(feature = "xcm-pez-simulator")] +pub use xcm_pez_simulator;