-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,369 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
package-lock.json | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0x2bf6011310f0c63c6f0ebbd254678b1736807df05dd1b53c0fbfdee23ff0f5c7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# OS X | ||
.DS_Store* | ||
Icon? | ||
._* | ||
|
||
node_modules | ||
.env | ||
package-lock.json | ||
coverage | ||
coverage.json | ||
typechain | ||
typechain-types | ||
|
||
#Hardhat files | ||
cache | ||
artifacts | ||
|
||
|
||
node_modules | ||
coverage | ||
coverage.json | ||
typechain | ||
typechain-types | ||
|
||
#Hardhat files | ||
cache | ||
artifacts | ||
|
||
.env | ||
./data/*/* | ||
./data/deployed.json | ||
.coverage/ | ||
|
||
.openzeppelin/.session | ||
yarn.lock | ||
junit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"manifestVersion": "2.2", | ||
"contracts": {}, | ||
"dependencies": {}, | ||
"name": "evm-deployer-boilerplate", | ||
"version": "0.0.1", | ||
"compiler": { | ||
"compilerSettings": { | ||
"optimizer": { | ||
"enabled": true, | ||
"runs": 200 | ||
} | ||
}, | ||
"typechain": { | ||
"enabled": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module.exports = { | ||
skipFiles: [ | ||
'pentesting/', | ||
'eips/ExampleErc20.sol', | ||
'eips/ExampleErc721.sol', | ||
'eips/ExampleErc1155.sol', | ||
'authenticators/AuthDashboardV1.sol', // obsolete version contract | ||
], // Add files to skip coverage here {'path/name.sol'} | ||
istanbulFolder: './.coverage', // Folder to store coverage reports | ||
istanbulReporter: ['html', 'lcov', 'text', 'json'], // Reporters to use | ||
measureStatementCoverage: true, // Measure statement coverage | ||
measureModifierCoverage: true, // Measure modifier coverage | ||
modifierWhitelist: [ | ||
'onlyOwner', 'onlyAgent', | ||
], // Add modifiers to whitelist here {'modifierName'} | ||
providerOptions: { | ||
default_balance_ether: | ||
100000 | ||
}, | ||
mocha: { | ||
timeout: 60000, | ||
reporter: 'mocha-junit-reporter', | ||
reporterOptions: { | ||
mochaFile: './junit.xml' | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module.exports = { | ||
skipFiles: [ | ||
'pentesting/', | ||
'eips/ExampleErc20.sol', | ||
'eips/ExampleErc721.sol', | ||
'eips/ExampleErc1155.sol', | ||
'authenticators/AuthDashboardV1.sol', // obsolete version contract | ||
], // Add files to skip coverage here {'path/name.sol'} | ||
istanbulFolder: './.coverage', // Folder to store coverage reports | ||
istanbulReporter: ['html', 'lcov', 'text', 'json'], // Reporters to use | ||
measureStatementCoverage: true, // Measure statement coverage | ||
measureModifierCoverage: true, // Measure modifier coverage | ||
modifierWhitelist: [ | ||
'onlyOwner', 'onlyAgent', | ||
], // Add modifiers to whitelist here {'modifierName'} | ||
providerOptions: { | ||
default_balance_ether: | ||
100000 | ||
}, | ||
mocha: { | ||
timeout: 60000, | ||
// reporter: 'mocha-junit-reporter', // if enable can't see the output in the console | ||
reporterOptions: { | ||
mochaFile: './junit.xml' | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM node:16 as build | ||
WORKDIR /etc/evm-deployer-boilerplate | ||
ENV PATH /etc/evm-deployer-boilerplate/node_modules/.bin:$PATH | ||
COPY package*.json ./ | ||
RUN npm i -g [email protected] | ||
COPY . . | ||
RUN cd /etc/evm-deployer-boilerplate | ||
RUN npm i | ||
RUN npm run build | ||
# localnet | ||
EXPOSE 8545 | ||
# more ports | ||
EXPOSE 9545 | ||
CMD [ "npm", "run", "chain:devnet" ] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.9" | ||
name: ba-dev | ||
|
||
networks: | ||
evm-deployer-boilerplate-network: | ||
name: evm-deployer-boilerplate-network | ||
driver: bridge | ||
|
||
services: | ||
evm-deployer-boilerplate-l1: | ||
container_name: evm-deployer-boilerplate-l1 | ||
restart: always | ||
build: ./ | ||
ports: | ||
- "9545:8545" | ||
command: npm run chain:devnet --trace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.9" | ||
name: ba-chains | ||
|
||
networks: | ||
evm-deployer-boilerplate-network: | ||
name: evm-deployer-boilerplate-network | ||
driver: bridge | ||
|
||
services: | ||
evm-deployer-boilerplate-l1: | ||
container_name: evm-deployer-boilerplate-l1 | ||
restart: always | ||
build: ./ | ||
ports: | ||
- "9545:8545" | ||
command: npm run chain:devnet --trace |
Oops, something went wrong.