From 26203217487c07dd645b54750ff4329cc41986ed Mon Sep 17 00:00:00 2001 From: tarikgul Date: Tue, 3 Sep 2024 20:19:55 -0400 Subject: [PATCH] adjust merit of test --- packages/types/src/extrinsic/SignerPayload.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/extrinsic/SignerPayload.spec.ts b/packages/types/src/extrinsic/SignerPayload.spec.ts index 12964ee8fdf..2920c6438d6 100644 --- a/packages/types/src/extrinsic/SignerPayload.spec.ts +++ b/packages/types/src/extrinsic/SignerPayload.spec.ts @@ -134,8 +134,8 @@ describe('SignerPayload', (): void => { expect(payload.blockHash.toHex()).toEqual(TEST.blockHash); expect(payload.nonce.eq(TEST.nonce)).toBe(true); expect(payload.tip.eq(TEST.tip)).toBe(true); - expect(payload.assetId?.toHex()) - .toEqual(u8aToHex(registry.createType('MultiLocation', { + expect(u8aToHex(payload.assetId?.toU8a())) + .toEqual(u8aToHex(registry.createType('Option', { // eslint-disable-next-line sort-keys parents: 0, interior: { X2: [{ palletInstance: 50 }, { generalIndex: 123 }] } }).toU8a()));