-
Notifications
You must be signed in to change notification settings - Fork 399
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
[SDK] Refactor: Viem to Ox migration #5790
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
|
22cb834
to
59faac0
Compare
size-limit report 📦
|
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR primarily updates the imports across multiple files to replace instances of
maxUint256
and various utility functions fromviem
with their counterparts fromox/Solidity
and otherox
modules, enhancing consistency and potentially improving functionality.Detailed summary
maxUint256
fromviem
toox/Solidity
in several files.isErc6492Signature
function to useox__Hex.slice
instead of a localsliceHex
.create2FactoryAddress
to useox__ContractAddress.from
.parseErc6492Signature
to utilizeox__WrappedSignature.validate
andox__AbiParameters.decode
.encodePacked
fromviem
withox__AbiParameters.encodePacked
.ox__Hex
utilities for hex manipulations.verifyTypedData
to useox__TypedData
for type definitions.verifyEOASignature
to utilizeox__Secp256k1.recoverAddress
.verifyHash
to replace signature handling withox__Signature
methods.encodeAbiParameters
to useox__Hex.concat
instead ofconcat
fromviem/utils
.