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

feat: deploy script conditionally deploys wsteth adapter + add goerli config #446

Merged
merged 7 commits into from
Sep 14, 2023

Conversation

luketchang
Copy link
Contributor

@luketchang luketchang commented Sep 12, 2023

Motivation

Need to deploy wsteth adapter to allow protocol to convert weth -> wsteth. Also need goerli config for redeploy because lido and uniswap are on goerli.

Solution

  • deploy script takes optional wsteth adapter deploy config and deploys adapter if populated
  • adds goerli deploy config in preparation of redeploy

Proof

Deploy script works on local
Screenshot 2023-09-12 at 7 40 23 PM

Site works up until proof gen (joinsplit circuit changed)
https://www.loom.com/share/f1dc795ab33f44aaa02119a5ab4f8741?sid=afa21471-b875-4aef-93bc-6171ff649b7f

PR Checklist

  • added tests
  • updated documentation
  • added changeset if necessary
  • tested in dev/testnet
  • tested site with snap (we haven't automated this yet)
  • re-built & tested circuits if any of them changed
  • updated contracts storage layout (if contracts were updated)

@changeset-bot
Copy link

changeset-bot bot commented Sep 12, 2023

🦋 Changeset detected

Latest commit: fc554e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nocturne-xyz/deploy Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor Author

@luketchang luketchang changed the title deploy script conditionally deploys wsteth adapter feat: deploy script conditionally deploys wsteth adapter Sep 12, 2023
@luketchang luketchang changed the title feat: deploy script conditionally deploys wsteth adapter feat: deploy script conditionally deploys wsteth adapter + add goerli config Sep 13, 2023
@luketchang luketchang marked this pull request as ready for review September 13, 2023 13:26
@luketchang luketchang force-pushed the luke/wsteth-deploy branch 2 times, most recently from f1617a5 to 022e3ee Compare September 13, 2023 14:44
@luketchang luketchang force-pushed the luke/actual-refund-amnts branch from 3a3251d to 099bc9c Compare September 13, 2023 18:58
@luketchang luketchang requested a review from Sladuca as a code owner September 13, 2023 18:58
"@nocturne-xyz/deploy": minor
---

add goerli config before redeploy, fix regressions in sepolia config
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the regression here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Described

@luketchang luketchang force-pushed the luke/wsteth-deploy branch 3 times, most recently from e90f277 to 597708a Compare September 14, 2023 03:05
@luketchang luketchang force-pushed the luke/actual-refund-amnts branch from aab8164 to 884a297 Compare September 14, 2023 03:13
@luketchang luketchang force-pushed the luke/actual-refund-amnts branch from 884a297 to 166a59b Compare September 14, 2023 12:20
@luketchang luketchang force-pushed the luke/actual-refund-amnts branch from 166a59b to 376c8d4 Compare September 14, 2023 15:03
Base automatically changed from luke/actual-refund-amnts to main September 14, 2023 15:50
@luketchang luketchang enabled auto-merge (squash) September 14, 2023 15:52
@luketchang luketchang disabled auto-merge September 14, 2023 16:24
@luketchang luketchang merged commit e2dfea9 into main Sep 14, 2023
1 check passed
@luketchang luketchang deleted the luke/wsteth-deploy branch September 14, 2023 16:29
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