ci: fixed check for forked repository on PR (#1153) #543
3 fail, 45 pass in 33s
48 tests 45 ✅ 33s ⏱️
11 suites 0 💤
1 files 3 ❌
Results for commit 7e56460.
Annotations
Check warning on line 0 in should verify it cannot reenter with guard
github-actions / Unit Tests results
@solidityequiv3 Reentrancy Guard Test Suite should verify it cannot reenter with guard (should verify it cannot reenter with guard) failed
test-results.5ffa75f74e23087189ea4113652f43bb.xml [took 2s]
Raw output
[Request ID: 348676bc-3a34-4c6d-8d93-f06902fcb2f4] execution reverted
ProviderError: [Request ID: 348676bc-3a34-4c6d-8d93-f06902fcb2f4] 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.attackNonReentrant (/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/solidity/reentrancy/reentrancy.js:61:12)
Check warning on line 0 in retrieve contract creation code using Type(Contract)
github-actions / Unit Tests results
@solidityequiv3 TypeOps Test Suite retrieve contract creation code using Type(Contract) (retrieve contract creation code using Type(Contract)) failed
test-results.5ffa75f74e23087189ea4113652f43bb.xml [took 0s]
Raw output
expected '0x608060405234801561000f575f80fd5b506…' to equal '0x608060405234801561001057600080fd5b5…'
AssertionError: expected '0x608060405234801561000f575f80fd5b506…' to equal '0x608060405234801561001057600080fd5b5…'
at Context.<anonymous> (test/solidity/typeops/TypeOps.js:45:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0x608060405234801561000f575f80fd5b5060f68061001c5f395ff3fe6080604052348015600e575f80fd5b50600436106030575f3560e01c806345773e4e146034578063c3780a3a146068575b5f80fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051605f91906076565b60405180910390f35b604051607b8152602001605f565b5f602080835283518060208501525f5b8181101560a0578581018301518582016040015282016086565b505f604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220a6b33aa831a084b082be0e133ef9cc09be558761d0bfa6d09f18de9c12dc01dd64736f6c63430008180033
+0x608060405234801561001057600080fd5b5060fc8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b60006020808352835180602085015260005b8181101560a557858101830151858201604001528201608b565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212204a430e336079bde856c4b5655a6be1f72be0df09de753e24a78dfd65962b9d9e64736f6c63430008170033
Check warning on line 0 in retrieve contract runtime code using Type(Contract)
github-actions / Unit Tests results
@solidityequiv3 TypeOps Test Suite retrieve contract runtime code using Type(Contract) (retrieve contract runtime code using Type(Contract)) failed
test-results.5ffa75f74e23087189ea4113652f43bb.xml [took 0s]
Raw output
expected '0x6080604052348015600e575f80fd5b50600…' to equal '0x6080604052348015600f57600080fd5b506…'
AssertionError: expected '0x6080604052348015600e575f80fd5b50600…' to equal '0x6080604052348015600f57600080fd5b506…'
at Context.<anonymous> (test/solidity/typeops/TypeOps.js:53:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0x6080604052348015600e575f80fd5b50600436106030575f3560e01c806345773e4e146034578063c3780a3a146068575b5f80fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051605f91906076565b60405180910390f35b604051607b8152602001605f565b5f602080835283518060208501525f5b8181101560a0578581018301518582016040015282016086565b505f604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220a6b33aa831a084b082be0e133ef9cc09be558761d0bfa6d09f18de9c12dc01dd64736f6c63430008180033
+0x6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b60006020808352835180602085015260005b8181101560a557858101830151858201604001528201608b565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212204a430e336079bde856c4b5655a6be1f72be0df09de753e24a78dfd65962b9d9e64736f6c63430008170033
Check notice on line 0 in .github
github-actions / Unit Tests results
48 tests found
There are 48 tests, see "Raw output" for the full list of tests.
Raw output
Should allow a voter to delegate their vote ‑ @solidityequiv3 Ballot Units Test Suite Should allow a voter to delegate their vote
Should allow voting for a proposal ‑ @solidityequiv3 Ballot Units Test Suite Should allow voting for a proposal
Should correctly compute modular exponentiation ‑ @solidityequiv3 Precompiles Support Test Suite Should correctly compute modular exponentiation
Should correctly compute the ecPairing check ‑ @solidityequiv3 Precompiles Support Test Suite Should correctly compute the ecPairing check
Should correctly determine the winning proposal ‑ @solidityequiv3 Ballot Units Test Suite Should correctly determine the winning proposal
Should give voting rights ‑ @solidityequiv3 Ballot Units Test Suite Should give voting rights
Should have the correct chairperson ‑ @solidityequiv3 Ballot Units Test Suite Should have the correct chairperson
Should return the correct Blake2 hash ‑ @solidityequiv3 Precompiles Support Test Suite Should return the correct Blake2 hash
Should return the correct RIPEMD-160 hash ‑ @solidityequiv3 Precompiles Support Test Suite Should return the correct RIPEMD-160 hash
Should return the correct SHA-256 hash ‑ @solidityequiv3 Precompiles Support Test Suite Should return the correct SHA-256 hash
Should return the same value as input ‑ @solidityequiv3 Precompiles Support Test Suite Should return the same value as input
Should verify the signer of a message using ecrecover ‑ @solidityequiv3 Precompiles Support Test Suite Should verify the signer of a message using ecrecover
confirm 1 == 1 seconds ‑ @solidityequiv3 Time Units Test Suite confirm 1 == 1 seconds
confirm 1 days == 24 hours ‑ @solidityequiv3 Time Units Test Suite confirm 1 days == 24 hours
confirm 1 ether == 1e18 ‑ @solidityequiv3 Crypto Units Test Suite confirm 1 ether == 1e18
confirm 1 gwei == 1e9 ‑ @solidityequiv3 Crypto Units Test Suite confirm 1 gwei == 1e9
confirm 1 hours == 60 minutes ‑ @solidityequiv3 Time Units Test Suite confirm 1 hours == 60 minutes
confirm 1 minutes == 60 seconds ‑ @solidityequiv3 Time Units Test Suite confirm 1 minutes == 60 seconds
confirm 1 weeks == 7 days ‑ @solidityequiv3 Time Units Test Suite confirm 1 weeks == 7 days
confirm 1 wei == 1 ‑ @solidityequiv3 Crypto Units Test Suite confirm 1 wei == 1
gasleft() returns (uint256): remaining gas ‑ @solidityequiv3 Transaction Test Suite gasleft() returns (uint256): remaining gas
msg.data (bytes calldata): complete calldata ‑ @solidityequiv3 Transaction Test Suite msg.data (bytes calldata): complete calldata
msg.sender (address): sender of the message (current call) ‑ @solidityequiv3 Transaction Test Suite msg.sender (address): sender of the message (current call)
msg.sig (bytes4): first four bytes of the calldata (i.e. function identifier) ‑ @solidityequiv3 Transaction Test Suite msg.sig (bytes4): first four bytes of the calldata (i.e. function identifier)
msg.value (uint): number of wei sent with the message ‑ @solidityequiv3 Transaction Test Suite msg.value (uint): number of wei sent with the message
receiver should be able to claim payment and pay for transaction fees ‑ @solidityequiv3 Signature Example ReceiverPays Test Suite receiver should be able to claim payment and pay for transaction fees
receiver should not be able to shutdown contract ‑ @solidityequiv3 Signature Example ReceiverPays Test Suite receiver should not be able to shutdown contract
retrieve contract creation code using Type(Contract) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract creation code using Type(Contract)
retrieve contract integer max using Type(Integer) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract integer max using Type(Integer)
retrieve contract integer min using Type(Integer) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract integer min using Type(Integer)
retrieve contract interface id using Type(Contract) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract interface id using Type(Contract)
retrieve contract name using Type name ‑ @solidityequiv3 TypeOps Test Suite retrieve contract name using Type name
retrieve contract runtime code using Type(Contract) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract runtime code using Type(Contract)
retrieve contract uint max using Type(Uint) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract uint max using Type(Uint)
retrieve contract uint min using Type(Uint) ‑ @solidityequiv3 TypeOps Test Suite retrieve contract uint min using Type(Uint)
sender should be able to shutdown contract ‑ @solidityequiv3 Signature Example ReceiverPays Test Suite sender should be able to shutdown contract
should add two elliptic curve points ‑ @solidityequiv3 Precompiles Support Test Suite should add two elliptic curve points
should confirm "auctionEnd" function works ‑ @solidityequiv3 Simple Auction Test Suite should confirm "auctionEnd" function works
should confirm "bid" function works ‑ @solidityequiv3 Simple Auction Test Suite should confirm "bid" function works
should confirm "withdraw" function works ‑ @solidityequiv3 Simple Auction Test Suite should confirm "withdraw" function works
should confirm bid not high enough scenario works: BidNotHighEnough ‑ @solidityequiv3 Simple Auction Test Suite should confirm bid not high enough scenario works: BidNotHighEnough
should correctly multiply a point on the curve by a scalar ‑ @solidityequiv3 Precompiles Support Test Suite should correctly multiply a point on the curve by a scalar
should revert a bid with "AuctionAlreadyEnded" error ‑ @solidityequiv3 Simple Auction Test Suite should revert a bid with "AuctionAlreadyEnded" error
should verify it cannot reenter with guard ‑ @solidityequiv3 Reentrancy Guard Test Suite should verify it cannot reenter with guard
should verify it reenters without guard ‑ @solidityequiv3 Reentrancy Guard Test Suite should verify it reenters without guard
should verify the solidity functionality: "scoping" ‑ @solidityequiv3 Scoping Test Suite should verify the solidity functionality: "scoping"
tx.gasprice (uint): gas price of the transaction ‑ @solidityequiv3 Transaction Test Suite tx.gasprice (uint): gas price of the transaction
tx.origin (address): sender of the transaction (full call chain) ‑ @solidityequiv3 Transaction Test Suite tx.origin (address): sender of the transaction (full call chain)