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

SIP-2029, SIP-2031, SIP-2032, SIP-2033 markets #2137

Merged
merged 11 commits into from
Sep 5, 2023
Merged

Conversation

leomassazza
Copy link
Contributor

@leomassazza leomassazza commented Aug 17, 2023

@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #2137 (386501c) into develop (07f2d46) will not change coverage.
The diff coverage is n/a.

❗ Current head 386501c differs from pull request most recent head f670200. Consider uploading reports for the commit f670200 to get more accurate results

@@           Coverage Diff            @@
##           develop    #2137   +/-   ##
========================================
  Coverage    92.48%   92.48%           
========================================
  Files           91       91           
  Lines         2276     2276           
  Branches       673      673           
========================================
  Hits          2105     2105           
  Misses         171      171           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

* SIP-2032 - fakeFeeds

* fix THOR -> RUNE

* fix feed (fakes using wrong template)

* continue on exception from Tenderly
@leomassazza leomassazza changed the title SIP-2033 markets SIP-2029, SIP-2032, SIP-2033 markets Aug 24, 2023
@leomassazza leomassazza self-assigned this Aug 24, 2023
leomassazza and others added 2 commits August 24, 2023 15:49
* update release feeds

- Missing

* update perps v2 settings

* update goerli feeds

* Update feeds.json

* remove fake feed
@leomassazza leomassazza changed the title SIP-2029, SIP-2032, SIP-2033 markets SIP-2029, SIP-2031, SIP-2032, SIP-2033 markets Sep 4, 2023
Copy link
Member

