Skip to content

ci: fixed check for forked repository on PR (#1153) #543

ci: fixed check for forked repository on PR (#1153)

ci: fixed check for forked repository on PR (#1153) #543

GitHub Actions / Unit Tests results failed Jan 13, 2025 in 0s

9 fail, 36 pass in 30s

 1 files  13 suites   30s ⏱️
45 tests 36 ✅ 0 💤 9 ❌
59 runs  50 ✅ 0 💤 9 ❌

Results for commit 7e56460.

Annotations

Check warning on line 0 in "before all" hook for "should confirm assert works"

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Solidity Errors Test Suite "before all" hook for "should confirm assert works" ("before all" hook for "should confirm assert works") failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 1s]
Raw output
HH701: There are multiple artifacts for contract "Errors", please use a fully qualified name.  Please replace Errors for one of these options wherever you are trying to read its artifact:  @openzeppelin/contracts/utils/Errors.sol:Errors contracts/solidity/errors/Errors.sol:Errors
HardhatError: HH701: There are multiple artifacts for contract "Errors", please use a fully qualified name.

Please replace Errors for one of these options wherever you are trying to read its artifact:

@openzeppelin/contracts/utils/Errors.sol:Errors
contracts/solidity/errors/Errors.sol:Errors

    at Artifacts._getArtifactPathFromFiles (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:860:13)
    at Artifacts._getArtifactPath (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:516:21)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Artifacts.readArtifact (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:71:26)
    at getContractFactory (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/helpers.ts:107:22)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/solidity/errors/errors.js:34:21)

Check warning on line 0 in "before all" hook for "should verify panic error 0x01"

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Panic Errors Test Suite "before all" hook for "should verify panic error 0x01" ("before all" hook for "should verify panic error 0x01") failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
HH701: There are multiple artifacts for contract "Panic", please use a fully qualified name.  Please replace Panic for one of these options wherever you are trying to read its artifact:  @openzeppelin/contracts/utils/Panic.sol:Panic contracts/solidity/errors/Panic.sol:Panic
HardhatError: HH701: There are multiple artifacts for contract "Panic", please use a fully qualified name.

Please replace Panic for one of these options wherever you are trying to read its artifact:

@openzeppelin/contracts/utils/Panic.sol:Panic
contracts/solidity/errors/Panic.sol:Panic

    at Artifacts._getArtifactPathFromFiles (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:860:13)
    at Artifacts._getArtifactPath (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:516:21)
    at Artifacts.readArtifact (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/hardhat/src/internal/artifacts.ts:71:26)
    at getContractFactory (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/helpers.ts:107:22)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/solidity/errors/panicErrors.js:34:21)

