Skip to content

chore: cherry pick PR#3422 feat(logging): enhanced logging upon recei… #9270

chore: cherry pick PR#3422 feat(logging): enhanced logging upon recei…

chore: cherry pick PR#3422 feat(logging): enhanced logging upon recei… #9270

GitHub Actions / Test Results failed Jan 27, 2025 in 0s

12 fail, 4 skipped, 574 pass in 1h 11m 8s

 26 files  + 26  405 suites  +405   1h 11m 8s ⏱️ + 1h 11m 8s
590 tests +590  574 ✅ +574  4 💤 +4  12 ❌ +12 
992 runs  +992  965 ✅ +965  8 💤 +8  19 ❌ +19 

Results for commit c7f3287. ± Comparison against earlier commit 6bd832c.

Annotations

Check warning on line 0 in @release contract owner transfers tokens

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20… address when the spender has enough tokens @release contract owner transfers tokens (@release contract owner transfers tokens)

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
test-results.b0c1ee7b4d17f7f990a57a0f552e77c3.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb000000000000000000000000c58cb758b352a89bb0133ef724b20d755a4192980000000000000000000000000000000000000000000000000000000000002710c001a0d9831674deb54b40bd1679fc5eb654a727ad4d1a5b16eb1be55aa66d1775a779a00b4689be66b9ce9bab5bf1f780b217f0e50b781755501d9668c8f4fc2f87281c", info={ "error": { "code": 32001, "message": "[Request ID: d0886434-8225-492b-ae05-f21505181e4f] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb000000000000000000000000c58cb758b352a89bb0133ef724b20d755a4192980000000000000000000000000000000000000000000000000000000000002710c001a0d9831674deb54b40bd1679fc5eb654a727ad4d1a5b16eb1be55aa66d1775a779a00b4689be66b9ce9bab5bf1f780b217f0e50b781755501d9668c8f4fc2f87281c", info={ "error": { "code": 32001, "message": "[Request ID: d0886434-8225-492b-ae05-f21505181e4f] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1031:33)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in emits a transfer event

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20…s when the recipient is not the zero address when the spender has enough tokens emits a transfer event (emits a transfer event)

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
test-results.b0c1ee7b4d17f7f990a57a0f552e77c3.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'wait')
TypeError: Cannot read properties of undefined (reading 'wait')
    at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:206:51)
    at Generator.next (<anonymous>)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/erc20.spec.ts:50:71
    at new Promise (<anonymous>)
    at __awaiter (packages/server/tests/acceptance/erc20.spec.ts:46:12)
    at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:214:52)
    at processImmediate (node:internal/timers:483:21)

Check warning on line 0 in other account transfers tokens back to owner

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20… when the spender has enough tokens other account transfers tokens back to owner (other account transfers tokens back to owner)

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
test-results.b0c1ee7b4d17f7f990a57a0f552e77c3.xml [took 0s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000f3c2cb4d1a52cf3d16440d08cf2e0fbf0c5b0fea0000000000000000000000000000000000000000000000000000000000002710", "from": "0xc58cb758B352A89bb0133Ef724B20d755a419298", "to": "0x000000000000000000000000000000000000040d" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.2)
Error: execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000f3c2cb4d1a52cf3d16440d08cf2e0fbf0c5b0fea0000000000000000000000000000000000000000000000000000000000002710", "from": "0xc58cb758B352A89bb0133Ef724B20d755a419298", "to": "0x000000000000000000000000000000000000040d" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.2)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at getBuiltinCallException (packages/server/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)
    at Function.getBuiltinCallException (packages/server/node_modules/ethers/src.ts/abi/abi-coder.ts:235:16)
    at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:989:32)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in "before all" hook for "emits an approval event"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20 transfer from when the …r has enough allowance "before all" hook for "emits an approval event" ("before all" hook for "emits an approval event") failed

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a989670000000000000000000000000000000000000000000000000000000000002710c001a0117122c3dbaf4c048d0b6e3b871cbe7b703b8d2e5d3d67ae0e149a965d8935a1a04dc171e6bef81e9a9dc5bc41afca156b94fbf39617aec8a9b5505eaa0ecc606c", info={ "error": { "code": 32001, "message": "[Request ID: 79355e40-be4c-4aa8-a7dc-b537472ab0e1] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a989670000000000000000000000000000000000000000000000000000000000002710c001a0117122c3dbaf4c048d0b6e3b871cbe7b703b8d2e5d3d67ae0e149a965d8935a1a04dc171e6bef81e9a9dc5bc41afca156b94fbf39617aec8a9b5505eaa0ecc606c", info={ "error": { "code": 32001, "message": "[Request ID: 79355e40-be4c-4aa8-a7dc-b537472ab0e1] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1031:33)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in "before all" hook for "reverts"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20 transfer from when the …ough allowance when the token owner has enough balance "before all" hook for "reverts" ("before all" hook for "reverts") failed

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a98967000000000000000000000000000000000000000000000000000000000000270fc080a0d857cab85fbe6d655d8a4bd4bd157459c5f9db3862b0fe47edf47639767af627a06367581eb65915bf41623c227edf049486b411a9420c100b711d641703c4eef1", info={ "error": { "code": 32001, "message": "[Request ID: 226930e8-6621-42f8-b12d-6baca7210187] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a98967000000000000000000000000000000000000000000000000000000000000270fc080a0d857cab85fbe6d655d8a4bd4bd157459c5f9db3862b0fe47edf47639767af627a06367581eb65915bf41623c227edf049486b411a9420c100b711d641703c4eef1", info={ "error": { "code": 32001, "message": "[Request ID: 226930e8-6621-42f8-b12d-6baca7210187] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1031:33)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in "before each" hook for "reverts"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20 transfer from when the …ress when the spender does not have enough allowance "before each" hook for "reverts" ("before each" hook for "reverts") failed

