-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add "postpublish" and "prepublishOnly" hook scripts build: add "rimraf" as Node.js dev dep build: set "branch" to "v1" for "forge-std" submodule build: set "branch" to "v5" for "prb-contracts" submodule build: set "cbor_metadata" to "false" build: upgrade to Solidity v0.8.18 chore: add Codecov config ci: add "build", "clean" and "test" scripts in "package.json" ci: add "workflow_syntax" in "on" for "main" branch ci: separate jobs in workflow ci: track coverage with Codecov docs: capitalize username docs: update link to "hardhat-template" repo style: format Foundry config with Taplo style: use spaces for indenting in ".gitmodules"
- Loading branch information
Showing
12 changed files
with
128 additions
and
67 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 |
---|---|---|
@@ -1 +1 @@ | ||
custom: ["https://gitcoin.co/grants/1657/paulrberg-open-source-engineering"] | ||
custom: ["https://gitcoin.co/grants/1657/PaulRBerg-open-source-engineering"] |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[submodule "lib/forge-std"] | ||
branch = "master" | ||
path = "lib/forge-std" | ||
url = "https://github.com/foundry-rs/forge-std" | ||
branch = "v1" | ||
path = "lib/forge-std" | ||
url = "https://github.com/foundry-rs/forge-std" | ||
[submodule "lib/prb-contracts"] | ||
branch = "main" | ||
branch = "v5" | ||
path = "lib/prb-contracts" | ||
url = "https://github.com/paulrberg/prb-contracts" | ||
url = "https://github.com/PaulRBerg/prb-contracts" | ||
[submodule "lib/prb-test"] | ||
branch = "0.3.1" | ||
path = "lib/prb-test" | ||
url = "https://github.com/paulrberg/prb-test" | ||
url = "https://github.com/PaulRBerg/prb-test" |
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 |
---|---|---|
|
@@ -9,5 +9,5 @@ useTabs: false | |
overrides: | ||
- files: "*.sol" | ||
options: | ||
compiler: "0.8.17" | ||
compiler: "0.8.18" | ||
tabWidth: 4 |
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,2 @@ | ||
ignore: | ||
- "test" |
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,25 +1,29 @@ | ||
# Full reference https://github.com/foundry-rs/foundry/tree/master/config | ||
|
||
[etherscan] | ||
ethereum = { key = "${ETHERSCAN_API_KEY}" } | ||
goerli = { key = "${ETHERSCAN_API_KEY}" } | ||
|
||
[profile.default] | ||
auto_detect_solc = false | ||
bytecode_hash = "none" | ||
fuzz = { runs = 1_000 } | ||
gas_reports = ["*"] | ||
libs = ["lib"] | ||
optimizer = true | ||
optimizer_runs = 10_000 | ||
out = "out" | ||
solc = "0.8.17" | ||
src = "src" | ||
test = "test" | ||
auto_detect_solc = false | ||
bytecode_hash = "none" | ||
cbor_metadata = false | ||
gas_reports = ["*"] | ||
libs = ["lib"] | ||
optimizer = true | ||
optimizer_runs = 10_000 | ||
out = "out" | ||
solc = "0.8.18" | ||
src = "src" | ||
test = "test" | ||
|
||
[profile.default.fuzz] | ||
max_test_rejects = 100_000 | ||
runs = 1_000 | ||
|
||
[profile.ci] | ||
fuzz = { runs = 10_000 } | ||
fuzz = { runs = 10_000 } | ||
|
||
[etherscan] | ||
ethereum = { key = "${ETHERSCAN_API_KEY}" } | ||
goerli = { key = "${ETHERSCAN_API_KEY}" } | ||
|
||
[rpc_endpoints] | ||
localhost="http://localhost:8545" | ||
goerli="https://goerli.infura.io/v3/${INFURA_API_KEY}" | ||
localhost = "http://localhost:8545" | ||
goerli = "https://goerli.infura.io/v3/${INFURA_API_KEY}" |
Submodule forge-std
updated
11 files
+36 −38 | src/InvariantTest.sol | |
+116 −0 | src/StdAssertions.sol | |
+67 −33 | src/StdChains.sol | |
+7 −0 | src/StdCheats.sol | |
+50 −5 | src/StdUtils.sol | |
+20 −0 | src/Vm.sol | |
+73 −0 | src/interfaces/IMulticall3.sol | |
+236 −0 | test/StdAssertions.t.sol | |
+37 −13 | test/StdChains.t.sol | |
+24 −0 | test/StdCheats.t.sol | |
+111 −13 | test/StdUtils.t.sol |
Submodule prb-contracts
updated
87 files
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