FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps
- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk - Removed disable_pezframe_system_supertrait_check temporary bypasses - Feature-gated storage-benchmark and teyrchain-benchmarks code - Fixed dead_code warnings with underscore prefix (_Header) - Removed unused imports and shadowing use statements - Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1, docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2 - Updated MAINNET_ROADMAP.md with FAZ 1 completion status
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
use crate::{BridgedChainOf, Config, InboundLanes, OutboundLanes, Pezpallet, LOG_TARGET};
|
||||
|
||||
use bp_messages::{
|
||||
use pezbp_messages::{
|
||||
target_chain::MessageDispatch, BaseMessagesProofInfo, ChainWithMessages, InboundLaneData,
|
||||
MessageNonce, MessagesCallInfo, ReceiveMessagesDeliveryProofInfo, ReceiveMessagesProofInfo,
|
||||
UnrewardedRelayerOccupation,
|
||||
@@ -248,7 +248,7 @@ fn unrewarded_relayers_occupation<T: Config<I>, I: 'static>(
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::tests::mock::*;
|
||||
use bp_messages::{
|
||||
use pezbp_messages::{
|
||||
source_chain::FromBridgedChainMessagesDeliveryProof,
|
||||
target_chain::FromBridgedChainMessagesProof, DeliveredMessages, InboundLaneData, LaneState,
|
||||
OutboundLaneData, UnrewardedRelayer, UnrewardedRelayersState,
|
||||
@@ -281,7 +281,7 @@ mod tests {
|
||||
fn deliver_message_10() {
|
||||
InboundLanes::<TestRuntime>::insert(
|
||||
test_lane_id(),
|
||||
bp_messages::InboundLaneData {
|
||||
pezbp_messages::InboundLaneData {
|
||||
state: LaneState::Opened,
|
||||
relayers: Default::default(),
|
||||
last_confirmed_nonce: 10,
|
||||
@@ -290,8 +290,8 @@ mod tests {
|
||||
}
|
||||
|
||||
fn validate_message_delivery(
|
||||
nonces_start: bp_messages::MessageNonce,
|
||||
nonces_end: bp_messages::MessageNonce,
|
||||
nonces_start: pezbp_messages::MessageNonce,
|
||||
nonces_end: pezbp_messages::MessageNonce,
|
||||
) -> bool {
|
||||
RuntimeCall::Messages(crate::Call::<TestRuntime, ()>::receive_messages_proof {
|
||||
relayer_id_at_bridged_chain: 42,
|
||||
@@ -413,7 +413,7 @@ mod tests {
|
||||
fn confirm_message_10() {
|
||||
OutboundLanes::<TestRuntime>::insert(
|
||||
test_lane_id(),
|
||||
bp_messages::OutboundLaneData {
|
||||
pezbp_messages::OutboundLaneData {
|
||||
state: LaneState::Opened,
|
||||
oldest_unpruned_nonce: 0,
|
||||
latest_received_nonce: 10,
|
||||
@@ -422,7 +422,7 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
fn validate_message_confirmation(last_delivered_nonce: bp_messages::MessageNonce) -> bool {
|
||||
fn validate_message_confirmation(last_delivered_nonce: pezbp_messages::MessageNonce) -> bool {
|
||||
RuntimeCall::Messages(crate::Call::<TestRuntime>::receive_messages_delivery_proof {
|
||||
proof: FromBridgedChainMessagesDeliveryProof {
|
||||
bridged_header_hash: Default::default(),
|
||||
|
||||
Reference in New Issue
Block a user