Skip to content

fix: modified isErc for better performance in ERC Registry tool (#1… #483

fix: modified isErc for better performance in ERC Registry tool (#1…

fix: modified isErc for better performance in ERC Registry tool (#1… #483

GitHub Actions / Unit Tests results succeeded Dec 19, 2024 in 0s

All 48 tests pass in 36s

48 tests   - 8   48 ✅  - 7   36s ⏱️ - 6m 0s
 9 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌  - 1 

Results for commit f9dbe60. ± Comparison against earlier commit 4b834fd.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

48 tests found

There are 48 tests, see "Raw output" for the full list of tests.
Raw output
should NOT be able to use approve ‑ ERC20Contract Test Suite should NOT be able to use approve
should NOT be able to use delegateApprove and allowance ‑ ERC20Contract Test Suite should NOT be able to use delegateApprove and allowance
should NOT be able to use delegateTransfer ‑ ERC20Contract Test Suite should NOT be able to use delegateTransfer
should NOT be able to use delegateTransferFrom ‑ ERC20Contract Test Suite should NOT be able to use delegateTransferFrom
should NOT be able to use transfer ‑ ERC20Contract Test Suite should NOT be able to use transfer
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,uint256) ‑ @OZERC20 Test Suite should be able to execute allowance(address,address,uint256)
should be able to execute approve(address,uint256) ‑ @OZERC20 Test Suite 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 ‑ ERC20Contract Test Suite should be able to get token balance of any account
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 ‑ ERC20Contract Test Suite should be able to get token decimals
should be able to get token decimals ‑ IERC20 Test Suite should be able to get token decimals
should be able to get token name ‑ ERC20Contract Test Suite should be able to get token name
should be able to get token name ‑ IERC20 Test Suite should be able to get token name
should be able to get token symbol ‑ ERC20Contract Test Suite should be able to get token symbol
should be able to get token symbol ‑ IERC20 Test Suite should be able to get token symbol
should be able to get token totalSupply ‑ ERC20Contract Test Suite should be able to get token totalSupply
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