@kaleb-keny kaleb-keny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@leomassazza leomassazza merged commit b299fa1 into develop Sep 5, 2023
4 of 5 checks passed
@leomassazza leomassazza deleted the SIP-2033 branch September 5, 2023 14:47
leomassazza added a commit that referenced this pull request Sep 6, 2023
* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
leomassazza added a commit that referenced this pull request Sep 8, 2023
* Mintaka-v2.80.4-alpha (#2001)

* Prepublish step

* 2.80.4-alpha

* Eltanin-v2.82.0-alpha (#2009)

* Prepublish step

* 2.82.0-alpha

* SIP-255: Burn fees (#1990)

* Schedar v2.83.0-alpha (#2019)

* Prepublish step

* 2.83.0-alpha

* Upgrade to latest hardhat version and test cleanup (#2020)

* Upgrade to cannon 2.0.x (#2003)

* Fix failing ovm fork tests (#2029)

* Add support to relay batch in multi-send decoder (#2016)

* Update test deploy job (#2031)

* Bump undici from 5.18.0 to 5.20.0 (#2027)

Bumps [undici](https://github.com/nodejs/undici) from 5.18.0 to 5.20.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.18.0...v5.20.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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

* Update perpsv2-markets.json (#2035)

* SIP-237: Debt Migration (#1896)

* Fix test deploy job and dual int tests (#2038)

* Naos release v2.84.0-alpha (#2039)

* Prepublish step

* 2.84.0-alpha

* Update perpsv2-markets.json (#2040)

* Naos testnet patch release (#2041)

* Naos patch release v2.84.1-alpha (#2042)

* Prepublish step

* 2.84.1-alpha

* Testnet patch release Naos v2.84.2-alpha (#2043)

* Prepublish step

* 2.84.2-alpha

* Fix test task (#2045)

* [SIP-237] Split up migrated escrow amount over one year (#2046)

* Update perpsv2-markets.json (#2048)

* Naos patch release to goerli v2.84.3-alpha (#2052)

* Prepublish step

* 2.84.3-alpha

* SIP-2010: Add ARB market to PerpsV2 (#2056)

* SIP-2004 & SIP-2005 New features & Improvements (#1994)

* Caph-v2.86.0-alpha (#2063)

* Prepublish step

* 2.86.0-alpha

* Implement SIP-2011 (#2065)

* Fix PerpsV2MarketData for legacy markets (#2066)

* Add route information in migration contract (#2070)

* Add route information in migration contract

* correct excludedFunctions list

* Fix flagging  (#2068)

* Flag-fix audit: Events (#2071)

* Izar v2.87.0 alpha (#2072)

* Prepublish step

* 2.87.0-alpha

* SCCP-293-295-298 (#2074)

* Merak-release-v2.90.0-alpha (#2097)

* Prepublish step

* 2.90.0-alpha

* Update TRX Pause Status (#2099)

* Update TRX Pause Status Mainnet

* Update on goerli optimism

* Merak-release-v2.90.2-alpha (#2105)

* Prepublish step

* 2.90.2-alpha

* Ankaa release v2.91.0 alpha (#2119)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.91.0-alpha

* Enif-release-v2.92.0-alpha (#2126)

* Prepublish step

* 2.92.0-alpha

* Scheat release v2.93.0 alpha (#2131)

* Prepublish step

* 2.93.0-alpha

* Sabik release v2.94.0 alpha (#2146)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.94.0-alpha

* 1st migration step

* fix gas priority price

* 2nd migration contract

* 3rd migration step

* step 4

* step 5

* release artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Synthetix Team <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
leomassazza added a commit that referenced this pull request Oct 20, 2023
* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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

* Goerli deployment artifacts

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Oct 23, 2023
* Mintaka-v2.80.4-alpha (#2001)

* Prepublish step

* 2.80.4-alpha

* Eltanin-v2.82.0-alpha (#2009)

* Prepublish step

* 2.82.0-alpha

* SIP-255: Burn fees (#1990)

* Schedar v2.83.0-alpha (#2019)

* Prepublish step

* 2.83.0-alpha

* Upgrade to latest hardhat version and test cleanup (#2020)

* Upgrade to cannon 2.0.x (#2003)

* Fix failing ovm fork tests (#2029)

* Add support to relay batch in multi-send decoder (#2016)

* Update test deploy job (#2031)

* Bump undici from 5.18.0 to 5.20.0 (#2027)

Bumps [undici](https://github.com/nodejs/undici) from 5.18.0 to 5.20.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.18.0...v5.20.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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

* Update perpsv2-markets.json (#2035)

* SIP-237: Debt Migration (#1896)

* Fix test deploy job and dual int tests (#2038)

* Naos release v2.84.0-alpha (#2039)

* Prepublish step

* 2.84.0-alpha

* Update perpsv2-markets.json (#2040)

* Naos testnet patch release (#2041)

* Naos patch release v2.84.1-alpha (#2042)

* Prepublish step

* 2.84.1-alpha

* Testnet patch release Naos v2.84.2-alpha (#2043)

* Prepublish step

* 2.84.2-alpha

* Fix test task (#2045)

* [SIP-237] Split up migrated escrow amount over one year (#2046)

* Update perpsv2-markets.json (#2048)

* Naos patch release to goerli v2.84.3-alpha (#2052)

* Prepublish step

* 2.84.3-alpha

* SIP-2010: Add ARB market to PerpsV2 (#2056)

* SIP-2004 & SIP-2005 New features & Improvements (#1994)

* Caph-v2.86.0-alpha (#2063)

* Prepublish step

* 2.86.0-alpha

* Implement SIP-2011 (#2065)

* Fix PerpsV2MarketData for legacy markets (#2066)

* Add route information in migration contract (#2070)

* Add route information in migration contract

* correct excludedFunctions list

* Fix flagging  (#2068)

* Flag-fix audit: Events (#2071)

* Izar v2.87.0 alpha (#2072)

* Prepublish step

* 2.87.0-alpha

* SCCP-293-295-298 (#2074)

* Merak-release-v2.90.0-alpha (#2097)

* Prepublish step

* 2.90.0-alpha

* Update TRX Pause Status (#2099)

* Update TRX Pause Status Mainnet

* Update on goerli optimism

* Merak-release-v2.90.2-alpha (#2105)

* Prepublish step

* 2.90.2-alpha

* Ankaa release v2.91.0 alpha (#2119)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.91.0-alpha

* Enif-release-v2.92.0-alpha (#2126)

* Prepublish step

* 2.92.0-alpha

* Scheat release v2.93.0 alpha (#2131)

* Prepublish step

* 2.93.0-alpha

* Sabik release v2.94.0 alpha (#2146)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.94.0-alpha

* Phecda-release-v2.96.0-alpha (#2161)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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

* Goerli deployment artifacts

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.96.0-alpha

* fix ci job (test-deploy-script)

* Phecda relese v2.96.1 migration contract

* Deployment artifacts

* lint fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Synthetix Team <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Dec 3, 2023
* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Dec 6, 2023
* Mintaka-v2.80.4-alpha (#2001)

* Prepublish step

* 2.80.4-alpha

* Eltanin-v2.82.0-alpha (#2009)

* Prepublish step

* 2.82.0-alpha

* SIP-255: Burn fees (#1990)

* Schedar v2.83.0-alpha (#2019)

* Prepublish step

* 2.83.0-alpha

* Upgrade to latest hardhat version and test cleanup (#2020)

* Upgrade to cannon 2.0.x (#2003)

* Fix failing ovm fork tests (#2029)

* Add support to relay batch in multi-send decoder (#2016)

* Update test deploy job (#2031)

* Bump undici from 5.18.0 to 5.20.0 (#2027)

Bumps [undici](https://github.com/nodejs/undici) from 5.18.0 to 5.20.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.18.0...v5.20.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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

* Update perpsv2-markets.json (#2035)

* SIP-237: Debt Migration (#1896)

* Fix test deploy job and dual int tests (#2038)

* Naos release v2.84.0-alpha (#2039)

* Prepublish step

* 2.84.0-alpha

* Update perpsv2-markets.json (#2040)

* Naos testnet patch release (#2041)

* Naos patch release v2.84.1-alpha (#2042)

* Prepublish step

* 2.84.1-alpha

* Testnet patch release Naos v2.84.2-alpha (#2043)

* Prepublish step

* 2.84.2-alpha

* Fix test task (#2045)

* [SIP-237] Split up migrated escrow amount over one year (#2046)

* Update perpsv2-markets.json (#2048)

* Naos patch release to goerli v2.84.3-alpha (#2052)

* Prepublish step

* 2.84.3-alpha

* SIP-2010: Add ARB market to PerpsV2 (#2056)

* SIP-2004 & SIP-2005 New features & Improvements (#1994)

* Caph-v2.86.0-alpha (#2063)

* Prepublish step

* 2.86.0-alpha

* Implement SIP-2011 (#2065)

* Fix PerpsV2MarketData for legacy markets (#2066)

* Add route information in migration contract (#2070)

* Add route information in migration contract

* correct excludedFunctions list

* Fix flagging  (#2068)

* Flag-fix audit: Events (#2071)

* Izar v2.87.0 alpha (#2072)

* Prepublish step

* 2.87.0-alpha

* SCCP-293-295-298 (#2074)

* Merak-release-v2.90.0-alpha (#2097)

* Prepublish step

* 2.90.0-alpha

* Update TRX Pause Status (#2099)

* Update TRX Pause Status Mainnet

* Update on goerli optimism

* Merak-release-v2.90.2-alpha (#2105)

* Prepublish step

* 2.90.2-alpha

* Ankaa release v2.91.0 alpha (#2119)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.91.0-alpha

* Enif-release-v2.92.0-alpha (#2126)

* Prepublish step

* 2.92.0-alpha

* Scheat release v2.93.0 alpha (#2131)

* Prepublish step

* 2.93.0-alpha

* Sabik release v2.94.0 alpha (#2146)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.94.0-alpha

* Phecda-release-v2.96.0-alpha (#2161)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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

* Goerli deployment artifacts

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.96.0-alpha

* fix ci job (test-deploy-script)

* Aludra release v2.97.0 alpha (#2175)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.97.2-alpha

* add catch exception

* add migration contract

* fix bonk and pyth feeds

* migration step 2

* Deployment artifacts

* lint fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Synthetix Team <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Jan 23, 2024
* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* sccp-2063-2064 (#2179)

* sccp-2065 (#2180)

* sccp-2067 (#2182)

* sccp-2067

* Update perpsv2-markets.json

---------

Co-authored-by: Leonardo Massazza <[email protected]>

* Sccp 2069 2070 (#2183)

* implements sccp 2069 and 2070

* Update perpsv2-markets.json

* fix divergence

* sccp-2071 (#2184)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* goerli optimism artifacts

* Update offchain-feeds.json (#2191)

* fix order - same in both networks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Jan 25, 2024
* Mintaka-v2.80.4-alpha (#2001)

* Prepublish step

* 2.80.4-alpha

* Eltanin-v2.82.0-alpha (#2009)

* Prepublish step

* 2.82.0-alpha

* SIP-255: Burn fees (#1990)

* Schedar v2.83.0-alpha (#2019)

* Prepublish step

* 2.83.0-alpha

* Upgrade to latest hardhat version and test cleanup (#2020)

* Upgrade to cannon 2.0.x (#2003)

* Fix failing ovm fork tests (#2029)

* Add support to relay batch in multi-send decoder (#2016)

* Update test deploy job (#2031)

* Bump undici from 5.18.0 to 5.20.0 (#2027)

Bumps [undici](https://github.com/nodejs/undici) from 5.18.0 to 5.20.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.18.0...v5.20.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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

* Update perpsv2-markets.json (#2035)

* SIP-237: Debt Migration (#1896)

* Fix test deploy job and dual int tests (#2038)

* Naos release v2.84.0-alpha (#2039)

* Prepublish step

* 2.84.0-alpha

* Update perpsv2-markets.json (#2040)

* Naos testnet patch release (#2041)

* Naos patch release v2.84.1-alpha (#2042)

* Prepublish step

* 2.84.1-alpha

* Testnet patch release Naos v2.84.2-alpha (#2043)

* Prepublish step

* 2.84.2-alpha

* Fix test task (#2045)

* [SIP-237] Split up migrated escrow amount over one year (#2046)

* Update perpsv2-markets.json (#2048)

* Naos patch release to goerli v2.84.3-alpha (#2052)

* Prepublish step

* 2.84.3-alpha

* SIP-2010: Add ARB market to PerpsV2 (#2056)

* SIP-2004 & SIP-2005 New features & Improvements (#1994)

* Caph-v2.86.0-alpha (#2063)

* Prepublish step

* 2.86.0-alpha

* Implement SIP-2011 (#2065)

* Fix PerpsV2MarketData for legacy markets (#2066)

* Add route information in migration contract (#2070)

* Add route information in migration contract

* correct excludedFunctions list

* Fix flagging  (#2068)

* Flag-fix audit: Events (#2071)

* Izar v2.87.0 alpha (#2072)

* Prepublish step

* 2.87.0-alpha

* SCCP-293-295-298 (#2074)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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

* Merak-release-v2.90.0-alpha (#2097)

* Prepublish step

* 2.90.0-alpha

* Update TRX Pause Status (#2099)

* Update TRX Pause Status Mainnet

* Update on goerli optimism

* 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

* Merak-release-v2.90.2-alpha (#2105)

* Prepublish step

* 2.90.2-alpha

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Ankaa release v2.91.0 alpha (#2119)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.91.0-alpha

* 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 <[email protected]>

* Enif-release-v2.92.0-alpha (#2126)

* Prepublish step

* 2.92.0-alpha

* 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 <[email protected]>

* Scheat release v2.93.0 alpha (#2131)

* Prepublish step

* 2.93.0-alpha

* 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 <[email protected]>

* 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 <[email protected]>

* update as per sccp-2040 (#2147)

* Sabik release v2.94.0 alpha (#2146)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.94.0-alpha

* unpause new markets (#2149)

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

* Update steth eth goerli feed (#2151)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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

* Phecda-release-v2.96.0-alpha (#2161)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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

* Goerli deployment artifacts

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.96.0-alpha

* fix ci job (test-deploy-script)

* update sccp 2053 (#2163)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Aludra release v2.97.0 alpha (#2175)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.97.2-alpha

* sccp-2063-2064 (#2179)

* sccp-2065 (#2180)

* sccp-2067 (#2182)

* sccp-2067

* Update perpsv2-markets.json

---------

Co-authored-by: Leonardo Massazza <[email protected]>

* Sccp 2069 2070 (#2183)

* implements sccp 2069 and 2070

* Update perpsv2-markets.json

* fix divergence

* sccp-2071 (#2184)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Markeb release v2.98.0 alpha (#2189)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* sccp-2063-2064 (#2179)

* sccp-2065 (#2180)

* sccp-2067 (#2182)

* sccp-2067

* Update perpsv2-markets.json

---------

Co-authored-by: Leonardo Massazza <[email protected]>

* Sccp 2069 2070 (#2183)

* implements sccp 2069 and 2070

* Update perpsv2-markets.json

* fix divergence

* sccp-2071 (#2184)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* goerli optimism artifacts

* Update offchain-feeds.json (#2191)

* fix order - same in both networks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.98.0-alpha

* sccp-2075 (#2192)

* Migration contract

* Deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Synthetix Team <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dbeal <[email protected]>
leomassazza added a commit that referenced this pull request Mar 5, 2024
* Caph-v2.86.0-alpha (#2063)

* Prepublish step

* 2.86.0-alpha

* Izar v2.87.0 alpha (#2072)

* Prepublish step

* 2.87.0-alpha

* Merak-release-v2.90.0-alpha (#2097)

* Prepublish step

* 2.90.0-alpha

* Update TRX Pause Status (#2099)

* Update TRX Pause Status Mainnet

* Update on goerli optimism

* Merak-release-v2.90.2-alpha (#2105)

* Prepublish step

* 2.90.2-alpha

* Ankaa release v2.91.0 alpha (#2119)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* Goerli-ovm artifacts

* latest

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.91.0-alpha

* Enif-release-v2.92.0-alpha (#2126)

* Prepublish step

* 2.92.0-alpha

* Scheat release v2.93.0 alpha (#2131)

* Prepublish step

* 2.93.0-alpha

* Sabik release v2.94.0 alpha (#2146)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* fix releases.json

* goerli deployment artifacts

* update as per sccp-2040 (#2147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepublish step

* 2.94.0-alpha

* Phecda-release-v2.96.0-alpha (#2161)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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

* Goerli deployment artifacts

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.96.0-alpha

* fix ci job (test-deploy-script)

* Aludra release v2.97.0 alpha (#2175)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Goerli deployment artifacts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.97.2-alpha

* Markeb release v2.98.0 alpha (#2189)

* 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 <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: meb <[email protected]>

* 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 <[email protected]>

* update as per sccp (#2112)

* update as per 2024 (#2113)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* sccp-2063-2064 (#2179)

* sccp-2065 (#2180)

* sccp-2067 (#2182)

* sccp-2067

* Update perpsv2-markets.json

---------

Co-authored-by: Leonardo Massazza <[email protected]>

* Sccp 2069 2070 (#2183)

* implements sccp 2069 and 2070

* Update perpsv2-markets.json

* fix divergence

* sccp-2071 (#2184)

Co-authored-by: Leonardo Massazza <[email protected]>

* 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 <[email protected]>

* goerli optimism artifacts

* Update offchain-feeds.json (#2191)

* fix order - same in both networks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>

* Prepublish step

* 2.98.0-alpha

* Markab release v2.99.0 alpha (#2208)

* Prepublish step

* 2.99.0-alpha

* add real STRK feed

* add migration contract

* Deployment artifacts

* fix param according to current config

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: meb <[email protected]>
Co-authored-by: Synthetix Team <[email protected]>
Co-authored-by: kaleb <[email protected]>
Co-authored-by: Will Cory <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dbeal <[email protected]>
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.

2 participants