Skip to content

Commit 55950cc

Browse files
authored
fix(coins): uncomment pragma (#1348)
## Description Fixed a formatting issue in the license comment section of BaseCoin.sol where the pragma solidity statement was incorrectly merged with the license URL. This change properly separates the license URL and the pragma statement onto separate lines. ## Motivation and Context This fix ensures proper syntax highlighting and compiler interpretation of the pragma statement, which was previously part of the license comment. The incorrect formatting could potentially cause confusion for developers and issues with tooling that parses Solidity files. ## Does this change the ABI/API? - [ ] This changes the ABI/API ## What tests did you add/modify to account for these changes No additional tests were needed as this is a formatting fix that doesn't affect functionality. ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New module / feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist: - [x] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I added a changeset to account for this change ## Reviewer Checklist: - [ ] My review includes a symposis of the changes and potential issues - [ ] The code style is enforced - [ ] There are no risky / concerning changes / additions to the PR
1 parent 1f4aa08 commit 55950cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/coins/src/BaseCoin.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// non-commercial purposes only. Commercial use and competitive products are prohibited
55
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
66
// at which point this software automatically becomes available under the MIT License.
7-
// Full license terms available at: https://docs.zora.co/coins/licensepragma solidity ^0.8.23;
7+
// Full license terms available at: https://docs.zora.co/coins/license
8+
pragma solidity ^0.8.23;
89

910
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
1011
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";

0 commit comments

Comments
 (0)