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

[Bug] snarkos scan fails as it uses the wrong endpoint for block height #3457

Open
kaxxa123 opened this issue Dec 19, 2024 · 1 comment · May be fixed by #3458
Open

[Bug] snarkos scan fails as it uses the wrong endpoint for block height #3457

kaxxa123 opened this issue Dec 19, 2024 · 1 comment · May be fixed by #3458
Labels
bug Incorrect or unexpected behavior

Comments

@kaxxa123
Copy link

🐛 Bug Report

snarkos scan is still using the old endpoint (/latest/height) for the reading the block height, instead of /block/height/latest

Steps to Reproduce

# start a dev chain
./devnet.sh

#scan
export NODEPK=APrivateKey1zkp8CZNn3yeCseEtxuVPbDCwSyhGW6yZKUYKfgXmcpoGPWH
export NODEVK=AViewKey1mSnpFFC8Mj4fXbK5YiWgZ3mjiV8CxA79bYNa8ymUpTrw
export NODEADDR=aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px

snarkos developer scan -v "${NODEVK}"  --start 0  --endpoint "http://localhost:3030" --network 1

Expected Behavior

Should return records of the validator node.

Your Environment

  • SnarkOS: v3.1.0
  • Rust: 1.81.0
  • ubuntu 22.04
@kaxxa123 kaxxa123 added the bug Incorrect or unexpected behavior label Dec 19, 2024
@kaxxa123
Copy link
Author

PR on the way...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or unexpected behavior
Projects
None yet
1 participant