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

8 fail, 4 skipped, 610 pass in 55m 30s

 22 files  + 14  291 suites  +164   55m 30s ⏱️ + 21m 15s
622 tests +396  610 ✅ +386  4 💤 +4  8 ❌ +6 
814 runs  +416  800 ✅ +404  6 💤 +6  8 ❌ +6 

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

Annotations

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 "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.ebd9787adcc73670390300343a3a0e9c.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 for "should execute "eth_getCode" for hts token"

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 "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.d5cf8fbeccf28776acc94a3009ac5975.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 each" hook for "should execute "eth_getStorageAt" request to get current state changes"

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 execute "e…current state changes" ("before each" hook for "should execute "eth_getStorageAt" request to get current state changes") failed

test-results.d5cf8fbeccf28776acc94a3009ac5975.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

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 return contract bytecode for valid contract address (should return contract bytecode for valid contract address) failed

test-results.e2ccdf321c859058f4009541bc8dd313.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

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.e2ccdf321c859058f4009541bc8dd313.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

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.e2ccdf321c859058f4009541bc8dd313.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 "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)