Skip to content

Commit 9e66a03

Browse files
committed
update build
1 parent a1d6069 commit 9e66a03

File tree

2 files changed

+4
-31
lines changed

2 files changed

+4
-31
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
FROM ubuntu:20.04 as base
2+
FROM ubuntu:22.04 as base
33
ENV DEBIAN_FRONTEND=noninteractive
44
RUN apt-get update && apt-get -y install curl bash
55
# nvm env vars
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get -y install wget build-essential
2020
COPY . /ocean-contracts
2121
WORKDIR /ocean-contracts
2222
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
2424

2525

2626

@@ -31,7 +31,7 @@ RUN mkdir -p /ocean-contracts/test/
3131
COPY ./addresses /ocean-contracts/addresses/
3232
COPY ./contracts /ocean-contracts/contracts/
3333
COPY ./hardhat.config* /ocean-contracts/
34-
COPY ./package* /ocean-contracts/
34+
COPY ./package.json /ocean-contracts/
3535
COPY ./scripts /ocean-contracts/scripts/
3636
COPY ./test /ocean-contracts/test/
3737
WORKDIR /ocean-contracts

hardhat.config.barge.js

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
require("@nomiclabs/hardhat-waffle");
2-
require("hardhat-contract-sizer");
3-
require("hardhat-gas-reporter");
42
require('solidity-coverage');
53
//require("@nomiclabs/hardhat-etherscan");
6-
require("@nomicfoundation/hardhat-verify");
4+
//require("@nomicfoundation/hardhat-verify");
75
require("@nomiclabs/hardhat-vyper");
86
// This is a sample Hardhat task. To learn how to create your own go to
97
// 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-
});
178

189
// You need to export an object to set up your config
1910
// Go to https://hardhat.org/config/ to learn more
@@ -62,23 +53,5 @@ module.exports = {
6253
gasPrice: 8000000,
6354
gas: 2100000
6455
}
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,
8356
}
8457
};

0 commit comments

Comments
 (0)