Skip to content

Commit e3539a2

Browse files
authored
bump compiler and fix contract error (#36)
1 parent 5dac186 commit e3539a2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

contracts/token/erc721/abstract/ImmutableERC721Base.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ abstract contract ImmutableERC721Base is
120120
}
121121

122122
/// @dev Override of setApprovalForAll from {ERC721}, with added Allowlist approval validation
123-
function setApprovalForAll(address operator, bool approved) public override(ImmutableERC721RoyaltyEnforced, ERC721) {
123+
function setApprovalForAll(address operator, bool approved) public override(ImmutableERC721RoyaltyEnforced, ERC721, IERC721) {
124124
super.setApprovalForAll(operator, approved);
125125
}
126126

127127
/// @dev Override of approve from {ERC721}, with added Allowlist approval validation
128-
function approve(address to, uint256 tokenId) public override(ImmutableERC721RoyaltyEnforced, ERC721) {
128+
function approve(address to, uint256 tokenId) public override(ImmutableERC721RoyaltyEnforced, ERC721, IERC721) {
129129
super.approve(to, tokenId);
130130
}
131131

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
2323
// Go to https://hardhat.org/config/ to learn more
2424

2525
const config: HardhatUserConfig = {
26-
solidity: "0.8.4",
26+
solidity: "0.8.17",
2727
networks: {
2828
ropsten: {
2929
url: process.env.ROPSTEN_URL || "",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@imtbl/zkevm-contracts",
33
"description": "Immutable zkEVM Smart Contracts",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"files": [
66
"contracts"
77
],

0 commit comments

Comments
 (0)