-
Notifications
You must be signed in to change notification settings - Fork 62
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
TargetAlignmentGreaterAndInputNotAligned on LBPair #2
Comments
Can you try use |
Hi, @codewithgun I have the same issue on darwin though on aarch64 (apple m1 chip). All I'm trying to do is run the market_making example program. Using currently nightly causes ahash to fail to compile and I have also tried nightly-2024-01-15-aarch64-apple-darwin based on the date of your comment but still same error TargetAlignmentGreaterAndInputNotAligned. I've tried multiple pools with different tick spacing and fees as well and same issue. Here's the trace:
|
I have a temp fix here. Add debug-assertions = false to Cargo.toml to solve this problem. But since this action undermine UB check on rust 1.70.0 though it should not be permanent solution. |
hey folks any update on this? having the same issue attempting to parse |
update: did some digging and found out it's an issue with how newer versions of rust/llvm handle byte alignment - there's a number of open issues at Anchor reporting the same thing coral-xyz/anchor#3114 downgrading rust to 1.76 fixed this issue for me |
Hi there, I am getting the error -
TargetAlignmentGreaterAndInputNotAligned
whenever I try to loadLbPair
fromprogram.account
call on mainnet.Any pointers?
The text was updated successfully, but these errors were encountered: