thirdweb-dev / engine

The most powerful backend engine for web3 apps.
https://thirdweb.com/engine
Apache License 2.0
152 stars 59 forks source link

Fix Error Parsing to Support Chain Overrides #546

Closed pajserb0y closed 4 months ago

pajserb0y commented 4 months ago

Changes

How this PR will be tested

Output

(Example: Screenshot/GIF for UI changes, cURL output for API changes)


PR-Codex overview

The focus of this PR is to enhance error handling and configuration retrieval in the errors.ts file.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

arcoraven commented 4 months ago

Hey there and thank you for the contribution! You're absolutely right that we aren't accounting for custom chain overrides in this error checker here.

Ideally we can abstract the chain resolver to a helper function instead since we'll likely want this "get chain from overrides or SDK" logic everywhere.

Is this actively blocking you right now? Are you able to delete the bad txs from the DB manually to unblock yourself?

pajserb0y commented 4 months ago

Hey,

Not not acively after the fix I haven’t had any more problems m, and yes I had to cancel manually the bad txns from DB, now everything that I am using seems to be working fine,

Best, Marko

On Tue, 18 Jun 2024 at 04:30, Phillip Ho @.***> wrote:

Hey there and thank you for the contribution! You're absolutely right that we aren't accounting for custom chain overrides in this error checker here.

Ideally we can abstract the chain resolver to a helper function instead since we'll likely want this "get chain from overrides or SDK" logic everywhere.

Is this actively blocking you right now? Are you able to delete the bad txs from the DB manually to unblock yourself?

— Reply to this email directly, view it on GitHub https://github.com/thirdweb-dev/engine/pull/546#issuecomment-2174834952, or unsubscribe https://github.com/notifications/unsubscribe-auth/APQG3NZIYS7HADAR3YIL4FLZH6LVXAVCNFSM6AAAAABJJ647DCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUHAZTIOJVGI . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 4 months ago

This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this PR will be closed in 3 days.