File tree 2 files changed +4
-31
lines changed
2 files changed +4
-31
lines changed Original file line number Diff line number Diff line change 1
1
2
- FROM ubuntu:20 .04 as base
2
+ FROM ubuntu:22 .04 as base
3
3
ENV DEBIAN_FRONTEND=noninteractive
4
4
RUN apt-get update && apt-get -y install curl bash
5
5
# nvm env vars
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get -y install wget build-essential
20
20
COPY . /ocean-contracts
21
21
WORKDIR /ocean-contracts
22
22
RUN npm i
23
- RUN wget https://gobinaries.com/tj/node-prune --output-document - | /bin/sh && node-prune
23
+ # RUN wget https://gobinaries.com/tj/node-prune --output-document - | /bin/sh && node-prune
24
24
25
25
26
26
@@ -31,7 +31,7 @@ RUN mkdir -p /ocean-contracts/test/
31
31
COPY ./addresses /ocean-contracts/addresses/
32
32
COPY ./contracts /ocean-contracts/contracts/
33
33
COPY ./hardhat.config* /ocean-contracts/
34
- COPY ./package* /ocean-contracts/
34
+ COPY ./package.json /ocean-contracts/
35
35
COPY ./scripts /ocean-contracts/scripts/
36
36
COPY ./test /ocean-contracts/test/
37
37
WORKDIR /ocean-contracts
Original file line number Diff line number Diff line change 1
1
require ( "@nomiclabs/hardhat-waffle" ) ;
2
- require ( "hardhat-contract-sizer" ) ;
3
- require ( "hardhat-gas-reporter" ) ;
4
2
require ( 'solidity-coverage' ) ;
5
3
//require("@nomiclabs/hardhat-etherscan");
6
- require ( "@nomicfoundation/hardhat-verify" ) ;
4
+ // require("@nomicfoundation/hardhat-verify");
7
5
require ( "@nomiclabs/hardhat-vyper" ) ;
8
6
// This is a sample Hardhat task. To learn how to create your own go to
9
7
// https://hardhat.org/guides/create-task.html
10
- task ( "accounts" , "Prints the list of accounts" , async ( ) => {
11
- const accounts = await ethers . getSigners ( ) ;
12
-
13
- for ( const account of accounts ) {
14
- console . log ( account . address ) ;
15
- }
16
- } ) ;
17
8
18
9
// You need to export an object to set up your config
19
10
// Go to https://hardhat.org/config/ to learn more
@@ -62,23 +53,5 @@ module.exports = {
62
53
gasPrice : 8000000 ,
63
54
gas : 2100000
64
55
}
65
- } ,
66
- etherscan : {
67
- apiKey : process . env . ETHERSCAN_API_KEY
68
- } ,
69
- sourcify : {
70
- // Disabled by default
71
- // Doesn't need an API key
72
- enabled : true
73
- } ,
74
- contractSizer : {
75
- alphaSort : true ,
76
- runOnCompile : true ,
77
- disambiguatePaths : false ,
78
- } ,
79
- gasReporter : {
80
- currency : 'USD' ,
81
- gasPrice : 80 ,
82
- coinmarketcap : process . env . COINMARKETCAP_API_KEY ,
83
56
}
84
57
} ;
You can’t perform that action at this time.
0 commit comments