Skip to content

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #7829

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes

feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes #7829

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

4 fail, 33 pass in 5m 50s

  3 files  114 suites   5m 50s ⏱️
 37 tests  33 ✅ 0 💤 4 ❌
108 runs  101 ✅ 0 💤 7 ❌

Results for commit e430c25.

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.245fa3f71af2a05f4a5768ea5d6fd4a7.xml [took 0s]
test-results.4e5f3d1736a75079d3f0f267d7b350c0.xml [took 5s]
Raw output
expected '10000' to equal '0'
AssertionError: expected '10000' to equal '0'
    at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:201: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

      -10000
      +0

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.245fa3f71af2a05f4a5768ea5d6fd4a7.xml [took 0s]
test-results.4e5f3d1736a75079d3f0f267d7b350c0.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 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.245fa3f71af2a05f4a5768ea5d6fd4a7.xml [took 0s]
test-results.4e5f3d1736a75079d3f0f267d7b350c0.xml [took 0s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000ffd3ecb71a22c5dbb18d6e7b3d350412323113660000000000000000000000000000000000000000000000000000000000002710", "from": "0xF504866A03440B8e4c8161271305D0D17778f5c9", "to": "0x0000000000000000000000000000000000000413" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.5)
Error: execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000ffd3ecb71a22c5dbb18d6e7b3d350412323113660000000000000000000000000000000000000000000000000000000000002710", "from": "0xF504866A03440B8e4c8161271305D0D17778f5c9", "to": "0x0000000000000000000000000000000000000413" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.5)
    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 each" hook: reducing balance 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 …e enough balance "before each" hook: reducing balance for "reverts" ("before each" hook: reducing balance for "reverts") failed

test-results.7ad64a3bcbde17786f075008c8bf521e.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8b482012a0885a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000040d80b844a9059cbb0000000000000000000000008981210778250b4c9589a703ba755044910114b20000000000000000000000000000000000000000000000000000000000000002c080a0340dbfc14061d9a1638ec343c4b9bdc04be8f0899d945284c794788472b14e7da07071f8f6979cc4388f649fbbead8ac5011d7473fd799cab1e7a3708d6978f968", info={ "error": { "code": 32001, "message": "[Request ID: 026ab0a2-8601-4a04-8693-3f7fae2f186f] Nonce too low. Provided nonce: 8, current nonce: 9" } }, code=NONCE_EXPIRED, version=6.13.5)
Error: nonce has already been used (transaction="0x02f8b482012a0885a54f4c3c0085a54f4c3c008316e36094000000000000000000000000000000000000040d80b844a9059cbb0000000000000000000000008981210778250b4c9589a703ba755044910114b20000000000000000000000000000000000000000000000000000000000000002c080a0340dbfc14061d9a1638ec343c4b9bdc04be8f0899d945284c794788472b14e7da07071f8f6979cc4388f649fbbead8ac5011d7473fd799cab1e7a3708d6978f968", info={ "error": { "code": 32001, "message": "[Request ID: 026ab0a2-8601-4a04-8693-3f7fae2f186f] Nonce too low. Provided nonce: 8, current nonce: 9" } }, code=NONCE_EXPIRED, version=6.13.5)
    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)