delvtech / hyperdrive-frontend

A monorepo of apps and packages for the Hyperdrive AMM.
https://hyperdrive.box
Apache License 2.0
10 stars 1 forks source link

Fix appconfig generation script, cleanup isSharesPeggedToBase #1647

Closed DannyDelott closed 2 weeks ago

DannyDelott commented 2 weeks ago

The generate script in appconfig was breaking because we were constructing ReadHyperdrive instances without an earliestBlock for mainnet and sepolia.

While here I also cleaned up the TODO to move isSharesPeggedToBase onto the HyperdriveConfig.

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: c5c49b393e87245d5534a1d06d9b80d400679d83

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyperdrive-mainnet-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:38pm
hyperdrive-sepolia-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:38pm
6 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **hyperdrive-js** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/hyperdrive-js/G1xc2fuHPEN3wCSWwP9KK48HwG7H)) | [Visit Preview](https://hyperdrive-js-git-danny-issharespeggedtobase-delvtech.vercel.app) | | Nov 12, 2024 9:38pm | | **hyperdrive-mainnet-production** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/hyperdrive-mainnet-production/CxkV2eUEKGJYcXczE2ZfzBSFSscg)) | [Visit Preview](https://hyperdrive-mainnet-production-git-danny-isshare-bf5b38-delvtech.vercel.app) | | Nov 12, 2024 9:38pm | | **hyperdrive-sepolia-production** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/hyperdrive-sepolia-production/7tnVazNAJEvGg5AeeCnMVjQTXRfU)) | [Visit Preview](https://hyperdrive-sepolia-production-git-danny-isshare-3f0887-delvtech.vercel.app) | | Nov 12, 2024 9:38pm | | **testnet-v1** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/testnet-v1/CJPeWUpF5ANJGbCmQaaKCEnJahMp)) | | | Nov 12, 2024 9:38pm | | **testnet-v1.0.6** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/testnet-v1.0.6/BAsZt7nTKANcrQGJc8MXbvwR27PR)) | [Visit Preview](https://testnet-v106-git-danny-issharespeggedtobase-delvtech.vercel.app) | | Nov 12, 2024 9:38pm | | **trading-competition** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/trading-competition/Cnq72YGUqde7rqodidqPk4GdQ1RC)) | [Visit Preview](https://trading-competition-git-danny-issharespeggedtobase-delvtech.vercel.app) | | Nov 12, 2024 9:38pm |