fix(cli): foundry plugin support for multiple addresses with same ABI #981
Annotations
11 errors and 2 warnings
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests:
packages/core/src/actions/getBytecode.test.ts#L11
AssertionError: promise rejected "HttpRequestError: HTTP request failed.
S… { …(9) }" instead of resolving
❯ packages/core/src/actions/getBytecode.test.ts:11:3
Caused by: HttpRequestError: HTTP request failed.
Status: 400
URL: http://127.0.0.1:8545/2
Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}
Details: Bad Request
Version: 2.21.28
❯ Object.request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/rpc/http.ts:148:17
❯ fn node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:125:19
❯ request node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/clients/transports/http.ts:130:39
❯ withRetry.delay.count.count node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/buildRequest.ts:118:22
❯ attemptRetry node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Bad Request', docsPath: undefined, metaMessages: [ 'Status: 400', 'URL: http://127.0.0.1:8545/2', 'Request body: {"method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","latest"]}' ], shortMessage: 'HTTP request failed.', version: '2.21.28', body: { method: 'eth_getCode', params: [ '0x0000000000000000000000000000000000000000', 'latest' ] }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, status: 400, url: 'http://127.0.0.1:8545/2', walk: 'Function<walk>' }
|
Run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading