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

Fix broken wagmi build #933

Merged
merged 6 commits into from
Aug 6, 2022
Merged

Conversation

Robinnnnn
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Aug 6, 2022

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

Name Status Preview Updated
gallery ✅ Ready (Inspect) Visit Preview Aug 6, 2022 at 4:45AM (UTC)

@Robinnnnn Robinnnnn changed the title Robin/fix broken wagmi build Fix broken wagmi build Aug 6, 2022
Comment on lines +1 to +3
// TODO: re-enable this after rainbowkit issue is reolved: https://github.com/rainbow-me/rainbowkit/issues/461
// unfortunately, mocking the breaking rainbowkit import does not fix the issue
test('NavActionFollow', () => {});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

there's a known issue where rainbowkit is breaking unit tests: rainbow-me/rainbowkit#461

suggested workarounds didn't work, unfortunately

target: 'serverless',
target: 'experimental-serverless-trace',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixes the following bug, as suggested by getsentry/sentry-javascript#3575 (comment)

Screen Shot 2022-08-05 at 11 43 33 PM

doesn't seem like it'll be a dealbreaker: https://serverless-nextjs.com/docs/inputs/

"wagmi": "^0.5.12",
"wagmi": "^0.6.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

main change that fixed initial build issue below; this revealed other issues with sentry:

image

@holic
Copy link
Contributor

holic commented Aug 6, 2022

🙏

@holic holic merged commit 959138b into holic/rainbowkit Aug 6, 2022
@holic holic deleted the robin/fix-broken-wagmi-build branch August 6, 2022 05:15
Robinnnnn added a commit that referenced this pull request Aug 12, 2022
* rainbowkit prototype

* open account modal when already connected

* add notes about rainbowkit customization

* always open connect modal

* split out multichain auth behind a flag

* reworking to conditionally render multichain stuff everywhere based on flag

* dont clear our flag from localstorage

* get signing working

* move over add wallet behavior

* restore metamask check

* normalize error

* Fix broken wagmi build (#933)

* fix ts error

* update nextjs target to experimental-serverless-trace

* update wagmi, typescript, typescript-eslint

* bump sentry

* comment out tests broken by rainbowkit

* downgrade sentry

* [GAL-285] Fix gnosis safe auth (#934)

* manifest

* gnosis support

* supported chains -> supported auth methods

* attempt to add gnosis safe wallet to rainbowkit

does not work

* Revert "attempt to add gnosis safe wallet to rainbowkit"

This reverts commit b5cca4e825d20aef5acec209550634228c47dee1.

* rename old wallet selector for clarity

* copy over gnosis stuff to multichain

* get gnosis button to prompt walletconnect

* maybe a little easier to read

* restore 'more wallets coming soon' message

* remove commented log, clarify others

* missed a spot

* move stuff around to get the provider from the connector

* remove translucent background

* comment out feature flag for now

* activeBlue

* copy change

* add chain logos

* add back in connect-wallet-only conditional for gnosis

* handle cookie error (#943)

Co-authored-by: robin <[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