Skip to content

fix: fixed eth_getCode to now use blockNumber when address is an HTS token #9317

fix: fixed eth_getCode to now use blockNumber when address is an HTS token

fix: fixed eth_getCode to now use blockNumber when address is an HTS token #9317

GitHub Actions / Test Results failed Feb 3, 2025 in 0s

7 fail, 4 skipped, 610 pass in 47m 44s

 22 files  + 14  290 suites  +163   47m 44s ⏱️ + 13m 29s
621 tests +395  610 ✅ +386  4 💤 +4  7 ❌ +5 
808 runs  +410  793 ✅ +397  6 💤 +6  9 ❌ +7 

Results for commit 2b386c3. ± Comparison against earlier commit f3fca08.

Annotations

Check warning on line 0 in should return contract bytecode for valid contract address

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: 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)

test-results.3fee3c94504d5a1fe4a65f770acf04d8.xml [took 0s]
test-results.6d2a60790243ff05643cfe303656b63b.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

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: 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)

test-results.3fee3c94504d5a1fe4a65f770acf04d8.xml [took 0s]
test-results.6d2a60790243ff05643cfe303656b63b.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 "before each" hook for "should throw error for invalid block number"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "should throw error for invalid block number" ("before each" hook for "should throw error for invalid block number") failed

test-results.6d2a60790243ff05643cfe303656b63b.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 @release captures transfer events

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens and listens for synthetic log events @release captures transfer events (@release captures transfer events)

test-results.818ddf608c0870f09bc16a0325d025a5.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/ws-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/ws-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 throw error for invalid block number

See this annotation in the file changed.

@github-actions 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.3fee3c94504d5a1fe4a65f770acf04d8.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

Check warning on line 0 in "before all" hook in "@api-batch-2 RPC Server Acceptance Tests"

See this annotation in the file changed.

@github-actions 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.ce95badba80b0eb98ae9359c5cb322c0.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)

Check warning on line 0 in "before all" hook in "Debug API Test Suite"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @api-batch-3 RPC Server Acceptance Tests Debug API Test Suite "before all" hook in "Debug API Test Suite" ("before all" hook in "Debug API Test Suite") failed

test-results.a91a0c4e5a9ba74edc24ce9e879587bf.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)