-
Notifications
You must be signed in to change notification settings - Fork 293
update rust-sdk/client #1082
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
update rust-sdk/client #1082
Conversation
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "@orca-so/whirlpools-rust-client": major | |||
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.
LMK if this should be a different semvar update
d10622b to
8ba6fe4
Compare
| @@ -0,0 +1,77 @@ | |||
| #!/usr/bin/env bash | |||
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.
This is in main. I think I need to rebase my branches for this to show up properly.
265101b to
4ea3c7f
Compare
8ba6fe4 to
60c5120
Compare
wjthieme
left a comment
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.
Small comment but LGTM
a7cd4f2 to
5646217
Compare
6f0686b to
774188d
Compare
Description
rust-sdk/client/src/generated/*files were automatically generated via codama. The main changes I made are inrust-sdk/client/src/state/*. The previous version of Anchor's IDL did not have discriminators, so the auto-generated files didn't either. In 0.31.0, the autogenerated (and exported) vars conflict with the ones we manually defined. I removed those in favor of the auto-generated values.-📓 There are some warnings I did not address but can if preferred
🔗 for reference, the related PRs:
Test
✅ Generate and build client:
yarn build✅ Run unit tests:
cargo test --lib(output 👇🏻)