Skip to content

Commit 13ec32a

Browse files
committed
also print value in hex
1 parent 6b160a2 commit 13ec32a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,11 @@ export async function saveWahV2(args: HandlerArgs): Promise<void> {
480480
const beforeMigValue = await beforeMigApi.query[pallet][storage]()
481481
// the key has to come from WAH, not Westend, although they are the same since pallet names are the same.
482482
const key = nowWahApi.query[pallet][storage].key()
483-
console.log(`before migration ${pallet}.${storage} (${key}): ${beforeMigValue.toString()}`);
483+
console.log(`before migration ${pallet}.${storage} (${key}): ${beforeMigValue.toString()} (${beforeMigValue.toHex()})`);
484484
kvs.push([key, beforeMigValue.toHex()])
485485
}
486486

487-
// the system index of WAH is the one we want to xcm.
487+
// the system index of WAH is the one we want to use.
488488
const tx = nowWahApi.tx.system.setStorage(kvs);
489489
console.log("encoded call to submit in WAH:", tx.inner.toHex());
490490
}

0 commit comments

Comments
 (0)