feat: add layer zero examples #1724
15 fail, 4 skipped, 593 pass in 48m 22s
Annotations
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.0d6d7a48168f9cccdba9348806be23f2.xml [took 19s]
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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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 1 and deploy a real contract (should execute "eth_sendRawTransaction" of type 1 and deploy a real contract)
test-results.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
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.0d6d7a48168f9cccdba9348806be23f2.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)
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.0d6d7a48168f9cccdba9348806be23f2.xml [took 16s]
test-results.be1def22167f4d2587463e4fe29b328f.xml [took 16s]
test-results.da5555285d7ee1ea02881600d656b61f.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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 other account transfers tokens back to owner
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests ERC20 Contract should behave like … when the spender has enough tokens other account transfers tokens back to owner (other account transfers tokens back to owner)
test-results.3e756b724065b3760ee6810475b72a66.xml [took 5s]
Raw output
expected '0' to equal '10000'
AssertionError: expected '0' to equal '10000'
at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:220:57)
at Generator.next (<anonymous>)
at fulfilled (packages/server/tests/acceptance/erc20.spec.ts:47:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0
+10000
Check warning on line 0 in @release contract owner transfers tokens
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.1dcb17d9fbc4122f7deb602ca1358a89.xml [took 5s]
test-results.8542616be5b793f65f68bc78f49aed54.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb000000000000000000000000742470de4513e879d722fd28db9868405a4073740000000000000000000000000000000000000000000000000000000000002710c001a01471bb6a74481488dcb71c4c887bff6e70f0f75e41a0c15426ef9036908ff138a018f4216d549d83ce77487eeaffa7b16fd859d9ed4b776666cb4f47a8fc2dc6e3", info={ "error": { "code": 32001, "message": "[Request ID: cedbfcc4-b8b2-4688-beff-7bd862901fb2] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb000000000000000000000000742470de4513e879d722fd28db9868405a4073740000000000000000000000000000000000000000000000000000000000002710c001a01471bb6a74481488dcb71c4c887bff6e70f0f75e41a0c15426ef9036908ff138a018f4216d549d83ce77487eeaffa7b16fd859d9ed4b776666cb4f47a8fc2dc6e3", info={ "error": { "code": 32001, "message": "[Request ID: cedbfcc4-b8b2-4688-beff-7bd862901fb2] 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
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.1dcb17d9fbc4122f7deb602ca1358a89.xml [took 4m 0s]
test-results.8542616be5b793f65f68bc78f49aed54.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
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.1dcb17d9fbc4122f7deb602ca1358a89.xml [took 0s]
test-results.8542616be5b793f65f68bc78f49aed54.xml [took 0s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000384576dce26d36288add61ed0de28137e50a622a0000000000000000000000000000000000000000000000000000000000002710", "from": "0x742470DE4513e879d722FD28dB9868405a407374", "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": "0xa9059cbb000000000000000000000000384576dce26d36288add61ed0de28137e50a622a0000000000000000000000000000000000000000000000000000000000002710", "from": "0x742470DE4513e879d722FD28dB9868405a407374", "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)
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-2 eth_sendRawTransaction Standard Web So…loyment transaction (Should execute eth_sendRawTransaction on Standard Web Socket for the deterministic deployment transaction)
test-results.2b49ba45ad3c68eeb6c3377c2b0680f2.xml [took 22s]
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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)
github-actions / Test Results
2 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-2 eth_sendRawTransaction Ethers Web Sock…ts correctly (@release Should execute eth_sendRawTransaction on Ethers Web Socket Provider and handle valid requests correctly)
test-results.2b49ba45ad3c68eeb6c3377c2b0680f2.xml [took 15s]
test-results.9be08270b61b8cb06419d7acd11eb6ef.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:531:35)
at endReadableNT (node:internal/streams/readable:1696: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)