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:
@@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::{pallet, OutboundState};
|
||||
use crate::{pezpallet, OutboundState};
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use xcm::latest::prelude::*;
|
||||
|
||||
@@ -34,7 +34,7 @@ impl<Runtime: crate::Config> bp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
// if the inbound channel with recipient is suspended, it means that we are unable to
|
||||
// receive congestion reports from the `with` location. So we assume the pipeline is
|
||||
// congested too.
|
||||
if pallet::Pallet::<Runtime>::is_inbound_channel_suspended(sibling_para_id) {
|
||||
if pezpallet::Pezpallet::<Runtime>::is_inbound_channel_suspended(sibling_para_id) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ impl<Runtime: crate::Config> OutXcmpChannelStatusProvider<Runtime> {
|
||||
|
||||
// let's find the channel's state with the sibling teyrchain,
|
||||
let Some((outbound_state, queued_pages)) =
|
||||
pallet::Pallet::<Runtime>::outbound_channel_state(sibling_para_id)
|
||||
pezpallet::Pezpallet::<Runtime>::outbound_channel_state(sibling_para_id)
|
||||
else {
|
||||
return false;
|
||||
};
|
||||
@@ -97,5 +97,5 @@ impl<Runtime: crate::Config> bp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
pub fn suspend_channel_for_benchmarks<T: crate::Config>(target: ParaId) {
|
||||
pallet::Pallet::<T>::suspend_channel(target)
|
||||
pezpallet::Pezpallet::<T>::suspend_channel(target)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user