Skip to content

test: extended coverage for debug_traceTransaction with opcode logger… #114

test: extended coverage for debug_traceTransaction with opcode logger…

test: extended coverage for debug_traceTransaction with opcode logger… #114

GitHub Actions / Unit Tests results failed Feb 3, 2025 in 0s

1 fail, 38 pass in 41s

 1 files  ± 0  10 suites  +8   41s ⏱️ +18s
39 tests +29  38 ✅ +28  0 💤 ±0  1 ❌ +1 
48 runs  +38  47 ✅ +37  0 💤 ±0  1 ❌ +1 

Results for commit a307013. ± Comparison against earlier commit 6fa33ab.

Annotations

Check warning on line 0 in "before all" hook for "should be able to get token name"

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

ERC20Contract Test Suite "before all" hook for "should be able to get token name" ("before all" hook for "should be able to get token name") failed

test-results.d75c2bb9cecb51ec6bd63593ce56ef70.xml [took 5s]
Raw output
[Request ID: 0ed690ac-c2bc-45cf-92dd-237a77af5207] Error invoking RPC: transaction must have been frozen before calculating the hash will be stable, try calling `freeze`
ProviderError: [Request ID: 0ed690ac-c2bc-45cf-92dd-237a77af5207] Error invoking RPC: transaction must have been frozen before calculating the hash will be stable, try calling `freeze`
    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 HardhatEthersSigner.sendTransaction (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:125:18)
    at ContractFactory.deploy (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/ethers/src.ts/contract/factory.ts:111:24)
    at Function.deployTokenTransferContract (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/system-contracts/hedera-token-service/utils.js:156:27)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/system-contracts/hedera-token-service/erc-20/ERC20Contract.js:37:29)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

39 tests found

There are 39 tests, see "Raw output" for the full list of tests.
Raw output
"before all" hook for "should be able to get token name" ‑ ERC20Contract Test Suite "before all" hook for "should be able to get token name"
should be able to approve another account ‑ IERC20 Test Suite should be able to approve another account
should be able to delegate votes ‑ @OZERC20Votes Test Suite should be able to delegate votes
should be able to execute allowance(address,address) ‑ @OZERC20 Test Suite should be able to approve an amount and read a corresponding allowance should be able to execute allowance(address,address)
should be able to execute approve(address,uint256) ‑ @OZERC20 Test Suite should be able to approve an amount and read a corresponding allowance should be able to execute approve(address,uint256)
should be able to execute burn(amount) ‑ @OZERC20Extensions Test Suite ERC20Burnable tests should be able to execute burn(amount)
should be able to execute burnFrom(address, amount) ‑ @OZERC20Extensions Test Suite ERC20Burnable tests should be able to execute burnFrom(address, amount)
should be able to execute cap() ‑ @OZERC20Extensions Test Suite ERC20Cap tests should be able to execute cap()
should be able to execute decimals() ‑ @OZERC20 Test Suite should be able to execute decimals()
should be able to execute name() ‑ @OZERC20 Test Suite should be able to execute name()
should be able to execute symbol() ‑ @OZERC20 Test Suite should be able to execute symbol()
should be able to execute totalSupply() ‑ @OZERC20 Test Suite should be able to execute totalSupply()
should be able to execute transfer(address,uint256) ‑ @OZERC20 Test Suite should be able to execute transfer(address,uint256)
should be able to execute transferFrom to another account ‑ IERC20 Test Suite should be able to execute transferFrom to another account
should be able to execute transferFrom(address,address,uint256) ‑ @OZERC20 Test Suite should be able to execute transferFrom(address,address,uint256)
should be able to get execute balanceOf(address) ‑ @OZERC20 Test Suite should be able to get execute balanceOf(address)
should be able to get token balance of any account ‑ IERC20 Test Suite should be able to get token balance of any account
should be able to get token decimals ‑ IERC20 Test Suite should be able to get token decimals
should be able to get token name ‑ IERC20 Test Suite should be able to get token name
should be able to get token symbol ‑ IERC20 Test Suite should be able to get token symbol
should be able to get token totalSupply ‑ IERC20 Test Suite should be able to get token totalSupply
should be able to transfer tokens to another account ‑ IERC20 Test Suite should be able to transfer tokens to another account
should check if create/mint the erc20 tokens happened when contract created ‑ @OZERC20Votes Test Suite should check if create/mint the erc20 tokens happened when contract created
should fail to burn tokens if the user doesn't have enough balance ‑ @OZERC20Extensions Test Suite ERC20Burnable tests should fail to burn tokens if the user doesn't have enough balance
should fail to mint when trying to mint tokens exceeding the cap ‑ @OZERC20Extensions Test Suite ERC20Cap tests should fail to mint when trying to mint tokens exceeding the cap
should get the time: clock() ‑ @OZERC20Votes Test Suite should get the time: clock()
should not allow transfers when paused ‑ @OZERC20Extensions Test Suite ERC20Pause tests should not allow transfers when paused
should pause and unpause the token ‑ @OZERC20Extensions Test Suite ERC20Pause tests should pause and unpause the token
should produce an error when looking up tottle supply in the future (getPastTotalSupply)  ‑ @OZERC20Votes Test Suite should produce an error when looking up tottle supply in the future (getPastTotalSupply) 
should produce an error when looking up votes in the future (getPastVotes)  ‑ @OZERC20Votes Test Suite should produce an error when looking up votes in the future (getPastVotes) 
should return the correct value for CLOCK_MODE  ‑ @OZERC20Votes Test Suite should return the correct value for CLOCK_MODE 
should return the current amount of votes that `account` has  ‑ @OZERC20Votes Test Suite should return the current amount of votes that `account` has 
should return the current amount of votes that `account` has in the past (getPastVotes)  ‑ @OZERC20Votes Test Suite should return the current amount of votes that `account` has in the past (getPastVotes) 
should return the delegate that `account` has chosen. ‑ @OZERC20Votes Test Suite should return the delegate that `account` has chosen.
should revert when a non-owner tries to pause or unpause the contract ‑ @OZERC20Extensions Test Suite ERC20Pause tests should revert when a non-owner tries to pause or unpause the contract
should revert when trying to burn tokens from another account more than accepted allowance ‑ @OZERC20Extensions Test Suite ERC20Burnable tests should revert when trying to burn tokens from another account more than accepted allowance
should revert when trying to burn tokens from another account without allowance ‑ @OZERC20Extensions Test Suite ERC20Burnable tests should revert when trying to burn tokens from another account without allowance
should revert when trying to mint tokens while paused ‑ @OZERC20Extensions Test Suite ERC20Pause tests should revert when trying to mint tokens while paused
should revert when trying to pause the contract when it's already paused ‑ @OZERC20Extensions Test Suite ERC20Pause tests should revert when trying to pause the contract when it's already paused