Check warning on line 0 in should confirm "payable" functionality

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Solidity Functions Test Suite should confirm "payable" functionality (should confirm "payable" functionality) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
expected 0 to equal 100000000.
AssertionError: expected 0 to equal 100000000.
    at Context.<anonymous> (test/solidity/functions/functions.js:76:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -0
      +100000000

Check warning on line 0 in Create new contract using `new` keyword with data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 New Keyword Test Suite Create new contract using `new` keyword with data (Create new contract using `new` keyword with data) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
[Request ID: 26c2bef8-1ab8-4d4a-8677-95cd39a1381e] execution reverted
ProviderError: [Request ID: 26c2bef8-1ab8-4d4a-8677-95cd39a1381e] 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.createContractWithData (/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/new/New.js:47:5)

Check warning on line 0 in should Confirm the purchase as buyer

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests: should Confirm the purchase as buyer (should Confirm the purchase as buyer) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
[Request ID: 38254f44-d041-4103-8126-63483a75636a] execution reverted
ProviderError: [Request ID: 38254f44-d041-4103-8126-63483a75636a] 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.confirmPurchase (/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/safe-remote-purchase/safe-remote-purchase.js:102:26)

Check warning on line 0 in should confirm that purchase is Received

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests: should confirm that purchase is Received (should confirm that purchase is Received) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
expected 0 to equal 1.
AssertionError: expected 0 to equal 1.
    at Context.<anonymous> (test/solidity/safe-remote-purchase/safe-remote-purchase.js:116:31)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -0
      +1

Check warning on line 0 in should confirm that seller can be refunded

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests: should confirm that seller can be refunded (should confirm that seller can be refunded) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
expected 0 to equal 2.
AssertionError: expected 0 to equal 2.
    at Context.<anonymous> (test/solidity/safe-remote-purchase/safe-remote-purchase.js:128:31)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -0
      +2

Check warning on line 0 in should confirm onlyBuyer modifier

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm onlyBuyer modifier (should confirm onlyBuyer modifier) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
[Request ID: 7ace3a36-ebf2-49f6-bcf9-920110538d18] execution reverted
ProviderError: [Request ID: 7ace3a36-ebf2-49f6-bcf9-920110538d18] 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.confirmPurchase (/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/safe-remote-purchase/safe-remote-purchase.js:141:26)

Check warning on line 0 in should confirm inState modifier

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm inState modifier (should confirm inState modifier) failed

test-results.1ca904c4bd361a0216b2756f60e4f0e8.xml [took 0s]
Raw output
[Request ID: cfea85f8-800f-4845-8a5b-d2bc9c22a925] execution reverted
ProviderError: [Request ID: cfea85f8-800f-4845-8a5b-d2bc9c22a925] 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.confirmPurchase (/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/safe-remote-purchase/safe-remote-purchase.js:158:26)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

45 tests found

There are 45 tests, see "Raw output" for the full list of tests.
Raw output
"before all" hook for "should confirm assert works" ‑ @solidityequiv2 Solidity Errors Test Suite "before all" hook for "should confirm assert works"
"before all" hook for "should verify panic error 0x01" ‑ @solidityequiv2 Panic Errors Test Suite "before all" hook for "should verify panic error 0x01"
Create new contract using `new` keyword with data ‑ @solidityequiv2 New Keyword Test Suite Create new contract using `new` keyword with data
Create new contract using `new` keyword with salt ‑ @solidityequiv2 New Keyword Test Suite Create new contract using `new` keyword with salt
Create new contract using `new` keyword ‑ @solidityequiv2 New Keyword Test Suite Create new contract using `new` keyword
Deployment ‑ @solidityequiv2 Modular Token Test Suite Deployment
Shoud extend the expiration of the payment channel when caller is the sender ‑ @solidityequiv2 PaymentChannel Test Suite Shoud extend the expiration of the payment channel when caller is the sender
Should accept payments and increase the contract's balance ‑ @solidityequiv2 Modifiers Test Suite Should accept payments and increase the contract's balance
Should call receiveData in Receiver contract via Sender using abi.encodeCall ‑ @solidityequiv2 Encoding Test Suite Should call receiveData in Receiver contract via Sender using abi.encodeCall
Should call receiveData in Receiver contract via Sender using abi.encodeWithSignature ‑ @solidityequiv2 Encoding Test Suite Should call receiveData in Receiver contract via Sender using abi.encodeWithSignature
Should close the payment channel when recipient execute close method ‑ @solidityequiv2 PaymentChannel Test Suite Should close the payment channel when recipient execute close method
Should decode data ‑ @solidityequiv2 Encoding Test Suite Should decode data
Should deployed with correct deployed arguments - open payment channel ‑ @solidityequiv2 PaymentChannel Test Suite Should deployed with correct deployed arguments - open payment channel
Should emit indexed from and to values in the RegularEvent ‑ @solidityequiv2 Modifiers Test Suite Should emit indexed from and to values in the RegularEvent
Should emit the AnonymousEvent with correct values ‑ @solidityequiv2 Modifiers Test Suite Should emit the AnonymousEvent with correct values
Should encode data ‑ @solidityequiv2 Encoding Test Suite Should encode data
Should encode pack data ‑ @solidityequiv2 Encoding Test Suite Should encode pack data
Should execute the add function and return the correct result to illustrate abi.encodeWitSelector ‑ @solidityequiv2 Encoding Test Suite Should execute the add function and return the correct result to illustrate abi.encodeWitSelector
Should have the correct MAX_SUPPLY value ‑ @solidityequiv2 Modifiers Test Suite Should have the correct MAX_SUPPLY value
Should let `msg.sender` approve an `amount` of allowance for `spender` ‑ @solidityequiv2 Modular Token Test Suite Should let `msg.sender` approve an `amount` of allowance for `spender`
Should let `msg.sender` transfer an `amount` to `to` on behalf of `from` ‑ @solidityequiv2 Modular Token Test Suite Should let `msg.sender` transfer an `amount` to `to` on behalf of `from`
Should not extend the expiration of the payment channel when caller is NOT the sender ‑ @solidityequiv2 PaymentChannel Test Suite Should not extend the expiration of the payment channel when caller is NOT the sender
Should not modify the contract's state after calling a pure function ‑ @solidityequiv2 Modifiers Test Suite Should not modify the contract's state after calling a pure function
Should not modify the contract's state when calling a view function ‑ @solidityequiv2 Modifiers Test Suite Should not modify the contract's state when calling a view function
Should release back the fund balance stored in the contract to sender when the timeout is reached ‑ @solidityequiv2 PaymentChannel Test Suite Should release back the fund balance stored in the contract to sender when the timeout is reached
Should return the message in the from ContractB that overrides the show function ‑ @solidityequiv2 Modifiers Test Suite Should return the message in the from ContractB that overrides the show function
Should return the message in the from the derived contract that overrides the virtual function ‑ @solidityequiv2 Modifiers Test Suite Should return the message in the from the derived contract that overrides the virtual function
Should set deploymentTimestamp to the block timestamp of deployment ‑ @solidityequiv2 Modifiers Test Suite Should set deploymentTimestamp to the block timestamp of deployment
Should transfer an `amount` of token from `msg.sender` to `to` address ‑ @solidityequiv2 Modular Token Test Suite Should transfer an `amount` of token from `msg.sender` to `to` address
should Abort contract ‑ @solidityequiv2 Safe remote purchase Test Suite should Abort contract
should Confirm the purchase as buyer ‑ @solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests:  should Confirm the purchase as buyer
should confirm "external" functionality ‑ @solidityequiv2 Solidity Functions Test Suite should confirm "external" functionality
should confirm "function func(uint k, uint)": omitted parameter name ‑ @solidityequiv2 Solidity Functions Test Suite should confirm "function func(uint k, uint)": omitted parameter name
should confirm "internal" functionality ‑ @solidityequiv2 Solidity Functions Test Suite should confirm "internal" functionality
should confirm "method({param1: value1, param2: value2...}): name properties" functionality ‑ @solidityequiv2 Solidity Functions Test Suite should confirm "method({param1: value1, param2: value2...}): name properties" functionality
should confirm "payable" functionality ‑ @solidityequiv2 Solidity Functions Test Suite should confirm "payable" functionality
should confirm condition modifier ‑ @solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm condition modifier
should confirm inState modifier ‑ @solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm inState modifier
should confirm onlyBuyer modifier ‑ @solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm onlyBuyer modifier
should confirm onlySeller modifier ‑ @solidityequiv2 Safe remote purchase Test Suite test contract modifiers should confirm onlySeller modifier
should confirm solidity functionality: super ‑ @solidityequiv2 Crypto Inheritance Tests should confirm solidity functionality: super
should confirm solidity functionality: this (current contract's type) ‑ @solidityequiv2 Crypto Inheritance Tests should confirm solidity functionality: this (current contract's type)
should confirm that purchase is Received ‑ @solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests:  should confirm that purchase is Received
should confirm that seller can be refunded ‑ @solidityequiv2 Safe remote purchase Test Suite standard flow buyer -> seller tests:  should confirm that seller can be refunded
should revert deployment ‑ @solidityequiv2 Safe remote purchase Test Suite should revert deployment