From 1a4d47e61da8c088ff4b4aa021e4e88b11003101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Senovilla=20Polo?= <117524919+tsenovilla@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:25:56 +0100 Subject: [PATCH] Prepare release 2690 (#941) * Update XcmReserveTransferFilter in the simulator * Update IsReserve in xcm simulator * Setup reserve transfer in LAOS config * remove unused import; use `ParachainInfo::parachain_id()` instead of hardcoded id; replace `OnlyTeleportNative` for `OnlySendNative` * working moonbeam chopsticks config * Correct reserves configs to make LAOS the only reserve for * remove funding of LAOS SA in moonbeam chopsticks * set comma in array of supported assets moonbeam chopsticks so conversion is not 0 * Update parachain template in xcm simulator to support xcm v4; init reserve transfer test with laosish asset registry in the parachain template * Uncommit moonbeam + logs runtime * exclude all files but .js and .ts from e2e prettier; fix xcm version of benchmarkhelper in simulator parachain * lint + rename test * replace match for matches in reserves; laosish calculate sibling account; edit asset transactor in laosish to advance with simulator test * reserve transfer back works! * ci e2e run moonbeam; reserve transfer from LAOS to moonbeam in chopsticks with required setup & types; remove prettierignore && fix prettier command * remove wasm override from moonbeam chopsticks; reserve transfer Moonbeam -> LAOS * Fund Baltathar in Moonbeam chopsticks config * Fixing reserve transfer e2e test; fixing teleport e2e test * simulator test renamed to local_reserve; simulator local reserve test checks the balance of SA is correct * Rename e2e reserve test to local reserve * Clarification in local reserve e2e test * Update some comments and structs in XCM config * Prepare release 26.90 --------- Co-authored-by: luispdm <17044119+luispdm@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- e2e-tests/utils/constants.ts | 2 +- runtime/laos/src/lib.rs | 2 +- runtime/laos/src/tests/metadata15.golden | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5dcd0010..37751cf8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "laos" -version = "0.26.0" +version = "0.26.90" dependencies = [ "clap", "cumulus-client-cli", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "laos-runtime" -version = "0.26.0" +version = "0.26.90" dependencies = [ "assert-json-diff", "cumulus-pallet-aura-ext", diff --git a/Cargo.toml b/Cargo.toml index c845a157..e96df2fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ repository = "https://github.com/freeverseio/laos.git" homepage = "https://www.laosfoundation.io" authors = ["Freeverse"] edition = "2021" -version = "0.26.0" +version = "0.26.90" [workspace] resolver = "2" diff --git a/e2e-tests/utils/constants.ts b/e2e-tests/utils/constants.ts index 1113259a..e4336b4d 100644 --- a/e2e-tests/utils/constants.ts +++ b/e2e-tests/utils/constants.ts @@ -9,7 +9,7 @@ import ParachainStaking from "../build/contracts/ParachainStaking.sol/ParachainS // Runtime specs export const RUNTIME_SPEC_NAME = "laos"; -export const RUNTIME_SPEC_VERSION = 2600; +export const RUNTIME_SPEC_VERSION = 2690; export const RUNTIME_IMPL_VERSION = 0; // Zombienet endpoints diff --git a/runtime/laos/src/lib.rs b/runtime/laos/src/lib.rs index 9d6dc76e..af1bc4e7 100644 --- a/runtime/laos/src/lib.rs +++ b/runtime/laos/src/lib.rs @@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("laos"), impl_name: create_runtime_str!("laos"), authoring_version: 1, - spec_version: 2600, + spec_version: 2690, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/laos/src/tests/metadata15.golden b/runtime/laos/src/tests/metadata15.golden index ba09496c..37671bf4 100644 --- a/runtime/laos/src/tests/metadata15.golden +++ b/runtime/laos/src/tests/metadata15.golden @@ -38718,7 +38718,7 @@ 0, 0, 0, - 40, + 130, 10, 0, 0,