Skip to content

Commit

Permalink
fix: slither v2
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyRo1 committed Nov 6, 2024
1 parent 3533869 commit 99da002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/src/migrations/Chainlink.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "../interfaces/IPragma.sol";
*/
contract PragmaAggregatorV3 {
bytes32 public feedId;

Check warning

Code scanning / Slither

State variables that could be declared immutable Warning

PragmaAggregatorV3.feedId should be immutable
IPragma public pragmaInterface;
IPragma public immutable pragmaInterface;

constructor(address _pragma, bytes32 _feedId) {
feedId = _feedId;
Expand Down

0 comments on commit 99da002

Please sign in to comment.