Skip to content

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #1889

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #1889

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

8 fail, 68 pass in 14m 51s

  3 files  + 1   27 suites  +9   14m 51s ⏱️ + 6m 51s
 76 tests ± 0   68 ✅  -  5  0 💤 ±0   8 ❌ + 5 
228 runs  +76  213 ✅ +64  0 💤 ±0  15 ❌ +12 

Results for commit 8e5c22a. ± Comparison against earlier commit 94e77f6.

Annotations

Check warning on line 0 in should not cache "safe" block in "eth_getBlockByNumber"

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…d RPC calls should not cache "safe" block in "eth_getBlockByNumber" (should not cache "safe" block in "eth_getBlockByNumber" )

test-results.030816caa890e6b3d825735dbb614ab7.xml [took 1s]
Raw output
expected { timestamp: '0x6799e9ba', …(22) } to not deeply equal { timestamp: '0x6799e9ba', …(22) }
AssertionError: expected { timestamp: '0x6799e9ba', …(22) } to not deeply equal { timestamp: '0x6799e9ba', …(22) }
    at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:666:41)
    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)

      + expected - actual

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.030816caa890e6b3d825735dbb614ab7.xml [took 11s]
test-results.05fe91f3a7843239a145077cd4d57c21.xml [took 11s]
test-results.e7261fdfe8b7b84b110493611d7dd7d4.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:40)
    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

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

test-results.030816caa890e6b3d825735dbb614ab7.xml [took 5s]
test-results.05fe91f3a7843239a145077cd4d57c21.xml [took 5s]
test-results.e7261fdfe8b7b84b110493611d7dd7d4.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: a2f17e06-5586-4971-ba3f-0048dcaebb56] 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: a2f17e06-5586-4971-ba3f-0048dcaebb56] 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

All 3 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-1 RPC Server Acceptance Tests RPC Server Acceptance … chainId i.e. chainId=0x0) (should execute "eth_sendRawTransaction" for legacy transactions (with no chainId i.e. chainId=0x0))

test-results.030816caa890e6b3d825735dbb614ab7.xml [took 20s]
test-results.05fe91f3a7843239a145077cd4d57c21.xml [took 20s]
test-results.e7261fdfe8b7b84b110493611d7dd7d4.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.e7261fdfe8b7b84b110493611d7dd7d4.xml [took 27s]
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.e7261fdfe8b7b84b110493611d7dd7d4.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" 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.e7261fdfe8b7b84b110493611d7dd7d4.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" if receiver's account has receiver_sig_required disabled

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…ceiver_sig_required disabled (should execute "eth_sendRawTransaction" if receiver's account has receiver_sig_required disabled)

test-results.05fe91f3a7843239a145077cd4d57c21.xml [took 4m 0s]
test-results.e7261fdfe8b7b84b110493611d7dd7d4.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)