fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
@@ -245,7 +245,7 @@ pub enum Junction {
|
||||
/// An 8-byte index for an account of a specific network that is respected as a sovereign
|
||||
/// endpoint within the context.
|
||||
///
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pallet.
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pezpallet.
|
||||
AccountIndex64 {
|
||||
network: Option<NetworkId>,
|
||||
#[codec(compact)]
|
||||
@@ -256,7 +256,7 @@ pub enum Junction {
|
||||
///
|
||||
/// May be used when the context is an Ethereum or Bitcoin chain or smart-contract.
|
||||
AccountKey20 { network: Option<NetworkId>, key: [u8; 20] },
|
||||
/// An instanced, indexed pallet that forms a constituent part of the context.
|
||||
/// An instanced, indexed pezpallet that forms a constituent part of the context.
|
||||
///
|
||||
/// Generally used when the context is a Frame-based chain.
|
||||
// TODO XCMv4 inner should be `Compact<u32>`.
|
||||
|
||||
@@ -308,7 +308,7 @@ pub enum Response {
|
||||
ExecutionResult(Option<(u32, Error)>),
|
||||
/// An XCM version.
|
||||
Version(super::Version),
|
||||
/// The index, instance name, pallet name and version of some pallets.
|
||||
/// The index, instance name, pezpallet name and version of some pallets.
|
||||
PalletsInfo(BoundedVec<PalletInfo, MaxPalletsInfo>),
|
||||
/// The status of a dispatch attempt using `Transact`.
|
||||
DispatchResult(MaybeErrorCode),
|
||||
@@ -920,9 +920,9 @@ pub enum Instruction<Call> {
|
||||
/// parameter.
|
||||
ExpectTransactStatus(MaybeErrorCode),
|
||||
|
||||
/// Query the existence of a particular pallet type.
|
||||
/// Query the existence of a particular pezpallet type.
|
||||
///
|
||||
/// - `module_name`: The module name of the pallet to query.
|
||||
/// - `module_name`: The module name of the pezpallet to query.
|
||||
/// - `response_info`: Information for making the response.
|
||||
///
|
||||
/// Sends a `QueryResponse` to Origin whose data field `PalletsInfo` containing the information
|
||||
@@ -936,17 +936,17 @@ pub enum Instruction<Call> {
|
||||
/// Errors: *Fallible*.
|
||||
QueryPallet { module_name: Vec<u8>, response_info: QueryResponseInfo },
|
||||
|
||||
/// Ensure that a particular pallet with a particular version exists.
|
||||
/// Ensure that a particular pezpallet with a particular version exists.
|
||||
///
|
||||
/// - `index: Compact`: The index which identifies the pallet. An error if no pallet exists at
|
||||
/// - `index: Compact`: The index which identifies the pezpallet. An error if no pezpallet exists at
|
||||
/// this index.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pallet.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pezpallet.
|
||||
/// - `module_name: Vec<u8>`: Module name which must be equal to the name of the module in
|
||||
/// which the pallet exists.
|
||||
/// which the pezpallet exists.
|
||||
/// - `crate_major: Compact`: Version number which must be equal to the major version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
/// - `min_crate_minor: Compact`: Version number which must be at most the minor version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
///
|
||||
/// Safety: No concerns.
|
||||
///
|
||||
|
||||
@@ -32,7 +32,7 @@ use scale_info::TypeInfo;
|
||||
/// - A (normal, layer-1) block chain, e.g. the Bitcoin mainnet or a teyrchain.
|
||||
/// - A layer-0 super-chain, e.g. the Pezkuwi Relay chain.
|
||||
/// - A layer-2 smart contract, e.g. an ERC-20 on Ethereum.
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pallet on a Frame-based
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pezpallet on a Frame-based
|
||||
/// Bizinikiwi chain.
|
||||
/// - An account.
|
||||
///
|
||||
|
||||
@@ -119,13 +119,13 @@ pub enum Error {
|
||||
/// Used by `ExpectAsset`, `ExpectError` and `ExpectOrigin` when the expectation was not true.
|
||||
#[codec(index = 22)]
|
||||
ExpectationFalse,
|
||||
/// The provided pallet index was not found.
|
||||
/// The provided pezpallet index was not found.
|
||||
#[codec(index = 23)]
|
||||
PalletNotFound,
|
||||
/// The given pallet's name is different to that expected.
|
||||
/// The given pezpallet's name is different to that expected.
|
||||
#[codec(index = 24)]
|
||||
NameMismatch,
|
||||
/// The given pallet's version has an incompatible version to that expected.
|
||||
/// The given pezpallet's version has an incompatible version to that expected.
|
||||
#[codec(index = 25)]
|
||||
VersionIncompatible,
|
||||
/// The given operation would lead to an overflow of the Holding Register.
|
||||
|
||||
@@ -60,7 +60,7 @@ pub enum Junction {
|
||||
/// An 8-byte index for an account of a specific network that is respected as a sovereign
|
||||
/// endpoint within the context.
|
||||
///
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pallet.
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pezpallet.
|
||||
AccountIndex64 {
|
||||
network: Option<NetworkId>,
|
||||
#[codec(compact)]
|
||||
@@ -71,7 +71,7 @@ pub enum Junction {
|
||||
///
|
||||
/// May be used when the context is an Ethereum or Bitcoin chain or smart-contract.
|
||||
AccountKey20 { network: Option<NetworkId>, key: [u8; 20] },
|
||||
/// An instanced, indexed pallet that forms a constituent part of the context.
|
||||
/// An instanced, indexed pezpallet that forms a constituent part of the context.
|
||||
///
|
||||
/// Generally used when the context is a Frame-based chain.
|
||||
PalletInstance(u8),
|
||||
|
||||
@@ -32,7 +32,7 @@ use scale_info::TypeInfo;
|
||||
/// - A (normal, layer-1) block chain, e.g. the Bitcoin mainnet or a teyrchain.
|
||||
/// - A layer-0 super-chain, e.g. the Pezkuwi Relay chain.
|
||||
/// - A layer-2 smart contract, e.g. an ERC-20 on Ethereum.
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pallet on a Frame-based
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pezpallet on a Frame-based
|
||||
/// Bizinikiwi chain.
|
||||
/// - An account.
|
||||
///
|
||||
|
||||
@@ -293,7 +293,7 @@ pub enum Response {
|
||||
ExecutionResult(Option<(u32, Error)>),
|
||||
/// An XCM version.
|
||||
Version(super::Version),
|
||||
/// The index, instance name, pallet name and version of some pallets.
|
||||
/// The index, instance name, pezpallet name and version of some pallets.
|
||||
PalletsInfo(BoundedVec<PalletInfo, MaxPalletsInfo>),
|
||||
/// The status of a dispatch attempt using `Transact`.
|
||||
DispatchResult(MaybeErrorCode),
|
||||
@@ -881,9 +881,9 @@ pub enum Instruction<Call> {
|
||||
/// parameter.
|
||||
ExpectTransactStatus(MaybeErrorCode),
|
||||
|
||||
/// Query the existence of a particular pallet type.
|
||||
/// Query the existence of a particular pezpallet type.
|
||||
///
|
||||
/// - `module_name`: The module name of the pallet to query.
|
||||
/// - `module_name`: The module name of the pezpallet to query.
|
||||
/// - `response_info`: Information for making the response.
|
||||
///
|
||||
/// Sends a `QueryResponse` to Origin whose data field `PalletsInfo` containing the information
|
||||
@@ -897,17 +897,17 @@ pub enum Instruction<Call> {
|
||||
/// Errors: *Fallible*.
|
||||
QueryPallet { module_name: Vec<u8>, response_info: QueryResponseInfo },
|
||||
|
||||
/// Ensure that a particular pallet with a particular version exists.
|
||||
/// Ensure that a particular pezpallet with a particular version exists.
|
||||
///
|
||||
/// - `index: Compact`: The index which identifies the pallet. An error if no pallet exists at
|
||||
/// - `index: Compact`: The index which identifies the pezpallet. An error if no pezpallet exists at
|
||||
/// this index.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pallet.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pezpallet.
|
||||
/// - `module_name: Vec<u8>`: Module name which must be equal to the name of the module in
|
||||
/// which the pallet exists.
|
||||
/// which the pezpallet exists.
|
||||
/// - `crate_major: Compact`: Version number which must be equal to the major version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
/// - `min_crate_minor: Compact`: Version number which must be at most the minor version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
///
|
||||
/// Safety: No concerns.
|
||||
///
|
||||
|
||||
@@ -60,7 +60,7 @@ pub enum Junction {
|
||||
/// An 8-byte index for an account of a specific network that is respected as a sovereign
|
||||
/// endpoint within the context.
|
||||
///
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pallet.
|
||||
/// May be used when the context is a Frame-based chain and includes e.g. an indices pezpallet.
|
||||
AccountIndex64 {
|
||||
network: Option<NetworkId>,
|
||||
#[codec(compact)]
|
||||
@@ -71,7 +71,7 @@ pub enum Junction {
|
||||
///
|
||||
/// May be used when the context is an Ethereum or Bitcoin chain or smart-contract.
|
||||
AccountKey20 { network: Option<NetworkId>, key: [u8; 20] },
|
||||
/// An instanced, indexed pallet that forms a constituent part of the context.
|
||||
/// An instanced, indexed pezpallet that forms a constituent part of the context.
|
||||
///
|
||||
/// Generally used when the context is a Frame-based chain.
|
||||
PalletInstance(u8),
|
||||
|
||||
@@ -32,7 +32,7 @@ use scale_info::TypeInfo;
|
||||
/// - A (normal, layer-1) block chain, e.g. the Bitcoin mainnet or a teyrchain.
|
||||
/// - A layer-0 super-chain, e.g. the Pezkuwi Relay chain.
|
||||
/// - A layer-2 smart contract, e.g. an ERC-20 on Ethereum.
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pallet on a Frame-based
|
||||
/// - A logical functional component of a chain, e.g. a single instance of a pezpallet on a Frame-based
|
||||
/// Bizinikiwi chain.
|
||||
/// - An account.
|
||||
///
|
||||
|
||||
@@ -274,7 +274,7 @@ pub enum Response {
|
||||
ExecutionResult(Option<(u32, Error)>),
|
||||
/// An XCM version.
|
||||
Version(super::Version),
|
||||
/// The index, instance name, pallet name and version of some pallets.
|
||||
/// The index, instance name, pezpallet name and version of some pallets.
|
||||
PalletsInfo(BoundedVec<PalletInfo, MaxPalletsInfo>),
|
||||
/// The status of a dispatch attempt using `Transact`.
|
||||
DispatchResult(MaybeErrorCode),
|
||||
@@ -839,9 +839,9 @@ pub enum Instruction<Call> {
|
||||
/// parameter.
|
||||
ExpectTransactStatus(MaybeErrorCode),
|
||||
|
||||
/// Query the existence of a particular pallet type.
|
||||
/// Query the existence of a particular pezpallet type.
|
||||
///
|
||||
/// - `module_name`: The module name of the pallet to query.
|
||||
/// - `module_name`: The module name of the pezpallet to query.
|
||||
/// - `response_info`: Information for making the response.
|
||||
///
|
||||
/// Sends a `QueryResponse` to Origin whose data field `PalletsInfo` containing the information
|
||||
@@ -855,17 +855,17 @@ pub enum Instruction<Call> {
|
||||
/// Errors: *Fallible*.
|
||||
QueryPallet { module_name: Vec<u8>, response_info: QueryResponseInfo },
|
||||
|
||||
/// Ensure that a particular pallet with a particular version exists.
|
||||
/// Ensure that a particular pezpallet with a particular version exists.
|
||||
///
|
||||
/// - `index: Compact`: The index which identifies the pallet. An error if no pallet exists at
|
||||
/// - `index: Compact`: The index which identifies the pezpallet. An error if no pezpallet exists at
|
||||
/// this index.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pallet.
|
||||
/// - `name: Vec<u8>`: Name which must be equal to the name of the pezpallet.
|
||||
/// - `module_name: Vec<u8>`: Module name which must be equal to the name of the module in
|
||||
/// which the pallet exists.
|
||||
/// which the pezpallet exists.
|
||||
/// - `crate_major: Compact`: Version number which must be equal to the major version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
/// - `min_crate_minor: Compact`: Version number which must be at most the minor version of the
|
||||
/// crate which implements the pallet.
|
||||
/// crate which implements the pezpallet.
|
||||
///
|
||||
/// Safety: No concerns.
|
||||
///
|
||||
|
||||
@@ -115,13 +115,13 @@ pub enum Error {
|
||||
/// Used by `ExpectAsset`, `ExpectError` and `ExpectOrigin` when the expectation was not true.
|
||||
#[codec(index = 22)]
|
||||
ExpectationFalse,
|
||||
/// The provided pallet index was not found.
|
||||
/// The provided pezpallet index was not found.
|
||||
#[codec(index = 23)]
|
||||
PalletNotFound,
|
||||
/// The given pallet's name is different to that expected.
|
||||
/// The given pezpallet's name is different to that expected.
|
||||
#[codec(index = 24)]
|
||||
NameMismatch,
|
||||
/// The given pallet's version has an incompatible version to that expected.
|
||||
/// The given pezpallet's version has an incompatible version to that expected.
|
||||
#[codec(index = 25)]
|
||||
VersionIncompatible,
|
||||
/// The given operation would lead to an overflow of the Holding Register.
|
||||
|
||||
Reference in New Issue
Block a user