Skip to content

Commit de3172c

Browse files
committed
Merge branch 'main' into release-v0.5.4
2 parents 2df7347 + b046f04 commit de3172c

File tree

7 files changed

+323
-32
lines changed

7 files changed

+323
-32
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ try-runtime-upgrade-battery-station:
3333
--execute-try-runtime
3434

3535
try-runtime-upgrade-zeitgeist:
36-
@$(MAKE) TRYRUNTIME_URL="wss://zeitgeist-rpc.dwellir.com:443" \
36+
@$(MAKE) TRYRUNTIME_URL="wss://zeitgeist.api.onfinality.io:443/public-ws" \
3737
RUNTIME_PATH="./target/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm" \
3838
-- \
3939
--execute-try-runtime

integration-tests/moonwall.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262
]
6363
},
64-
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
64+
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
6565
"buildBlockMode": "manual",
6666
"connections": [
6767
{
@@ -106,7 +106,7 @@
106106
}
107107
]
108108
},
109-
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
109+
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
110110
"buildBlockMode": "manual",
111111
"connections": [
112112
{

runtime/battery-station/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ impl Contains<RuntimeCall> for IsCallable {
174174
}
175175
}
176176

177+
parameter_types! {
178+
pub RemovableMarketIds: Vec<u32> = vec![879u32, 877u32, 878u32, 880u32, 882u32];
179+
}
180+
177181
decl_common_types!();
178182

179183
create_runtime_with_additional_pallets!(

runtime/common/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,14 @@ macro_rules! decl_common_types {
8686
generic, DispatchError, DispatchResult, RuntimeDebug, SaturatedConversion,
8787
};
8888
use zeitgeist_primitives::traits::{DeployPoolApi, DistributeFees, MarketCommonsPalletApi};
89-
use zrml_market_commons::migrations::MigrateDisputeMechanism;
89+
use zrml_market_commons::migrations::{MigrateDisputeMechanism, RemoveMarkets};
9090

9191
pub type Block = generic::Block<Header, UncheckedExtrinsic>;
9292

9393
type Address = sp_runtime::MultiAddress<AccountId, ()>;
9494

95-
type Migrations = (MigrateDisputeMechanism<Runtime>);
95+
type Migrations =
96+
(RemoveMarkets<Runtime, RemovableMarketIds>, MigrateDisputeMechanism<Runtime>);
9697

9798
pub type Executive = frame_executive::Executive<
9899
Runtime,

runtime/zeitgeist/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ impl Contains<RuntimeCall> for IsCallable {
191191
}
192192
}
193193

194+
parameter_types! {
195+
pub RemovableMarketIds: Vec<u32> = vec![];
196+
}
197+
194198
decl_common_types!();
195199

196200
create_runtime_with_additional_pallets!();

zrml/market-commons/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ mod pallet {
5757
};
5858

5959
/// The current storage version.
60-
const STORAGE_VERSION: StorageVersion = StorageVersion::new(11);
60+
const STORAGE_VERSION: StorageVersion = StorageVersion::new(13);
6161

6262
pub(crate) type AccountIdOf<T> = <T as frame_system::Config>::AccountId;
6363
pub(crate) type AssetOf<T> = Asset<MarketIdOf<T>>;

0 commit comments

Comments
 (0)