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

Acrab release v2.101.2 to mainnet #2236

Merged
merged 67 commits into from
Apr 18, 2024
Merged

Acrab release v2.101.2 to mainnet #2236

merged 67 commits into from
Apr 18, 2024

Conversation

barrasso
Copy link
Member

No description provided.

barrasso and others added 30 commits March 23, 2023 12:18
* Update TRX Pause Status Mainnet

* Update on goerli optimism
* SCCP-293 (#2076)

As part of SCCP-293:
- LPM can only increase by 25% until reaches target
- LBR can only increase by 10% until it reaches targets
- skewScale can only increase by 10% until reaches target

* SIP-298 - Add new markets (#2075)

* Set SIP-298 markets as resumed (already on-chain) (#2080)

* Set markets as resumed (already on-chain)

* fix test

* SIP-2014: New PerpsV2 Markets (#2082)

* set markets for SIP-2014 and prepare SIP-2015

* Add missing asset

* use CL decimals instead of hardcoded 8 decimals

* Add SIP-2015 markets (#2084)

* Add SIP-2015 markets

* Update perpsv2-markets.json (#2085)

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* Update Perp Parameters & set Paused to False (#2087)

* Update perpsv2-markets.json - optimism-goerli (#2083)

* fix(chainMapping): fix typos in chain mappings (#1959)

* Bump webpack from 5.75.0 to 5.76.0 (#2050)

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>

* Fix CI Test failing due to fork limitation (#2090)

* Update Perps V2 Market Settings - Skew Scale (#2088)

* Update perpsv2-markets.json (#2091)

* Update SCCP-293/2005 (#2092)

* implements sccp-2009 (#2094)

updates minAge to 4 and magAge to 60 seconds - post-bedrock changes

* Implement SIP-2021 (stETH) (#2095)

* Add missing markets to goerli (#2096)

* Add missing markets to goerli

* update goerli values with optimism ones

* SCCP-2012-2014-2015 (#2101)

* Update perpsv2-markets.json

* Update perpsv2-markets.json

* update goerli parameters

* Configure sSTETHPERP on Goerli-ovm (#2104)

* Configure sSTETHPERP on Goerli-ovm

* fix range in test

* Update perps v2 config (#2109)

* fix test (updated config out of range)

* Update on mainnet json

Incorporates
- SCCP-2016
- SCCP-2017
- SCCP-2018
- SCCP-2019
- SCCP-2020
- SCCP-2021
- SCCP-2022

* update to goerli json

* lint

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update json (#2114)

* update sccp-2026-2027 (#2117)

* update address (#2111)

* Add new markets (SIP-2009/23/24/25/26/27) (#2110)

* Add new markets (SIP-2009/23/24/25)

* Update Parameters + Include SIP 2026 & 2027 (#2116)

* Update Parameters + Include SIP 2026 & 2027

* update default min age to 2 seconds

* fix feeds (#2118)

* add missing stETH info

* fix release name

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Synthetix Team and others added 28 commits October 20, 2023 17:18
* SCCP-293 (#2076)

As part of SCCP-293:
- LPM can only increase by 25% until reaches target
- LBR can only increase by 10% until it reaches targets
- skewScale can only increase by 10% until reaches target

* SIP-298 - Add new markets (#2075)

* Set SIP-298 markets as resumed (already on-chain) (#2080)

* Set markets as resumed (already on-chain)

* fix test

* SIP-2014: New PerpsV2 Markets (#2082)

* set markets for SIP-2014 and prepare SIP-2015

* Add missing asset

* use CL decimals instead of hardcoded 8 decimals

* Add SIP-2015 markets (#2084)

* Add SIP-2015 markets

* Update perpsv2-markets.json (#2085)

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* Update Perp Parameters & set Paused to False (#2087)

* Update perpsv2-markets.json - optimism-goerli (#2083)

* fix(chainMapping): fix typos in chain mappings (#1959)

* Bump webpack from 5.75.0 to 5.76.0 (#2050)

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>

* Fix CI Test failing due to fork limitation (#2090)

* Update Perps V2 Market Settings - Skew Scale (#2088)

* Update perpsv2-markets.json (#2091)

* Update SCCP-293/2005 (#2092)

* implements sccp-2009 (#2094)

updates minAge to 4 and magAge to 60 seconds - post-bedrock changes

* Implement SIP-2021 (stETH) (#2095)

* Add missing markets to goerli (#2096)

* Add missing markets to goerli

* update goerli values with optimism ones

* SCCP-2012-2014-2015 (#2101)

* Update perpsv2-markets.json

* Update perpsv2-markets.json

* update goerli parameters

* Configure sSTETHPERP on Goerli-ovm (#2104)

* Configure sSTETHPERP on Goerli-ovm

* fix range in test

* Update perps v2 config (#2109)

* fix test (updated config out of range)

* Update on mainnet json

Incorporates
- SCCP-2016
- SCCP-2017
- SCCP-2018
- SCCP-2019
- SCCP-2020
- SCCP-2021
- SCCP-2022

* update to goerli json

* lint

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update json (#2114)

* update sccp-2026-2027 (#2117)

* update address (#2111)

* Add new markets (SIP-2009/23/24/25/26/27) (#2110)

* Add new markets (SIP-2009/23/24/25)

* Update Parameters + Include SIP 2026 & 2027 (#2116)

* Update Parameters + Include SIP 2026 & 2027

* update default min age to 2 seconds

* fix feeds (#2118)

* add missing stETH info

* fix release name

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* update eth/btc and etc feeds (#2120)

* Update feeds.json

* Update feeds.json

* SCCP 2029 & 2030 (#2124)

* update sccps

* update georli

* sccp-2031 (#2125)

* SIP-2028 (#2123)

* update repo

* update chainlink feed

* lint and offchain market key fix

* add release info

* fix feeds

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* sccp-2032-2033 (#2128)

* update perps v2 json (#2130)

* SIP-2030 (#2129)

* Adding USDT

Update perpsv2-markets.json

* update parameters

* update max market value

* Add releases info

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* Update Optimism Goerli Chainlink Feeds  / Executes SCCP-2036 (#2134)

* Update feeds.json

* update mkr

* flip USDT liquidation parameters

* update to bp

* npm audit fix (#2138)

* update json (#2136)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update json (#2140)

* update perps v2 json (#2142)

* SIP-2029, SIP-2031, SIP-2032, SIP-2033 markets (#2137)

* SIP-2033 markets

* SIP-2032 (#2139)

* SIP-2032 - fakeFeeds

* fix THOR -> RUNE

* fix feed (fakes using wrong template)

* continue on exception from Tenderly

* Add SEI market (SIP-2029)

* Update added feeds

* update release feeds (#2141)

* update release feeds

- Missing

* update perps v2 settings

* update goerli feeds

* Update feeds.json

* remove fake feed

* Update feeds.json (#2144)

* fix wrong config

* update RNDR parameters (#2145)

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* update as per sccp-2040 (#2147)

* unpause new markets (#2149)

* update json - sccp-2041-2042 (#2150)

* Update steth eth goerli feed (#2151)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update as per sccp-2044 (#2152)

* sccp-2045 (#2153)

* implement 2046 (#2154)

* sccp-2048 (#2155)

* update skew scale as per sccp-2049 (#2156)

* Fix CI - Use a new foundry cache (#2157)

* use a new foundry cache

* another try

* rm repo

* fix integration test too

* pr review

* sccp-2050 (#2158)

* implements sccp-2052 (#2159)

* SIP-2036 fix reward distributor to bubble failures (#2160)

* fix reward distributor to bubble failures

in the simplest possible way, fix a bug which prevents reward
distribution from getting sent to L2 due to internal OOG gas logic in
optimism contract (normally if you are OOG then the remaining code in
RewardsDistribution would also fail, but optimism deliberately consumes
an excessive amount of gas in a way that causes only the internal call
to fail)

in accordance with [SIP-2036](https://sips-go29dg4x3-synthetixio.vercel.app/sips/sip-2036/)

note: if you are wondering why I didnt just call the rewards
distribution receiver contract normally and continue to be using hte low
level call, the reason is im trying to keep changes to a minimal and
this change basically ended up being a 1 line changes.

* fix bug

* fix bug where reward distribution dispursement is sent

should be an and not an or

* adding notify reward amount to the trading rewards

otherwise sending rewards to l2 will fail

* update sccp 2053 (#2163)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* sccp-2054 (#2164)

* sccp-2055 (#2166)

* update as per sccp 2056 (#2167)

* update as per sccp 2056

* Revert "update as per sccp 2056"

This reverts commit 3b28251.

* sccp 2056

* sccp-2057 (#2168)

* sccp-2058 (#2169)

* sccp-2059 (#2170)

* sip-2035-2037-2038-2039-2040-2041-2042 (#2171)

* initial commit

* fix json

* fix json

* fix divergence

* fix in json and lint

* fix releases

* fix feeds

* fix feed

* fix. add new exception on know limitations

* fix inverted values in config

* fix and log improvement

* update skew scale (#2173)

* Remove SIP-2038 (#2174)

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <git@danb.email>
* SCCP-293 (#2076)

As part of SCCP-293:
- LPM can only increase by 25% until reaches target
- LBR can only increase by 10% until it reaches targets
- skewScale can only increase by 10% until reaches target

* SIP-298 - Add new markets (#2075)

* Set SIP-298 markets as resumed (already on-chain) (#2080)

* Set markets as resumed (already on-chain)

* fix test

* SIP-2014: New PerpsV2 Markets (#2082)

* set markets for SIP-2014 and prepare SIP-2015

* Add missing asset

* use CL decimals instead of hardcoded 8 decimals

* Add SIP-2015 markets (#2084)

* Add SIP-2015 markets

* Update perpsv2-markets.json (#2085)

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* Update Perp Parameters & set Paused to False (#2087)

* Update perpsv2-markets.json - optimism-goerli (#2083)

* fix(chainMapping): fix typos in chain mappings (#1959)

* Bump webpack from 5.75.0 to 5.76.0 (#2050)

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>

* Fix CI Test failing due to fork limitation (#2090)

* Update Perps V2 Market Settings - Skew Scale (#2088)

* Update perpsv2-markets.json (#2091)

* Update SCCP-293/2005 (#2092)

* implements sccp-2009 (#2094)

updates minAge to 4 and magAge to 60 seconds - post-bedrock changes

* Implement SIP-2021 (stETH) (#2095)

* Add missing markets to goerli (#2096)

* Add missing markets to goerli

* update goerli values with optimism ones

* SCCP-2012-2014-2015 (#2101)

* Update perpsv2-markets.json

* Update perpsv2-markets.json

* update goerli parameters

* Configure sSTETHPERP on Goerli-ovm (#2104)

* Configure sSTETHPERP on Goerli-ovm

* fix range in test

* Update perps v2 config (#2109)

* fix test (updated config out of range)

* Update on mainnet json

Incorporates
- SCCP-2016
- SCCP-2017
- SCCP-2018
- SCCP-2019
- SCCP-2020
- SCCP-2021
- SCCP-2022

* update to goerli json

* lint

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update json (#2114)

* update sccp-2026-2027 (#2117)

* update address (#2111)

* Add new markets (SIP-2009/23/24/25/26/27) (#2110)

* Add new markets (SIP-2009/23/24/25)

* Update Parameters + Include SIP 2026 & 2027 (#2116)

* Update Parameters + Include SIP 2026 & 2027

* update default min age to 2 seconds

* fix feeds (#2118)

* add missing stETH info

* fix release name

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* update eth/btc and etc feeds (#2120)

* Update feeds.json

* Update feeds.json

* SCCP 2029 & 2030 (#2124)

* update sccps

* update georli

* sccp-2031 (#2125)

* SIP-2028 (#2123)

* update repo

* update chainlink feed

* lint and offchain market key fix

* add release info

* fix feeds

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* sccp-2032-2033 (#2128)

* update perps v2 json (#2130)

* SIP-2030 (#2129)

* Adding USDT

Update perpsv2-markets.json

* update parameters

* update max market value

* Add releases info

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* Update Optimism Goerli Chainlink Feeds  / Executes SCCP-2036 (#2134)

* Update feeds.json

* update mkr

* flip USDT liquidation parameters

* update to bp

* npm audit fix (#2138)

* update json (#2136)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update json (#2140)

* update perps v2 json (#2142)

* SIP-2029, SIP-2031, SIP-2032, SIP-2033 markets (#2137)

* SIP-2033 markets

* SIP-2032 (#2139)

* SIP-2032 - fakeFeeds

* fix THOR -> RUNE

* fix feed (fakes using wrong template)

* continue on exception from Tenderly

* Add SEI market (SIP-2029)

* Update added feeds

* update release feeds (#2141)

* update release feeds

- Missing

* update perps v2 settings

* update goerli feeds

* Update feeds.json

* remove fake feed

* Update feeds.json (#2144)

* fix wrong config

* update RNDR parameters (#2145)

---------

Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>

* update as per sccp-2040 (#2147)

* unpause new markets (#2149)

* update json - sccp-2041-2042 (#2150)

* Update steth eth goerli feed (#2151)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* update as per sccp-2044 (#2152)

* sccp-2045 (#2153)

* implement 2046 (#2154)

* sccp-2048 (#2155)

* update skew scale as per sccp-2049 (#2156)

* Fix CI - Use a new foundry cache (#2157)

* use a new foundry cache

* another try

* rm repo

* fix integration test too

* pr review

* sccp-2050 (#2158)

* implements sccp-2052 (#2159)

* SIP-2036 fix reward distributor to bubble failures (#2160)

* fix reward distributor to bubble failures

in the simplest possible way, fix a bug which prevents reward
distribution from getting sent to L2 due to internal OOG gas logic in
optimism contract (normally if you are OOG then the remaining code in
RewardsDistribution would also fail, but optimism deliberately consumes
an excessive amount of gas in a way that causes only the internal call
to fail)

in accordance with [SIP-2036](https://sips-go29dg4x3-synthetixio.vercel.app/sips/sip-2036/)

note: if you are wondering why I didnt just call the rewards
distribution receiver contract normally and continue to be using hte low
level call, the reason is im trying to keep changes to a minimal and
this change basically ended up being a 1 line changes.

* fix bug

* fix bug where reward distribution dispursement is sent

should be an and not an or

* adding notify reward amount to the trading rewards

otherwise sending rewards to l2 will fail

* update sccp 2053 (#2163)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* sccp-2054 (#2164)

* sccp-2055 (#2166)

* update as per sccp 2056 (#2167)

* update as per sccp 2056

* Revert "update as per sccp 2056"

This reverts commit 3b28251.

* sccp 2056

* sccp-2057 (#2168)

* sccp-2058 (#2169)

* sccp-2059 (#2170)

* sip-2035-2037-2038-2039-2040-2041-2042 (#2171)

* initial commit

* fix json

* fix json

* fix divergence

* fix in json and lint

* fix releases

* fix feeds

* fix feed

* fix. add new exception on know limitations

* fix inverted values in config

* fix and log improvement

* update skew scale (#2173)

* Remove SIP-2038 (#2174)

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* sccp-2063-2064 (#2179)

* sccp-2065 (#2180)

* sccp-2067 (#2182)

* sccp-2067

* Update perpsv2-markets.json

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* Sccp 2069 2070 (#2183)

* implements sccp 2069 and 2070

* Update perpsv2-markets.json

* fix divergence

* sccp-2071 (#2184)

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* Sccp 2073 2072 (#2185)

* Update perpsv2-markets.json

* Update perpsv2-markets.json

* typoes

* executes ssccp 2047 and 2049 (#2186)

* sccp-2074 (#2187)

* sip-2044-2045 (#2188)

* sip-2044-2045

initial commit

* fix releases.json

* lower ordi mmv

* add missing assets

* fix hh fork missing log

---------

Co-authored-by: Leonardo Massazza <lmassazza@gmail.com>

* goerli optimism artifacts

* Update offchain-feeds.json (#2191)

* fix order - same in both networks

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: kaleb <62237347+kaleb-keny@users.noreply.github.com>
Co-authored-by: meb <4982406+barrasso@users.noreply.github.com>
Co-authored-by: Will Cory <willcory10@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <git@danb.email>
* SIP-2059: Legacy Spot Synth Migration (#2227)

* sepolia-ethereum deployment artifacts

* update verify

* sepolia-ovm deployment artifacts

* fix: check valid synth (#2231)

* add check for valid synth target

* remove unnecessary address casts

* impl feedback and update tests

* replace proxy param with currency key

* add burnAndIssueSynthsWithoutDebtCache func
@barrasso barrasso merged commit 366ff8d into master Apr 18, 2024
11 of 16 checks passed
@barrasso barrasso deleted the acrab-v2.101.2 branch April 18, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants