From f3d8ee3ab2465780fde313b7bffe6fe0e89646d2 Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Mon, 2 Jun 2025 19:11:11 +0300 Subject: [PATCH] make bridge imbalance fields accesible aka public Signed-off-by: Uncle Stretch --- Cargo.lock | 2 +- pallets/networks/Cargo.toml | 2 +- pallets/networks/src/lib.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6bfebf7..b450177 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3648,7 +3648,7 @@ dependencies = [ [[package]] name = "ghost-networks" -version = "0.1.2" +version = "0.1.3" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/networks/Cargo.toml b/pallets/networks/Cargo.toml index 165a5f2..f90fb04 100644 --- a/pallets/networks/Cargo.toml +++ b/pallets/networks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-networks" -version = "0.1.2" +version = "0.1.3" license.workspace = true authors.workspace = true edition.workspace = true diff --git a/pallets/networks/src/lib.rs b/pallets/networks/src/lib.rs index eaa1f8e..d073c1d 100644 --- a/pallets/networks/src/lib.rs +++ b/pallets/networks/src/lib.rs @@ -63,8 +63,8 @@ pub struct NetworkData { #[derive(Default, Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] pub struct BridgeAdjustment { - bridged_out: Balance, - bridged_in: Balance, + pub bridged_out: Balance, + pub bridged_in: Balance, } pub struct BridgedInflationCurve(core::marker::PhantomData<(RewardCurve, T)>);