Skip to content

Add checks

Add checks #49

GitHub Actions / solhint completed Nov 19, 2024 in 1s

reviewdog [solhint] report

reported by reviewdog 🐶

Findings (7)

contracts/NftInvestmentFund.sol|27 col 2| Rule is set with explicit type [var/s: uint]
contracts/NftInvestmentFund.sol|83 col 3| GC: Use Custom Errors instead of require statements
contracts/NftInvestmentFund.sol|95 col 4| GC: Use Custom Errors instead of require statements
contracts/NftInvestmentFund.sol|116 col 3| GC: Use Custom Errors instead of require statements
contracts/NftInvestmentFund.sol|152 col 3| GC: Use Custom Errors instead of require statements
contracts/NftInvestmentFund.sol|183 col 3| GC: Use Custom Errors instead of require statements
contracts/NftInvestmentFund.sol|187 col 3| GC: Use Custom Errors instead of require statements

Filtered Findings (0)

Annotations

Check warning on line 27 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L27 <explicit-types>

Rule is set with explicit type [var/s: uint]
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":2,"startLine":27}}}],"message":{"text":"Rule is set with explicit type [var/s: uint]"},"ruleId":"explicit-types"}

Check warning on line 83 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L83 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":3,"startLine":83}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}

Check warning on line 95 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L95 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":4,"startLine":95}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}

Check warning on line 116 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L116 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":3,"startLine":116}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}

Check warning on line 152 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L152 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":3,"startLine":152}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}

Check warning on line 183 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L183 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":3,"startLine":183}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}

Check warning on line 187 in contracts/NftInvestmentFund.sol

See this annotation in the file changed.

@github-actions github-actions / solhint

[solhint] contracts/NftInvestmentFund.sol#L187 <gas-custom-errors>

GC: Use Custom Errors instead of require statements
Raw output
{"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":4,"uri":"file:///home/runner/work/sme4dd-eth-lab2/sme4dd-eth-lab2/contracts/NftInvestmentFund.sol"},"region":{"startColumn":3,"startLine":187}}}],"message":{"text":"GC: Use Custom Errors instead of require statements"},"ruleId":"gas-custom-errors"}