This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #501 from maticnetwork/migration
Migration from Truffle to Hardhat/Foundry
- Loading branch information
Showing
296 changed files
with
32,534 additions
and
28,717 deletions.
There are no files selected for viewing
This file was deleted.
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,4 @@ | ||
INFURA_TOKEN="909b972ab2ff3afb8b0f8f6a9667test" | ||
BOR_CHAIN_URL="http://localhost:9545" | ||
ENV="local" | ||
MNEMONIC_DEV="poly radar mass judge dismiss just intact mind resemble fringe diary casino" |
This file was deleted.
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
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
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,12 @@ | ||
[submodule "lib/solady"] | ||
path = lib/solady | ||
url = https://github.com/vectorized/solady | ||
[submodule "lib/deployment-log-generator"] | ||
path = lib/deployment-log-generator | ||
url = https://github.com/0xPolygon/deployment-log-generator | ||
[submodule "lib/contract-deployer-template"] | ||
path = lib/contract-deployer-template | ||
url = https://github.com/0xPolygon/contract-deployer-template | ||
[submodule "lib/storage-layout-checker"] | ||
path = lib/storage-layout-checker | ||
url = https://github.com/0xPolygon/storage-layout-checker |
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 |
---|---|---|
@@ -1 +1 @@ | ||
11.1.0 | ||
20.6.0 |
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,30 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: mixed-line-ending | ||
args: ["--fix=lf"] | ||
description: Forces to replace line ending by the UNIX 'lf' character. | ||
exclude: "^docs/autogen" | ||
- repo: local | ||
hooks: | ||
- id: format | ||
name: Format solidity code | ||
description: Format solidity code with `forge fmt` | ||
language: system | ||
entry: forge fmt | ||
exclude: "^lib/" | ||
pass_filenames: true | ||
- id: doc | ||
name: Generate documentation | ||
description: Generate docs with `forge doc` | ||
language: system | ||
# generates docs and unstages files if only the commit hash changed within the file, this way only when the documentation is updated, the documentation needs to be regenerated and only the changed files are pushed | ||
entry: "scripts/util/doc_gen.sh" | ||
pass_filenames: false | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v3.0.3" | ||
hooks: | ||
- id: prettier | ||
name: Format non solidity files with prettier | ||
exclude: "^docs/autogen" |
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
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,7 @@ | ||
module.exports = { | ||
mocha: { | ||
grep: "@skip-on-coverage", // Find everything with this tag | ||
invert: true, // Run the grep's inverse set. | ||
}, | ||
compileCommand: "npx hardhat compile", | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.