Skip to content

Instantly share code, notes, and snippets.

@ilya-korotya
Created September 6, 2023 11:13
Show Gist options
  • Save ilya-korotya/f44c0d408ae985daadc2a58212a39584 to your computer and use it in GitHub Desktop.
Save ilya-korotya/f44c0d408ae985daadc2a58212a39584 to your computer and use it in GitHub Desktop.
Contract warnings
Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
--> contracts/interfaces/IVerifier.sol
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:41:9:
|
41 | ICircuitValidator validator
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:59:9:
|
59 | address operator,
| ^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:60:9:
|
60 | address from,
| ^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:62:9:
|
62 | uint256[] memory ids,
| ^^^^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:63:9:
|
63 | uint256[] memory amounts,
| ^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:64:9:
|
64 | bytes memory data
|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment