Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temple v2 deploy scripts #834

Merged
merged 172 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from 94 commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
8cf29c7
feat: temple v2 interfaces
frontier159 Apr 7, 2023
f4fad59
feat: dUSD initial implementation. testing wip
frontier159 Apr 11, 2023
7be021d
feat: cleanup, more tests
frontier159 Apr 12, 2023
90cba10
feat: cleanup, more tests
frontier159 Apr 13, 2023
3255f74
feat: dUSD implementation and tests
frontier159 Apr 14, 2023
e0673b9
feat: minor updates, improved tests
frontier159 Apr 15, 2023
482e88d
slither updates
frontier159 Apr 15, 2023
0be0e1d
feat: start of strategies
frontier159 Apr 15, 2023
57dad0d
feat: add dusd testnet admin contract
frontier159 Apr 16, 2023
304d2e4
feat: added DSR base strategy
frontier159 Apr 17, 2023
1cda1b1
feat: initial TRV - still WIP
frontier159 Apr 17, 2023
5302591
feat: still WIP
frontier159 Apr 18, 2023
5859a44
feat: strategies report asset balances
frontier159 Apr 19, 2023
9852a95
feat: strategies report asset balances
frontier159 Apr 19, 2023
1fe8ec7
feat: tests
frontier159 Apr 20, 2023
1d52294
feat: gnosis strategy tests
frontier159 Apr 21, 2023
4554dcc
feat: wip dsr base strategy tests
frontier159 Apr 21, 2023
ae05523
feat: wip continues
frontier159 May 1, 2023
1521009
Add safe guard
frontier159 May 9, 2023
9b1241a
Convert to revert string error for Safe UI
frontier159 May 9, 2023
b86d439
Refactor elevated access
frontier159 May 10, 2023
769778c
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2
frontier159 May 10, 2023
96fdfc0
Add v2 readme
frontier159 May 10, 2023
5df58d2
Add v2 readme
frontier159 May 10, 2023
794d82c
Updated access
frontier159 May 10, 2023
e1cac0a
Updated readme, batch update on guard
frontier159 May 11, 2023
182d838
Update README.md
temple-advocate May 11, 2023
77a9735
TLC pre-requisites (#804)
frontier159 May 18, 2023
0039bbd
Add the RAMOS strategy (#805)
soloph1 Jun 9, 2023
970735b
Tlc (#806)
frontier159 Jun 10, 2023
fdcd251
PR feedback, solhint
frontier159 Jun 10, 2023
753e0dc
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2
frontier159 Jun 10, 2023
1799f3e
refactor ramos imports, ramos strategy updates
frontier159 Jun 10, 2023
921571e
Update ramos tests
frontier159 Jun 11, 2023
c91ede1
Add comments to Ramos, autoshutdown ramos
frontier159 Jun 11, 2023
c704f3e
Move TPI into a separate oracle contract
frontier159 Jun 13, 2023
126502f
rename temple/stable in ramos
frontier159 Jun 14, 2023
7afb40c
ramos rebalance up/down join & exit
frontier159 Jun 14, 2023
0466bd4
Add fees to ramos
frontier159 Jun 14, 2023
c91afb3
review feedback
frontier159 Jun 16, 2023
12985af
feedback: use propose/accept model for roles
frontier159 Jun 17, 2023
ef14e33
refactor: rename protocolTokenVault to tokenVault
frost-ostrich Jun 19, 2023
a1fbca0
test: add compound & linear kink interest tests
frost-ostrich Jun 19, 2023
cbdd48e
test: add max allowed ir test & remove unreachable code
frost-ostrich Jun 19, 2023
feb7044
fix: typo tabs for spaces
frost-ostrich Jun 19, 2023
112ceee
fix: ci typo case issue
frost-ostrich Jun 19, 2023
7f62345
wip: implement tokenVault.repayQuoteToken
frost-ostrich Jun 19, 2023
051a77a
Merge pull request #816 from TempleDAO/temple-v2-review-feedback-tests
frost-ostrich Jun 19, 2023
28391e0
feat: update rebalanceDownExit, rebalanceUpJoin, removeLiquidity & ad…
frost-ostrich Jun 20, 2023
1e432d3
feat: TRV borrow and repay functions included in ramos strategy
frost-ostrich Jun 20, 2023
7bf10b5
fix: update various descriptions
frost-ostrich Jun 20, 2023
a39310f
feat: ramos strategy do not borrow & repay from the TVR directly any …
frost-ostrich Jun 21, 2023
661e4d5
Merge branch 'temple-v2-review-feedback' of github.com:TempleDAO/temp…
frost-ostrich Jun 21, 2023
7ae8c4f
docs: update IRamosTokensVault descriptions
frost-ostrich Jun 21, 2023
eb35752
Merge pull request #815 from TempleDAO/temple-v2-review-feedback-ostrich
frost-ostrich Jun 21, 2023
d5b1bc6
Update TRV to be multi-asset (#817)
frontier159 Jun 25, 2023
2cf3760
review feedback
frontier159 Jun 25, 2023
d57f35e
review feedback
frontier159 Jun 25, 2023
cfab5c4
update circuit breaker so mappings are centrally configured
frontier159 Jun 26, 2023
bb87aa5
update threshold safe guard to accept empty function sig - eg eth tra…
frontier159 Jun 26, 2023
636d1ea
Temple v2 review feedback ramos strategy tests (#822)
frost-ostrich Jun 27, 2023
0118ba4
minor test/comment updates
frontier159 Jun 27, 2023
a7d47f8
minor gas
frontier159 Jun 27, 2023
d0cdec5
review feedback
frontier159 Jun 27, 2023
665dd88
Add sepolia, initial shell of contract addrs
frontier159 Jun 26, 2023
04ff1fa
prioritise TLC first
frontier159 Jun 26, 2023
ec610a6
improved deploy and mine to dump args to files
frontier159 Jun 27, 2023
428a6a1
chore: add temple v2 initial deploy scripts
frost-ostrich Jun 27, 2023
fc39137
chore: add temple v2 initial deploy scripts
frost-ostrich Jun 28, 2023
8c8c688
chore: use owner.getAddress() as executor/rescuer
frost-ostrich Jun 28, 2023
44dcd12
chore: script 01-06 deployed
frost-ostrich Jun 28, 2023
aa6f87c
chore: scripts 07-10 & 12-13 deployed
frost-ostrich Jun 28, 2023
194f076
Added a testnet version of the DSR base rate
frontier159 Jun 28, 2023
5f84917
Merge branch 'temple-v2-deploy-scripts' of github.com:TempleDAO/templ…
frontier159 Jun 28, 2023
17ae561
chore: script 11 deployed
frost-ostrich Jun 29, 2023
811333f
review feedback
frontier159 Jun 29, 2023
b303b7b
chore: draft postdeploy script
frost-ostrich Jun 29, 2023
66c3d9c
chore: updates to postdeploy scripts
frost-ostrich Jun 29, 2023
9813742
chore: add msig executor & rescuer and allow owner to mint/burn temple
frost-ostrich Jun 29, 2023
f6284af
update deploy scripts for TLC
frontier159 Jun 30, 2023
3933dca
review feedback
frontier159 Jul 1, 2023
1edeb59
updates for slither
frontier159 Jul 3, 2023
ad6f2e0
update to 0.8.18, update slither db
frontier159 Jul 3, 2023
7fa3c77
update to 0.8.18, update slither db
frontier159 Jul 3, 2023
60eabb8
slither gh
frontier159 Jul 3, 2023
83e7323
update test
frontier159 Jul 3, 2023
86f7eb9
Merge branch 'temple-v2-review-feedback' of github.com:TempleDAO/temp…
frontier159 Jul 4, 2023
d1028fb
ramos testnet deploy scripts
frontier159 Jul 16, 2023
703ef3e
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-de…
frontier159 Jul 16, 2023
5ff14b1
fix typo
frontier159 Jul 16, 2023
e81a5d2
cleanup files
frontier159 Jul 16, 2023
0a22945
Add gnosis strategy
frontier159 Jul 16, 2023
5a1ed22
Remove ramos liquidity
frontier159 Jul 16, 2023
b232a76
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/1
frontier159 Jul 31, 2023
78b430c
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/2
frontier159 Jul 31, 2023
bd2029c
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/3
frontier159 Jul 31, 2023
d7f6e0d
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/5
frontier159 Jul 31, 2023
a809cb6
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/6
frontier159 Jul 31, 2023
82fe446
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/7
frontier159 Jul 31, 2023
6315aff
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/9
frontier159 Jul 31, 2023
856404c
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/10
frontier159 Jul 31, 2023
0fbaab5
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/11
frontier159 Jul 31, 2023
e78d5c1
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/12
frontier159 Jul 31, 2023
9706d87
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/14
frontier159 Aug 1, 2023
6364adb
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/15
frontier159 Aug 1, 2023
6cd79a0
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 1, 2023
f218fc4
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/17
frontier159 Aug 1, 2023
d07d1c4
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/20
frontier159 Aug 1, 2023
707f5da
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 1, 2023
f0773d2
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/24
frontier159 Aug 1, 2023
4475e53
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/26
frontier159 Aug 1, 2023
73926bf
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/27
frontier159 Aug 1, 2023
c8da7e4
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/28
frontier159 Aug 1, 2023
36b8c47
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/29
frontier159 Aug 2, 2023
efc2c03
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/30
frontier159 Aug 2, 2023
b04adff
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/31
frontier159 Aug 2, 2023
8c5e053
Temple v2 forked localhost tests (#832)
frost-ostrich Aug 2, 2023
2d2849f
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/32
frontier159 Aug 2, 2023
a00e9a4
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/35
frontier159 Aug 2, 2023
6abaf4a
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/36
frontier159 Aug 2, 2023
8b83b7f
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/38
frontier159 Aug 2, 2023
f0dce10
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/40
frontier159 Aug 2, 2023
ec6f3fc
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/41
frontier159 Aug 2, 2023
64f424f
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/42
frontier159 Aug 3, 2023
ecd2e64
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/44
frontier159 Aug 3, 2023
b60d883
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 3, 2023
87ef897
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/46
frontier159 Aug 3, 2023
6d88ff0
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/49
frontier159 Aug 3, 2023
22807ef
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/48
frontier159 Aug 5, 2023
a98ff5d
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/50
frontier159 Aug 5, 2023
78b22a1
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/51
frontier159 Aug 5, 2023
0520a04
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/52
frontier159 Aug 5, 2023
62ac893
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/53
frontier159 Aug 5, 2023
b820c12
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/54
frontier159 Aug 5, 2023
4fe876d
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/55
frontier159 Aug 5, 2023
8dd4a4a
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 7, 2023
a5da3d9
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 7, 2023
a657348
update dToken for gas optimisations and extra events
frontier159 Aug 8, 2023
78306bc
revert contract changes
frontier159 Aug 8, 2023
60e1820
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-de…
frontier159 Aug 9, 2023
4554c52
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-po…
frontier159 Aug 9, 2023
4ad80fd
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 9, 2023
dd120e1
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues/56
frontier159 Aug 9, 2023
efb261e
fix: v2 audit: https://github.com/yAudit/temple-lending-report/issues…
frontier159 Aug 9, 2023
4c87360
added extra test, removed redundant error, partially reverted https:/…
frontier159 Aug 10, 2023
b006c84
updated foundry version, slither, CI
frontier159 Aug 10, 2023
4df1c74
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 10, 2023
81553f6
corrected safe fork lib to be internal
frontier159 Aug 11, 2023
a9b0e94
updated deployment scripts post audit
frontier159 Aug 11, 2023
b384828
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 11, 2023
e0464a6
dToken rounding and gas golfing
frontier159 Aug 14, 2023
45e13ae
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 14, 2023
c54ad7e
update foundry version and std lib
frontier159 Aug 14, 2023
0820dd9
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-po…
frontier159 Aug 14, 2023
debaa68
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 14, 2023
1d85034
dtoken rounding
frontier159 Aug 14, 2023
ba4f4ce
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-po…
frontier159 Aug 14, 2023
0cf5b03
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 15, 2023
080d881
rename postRebalanceSlippage => postRebalanceDelta
frontier159 Aug 15, 2023
e040285
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 15, 2023
1e89e2a
Update deploy scripts for ramos
frontier159 Aug 15, 2023
cdd962e
add gnosis safe threshold to scripts
frontier159 Aug 15, 2023
f0774ca
updated deploy scripts for mainnet readiness
frontier159 Aug 15, 2023
2ef72da
updates after internal review
frontier159 Aug 18, 2023
290affd
dariox request -- add the DebtCeilingUpdated event on addStrategy
frontier159 Aug 18, 2023
d78b013
add complex liquidation test when rescue mode/paused liquidations
frontier159 Aug 19, 2023
c15b368
review feedback on safe guard test
frontier159 Aug 22, 2023
c8b264b
review feedback on temple base strategy
frontier159 Aug 22, 2023
ec33b61
Merge branch 'temple-v2-post-audit' of github.com:TempleDAO/temple in…
frontier159 Aug 23, 2023
fe1e201
update post deploy script
frontier159 Aug 23, 2023
208379a
Merge branch 'stage' of github.com:TempleDAO/temple into temple-v2-de…
frontier159 Aug 23, 2023
88f638a
update post-merge
frontier159 Aug 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion protocol/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ dist
coverage
coverage.json
lcov.info
report
report

# autogenerated fork args
scripts/deploys/localhost/deploymentArgs
73 changes: 73 additions & 0 deletions protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,45 @@ You can also run and test locally by replacing `yarn hardhat:testnet` with `yarn
in order to setup the right local state



#### Local Deployment

The protocol app uses hardhat for development. The following steps will compile the contracts and deploy to a local hardhat node

```bash
# Compile the contracts
yarn compile

# Generate the typechain.
yarn typechain

The protocol test suite can be run without deploying to a local-node by running

```bash
# Run tests, no deployment neccessary
yarn test
```

#### Local Forks

##### 1. Temple V2 - TLC

In one terminal window:
```bash
# Run a local node forked off mainnet
yarn local-fork:mainnet
```

In another window run the following scripts:
```bash
# Deploy temple v2 contracts
# This also include the transfer ownership script
yarn local-fork:deploy:templev2

# Then finally some forked mainnet tests for Temple v2
yarn local-fork:test:templev2
```

## VSCode Testing

https://hardhat.org/guides/vscode-tests.html
Expand All @@ -46,3 +85,37 @@ tl;dr;
3. For each category + finding, analyse and either:
1. Fix the issue or
2. If it's a false positive then ignore the finding by typing the list index number in the triage.


## Temple V2 deployment

The following are the steps to deploy temple v2 latest contracts to mainnet. Copy & paste each `npx hardhat run ...` command from `core`, `tlc`, `gnosis-strategy-1` & `ramos` in order to deploy to mainnet, after each successful deployment, please do the following:

- (**mandatory**) Deploy each contract under `scripts/deploy/mainnet/v2/**/**.ts`, you can find various examples in `scripts/deploys/localhost/v2/deploy-localhost-forsk.sh`, please remember to use the mainnet network, e.g `npx hardhat run --network mainnet scripts/deploys/mainnet/v2/core/02-circuit-breaker-proxy.ts`. *NB you'll need to deploy first the core contracts. Remember to run the post-deployment scripts for each folder to setup the contract*
- (**mandatory**) Copy newest generated contract address in its respective place under `scripts/deploys/mainnet/v2/core/contract-addressses.ts`
- (**recommended**) Verify & publish contract src to etherscan:
```
npx hardhat verify --network mainnet XXXX --constructor-args scripts/deploys/mainnet/deploymentArgs/XXXX.js
```

### 3. Commit & merge to main

- 3.1 Create a new PR and commit the latest changes from above steps for another member(s) of the team to confirm

### 4. Transfer ownership from deployer to multisigs

- 4.1 Once msig addresses have been approved by temple core team, please update both EXECUTOR & RESCUER multisig addresses (`mainnet.**.**.**_MSIG`) in `scripts/deploys/mainnet/v2/contract-addresses.ts` file. Be aware that strategies may have different executor/rescuer msig.

- 4.2 Transfer deployer ownership to predefined msig addresses on the step above with
```
npx hardhat run --network mainnet scripts/deploys/mainnet/v2/post-deploy/999-transfer-ownership.ts
```

### 5. Initial rescuer & executor msig transactions

The new rescuer & executor msig contract addresses would need to perform a set of initial transactions to be able to operate as expected, please find below the steps required:

- 5.1 Update the transaction builder batch files `scripts/deploys/mainnet/v2/post-deploy/temple-v2-XXX-transactions-batch.json`, change all the placeholders `0xXXXX` for the relevant address in `scripts/deploys/mainnet/v2/contract-addresses.ts` under the mainnet network.

- 5.2 Share the updated transaction builder batch file `temple-v2-XXX-transactions-batch.json` with any of the MC team members, that way they can import it in their safe app `https://app.safe.global/` > `transaction builder` and approve it accordingly. Please be sure to share each file accordingly to the msig address.

4 changes: 2 additions & 2 deletions protocol/contracts/amo/Ramos.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ contract Ramos is IRamos, TempleElevatedAccess, Pausable {
/// @notice The Treasury Price Index (TPI) Oracle
ITreasuryPriceIndexOracle public override tpiOracle;

/// @notice The vault from where to borrow and repay the Protocol Token
/// @notice The vault from where to borrow and repay the Protocol & Quote Token
IRamosTokenVault public override tokenVault;

/// @notice The percentage bounds (in bps) beyond which to rebalance up or down
Expand Down Expand Up @@ -180,7 +180,7 @@ contract Ramos is IRamos, TempleElevatedAccess, Pausable {
}

/**
* @notice Set the Treasury Price Index (TPI) Oracle
* @notice Set the token vault - where to borrow and repay the Protocol & Quote Tokens
*/
function setTokenVault(address vault) external override onlyElevatedAccess {
emit TokenVaultSet(vault);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface ITempleLineOfCredit is ITlcDataTypes, ITlcEventsAndErrors {
* - When users repay, the DAI is repaid to the TRV
* (reducing the dUSD debt of the TlcStrategy)
* - When there is a liquidation, the seized Temple collateral is paid to the TRV
* (reducing the dTEMPLE debt of the TlcStrategy)
* (reducing the dUSD debt of the TlcStrategy)
*/
function treasuryReservesVault() external view returns (ITreasuryReservesVault);

Expand Down
4 changes: 4 additions & 0 deletions protocol/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ module.exports = {
: [],
gasPrice: 2000000000,
},
anvil: {
url: "http://127.0.0.1:8545/",
accounts: "remote",
},
},
etherscan: {

Expand Down
4 changes: 4 additions & 0 deletions protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "templeDOA",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@balancer-labs/sdk": "^1.1.2",
"@ethersproject/bytes": "^5.7.0",
"@gnosis.pm/safe-contracts": "^1.3.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.4",
Expand Down Expand Up @@ -61,6 +62,9 @@
"hardhat": "hardhat",
"local-metrics": "hardhat run --network localhost scripts/metrics.ts",
"local-fork": "hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/5uWfALq4t1xR49V3EW5bBZEE4xh97l-A --fork-block-number 13205117",
"local-fork:mainnet": "hardhat node --fork https://eth-mainnet.g.alchemy.com/v2/LjzU7NEw1jfJZSDBP10rGeg53cSlzscP --fork-block-number 17625800",
"local-fork:deploy:templev2": "$PWD/scripts/deploys/localhost/v2/deploy-localhost-fork.sh",
"local-fork:test:templev2": "hardhat run --network localhost scripts/deploys/localhost/v2/999-localhost-fork-test.ts",
"forge-test": "forge test",
"forge-coverage": "forge coverage",
"forge-coverage-html": "forge coverage --report lcov && genhtml lcov.info -o report --branch-coverage --legend"
Expand Down
1 change: 1 addition & 0 deletions protocol/scripts/deploys/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ const expectedEnvvars: { [key: string]: string[] } = {
gnosisChiado: ['GNOSIS_CHIADO_ADDRESS_PRIVATE_KEY', 'GNOSIS_CHIADO_RPC_URL'],
polygonMumbai: ['MUMBAI_ADDRESS_PRIVATE_KEY', 'MUMBAI_RPC_URL'],
sepolia: ['SEPOLIA_ADDRESS_PRIVATE_KEY', 'SEPOLIA_RPC_URL'],
anvil: [],
localhost: [],
};

Expand Down
Loading
Loading