Init forge

This commit is contained in:
Theo 2023-06-03 03:05:18 -07:00
parent 5bebfdfe78
commit ec0bca632a
5 changed files with 43 additions and 0 deletions

2
.gitignore vendored Normal file

@ -0,0 +1,2 @@
.env
.github

3
.gitmodules vendored Normal file

@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std

23
foundry.toml Normal file

@ -0,0 +1,23 @@
[profile.default]
# General
src = 'src'
out = 'out'
libs = ["node_modules", "lib"]
# Compiler
auto_detect_solc = true
via_ir = true
optimizer = true
optimizer-runs = 200
# Network
chain_id = 1
rpc_endpoints = { mainnet = "${MAINNET_RPC_URL}" }
# Tests
verbosity = 3
# Formatting
line_length = 140
number_underscore = 'thousands'
bracket_spacing = true

1
lib/forge-std Submodule

@ -0,0 +1 @@
Subproject commit e8a047e3f40f13fa37af6fe14e6e06283d9a060e

14
package.json Normal file

@ -0,0 +1,14 @@
{
"name": "proposal-23-restore-rewards",
"version": "1.0.0",
"description": "Proposal to restore old rewards value (as before hack) after redeploying Staking contract",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://git.tornado.ws/Theo/proposal-23-restore-rewards"
},
"author": "Theo",
"license": "MIT"
}