Skip to content

fix: optimize redundant checks and simplify code #353

fix: optimize redundant checks and simplify code

fix: optimize redundant checks and simplify code #353

Re-run triggered February 16, 2025 20:52
Status Failure
Total duration 59s
Artifacts

agw-client-coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
test/src/actions/signMessage.test.ts > signMessage > should transform personal_sign to ERC-6492 typed signature for undeployed smart account: packages/agw-client/test/src/actions/signMessage.test.ts#L106
AssertionError: expected '0x00000000000000000000000000000000000…' to be '0x0000000000000000000000009b947df68d3…' // Object.is equality Expected: "0x0000000000000000000000009b947df68d35281c972511b3e7bc875926f26c1a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000001c4574caef3d0c8707c906a797561008f61c112c70c07c0e57952e0348106ae2b8be92a5d5900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000144b4e581f5000000000000000000000000888888888888888888888888888888888888888800000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004000000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a0000000000000000000000000000000000000000000000000000000000000020ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6492649264926492649264926492649264926492649264926492649264926492" Received: "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a0000000000000000000000000000000000000000000000000000000000000020ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" ❯ test/src/actions/signMessage.test.ts:106:27
test/src/actions/signTypedData.test.ts > signTypedData > should transform typed data to ERC-6492 typed signature for undeployed smart account: packages/agw-client/test/src/actions/signTypedData.test.ts#L192
AssertionError: expected '0x00000000000000000000000000000000000…' to be '0x0000000000000000000000009b947df68d3…' // Object.is equality Expected: "0x0000000000000000000000009b947df68d35281c972511b3e7bc875926f26c1a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000001c4574caef3d0c8707c906a797561008f61c112c70c07c0e57952e0348106ae2b8be92a5d5900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000144b4e581f5000000000000000000000000888888888888888888888888888888888888888800000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004000000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a0000000000000000000000000000000000000000000000000000000000000020ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6492649264926492649264926492649264926492649264926492649264926492" Received: "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000074b9ae28ec45e3fa11533c7954752597c3de3e7a0000000000000000000000000000000000000000000000000000000000000020ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" ❯ test/src/actions/signTypedData.test.ts:192:27
test
Process completed with exit code 1.
test
Cache not found for keys: linux-foundry-chain-fork-test-8bd98a2c03505486423a4ea956cdf495913b2798, linux-foundry-chain-fork-test-, linux-foundry-chain-fork-