Skip to content

Commit

Permalink
Merge branch 'main' into mkl-clear-pallets
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann authored Aug 19, 2024
2 parents 8b7abe6 + b046f04 commit ddb6324
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ try-runtime-upgrade-battery-station:
--execute-try-runtime

try-runtime-upgrade-zeitgeist:
@$(MAKE) TRYRUNTIME_URL="wss://zeitgeist-rpc.dwellir.com:443" \
@$(MAKE) TRYRUNTIME_URL="wss://zeitgeist.api.onfinality.io:443/public-ws" \
RUNTIME_PATH="./target/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm" \
-- \
--execute-try-runtime
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/moonwall.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
]
},
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
"buildBlockMode": "manual",
"connections": [
{
Expand Down Expand Up @@ -106,7 +106,7 @@
}
]
},
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
"buildBlockMode": "manual",
"connections": [
{
Expand Down
4 changes: 4 additions & 0 deletions runtime/battery-station/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ impl Contains<RuntimeCall> for IsCallable {
}
}

parameter_types! {
pub RemovableMarketIds: Vec<u32> = vec![879u32, 877u32, 878u32, 880u32, 882u32];
}

decl_common_types!();

create_runtime_with_additional_pallets!(
Expand Down
1 change: 1 addition & 0 deletions runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ macro_rules! decl_common_types {
};
use zeitgeist_primitives::traits::{DeployPoolApi, DistributeFees, MarketCommonsPalletApi};


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

type Address = sp_runtime::MultiAddress<AccountId, ()>;
Expand Down
4 changes: 4 additions & 0 deletions runtime/zeitgeist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ impl Contains<RuntimeCall> for IsCallable {
}
}

parameter_types! {
pub RemovableMarketIds: Vec<u32> = vec![];
}

decl_common_types!();

create_runtime_with_additional_pallets!();
Expand Down
2 changes: 1 addition & 1 deletion zrml/market-commons/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mod pallet {
};

/// The current storage version.
const STORAGE_VERSION: StorageVersion = StorageVersion::new(11);
const STORAGE_VERSION: StorageVersion = StorageVersion::new(13);

pub(crate) type AccountIdOf<T> = <T as frame_system::Config>::AccountId;
pub(crate) type AssetOf<T> = Asset<MarketIdOf<T>>;
Expand Down
2 changes: 1 addition & 1 deletion zrml/market-commons/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Zeitgeist. If not, see <https://www.gnu.org/licenses/>.
// along with Zeitgeist. If not, see <https://www.gnu.org/licenses/>.

0 comments on commit ddb6324

Please sign in to comment.