fix: fixed eth_getCode to now use blockNumber when address is an HTS token #9317
7 fail, 2 skipped, 66 pass in 13m 17s
Annotations
Check warning on line 0 in "before all" hook for "should execute "eth_getCode" for hts token"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode "before all" hook for "should execute "eth_getCode" for hts token" ("before all" hook for "should execute "eth_getCode" for hts token") failed
test-results.d19a4b4e1555f0c4572d17f832cde5db.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
github-actions / Test Results
1 out of 2 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt …te changes without passing block (should execute "eth_getStorageAt" request to get current state changes without passing block)
test-results.6b410d787fdaaa26314c09fd423fc319.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Check warning on line 0 in should return contract bytecode for valid contract address
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return contract bytecode for valid contract address (should return contract bytecode for valid contract address) failed
test-results.6b410d787fdaaa26314c09fd423fc319.xml [took 0s]
Raw output
expected '0x' to equal '0x6080604052348015600f57600080fd5b506…'
AssertionError: expected '0x' to equal '0x6080604052348015600f57600080fd5b506…'
at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch2.spec.ts:797:25)
at Generator.next (<anonymous>)
at fulfilled (packages/server/tests/acceptance/rpc_batch2.spec.ts:24:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0x
+0x6080604052348015600f57600080fd5b506000610167905077618dc65e
Check warning on line 0 in should return redirect bytecode for HTS token address
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return redirect bytecode for HTS token address (should return redirect bytecode for HTS token address) failed
test-results.6b410d787fdaaa26314c09fd423fc319.xml [took 0s]
Raw output
expected '0x' to equal '6080604052348015600f57600080fd5b50600…'
AssertionError: expected '0x' to equal '6080604052348015600f57600080fd5b50600…'
at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch2.spec.ts:812:25)
at Generator.next (<anonymous>)
at fulfilled (packages/server/tests/acceptance/rpc_batch2.spec.ts:24:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0x
+6080604052348015600f57600080fd5b506000610167905077618dc65e0000000000000000000000000000000000000003600052366000602037600080366018016008845af43d806000803e8160008114605857816000f35b816000fdfea2646970667358221220d8378feed472ba49a0005514ef7087017f707b45fb9bf56bb81bb93ff19a238b64736f6c634300080b0033
Check warning on line 0 in should throw error for invalid block number
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should throw error for invalid block number (should throw error for invalid block number) failed
test-results.6b410d787fdaaa26314c09fd423fc319.xml [took 0s]
Raw output
expected -32602 to equal -39012
AssertionError: expected -32602 to equal -39012
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/helpers/assertions.ts:372:29
at Generator.throw (<anonymous>)
at rejected (packages/server/tests/helpers/assertions.ts:48:65)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
--32602
+-39012
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "should execute "e…ore each" hook for "should execute "eth_getStorageAt" request to get current state changes with passing specific block") failed
test-results.6b410d787fdaaa26314c09fd423fc319.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Check warning on line 0 in "before all" hook in "@api-batch-2 RPC Server Acceptance Tests"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before all" hook in "@api-batch-2 RPC Server Acceptance Tests" ("before all" hook in "@api-batch-2 RPC Server Acceptance Tests") failed
test-results.4cab04fb9c4d3dd886f26cdf58bd2d5f.xml [took 15s]
Raw output
Request failed with status code 404
AxiosError: Request failed with status code 404
at settle (node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:599:11)
at IncomingMessage.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Axios.request (node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (node_modules/axios/lib/core/Axios.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:95:5)