Skip to content

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #9800

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #9800

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

12 fail, 65 pass in 19m 9s

  3 files  +  2   27 suites  +17   19m 9s ⏱️ + 17m 10s
 77 tests + 69   65 ✅ + 57  0 💤 ±0  12 ❌ +12 
228 runs  +220  211 ✅ +203  0 💤 ±0  17 ❌ +17 

Results for commit 94e77f6. ± Comparison against earlier commit e6ae8cd.

Annotations

Check warning on line 0 in @release should return the right "effectiveGasPrice" for SYNTHETIC HTS transaction

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-1 RPC Server Acceptance Tests RPC Server Acceptance …iveGasPrice" for SYNTHETIC HTS transaction (@release should return the right "effectiveGasPrice" for SYNTHETIC HTS transaction)

test-results.1519c511c4b717d6810cd1843f67ac1a.xml [took 11s]
test-results.24ca7e7b7e94d1491c524576095cfade.xml [took 11s]
test-results.b06dfdec8335e453a2095d9ee515d116.xml [took 11s]
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 TransferTransaction._requireFrozen (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:1550:13)
    at TransferTransaction.signWith (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:621:12)
    at TransferTransaction._beforeExecute (packages/server/node_modules/@hashgraph/sdk/lib/transaction/Transaction.cjs:1188:18)
    at TransferTransaction.execute (packages/server/node_modules/@hashgraph/sdk/lib/Executable.cjs:538:16)
    at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:963:80)
    at Generator.next (<anonymous>)
    at fulfilled (packages/server/tests/acceptance/rpc_batch1.spec.ts:24:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in should execute "eth_sendRawTransaction" for deterministic deployment transaction

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…on" for deterministic deployment transaction (should execute "eth_sendRawTransaction" for deterministic deployment transaction)

test-results.1519c511c4b717d6810cd1843f67ac1a.xml [took 5s]
Raw output
server response 400 Bad Request (request={  }, response={  }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32001,\"message\":\"[Request ID: d2d0a5ba-57ea-4530-8b7e-08b58387ee66] Requested resource not found. address '0x3fAB184622Dc19b6109349B94811493BF2a45362'.\"},\"jsonrpc\":\"2.0\",\"id\":90}", "responseStatus": "400 Bad Request" }, code=SERVER_ERROR, version=6.13.5)
Error: server response 400 Bad Request (request={  }, response={  }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32001,\"message\":\"[Request ID: d2d0a5ba-57ea-4530-8b7e-08b58387ee66] Requested resource not found. address '0x3fAB184622Dc19b6109349B94811493BF2a45362'.\"},\"jsonrpc\":\"2.0\",\"id\":90}", "responseStatus": "400 Bad Request" }, code=SERVER_ERROR, version=6.13.5)
    at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
    at assert (packages/server/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at FetchResponse.assertOk (packages/server/node_modules/ethers/src.ts/utils/fetch.ts:950:15)
    at JsonRpcProvider._send (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1245:18)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:537:40

Check warning on line 0 in should execute "eth_sendRawTransaction" for legacy transactions (with no chainId i.e. chainId=0x0)

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 @api-batch-1 RPC Server Acceptance Tests RPC Server Accept… chainId i.e. chainId=0x0) (should execute "eth_sendRawTransaction" for legacy transactions (with no chainId i.e. chainId=0x0))

test-results.24ca7e7b7e94d1491c524576095cfade.xml [took 20s]
test-results.b06dfdec8335e453a2095d9ee515d116.xml [took 20s]
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 should execute "eth_sendRawTransaction" and deploy a contract with any arbitrary calldata size

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…th any arbitrary calldata size (should execute "eth_sendRawTransaction" and deploy a contract with any arbitrary calldata size)

test-results.24ca7e7b7e94d1491c524576095cfade.xml [took 31s]
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 should delete the file created while execute "eth_sendRawTransaction" to deploy a large contract

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…" to deploy a large contract (should delete the file created while execute "eth_sendRawTransaction" to deploy a large contract)

test-results.24ca7e7b7e94d1491c524576095cfade.xml [took 16s]
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 should execute "eth_sendRawTransaction" of type 2 and deploy a real contract

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…ransaction" of type 2 and deploy a real contract (should execute "eth_sendRawTransaction" of type 2 and deploy a real contract)

test-results.24ca7e7b7e94d1491c524576095cfade.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 should execute "eth_sendRawTransaction" and deploy a contract with more than 2 HBAR transaction fee and less than max transaction fee

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…execute "eth_sendRawTransaction" and deploy a contract with more than 2 HBAR transaction fee and less than max transaction fee)

test-results.24ca7e7b7e94d1491c524576095cfade.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 @release should execute "eth_getTransactionByHash" for existing transaction

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…th_getTransactionByHash" for existing transaction (@release should execute "eth_getTransactionByHash" for existing transaction)

test-results.24ca7e7b7e94d1491c524576095cfade.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 @release fail "eth_getTransactionReceipt" on precheck with wrong nonce error when sending a tx with the same nonce twice

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…wice (@release fail "eth_getTransactionReceipt" on precheck with wrong nonce error when sending a tx with the same nonce twice)

test-results.24ca7e7b7e94d1491c524576095cfade.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 @release fail "eth_getTransactionReceipt" on submitting with wrong nonce error when sending a tx with the same nonce twice

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Accept…ce (@release fail "eth_getTransactionReceipt" on submitting with wrong nonce error when sending a tx with the same nonce twice)

test-results.24ca7e7b7e94d1491c524576095cfade.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

All 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Acceptance …ceiver_sig_required disabled (should execute "eth_sendRawTransaction" if receiver's account has receiver_sig_required disabled)

test-results.1519c511c4b717d6810cd1843f67ac1a.xml [took 0s]
test-results.24ca7e7b7e94d1491c524576095cfade.xml [took 4m 0s]
test-results.b06dfdec8335e453a2095d9ee515d116.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 "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.1519c511c4b717d6810cd1843f67ac1a.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:583:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)