From a899c989f210d2ff16fda8d5a8d1130a51092f63 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Rios <54085674+JuaniRios@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:58:42 +0200 Subject: [PATCH] Fix migration test (#360) --- pallets/funding/src/functions/misc.rs | 3 +-- pallets/polimec-receiver/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pallets/funding/src/functions/misc.rs b/pallets/funding/src/functions/misc.rs index 69e93774f..d850fd180 100644 --- a/pallets/funding/src/functions/misc.rs +++ b/pallets/funding/src/functions/misc.rs @@ -579,8 +579,7 @@ impl Pallet { ) -> Xcm<()> { // TODO: adjust this as benchmarks for polimec-receiver are written const MAX_WEIGHT: Weight = Weight::from_parts(10_000, 0); - const MAX_RESPONSE_WEIGHT: Weight = Weight::from_parts(700_000_000, 10_000); - // const MAX_WEIGHT: Weight = Weight::from_parts(100_003_000_000_000, 10_000_196_608); + const MAX_RESPONSE_WEIGHT: Weight = Weight::from_parts(1_000_000_000, 50_000); let migrations_item = Migrations::from(migrations.into()); // First byte is the pallet index, second byte is the call index diff --git a/pallets/polimec-receiver/src/lib.rs b/pallets/polimec-receiver/src/lib.rs index 2a62104d5..89501a452 100644 --- a/pallets/polimec-receiver/src/lib.rs +++ b/pallets/polimec-receiver/src/lib.rs @@ -77,7 +77,7 @@ pub mod pallet { { /// A Migration executed sucessfully MigrationExecuted { migration: Migration }, - /// A Migration was found which wa already executed, and was skipped. + /// A Migration was found which was already executed, and was skipped. DuplicatedMigrationSkipped { migration: Migration }, }