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

Error after successful MM transaction #47

Open
dchernokur opened this issue May 27, 2024 · 2 comments
Open

Error after successful MM transaction #47

dchernokur opened this issue May 27, 2024 · 2 comments

Comments

@dchernokur
Copy link
Collaborator

dchernokur commented May 27, 2024

After making a successful associate call via MetaMask via contract write call, we got these errors in console.
Quick search leads to similar topic, not sure if related though, as we dont use WC directly, but @web3modal/ethers/react part.

This might confuse the user, so we want to fix the root cause, or at least suppress it if possible.

WalletConnect/walletconnect-monorepo#4337

app-index.js:35 {context: 'core'} {context: 'core/relayer'} {context: 'core/relayer/publisher'} Error: Failed to publish payload, please try again. id:1716777838621804032 tag:1100
    at eval (index.es.js:167:7899)
window.console.error @ app-index.js:35
console.error @ hydration-error-info.js:41
LOG @ browser.js:202
eval @ browser.js:266
eval @ browser.js:266
eval @ browser.js:266
publish @ index.es.js:91
await in publish (async)
publish @ index.es.js:91
sendRequest @ index.es.js:39
await in sendRequest (async)
connect @ index.es.js:39
await in connect (async)
Q.connect @ index.es.js:39
eval @ hashconnect.js:19
_0x395637 @ hashconnect.js:19
eval @ hashconnect.js:19
eval @ hashconnect.js:19
__awaiter @ hashconnect.js:19
_0x4214d1.<computed> @ hashconnect.js:19
eval @ hashconnect.js:19
_0x395637 @ hashconnect.js:19
eval @ hashconnect.js:19
eval @ hashconnect.js:19
__awaiter @ hashconnect.js:19
eval @ hashconnect.js:19
Show 23 more frames
Show less
app-index.js:35 {context: 'client'} 'Failed to publish payload, please try again. id:1716777838621804032 tag:1100'
window.console.error @ app-index.js:35
console.error @ hydration-error-info.js:41
LOG @ browser.js:202
eval @ browser.js:266
Q.connect @ index.es.js:39
await in Q.connect (async)
eval @ hashconnect.js:19
_0x395637 @ hashconnect.js:19
eval @ hashconnect.js:19
eval @ hashconnect.js:19
__awaiter @ hashconnect.js:19
_0x4214d1.<computed> @ hashconnect.js:19
eval @ hashconnect.js:19
_0x395637 @ hashconnect.js:19
eval @ hashconnect.js:19
eval @ hashconnect.js:19
__awaiter @ hashconnect.js:19
eval @ hashconnect.js:19
Show 17 more frames
Show less
index.es.js:167 Uncaught (in promise) Error: Failed to publish payload, please try again. id:1716777838621804032 tag:1100
    at eval (index.es.js:167:7899)
@dchernokur
Copy link
Collaborator Author

Potential fix to try is to update libs we use to the latest version:
@web3modal/ethers ^4.1.5 → ^4.2.2
@web3modal/wagmi ^4.0.13 → ^4.2.2

@dchernokur
Copy link
Collaborator Author

This is not reproducing for me consistently, will keep an eye on it 🤔

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

No branches or pull requests

1 participant