diff --git a/src/accounts/privateKeyToAccount.test.ts b/src/accounts/privateKeyToAccount.test.ts index fea74b30e0..479698010d 100644 --- a/src/accounts/privateKeyToAccount.test.ts +++ b/src/accounts/privateKeyToAccount.test.ts @@ -48,8 +48,8 @@ test('sign authorization', async () => { "chainId": 1, "contractAddress": "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2", "nonce": 0, - "r": "0x1b633d8fa4b6822d010b17bdec4bd305eb024d302588edf0618fd04b26d686fd", - "s": "0x2633183f08457bbb7355b26280a122c7e6f5e38d5a23ece2cccf3068b6dd06ca", + "r": "0xff5d79daa56d5aae2657e8950af71377f8c2860255a9c915948c071ef9286def", + "s": "0x17318a10ff56f0000a350a210fdb312ba22260a64f38dddc135912a6c4795c1d", "v": 27n, "yParity": 0, } diff --git a/src/accounts/utils/signAuthorization.test.ts b/src/accounts/utils/signAuthorization.test.ts index 23c5e0ebe2..eacc0c240d 100644 --- a/src/accounts/utils/signAuthorization.test.ts +++ b/src/accounts/utils/signAuthorization.test.ts @@ -58,7 +58,7 @@ test('args: to (hex)', async () => { }) expect(signature).toMatchInlineSnapshot( - `"0x1b633d8fa4b6822d010b17bdec4bd305eb024d302588edf0618fd04b26d686fd2633183f08457bbb7355b26280a122c7e6f5e38d5a23ece2cccf3068b6dd06ca1b"`, + `"0xff5d79daa56d5aae2657e8950af71377f8c2860255a9c915948c071ef9286def17318a10ff56f0000a350a210fdb312ba22260a64f38dddc135912a6c4795c1d1b"`, ) expect( await verifyAuthorization({ diff --git a/src/experimental/eip7702/utils/hashAuthorization.test.ts b/src/experimental/eip7702/utils/hashAuthorization.test.ts index d354fbae6a..fe581c9ce3 100644 --- a/src/experimental/eip7702/utils/hashAuthorization.test.ts +++ b/src/experimental/eip7702/utils/hashAuthorization.test.ts @@ -35,38 +35,38 @@ test('args: to', () => { ).toMatchInlineSnapshot( ` Uint8Array [ - 144, - 51, - 238, - 19, - 215, + 163, + 87, + 188, + 177, 246, - 3, - 204, - 179, - 170, - 41, - 75, - 60, - 94, - 113, - 124, - 15, + 158, + 136, + 210, 193, - 57, - 102, - 229, - 8, - 229, - 140, + 112, + 144, + 74, + 24, + 188, + 91, + 184, + 254, + 37, + 135, + 41, + 35, + 168, + 208, + 169, + 47, + 62, + 87, + 194, + 214, + 223, + 53, 203, - 54, - 237, - 73, - 228, - 251, - 177, - 230, ] `, ) diff --git a/src/experimental/eip7702/utils/serializeAuthorizationList.test.ts b/src/experimental/eip7702/utils/serializeAuthorizationList.test.ts index 4d7983b023..f2bcea2d1d 100644 --- a/src/experimental/eip7702/utils/serializeAuthorizationList.test.ts +++ b/src/experimental/eip7702/utils/serializeAuthorizationList.test.ts @@ -22,7 +22,7 @@ test('default', () => { [ "0x1", "0x0000000000000000000000000000000000000000", - "0x0", + "0x", "0x", "0x", "0x",