Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Nov 16, 2023
1 parent b16ca78 commit 6a3dc84
Show file tree
Hide file tree
Showing 8 changed files with 811 additions and 1,416 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn lint
Expand All @@ -22,6 +23,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn test:ci
Expand All @@ -32,6 +34,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn coverage
Expand Down
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
"gvf" + // Run full inliner
"CTUca[r]LSsTFOtfDnca[r]Ilc" + // SSA plus simplify
"]" +
"jml[jl] VcTOcl jml : fDnTOc",
"jml[jl] VcTOcl jml : fDnTOcm",
},
},
skipFiles: ['mocks', 'interfaces'],
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"solidity.compileUsingRemoteVersion": "v0.8.21"
"solidity.compileUsingRemoteVersion": "v0.8.23"
}
2 changes: 1 addition & 1 deletion contracts/Example.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.21;
pragma solidity 0.8.23;

/**
* @title Example contract
Expand Down
11 changes: 7 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@ require('hardhat-gas-reporter');
require('hardhat-tracer');
require('solidity-coverage');

const { networks, etherscan } = require('./hardhat.networks');
const { Networks, getNetwork } = require('@1inch/solidity-utils/dist/src/networks');

const { networks, etherscan } = new Networks();

module.exports = {
etherscan,
networks,
solidity: {
compilers: [
{
version: '0.8.21',
version: '0.8.23',
settings: {
optimizer: {
enabled: true,
runs: 1000000,
},
evmVersion: (networks[getNetwork()])?.hardfork || 'shanghai',
viaIR: true,
},
},
Expand All @@ -32,6 +33,8 @@ module.exports = {
default: 0,
},
},
networks,
etherscan,
tracer: {
enableAllOpcodes: true,
},
Expand Down
48 changes: 0 additions & 48 deletions hardhat.networks.js

This file was deleted.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "solidity-template",
"version": "0.0.1",
"version": "1.0.0",
"description": "",
"repository": {
"type": "git",
"url": "git@github.com:zumzoom/solidity-template.git"
},
"license": "MIT",
"dependencies": {
"@1inch/solidity-utils": "3.0.1",
"@openzeppelin/contracts": "4.9.3"
"@1inch/solidity-utils": "3.4.0",
"@openzeppelin/contracts": "5.0.0"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "2.0.2",
"@nomicfoundation/hardhat-ethers": "3.0.4",
"@nomicfoundation/hardhat-verify": "1.1.1",
"@nomicfoundation/hardhat-network-helpers": "1.0.8",
"chai": "4.3.7",
"@nomicfoundation/hardhat-ethers": "3.0.5",
"@nomicfoundation/hardhat-verify": "2.0.1",
"@nomicfoundation/hardhat-network-helpers": "1.0.9",
"chai": "4.3.10",
"dotenv": "16.3.1",
"eslint": "8.47.0",
"eslint": "8.53.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-n": "16.0.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-n": "16.3.1",
"eslint-plugin-promise": "6.1.1",
"ethers": "6.7.1",
"hardhat": "2.17.1",
"ethers": "6.8.1",
"hardhat": "2.19.1",
"hardhat-dependency-compiler": "1.1.3",
"hardhat-deploy": "0.11.36",
"hardhat-deploy": "0.11.43",
"hardhat-gas-reporter": "1.0.9",
"hardhat-tracer": "2.6.0",
"rimraf": "5.0.1",
"solc": "0.8.21",
"solhint": "3.6.1",
"solidity-coverage": "0.8.4",
"hardhat-tracer": "2.7.0",
"rimraf": "5.0.5",
"solc": "0.8.23",
"solhint": "3.6.2",
"solidity-coverage": "0.8.5",
"solidity-docgen": "0.5.17"
},
"scripts": {
Expand Down
Loading

0 comments on commit 6a3dc84

Please sign in to comment.