Skip to content

Commit 9bc5364

Browse files
authored
Merge pull request #278 from MoMannn/solidity-update
Update solidity version.
2 parents 49d1861 + 763a6dd commit 9bc5364

24 files changed

+24
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ You have created and have possession of unique glass-blown artwork (each having
7878
To do this, simply paste the code below into Remix and deploy the smart contract. You will "mint" a token for each new piece of artwork you want to see. Then you will "burn" that token when you surrender physical possession of the piece.
7979

8080
```solidity
81-
pragma solidity 0.8.6;
81+
pragma solidity ^0.8.0;
8282
8383
import "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol";
8484
import "https://github.com/0xcert/ethereum-erc721/src/contracts/ownership/ownable.sol";

hardhat.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require('solidity-coverage');
66
* @type import('hardhat/config').HardhatUserConfig
77
*/
88
module.exports = {
9-
solidity: '0.8.6',
9+
solidity: '0.8.9',
1010
networks: {
1111
hardhat: {
1212
initialBaseFeePerGas: 0 // hardhat london fork error fix for coverage

src/contracts/mocks/nf-token-enumerable-mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
import "../../contracts/tokens/nf-token-enumerable.sol";
55
import "../ownership/ownable.sol";

src/contracts/mocks/nf-token-metadata-enumerable-mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
import "../tokens/nf-token-metadata.sol";
55
import "../tokens/nf-token-enumerable.sol";

src/contracts/mocks/nf-token-metadata-mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
import "../tokens/nf-token-metadata.sol";
55
import "../ownership/ownable.sol";

src/contracts/mocks/nf-token-mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
import "../../contracts/tokens/nf-token.sol";
55
import "../ownership/ownable.sol";

src/contracts/ownership/ownable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
/**
55
* @dev The contract has an owner address, and provides basic authorization control whitch

src/contracts/tokens/erc721-enumerable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
/**
55
* @dev Optional enumeration extension for ERC-721 non-fungible token standard.

src/contracts/tokens/erc721-metadata.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
/**
55
* @dev Optional metadata extension for ERC-721 non-fungible token standard.

src/contracts/tokens/erc721-token-receiver.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.6;
2+
pragma solidity ^0.8.0;
33

44
/**
55
* @dev ERC-721 interface for accepting safe transfers.

0 commit comments

Comments
 (0)