test-results.5ba1fd6dbdae703c2c694ea760f7bda5.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a98967000000000000000000000000000000000000000000000000000000000000270fc080a0d857cab85fbe6d655d8a4bd4bd157459c5f9db3862b0fe47edf47639767af627a06367581eb65915bf41623c227edf049486b411a9420c100b711d641703c4eef1", info={ "error": { "code": 32001, "message": "[Request ID: 9f4a3933-50ec-4b64-9b53-dab6d80ffb6c] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8b482012a0485a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000041380b844095ea7b300000000000000000000000059f47e8e5e358519f42cce6575a23a27f0a98967000000000000000000000000000000000000000000000000000000000000270fc080a0d857cab85fbe6d655d8a4bd4bd157459c5f9db3862b0fe47edf47639767af627a06367581eb65915bf41623c227edf049486b411a9420c100b711d641703c4eef1", info={ "error": { "code": 32001, "message": "[Request ID: 9f4a3933-50ec-4b64-9b53-dab6d80ffb6c] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1031:33)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in should be able to get and update fungible token expiry info

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 @tokenmanagement HTS Precompile Token Management Acceptanc…Tests should be able to get and update fungible token expiry info (should be able to get and update fungible token expiry info)

test-results.8f9ba87e79b84f4c96d5336219d581ae.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 be able to get and update non fungible token expiry info

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 @tokenmanagement HTS Precompile Token Management Acceptanc…ould be able to get and update non fungible token expiry info (should be able to get and update non fungible token expiry info)

test-results.8f9ba87e79b84f4c96d5336219d581ae.xml [took 13s]
Raw output
expected 1745995599 to be close to 1745996003 +/- 400
AssertionError: expected 1745995599 to be close to 1745996003 +/- 400
    at Context.<anonymous> (packages/server/tests/acceptance/htsPrecompile/tokenManagement.spec.ts:900:57)
    at Generator.next (<anonymous>)
    at fulfilled (packages/server/tests/acceptance/htsPrecompile/tokenManagement.spec.ts:47:58)
    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

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

test-results.4d43e6097a7c684b1a7761366eb17688.xml [took 4m 0s]
test-results.b5274c29cfcf0a37b969d35dcad70f70.xml [took 4m 0s]
test-results.ca5095f34dabd4497befe40e266460a5.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 execute "eth_sendRawTransaction" if receiver's account has receiver_sig_required disabled

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 @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…ceiver_sig_required disabled (should execute "eth_sendRawTransaction" if receiver's account has receiver_sig_required disabled)

test-results.a1d6728a7ce982a9148bb2471857fc52.xml [took 0s]
Raw output
transaction must have been frozen before calculating the hash will be stable, try calling `freeze`
Error: transaction must have been frozen before calculating the hash will be stable, try calling `freeze`
    at AccountCreateTransaction._requireFrozen (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:1548:13)
    at AccountCreateTransaction.signWith (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:621:12)
    at AccountCreateTransaction.sign (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:602:17)
    at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:1647:14)
    at Generator.next (<anonymous>)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/rpc_batch1.spec.ts:27:71
    at new Promise (<anonymous>)
    at __awaiter (packages/server/tests/acceptance/rpc_batch1.spec.ts:23:12)
    at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:1143:32)
    at processImmediate (node:internal/timers:483:21)

Check warning on line 0 in "after all" hook in "RPC Server Acceptance Tests"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests "after all" hook in "RPC Server Acceptance Tests" ("after all" hook in "RPC Server Acceptance Tests") failed

test-results.a1d6728a7ce982a9148bb2471857fc52.xml [took 0s]
Raw output
failed to find a healthy working node
Error: failed to find a healthy working node
    at Network.getNode (packages/server/node_modules/@hashgraph/sdk/lib/client/ManagedNetwork.cjs:416:15)
    at AccountBalanceQuery.execute (packages/server/node_modules/@hashgraph/sdk/lib/Executable.cjs:563:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in @release captures transfer events

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 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.724cf0302f4a31c09e96d2a008f37e9d.xml [took 4m 0s]
test-results.9e71a2bf5aa02bc495f5fe42f4b70c07.xml [took 4m 0s]
test-results.b28dca459a4c879f3e69a1ee4fd3d803.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)