Skip to content
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

Mainnet/Devnet do not work: from_bytes>SizeMismatch #32

Closed
JakkuSakura opened this issue Feb 17, 2024 · 6 comments
Closed

Mainnet/Devnet do not work: from_bytes>SizeMismatch #32

JakkuSakura opened this issue Feb 17, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@JakkuSakura
Copy link

JakkuSakura commented Feb 17, 2024

When I execute this command, it panicks: from_bytes>SizeMismatch
drift-gateway 'https://api.devnet.solana.com' --emulate 777tRS4e6i19zwmF9JKiBe1jWg3kwcc8nUzMVdVFKF8k --dev

@jordy25519
Copy link
Collaborator

jordy25519 commented Feb 17, 2024

likely issue from upstream dep being updated (have pinned now).
please try latest v0.1.11

@jordy25519 jordy25519 added the bug Something isn't working label Feb 17, 2024
@JakkuSakura
Copy link
Author

Hi, I tried v0.1.11 but doesn't work. It seems to be an upstream error drift-labs/protocol-v2#891

@jordy25519
Copy link
Collaborator

which rust version and OS are you using? are there any firewalls etc.
I'm unable to reproduce this so far..

@JakkuSakura
Copy link
Author

I use MacOS and archlinux.
info: The currently active rustc version is rustc 1.78.0-nightly (a84bb95a1 2024-02-13)

@JakkuSakura JakkuSakura changed the title Devnet does not work: from_bytes>SizeMismatch Mainnet/Devnet do not work: from_bytes>SizeMismatch Feb 22, 2024
@JakkuSakura
Copy link
Author

upstream error

@JakkuSakura JakkuSakura closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2024
@enachb
Copy link

enachb commented Apr 22, 2024

I had the same issue and was able to pin point the problem:

Compiling it with Rust 1.76.0 results in a working binary. However the compiled binary with a newer Rust 1.77.2 yields this error.

Please note that this was tested on 2 separate machines having the same outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants