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

6 fail, 31 pass in 26s

 1 files  11 suites   26s ⏱️
37 tests 31 ✅ 0 💤 6 ❌
52 runs  46 ✅ 0 💤 6 ❌

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.7c16c27bf55beca04176ae7d54022195.xml [took 0s]
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.7c16c27bf55beca04176ae7d54022195.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.7c16c27bf55beca04176ae7d54022195.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 Should accept payments and increase the contract's balance

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Modifiers Test Suite Should accept payments and increase the contract's balance (Should accept payments and increase the contract's balance) failed

test-results.7c16c27bf55beca04176ae7d54022195.xml [took 0s]
Raw output
expected 0 to equal 10000000000.
AssertionError: expected 0 to equal 10000000000.
    at Context.<anonymous> (test/solidity/modifiers/Modifiers.js:95:63)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -0
      +10000000000

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.7c16c27bf55beca04176ae7d54022195.xml [took 0s]
Raw output
[Request ID: 6166143e-65c7-47e4-bebe-50e96785db67] execution reverted
ProviderError: [Request ID: 6166143e-65c7-47e4-bebe-50e96785db67] 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 "before each" hook for "should revert deployment"

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

@solidityequiv2 Safe remote purchase Test Suite "before each" hook for "should revert deployment" ("before each" hook for "should revert deployment") failed

test-results.7c16c27bf55beca04176ae7d54022195.xml [took 0s]
Raw output
[Request ID: 7db66cdf-036f-4fe9-bd32-6d00f352fe95] Value can't be non-zero and less than 10_000_000_000 wei which is 1 tinybar
ProviderError: [Request ID: 7db66cdf-036f-4fe9-bd32-6d00f352fe95] Value can't be non-zero and less than 10_000_000_000 wei which is 1 tinybar
    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 setupContract (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/solidity/safe-remote-purchase/safe-remote-purchase.js:38:20)
    at Context.<anonymous> (/home/runner/_work/hedera-smart-contracts/hedera-smart-contracts/test/solidity/safe-remote-purchase/safe-remote-purchase.js:54:19)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Tests results

37 tests found

There are 37 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"
"before each" hook for "should revert deployment" ‑ @solidityequiv2 Safe remote purchase Test Suite "before each" hook for "should revert deployment"
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 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 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)