argumentcomputer / argumentcomputer/zk-light-clients

Kadena LC prepending http for proof-server

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
70
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Running
`MODE=SNARK RUST_LOG="debug" cargo run -p kadena-lc --release --bin client -- -c https://api.chainweb.com -p http://?????:6379`

results in an error message:
> Failed to initialize light client: Request for endpoint "http://http://????.com:6379/longest-chain/proof" failed: error sending request for url (http://http//????.com:6379/longest-chain/proof)

Either, the format of the proof server has to be documented or should construct the url correctly.

Being created here: https://github.com/argumentcomputer/zk-light-clients/blob/dev/kadena/light-client/src/client/proof_server.rs#L73

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at kadena/light-client/src/client/proof_server.rs line 73 and reproduce the shown MODE=SNARK cargo command. Inspect how the proof-server endpoint is assembled and determine whether the input format should be documented or the URL construction corrected. Done means the endpoint no longer receives a duplicated http prefix and the reported request succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.