Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "next",
"dev": "next dev",
"build": "next build",
"start": "next start",
"link-contracts": "cd lib && ln -s ../../build/contracts contracts"
},
"dependencies": {
"next": "^6.1.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"next": "12.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"web3": "^1.0.0-beta.34"
}
}
5 changes: 3 additions & 2 deletions contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pragma solidity ^0.4.24;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Migrations {
address public owner;
Expand All @@ -8,7 +9,7 @@ contract Migrations {
if (msg.sender == owner) _;
}

constructor() public {
constructor() {
owner = msg.sender;
}

Expand Down
4 changes: 2 additions & 2 deletions contracts/SimpleStorage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

pragma solidity ^0.4.24;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract SimpleStorage {
uint storedData;
Expand Down
Loading