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

3.0.0 #809

Merged
merged 414 commits into from
Sep 20, 2023
Merged

3.0.0 #809

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
13115e0
Merge branch '3.0.0' into multiple-nonce-redemption
tbrent May 3, 2023
fe6bebd
StRSR: require basket ready
tbrent May 3, 2023
1913fc9
second implementation pass
tbrent May 4, 2023
57a2045
lint clean
tbrent May 4, 2023
000ac1d
basket handler nits + add getHistoricalBasket() function
tbrent May 4, 2023
60517ad
small contract size wins
tbrent May 4, 2023
63257bd
Merge branch '3.0.0' into itrade-dutch-auction
pmckelvy1 May 4, 2023
d91676b
Merge pull request #807 from reserve-protocol/withdraw-basket-ready
tbrent May 4, 2023
5c4912b
lint clean
tbrent May 4, 2023
ca96dea
fix tests & linting.
pmckelvy1 May 5, 2023
e925f26
Merge branch 'itrade-dutch-auction' of github.com:reserve-protocol/pr…
tbrent May 5, 2023
d5cd91a
add invalid claim logic replacement tests
tbrent May 5, 2023
75c1094
missing revenue test
tbrent May 5, 2023
7f7159d
try furnace.melt() again
tbrent May 5, 2023
e965298
cosmetics
tbrent May 5, 2023
3821b3d
Merge branch 'itrade-dutch-auction' into multiple-nonce-redemption
tbrent May 5, 2023
396a357
external Basket lib
tbrent May 5, 2023
19c7478
Itrade dutch auction (#791)
tbrent May 5, 2023
4d8cfbd
add a way to manually start sell off tokens via the RevenueTrader
jankjr May 5, 2023
bb19dd0
minor renaming
tbrent May 5, 2023
cb03de7
tests
tbrent May 5, 2023
35002a0
scripts
tbrent May 5, 2023
e73033c
add safe mulDiv to custom redemption in case of hyperinflated refPerTok
tbrent May 5, 2023
89916aa
try-catch to handle unregistered assets
tbrent May 5, 2023
0f27c08
RToken + Main tests
tbrent May 5, 2023
7c5dafc
add test for splitting portions and test portions sum to 1
tbrent May 5, 2023
5e5e9cc
add simulation help by returning actual amounts transferred
tbrent May 5, 2023
870e86b
BasketLib proofreading
tbrent May 5, 2023
fe23118
Merge branch '3.0.0' into facade-read-return-to-revenue
tbrent May 5, 2023
689fc31
update to 3.0.0 BackingManager/RevenueTrader behavior
tbrent May 5, 2023
8ce7274
draft 1-function approach
tbrent May 5, 2023
507f7e3
remove console.log
tbrent May 5, 2023
8c26706
fix p1 tests
tbrent May 5, 2023
7e64198
fix p0 tests
tbrent May 5, 2023
3d6e2b2
fix typo in p0
tbrent May 5, 2023
9ea2468
fix typo in p0
tbrent May 5, 2023
01a874b
RTokenP0 RCEI
tbrent May 6, 2023
e5477f9
Merge pull request #789 from reserve-protocol/facade-read-return-to-r…
tbrent May 6, 2023
fe6d17d
Merge branch '3.0.0' into multiple-nonce-redemption
tbrent May 6, 2023
57388be
test redemption after every recollateralization
tbrent May 7, 2023
5532124
test redeem() behavior after governance basket change
tbrent May 7, 2023
8dddc84
Merge pull request #810 from reserve-protocol/feat/start-dust-auctions-2
jankjr May 8, 2023
6a11079
implement constant target weights
tbrent May 8, 2023
583e667
comment visibility nits
tbrent May 8, 2023
dfc5c4b
update Main tests
tbrent May 8, 2023
187f970
update recollat tests
tbrent May 8, 2023
6e84cfe
update trading extremes tests
tbrent May 8, 2023
5b90db7
give scenario tests in CI more memory
tbrent May 9, 2023
a1a7376
fix scenario tests (were broken in CI for a while)
tbrent May 9, 2023
c1ffa0c
update integration tests
tbrent May 9, 2023
fe1bb6d
add manual gaslimit to all FacadeAct tests
tbrent May 9, 2023
68ba06f
remove --parallel from p0/p1 tests, seems to be causing nondeterminism
tbrent May 9, 2023
91a1ba2
remove _switchConfig mentions
tbrent May 9, 2023
82334f2
remove loadFixture
tbrent May 9, 2023
e5b9df5
remove confusing comment + add test case for it
tbrent May 9, 2023
f9f9050
add back afterEach() for fully collateralized + redemption
tbrent May 9, 2023
092e19b
formalize storage layout yarn target
tbrent May 9, 2023
1aa7dbf
fix BasketHandlerP1 storage layout
tbrent May 9, 2023
72d0171
new basket handler tests for requireConstantConfigTargets
tbrent May 9, 2023
faeacbd
Merge pull request #813 from reserve-protocol/master
tbrent May 9, 2023
9f9587d
Merge pull request #812 from reserve-protocol/fixed-prime-weights
tbrent May 10, 2023
eeddf1b
adjust FacadeAct.getRevenueAuctionERC20s to skip over dust auctions
tbrent May 10, 2023
b814789
Merge branch '3.0.0' into feat/start-dust-auctions
tbrent May 10, 2023
b147df3
FacadeRead: use lotPrice when calculating minTradeAmounts
tbrent May 10, 2023
1aa23fe
cleanup FacadeRead/Act revenue/recollateralization helpers
tbrent May 10, 2023
ff7c468
Merge branch 'feat/start-dust-auctions' into multiple-nonce-redemption
tbrent May 10, 2023
08eb391
remove TODO
tbrent May 10, 2023
5e72b5f
nit: redeemToCustom -> redeemCustom
tbrent May 10, 2023
4fa3931
lint clean
tbrent May 10, 2023
7abdcd6
Merge pull request #808 from reserve-protocol/feat/start-dust-auctions
tbrent May 10, 2023
eec8296
Merge branch '3.0.0' into multiple-nonce-redemption
tbrent May 10, 2023
db29397
remove console.log
tbrent May 10, 2023
3d199c5
.github/workflows.yml try 8192
tbrent May 10, 2023
9072627
remove now-invalid WETH scenario test
tbrent May 10, 2023
83adf7a
Merge pull request #771 from reserve-protocol/multiple-nonce-redemption
tbrent May 10, 2023
c79e5a7
fix Revenues gas test
tbrent May 10, 2023
9798efa
remove now-unnecessary RevTrader logic leftover from when BackingMana…
tbrent May 10, 2023
2f477db
remove FacadeAct.getActCalldata()
tbrent May 10, 2023
bf69c3c
RevenueTraderP1: do not refresh when in same block
tbrent May 10, 2023
3d7f4f7
remove FacadeMonitor
tbrent May 10, 2023
ecc5c57
scrub .md mentions of getActCalldata
tbrent May 10, 2023
a84b1d3
scrub mentions of FacadeMonitor
tbrent May 10, 2023
be1b0de
draft StRSR.withdraw leakyRefresh()
tbrent May 11, 2023
ab33365
nit
tbrent May 11, 2023
dabe3de
lint clean
tbrent May 11, 2023
19ac444
simpler leakyRefresh()
tbrent May 11, 2023
82c5e6f
nit
tbrent May 11, 2023
84f843d
lint clean
tbrent May 11, 2023
026dd95
better leakyRefresh algo
tbrent May 11, 2023
15e882a
nit
tbrent May 11, 2023
c977196
Upgrades phase 2 - Deployment (#814)
julianmrodri May 11, 2023
38a1607
store erc20s in deployment file
julianmrodri May 11, 2023
5ee6c1c
improve logging
julianmrodri May 11, 2023
7c98844
prettier on tasks
julianmrodri May 11, 2023
7153431
prettier on contracts
julianmrodri May 11, 2023
1c77886
prettier on config
julianmrodri May 11, 2023
b13d921
prettier on docs
julianmrodri May 11, 2023
89e6f46
comment nit
tbrent May 11, 2023
6d6fee4
add RToken version to contract documentation for Facades
tbrent May 11, 2023
bddb2b7
Merge pull request #815 from reserve-protocol/3.0.0-cleanup
tbrent May 11, 2023
a68acfa
add comment to TradingP1 mixin clarifying Multicall vs MulticallUpgra…
tbrent May 11, 2023
3030aa2
remove kruft mention of TradingLib
tbrent May 11, 2023
655adbc
add tweaks for better upgrade checking
julianmrodri May 11, 2023
c085b97
remove hardhat-storage-layout
tbrent May 12, 2023
d7002d2
Merge branch '3.0.0' into 3.0.0-gas-optimize
tbrent May 12, 2023
eaf4492
implement + test withdrawalLeak gov param
tbrent May 12, 2023
e127370
nit: var name
tbrent May 12, 2023
1277863
solve contract size
tbrent May 12, 2023
7309e1d
even simpler
tbrent May 12, 2023
bfa151a
nit
tbrent May 12, 2023
efa2a74
fix StRSR extreme tests
tbrent May 12, 2023
7a8703b
only run extreme tests when EXTREME=1
tbrent May 12, 2023
db72f7b
fix failing tests
tbrent May 12, 2023
c96ee4b
Merge pull request #816 from reserve-protocol/3.0.0-gas-optimize
tbrent May 12, 2023
eab5a39
Merge pull request #822 from reserve-protocol/master
akshatmittal May 12, 2023
0192cda
gas snapshots
tbrent May 15, 2023
6498795
Merge pull request #823 from reserve-protocol/3.0.0-gas-snapshots
tbrent May 15, 2023
585222b
new auction length validations
julianmrodri May 17, 2023
f74264c
adjust broker tests
julianmrodri May 17, 2023
68df6a8
fix comment
julianmrodri May 17, 2023
b647511
fix revenue tests
julianmrodri May 17, 2023
48fb3b8
Merge pull request #827 from reserve-protocol/feat-broker
tbrent May 17, 2023
0b85b08
make first offered dutch auction price exactly highPrice; + comments
tbrent May 17, 2023
339fcea
further simplification
tbrent May 17, 2023
e043d10
remove kruft --dev depedency
tbrent May 18, 2023
849f1e3
DutchTrade: 30% / 70% auction split with 4/5 as the exp base
tbrent May 18, 2023
65824a8
Revenues tests
tbrent May 18, 2023
3e91bf1
Recollateralization tests
tbrent May 18, 2023
5f94e2d
remove prime nonce and update tests (#824)
tbrent May 18, 2023
af4bff7
final answer: 33%/66% split with 18.6 minute auctions
tbrent May 18, 2023
a39beea
new gas snapshots
tbrent May 18, 2023
e590d4a
Correct vendor files (#826)
pmckelvy1 May 18, 2023
924f518
backwards compatible FacadeRead/Act (#825)
tbrent May 18, 2023
dacb348
fix failing tests
tbrent May 18, 2023
a732632
Merge branch '3.0.0' into manipulated-prices
tbrent May 18, 2023
403615b
docs/system-design.md
tbrent May 18, 2023
9f2cf7e
fix Broker test
tbrent May 18, 2023
14ea9cf
system-design.md: withdrawalLeak
tbrent May 18, 2023
28532d1
cache quantities only
tbrent May 18, 2023
053c1a9
skip over RToken dust balances without computing price
tbrent May 18, 2023
0af3dc4
add test for trading RToken last
tbrent May 18, 2023
7b6ed64
gas snapshots
tbrent May 18, 2023
6008aad
delete console.log
tbrent May 18, 2023
b94fd68
mainnet facadeAct/facadeRead addresses
tbrent May 19, 2023
85d5263
fix distributor internal consistency + add clearer comment
tbrent May 19, 2023
db2466d
more comment clarifications
tbrent May 19, 2023
7822771
switch from trading RToken last to virtually redeeming it first
tbrent May 19, 2023
623f9a0
remove MAX_DESTINATIONS
tbrent May 19, 2023
c023675
add-back distributor-dust optimization + use dissolve() as function name
tbrent May 19, 2023
a22f53f
fix typo
tbrent May 19, 2023
0ba27bf
align P0 RToken with P1
tbrent May 19, 2023
17d10be
fix RToken test
tbrent May 19, 2023
de997b0
remove unreachable line
tbrent May 19, 2023
064f02f
add test nit
tbrent May 19, 2023
da63858
Merge pull request #829 from reserve-protocol/gas-optimize-rebalance
tbrent May 19, 2023
1a168b6
Merge branch '3.0.0' into manipulated-prices
pmckelvy1 May 19, 2023
2a7e75a
simplify RToken/BackingManager relationship + remove redundant modifiers
tbrent May 19, 2023
1379fcf
tests
tbrent May 19, 2023
15faffc
gas snapshots
tbrent May 19, 2023
6eda68b
polish off RToken + final snapshots
tbrent May 20, 2023
9bdb1e3
keep notTradingPausedOrFrozen on setBasketsNeeded
tbrent May 20, 2023
6b58e9f
re-order tryTrade and document nonReentrant testatibility
tbrent May 20, 2023
7265e24
fix RTokenP0
tbrent May 20, 2023
cb6c045
fix integration test inconsistency in CI
tbrent May 20, 2023
090be39
Merge branch 'manipulated-prices' into 3.0.0-audit-tbrent
tbrent May 20, 2023
de6f2da
fix P1 tests
tbrent May 20, 2023
ac26373
TraderP1: fix ordering and label nonReentrant requirement
tbrent May 20, 2023
659d3c8
test cacheComponents() doesn't break anything
tbrent May 20, 2023
38b86cd
make auction algorithm far more general; switch to 40%/60% 30m
tbrent May 20, 2023
215bedd
cache components P1 only
tbrent May 20, 2023
9be8709
snipe in last possible second in tests
tbrent May 20, 2023
2bb2e13
updated gas snapshots
tbrent May 20, 2023
352ea80
cacheComponents the right way
tbrent May 20, 2023
318c8c6
Merge pull request #828 from reserve-protocol/manipulated-prices
tbrent May 20, 2023
eed2ebd
Merge branch '3.0.0' into 3.0.0-audit-tbrent
tbrent May 20, 2023
b096416
updated gas snapshots
tbrent May 20, 2023
12812c3
nit over DutchTrade comments
tbrent May 20, 2023
f4beb60
a few more comments
tbrent May 20, 2023
3d6f097
Facades: terser way to try-catch 3.0.0/2.1.0 implementations
tbrent May 21, 2023
4e7697a
FacadeRead: remove basketNonce from redeem function to match RToken.r…
tbrent May 21, 2023
40de8d1
FacadeRead.nextRecollateralizationAuction: make backwards compatible …
tbrent May 21, 2023
205befd
fix compile
tbrent May 21, 2023
2831935
docs/system-design.md: document dutch auctions
tbrent May 21, 2023
58d6795
docs/system-design.md: document all the places we make a blocktime as…
tbrent May 21, 2023
fec188c
CHANGELOG.md: partially complete
tbrent May 21, 2023
40078c0
invert changelog
tbrent May 21, 2023
3a85b21
fix call to settle trade
julianmrodri May 22, 2023
c73aa2a
Merge pull request #832 from reserve-protocol/fix-facaderead
tbrent May 22, 2023
c509a2c
Merge branch '3.0.0' into 3.0.0-audit-tbrent
tbrent May 22, 2023
59156a9
bump Versioned mixin
tbrent May 22, 2023
830d070
FacadeRead/Act: parse version and make version-specific call
tbrent May 22, 2023
d014777
fix typo
tbrent May 22, 2023
f425495
lint clean
tbrent May 22, 2023
1fe413d
add back tests for transfer/transferFrom to RToken
tbrent May 22, 2023
8cc1cea
Merge pull request #831 from reserve-protocol/3.0.0-audit-tbrent
tbrent May 22, 2023
c29455f
bump suggested withdrawalLeak to 1%
tbrent May 22, 2023
6db28bd
bump suggested withdrawalLeak to 5%
tbrent May 22, 2023
e0b66e4
nitpicks
akshatmittal May 22, 2023
80a3a93
use 3.0.0 in tests for Permit approvals, etc
tbrent May 22, 2023
da6d2ce
Remove comment
akshatmittal May 22, 2023
aa6f130
Merge pull request #834 from reserve-protocol/3.0.0-review-akshat
akshatmittal May 22, 2023
57a77ff
Merge pull request #833 from reserve-protocol/parse-version
tbrent May 22, 2023
b72d3f6
document StRSR.cancelUnstake
tbrent May 23, 2023
ab35193
remove all mention of manageTokens
tbrent May 23, 2023
6e9e32f
remove kruft event
tbrent May 23, 2023
e1b2254
update RewardableLibP1 comments
tbrent May 23, 2023
d6459b3
CHANGELOG.md
tbrent May 23, 2023
647b6c0
add summaries
tbrent May 23, 2023
be89c47
CHANGELOG.md: 3.0.0 upgrade instructions
tbrent May 23, 2023
0c11e56
Merge pull request #835 from reserve-protocol/3.0.0-docs
tbrent May 23, 2023
5028f3a
FacadeRead.overview(): do not revert if an asset lotLow is 0
tbrent May 23, 2023
9ade0b3
move trading functions around. FacadeRead was over limit
tbrent May 24, 2023
35d015b
new FacadeRead/FacadeAct addresses
tbrent May 24, 2023
0f4115f
basket handler fix in historical basket
julianmrodri May 24, 2023
cfd1635
add untestable comments
julianmrodri May 24, 2023
c4ec247
Merge pull request #836 from reserve-protocol/3.0.0-rc2
tbrent May 24, 2023
9d0e65f
3.0.0 rc3 (#837)
julianmrodri Jul 3, 2023
498819c
3.0.0 rc4 (#857)
tbrent Jul 3, 2023
1e24984
Merge branch 'master' into 3.0.0
tbrent Jul 3, 2023
a82b672
fix compiling
tbrent Jul 3, 2023
3d847b0
lint clean
tbrent Jul 3, 2023
a99856e
BasketHandlerP1 to under contract limit
tbrent Jul 3, 2023
23ffa89
nit
tbrent Jul 3, 2023
16b4c87
Broker.test.ts
tbrent Jul 4, 2023
33454b5
Revenues.test.ts
tbrent Jul 4, 2023
fe85f8a
curve collateralTests.ts
tbrent Jul 4, 2023
e51b466
Fix 4byte 300 (#862)
pmckelvy1 Jul 5, 2023
aedbd14
prettier fixes 3.0.0 (#859)
julianmrodri Jul 6, 2023
ce892b2
ci tests - non-determinism (#858)
julianmrodri Jul 6, 2023
eea6776
fix storage slots Distributor (#865)
julianmrodri Jul 7, 2023
e351b32
additional furnace timestamp check (#866)
julianmrodri Jul 7, 2023
6da3481
Base Testnet configuration (#867)
julianmrodri Jul 11, 2023
a1092d7
Base Testnet configuration (#867)
julianmrodri Jul 11, 2023
05961a1
Stargate Asset Plugin (#863)
akshatmittal Jul 18, 2023
9ee60f1
Update mattjurenka/morpho to 3.0.0 (#853)
jankjr Jul 18, 2023
a0480a8
3.0.0 rc5 (#882)
pmckelvy1 Aug 24, 2023
7b3d401
Merge branch 'master' into 3.0.0
pmckelvy1 Sep 1, 2023
c237cfb
3.0.0 rc6 (#912)
akshatmittal Sep 6, 2023
baa7f5b
update base goerli addresses (#937)
julianmrodri Sep 11, 2023
fe502d2
script to grab rtoken & implementation addys for dev docs (#932)
pmckelvy1 Sep 12, 2023
e259d78
Upg checker - update addresses 3.0.0 deployment (#943)
julianmrodri Sep 13, 2023
97071a3
Improve proposal with final addresses (#945)
julianmrodri Sep 14, 2023
4e010df
fix RToken exhaustive tests (#946)
julianmrodri Sep 14, 2023
9896102
3.0.0 deploy (#935)
tbrent Sep 14, 2023
27c580b
Updated gas snapshots (#942)
tbrent Sep 14, 2023
e12d643
fix revenue appreciation extreme tests.
pmckelvy1 Sep 15, 2023
6c841f0
use infura in deployment scripts (#948)
julianmrodri Sep 18, 2023
2ec019c
deployment-variables.md: fix rewardRatio default value
tbrent Sep 18, 2023
111c597
upg checker final tweaks (#949)
julianmrodri Sep 19, 2023
21b5234
remove timeout
julianmrodri Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Goerli Infura URL, used for Testnet deployments
GOERLI_RPC_URL='https://goerli.infura.io/v3/your_infura_key'

# Base Goerli URL
BASE_GOERLI_RPC_URL="https://goerli.base.org"

# Mainnet URL, used for Mainnet forking (Alchemy)
MAINNET_RPC_URL="https://eth-mainnet.alchemyapi.io/v2/your_mainnet_api_key"

Expand Down Expand Up @@ -39,4 +42,7 @@ PROTO_IMPL=0
# SUBGRAPH_URL=

# RPC URL to interact with a tenderly forked network
# TENDERLY_RPC_URL="https://rpc.tenderly.co/fork/15af2920-4719-4e62-a5ea-ab8b9e90a258"
# TENDERLY_RPC_URL="https://rpc.tenderly.co/fork/15af2920-4719-4e62-a5ea-ab8b9e90a258"

# Skip user prompt
# SKIP_PROMPT=1
27 changes: 27 additions & 0 deletions .github/workflows/4byte.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sync 4byte Signatures

on:
push:
branches:
- master
- main
pull_request:
types:
- closed

jobs:
sync-signatures:
name: '4byte Sync'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn run:4byte
34 changes: 0 additions & 34 deletions .github/workflows/4bytes.yml

This file was deleted.

24 changes: 13 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn devchain &
env:
MAINNET_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/${{ secrets.ALCHEMY_MAINNET_KEY }}
MAINNET_RPC_URL: https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161
MAINNET_BLOCK: 18114118
- run: yarn deploy:run --network localhost
env:
SKIP_PROMPT: 1

lint:
name: 'Lint Checks'
Expand All @@ -35,7 +37,6 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn lint

plugin-tests:
Expand All @@ -48,7 +49,6 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:plugins
- name: 'Cache hardhat network fork'
uses: actions/cache@v3
Expand All @@ -60,7 +60,7 @@ jobs:
hardhat-network-fork-
- run: yarn test:plugins:integration
env:
NODE_OPTIONS: '--max-old-space-size=4096'
NODE_OPTIONS: '--max-old-space-size=8192'
TS_NODE_SKIP_IGNORE: true
MAINNET_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/${{ secrets.ALCHEMY_MAINNET_KEY }}

Expand All @@ -74,8 +74,9 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:p0
env:
NODE_OPTIONS: '--max-old-space-size=8192'

p1-tests:
name: 'P1 Tests'
Expand All @@ -87,8 +88,9 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:p1
env:
NODE_OPTIONS: '--max-old-space-size=8192'

scenario-tests:
name: 'Scenario Tests'
Expand All @@ -100,8 +102,9 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:scenario
env:
NODE_OPTIONS: '--max-old-space-size=8192'

extreme-tests:
name: 'Extreme Tests'
Expand All @@ -113,7 +116,6 @@ jobs:
node-version: 16.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:extreme
- name: 'Cache hardhat network fork'
uses: actions/cache@v3
Expand All @@ -125,6 +127,7 @@ jobs:
hardhat-network-fork-
- run: yarn test:extreme:integration
env:
NODE_OPTIONS: '--max-old-space-size=8192'
TS_NODE_SKIP_IGNORE: true
MAINNET_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/${{ secrets.ALCHEMY_MAINNET_KEY }}

Expand All @@ -148,9 +151,8 @@ jobs:
hardhat-network-fork-${{ runner.os }}-
hardhat-network-fork-
- run: yarn install --immutable
- run: yarn compile
- run: yarn test:integration
env:
NODE_OPTIONS: '--max-old-space-size=4096'
NODE_OPTIONS: '--max-old-space-size=8192'
TS_NODE_SKIP_IGNORE: true
MAINNET_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/${{ secrets.ALCHEMY_MAINNET_KEY }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ scripts/addresses/31337*
scripts/test.ts
scripts/playground.ts

backtests/
# tenderly deployment/verification artifacts
deployments/
backtests/
Loading