Skip to content

feat: add layer zero examples #4375

feat: add layer zero examples

feat: add layer zero examples #4375

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

15 fail, 3 skipped, 591 pass in 58m 58s

 23 files  ± 0  309 suites  +6   58m 58s ⏱️ + 3m 20s
609 tests  -  8  591 ✅  - 10  3 💤  - 1  15 ❌ +3 
882 runs  +65  859 ✅ +58  4 💤 ±0  19 ❌ +7 

Results for commit c11d82e. ± Comparison against earlier commit 4cac520.

Annotations

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.57d2a676fb563e50bc6569e19531ec8e.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)

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

2 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.57d2a676fb563e50bc6569e19531ec8e.xml [took 16s]
test-results.a4fd5d3129a61c9671bcdc0a18d42801.xml [took 2s]
Raw output
expected false to be true
AssertionError: expected false to be true
    at Context.<anonymous> (packages/server/tests/acceptance/rpc_batch1.spec.ts:1310: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

      -false
      +true

Check warning on line 0 in should execute "eth_sendRawTransaction" of type 1 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 1 and deploy a real contract (should execute "eth_sendRawTransaction" of type 1 and deploy a real contract)

test-results.57d2a676fb563e50bc6569e19531ec8e.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)

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.57d2a676fb563e50bc6569e19531ec8e.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)

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.57d2a676fb563e50bc6569e19531ec8e.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)

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.57d2a676fb563e50bc6569e19531ec8e.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)

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.57d2a676fb563e50bc6569e19531ec8e.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)

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.57d2a676fb563e50bc6569e19531ec8e.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.57d2a676fb563e50bc6569e19531ec8e.xml [took 16s]
test-results.a4fd5d3129a61c9671bcdc0a18d42801.xml [took 16s]
test-results.c661785e6f6b4e1ac940f025b48f1f09.xml [took 0s]
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

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 @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.39b0f32c8152be0d87ed2670a5203308.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 "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.a07b7ec63091dd2895bf8a2b60942367.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)

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

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

test-results.6935fb30c5bbd774a7b5c622621fad75.xml [took 4m 0s]
test-results.e78c62f8c2874e9ccd571616292eabaa.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 from/to Addresses in transaction to a contract (deployed through the relay) are in evm and long-zero format

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-2 RPC Server Acceptance Tests Formats of addres… long-zero format (from/to Addresses in transaction to a contract (deployed through the relay) are in evm and long-zero format)

test-results.6935fb30c5bbd774a7b5c622621fad75.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.c661785e6f6b4e1ac940f025b48f1f09.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 "before each" hook for "from/to Addresses when transferring HTS tokens to the tokenAddress are in evm and long-zero format"

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 "from/to Addresses…ore each" hook for "from/to Addresses when transferring HTS tokens to the tokenAddress are in evm and long-zero format") failed

test-results.6935fb30c5bbd774a7b5c622621fad75.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)