diff --git a/contracts/ERC721Baseline.sol b/contracts/ERC721Baseline.sol index e8eb375..3477667 100644 --- a/contracts/ERC721Baseline.sol +++ b/contracts/ERC721Baseline.sol @@ -7,7 +7,7 @@ import {IERC721Baseline} from "./IERC721Baseline.sol"; /** * @title ERC721Baseline - * @custom:version v0.1.0-alpha.10 + * @custom:version v0.1.0 * @notice A minimal proxy contract for ERC721BaselineImplementation. * * @dev ERC721BaselineImplementation uses ERC-7201 (Namespaced Storage Layout) diff --git a/contracts/ERC721BaselineImplementation.sol b/contracts/ERC721BaselineImplementation.sol index a874499..03feace 100644 --- a/contracts/ERC721BaselineImplementation.sol +++ b/contracts/ERC721BaselineImplementation.sol @@ -10,7 +10,7 @@ import {Utils} from "./Utils.sol"; /** * @title ERC721BaselineImplementation - * @custom:version v0.1.0-alpha.10 + * @custom:version v0.1.0 * @notice A baseline ERC721 contract implementation that exposes internal methods to a proxy instance. */ contract ERC721BaselineImplementation is ERC721Upgradeable, IERC721Baseline { @@ -90,7 +90,7 @@ contract ERC721BaselineImplementation is ERC721Upgradeable, IERC721Baseline { } constructor() { - _getStorage().VERSION = "0.1.0-alpha.10"; + _getStorage().VERSION = "0.1.0"; _disableInitializers(); } diff --git a/contracts/IERC721Baseline.sol b/contracts/IERC721Baseline.sol index f04bfc0..ccb329a 100644 --- a/contracts/IERC721Baseline.sol +++ b/contracts/IERC721Baseline.sol @@ -7,7 +7,7 @@ import {IERC2981} from "@openzeppelin/contracts/interfaces/IERC2981.sol"; /** * @title IERC721Baseline - * @custom:version v0.1.0-alpha.10 + * @custom:version v0.1.0 * @notice A baseline ERC721 contract implementation that exposes internal methods to a proxy instance. */ interface IERC721Baseline is IERC721, IERC2981 { diff --git a/contracts/Utils.sol b/contracts/Utils.sol index f727c98..e80589c 100644 --- a/contracts/Utils.sol +++ b/contracts/Utils.sol @@ -4,7 +4,7 @@ pragma solidity 0.8.21; /** * @title Utils - * @custom:version v0.1.0-alpha.10 + * @custom:version v0.1.0 * @notice Utilities used in ERC721Baseline. */ library Utils { diff --git a/package-lock.json b/package-lock.json index 5f6f9c4..5c25453 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "erc721baseline", - "version": "0.1.0-alpha.10", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "erc721baseline", - "version": "0.1.0-alpha.10", + "version": "0.1.0", "license": "MIT", "dependencies": { "@openzeppelin/contracts": "5.0.1", diff --git a/package.json b/package.json index 0e7d2c5..279a8fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "erc721baseline", - "version": "0.1.0-alpha.10", + "version": "0.1.0", "description": "A baseline ERC721 contract implementation that exposes internal methods to a proxy instance", "files": [ "contracts/*.sol", diff --git a/truffle-config.js b/truffle-config.js index a09f738..8decd96 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -122,15 +122,16 @@ module.exports = { // Configure your compilers compilers: { solc: { - version: "0.8.21", // Fetch exact version from solc-bin (default: truffle's version) + version: "0.8.21", // Fetch exact version from solc-bin (default: truffle's version) // docker: true, // Use "0.5.1" you've installed locally with docker (default: false) - // settings: { // See the solidity docs for advice about optimization and evmVersion - // optimizer: { - // enabled: false, - // runs: 200 - // }, - // evmVersion: "byzantium" - // } + settings: { + // See the solidity docs for advice about optimization and evmVersion + optimizer: { + enabled: true, + runs: 20000, + }, + evmVersion: "shanghai", + }, }, },