You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warnings are critical for developers to pay attention to, so cluttering up the solidity compiler output creates headaches for devs. Please fix these warnings. (Most of them are "unused parameter", so either use the parameter or comment them out)
(Note, chainlink-brownie-contracts is a minimal package that includes just the contracts of @chainlink/contracts, so it's quicker and smaller to download)
warning[5667]: Warning: Unused functionparameter. Remove or comment out the variable name to silence this warning.
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:306:45:
|
306 |functionrequestSubscriptionOwnerTransfer(uint64 _subId, address _newOwner) external pure override {
| ^^^^^^^^^^^^^
warning[5667]: Warning: Unused functionparameter. Remove or comment out the variable name to silence this warning.
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:306:60:
|
306 |functionrequestSubscriptionOwnerTransfer(uint64 _subId, address _newOwner) external pure override {
| ^^^^^^^^^^^^^^^^^
warning[5667]: Warning: Unused functionparameter. Remove or comment out the variable name to silence this warning.
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:310:44:
|
310 |functionacceptSubscriptionOwnerTransfer(uint64 _subId) external pure override {
| ^^^^^^^^^^^^^
warning[5667]: Warning: Unused functionparameter. Remove or comment out the variable name to silence this warning.
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:314:33:
|
314 |functionpendingRequestExists(uint64 subId) public view override returns (bool) {
| ^^^^^^^^^^^^
warning[2018]: Warning: Function state mutability can be restricted to pure
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:261:3:
|
261 |functiongetConfig()| ^ (Relevant source part starts here and spans across multiple lines).
warning[2018]: Warning: Function state mutability can be restricted to pure
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:274:3:
|
274 |functiongetFeeConfig()| ^ (Relevant source part starts here and spans across multiple lines).
warning[2018]: Warning: Function state mutability can be restricted to pure
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:302:3:
|
302 |functiongetFallbackWeiPerUnitLink() external view returns (int256) {
| ^ (Relevant source part starts here and spans across multiple lines).
warning[2018]: Warning: Function state mutability can be restricted to pure
--> lib/chainlink-brownie-contracts/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol:314:3:
|
314 |functionpendingRequestExists(uint64 subId) public view override returns (bool) {
| ^ (Relevant source part starts here and spans across multiple lines).
The text was updated successfully, but these errors were encountered:
zeuslawyer
added
the
investigating
Needs someone to take a deeper look. Has been viewed and someone will figure out the procedure.
label
Apr 18, 2023
Description
Fix warnings in VRFCoordinatorV2Mock.
Warnings are critical for developers to pay attention to, so cluttering up the solidity compiler output creates headaches for devs. Please fix these warnings. (Most of them are "unused parameter", so either use the parameter or comment them out)
(Note,
chainlink-brownie-contracts
is a minimal package that includes just the contracts of @chainlink/contracts, so it's quicker and smaller to download)The text was updated successfully, but these errors were encountered: