Skip to content

Commit

Permalink
chore: up snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Sep 14, 2024
1 parent c802f00 commit 4bfc675
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions src/accounts/privateKeyToAccount.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
2 changes: 1 addition & 1 deletion src/accounts/utils/signAuthorization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test('args: to (hex)', async () => {
})

expect(signature).toMatchInlineSnapshot(
`"0x1b633d8fa4b6822d010b17bdec4bd305eb024d302588edf0618fd04b26d686fd2633183f08457bbb7355b26280a122c7e6f5e38d5a23ece2cccf3068b6dd06ca1b"`,
`"0xff5d79daa56d5aae2657e8950af71377f8c2860255a9c915948c071ef9286def17318a10ff56f0000a350a210fdb312ba22260a64f38dddc135912a6c4795c1d1b"`,
)
expect(
await verifyAuthorization({
Expand Down
58 changes: 29 additions & 29 deletions src/experimental/eip7702/utils/hashAuthorization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
`,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test('default', () => {
[
"0x1",
"0x0000000000000000000000000000000000000000",
"0x0",
"0x",
"0x",
"0x",
"0x",
Expand Down

0 comments on commit 4bfc675

Please sign in to comment.