Skip to content

Commit

Permalink
Fix migration test (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios authored Jul 21, 2024
1 parent 41fe308 commit a899c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pallets/funding/src/functions/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ impl<T: Config> Pallet<T> {
) -> 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
Expand Down
2 changes: 1 addition & 1 deletion pallets/polimec-receiver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
}

Expand Down

0 comments on commit a899c98

Please sign in to comment.