-
Notifications
You must be signed in to change notification settings - Fork 196
chore: remove aa-sdk imports from v5 #2126
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
base: moldy/v5-base
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🌿 Documentation Preview
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty for doing this!
"build": "yarn build:libs --filter='!@account-kit/react-native-signer' --filter='!@account-kit/react-native-signer-example'", | ||
"postbuild": "yarn lint:write", | ||
"build:libs": "turbo run build --filter='@aa-sdk/*' --filter='./templates/*' --filter='./packages/*'", | ||
"build:libs": "turbo run build --filter='./templates/*' --filter='./packages/*'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you could prob remove the build:v5
script that i added previously, if you want.
import { getContract, type Address, type Hex, type Client } from "viem"; | ||
|
||
/** | ||
* Test utility functilln that computes the counterfactual address using the EntryPoint's getSenderAddress function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: spelling
* Test utility functilln that computes the counterfactual address using the EntryPoint's getSenderAddress function. | |
* Test utility function that computes the counterfactual address using the EntryPoint's getSenderAddress function. |
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR primarily focuses on removing the
split
transport functionality from the codebase and refactoring related components. It also introduces a new utility function for computing counterfactual addresses using the EntryPoint'sgetSenderAddress
.Detailed summary
split.ts
and related documentation.split
fromindex.ts
andconnection.ts
.AlchemyConnectionConfig
type to excludeSplitTransportParams
.getAccountAddressViaEntryPoint
utility function intest-utils
.predictAddress.test.ts
andlight-account/predictAddress.test.ts
to use the new utility function for address computation.