-
Notifications
You must be signed in to change notification settings - Fork 202
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
remove token-2022 dep from rpc-client-api #941
remove token-2022 dep from rpc-client-api #941
Conversation
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!
filter_allows
9ab4b14
to
6152a3c
Compare
automerge label removed due to a CI failure |
That test failure looks legitimate, which is why I haven't approved this yet. Can you please take a look @kevinheavey ? |
Incidentally @kevinheavey , if you get tired of waiting on us to add the CI label every time, you could apply for triage contributor access to agave: https://github.com/anza-xyz/contributor-access-policy |
Problem
solana-rpc-client-api
depends onspl-token-2022
for theallows()
method ofRpcFilterType
.spl-token-2022
is a very heavy dependency and anyway theallows()
method is for the RPC server, not the client.Summary of Changes
RpcFilterType::allows
tosolana-rpc
as a free functionfilter_allows
RpcFilterType::allows
spl-token-2022
dependency fromsolana-rpc-client-api
by using the spl-inline crate instead