You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi viem team 👋
I noticed that in recoverPublicKey the secp256k1 curve is imported dynamically inside the function:
This makes the function async, while logically the operation itself is fully synchronous.
In most other places in the codebase, secp256k1 is imported at the top-level, so I wanted to ask about the intent here.
From my perspective:
Questions:
Happy to open a PR if this aligns with the project’s direction. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions