Skip to content

feat: change getTokenInfo to view function #1048

feat: change getTokenInfo to view function

feat: change getTokenInfo to view function #1048

GitHub Actions / Test Results failed Dec 20, 2024 in 0s

3 fail, 6 skipped, 285 pass in 12m 9s

 16 files  + 1   83 suites  +9   12m 9s ⏱️ +35s
294 tests +23  285 ✅ +18  6 💤 +2  3 ❌ +3 
303 runs  +23  293 ✅ +18  7 💤 +2  3 ❌ +3 

Results for commit 0a617ac. ± Comparison against earlier commit 80e83f3.

Annotations

Check warning on line 0 in should be able to execute transferToken

See this annotation in the file changed.

@github-actions github-actions / Test Results

TokenTransferContract Test Suite should be able to execute transferToken (should be able to execute transferToken) failed

test-results.6c0e77e413c23830867d3e9ef76b3fba.xml [took 1s]
Raw output
expected 9999999967 to equal 9999999934.
AssertionError: expected 9999999967 to equal 9999999934.
    at Context.<anonymous> (test/system-contracts/hedera-token-service/token-transfer/tokenTransferContract.js:223:36)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -9999999967
      +9999999934

Check warning on line 0 in should query getApproved

See this annotation in the file changed.

@github-actions github-actions / Test Results

TokenQueryContract Test Suite should query getApproved (should query getApproved) failed

test-results.f872d05a1324dae523a9238d8f5a7c52.xml [took 0s]
Raw output
[Request ID: 5b9a60ac-2af4-492a-b29e-2934f547a5ff] execution reverted
ProviderError: [Request ID: 5b9a60ac-2af4-492a-b29e-2934f547a5ff] execution reverted
    at HttpProvider.request (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/core/providers/http.ts:107:21)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at HardhatEthersProvider.estimateGas (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:237:27)
    at /home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:235:35
    at async Promise.all (index 0)
    at HardhatEthersSigner._sendUncheckedTransaction (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:256:7)
    at HardhatEthersSigner.sendTransaction (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:125:18)
    at send (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/ethers/src.ts/contract/contract.ts:313:20)
    at Proxy.getApprovedPublic (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/ethers/src.ts/contract/contract.ts:352:16)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/system-contracts/hedera-token-service/token-query/tokenQueryContract.js:102:16)

Check warning on line 0 in should query isApprovedForAll

See this annotation in the file changed.

@github-actions github-actions / Test Results

TokenQueryContract Test Suite should query isApprovedForAll (should query isApprovedForAll) failed

test-results.f872d05a1324dae523a9238d8f5a7c52.xml [took 0s]
Raw output
[Request ID: ec4f5d72-3c39-456b-971d-bd04c57b071b] execution reverted
ProviderError: [Request ID: ec4f5d72-3c39-456b-971d-bd04c57b071b] execution reverted
    at HttpProvider.request (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/core/providers/http.ts:107:21)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at HardhatEthersProvider.estimateGas (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:237:27)
    at /home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:235:35
    at async Promise.all (index 0)
    at HardhatEthersSigner._sendUncheckedTransaction (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:256:7)
    at HardhatEthersSigner.sendTransaction (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:125:18)
    at send (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/ethers/src.ts/contract/contract.ts:313:20)
    at Proxy.isApprovedForAllPublic (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/ethers/src.ts/contract/contract.ts:352:16)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/system-contracts/hedera-token-service/token-query/tokenQueryContract.js:118:16)