-
Notifications
You must be signed in to change notification settings - Fork 26
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
[docs]: add SCALE codec troubleshooting section (#428) #429
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: 6r1d <[email protected]>
a471213
to
711d914
Compare
Co-authored-by: William Richter <[email protected]> Signed-off-by: Victor <[email protected]>
Co-authored-by: William Richter <[email protected]> Signed-off-by: Victor <[email protected]>
Co-authored-by: William Richter <[email protected]> Signed-off-by: Victor <[email protected]>
Co-authored-by: William Richter <[email protected]> Signed-off-by: Victor <[email protected]>
Co-authored-by: William Richter <[email protected]> Signed-off-by: Victor <[email protected]>
* `rm ./target/debug/iroha_client_cli ./target/release/iroha_client_cli` | ||
* `cargo build -p iroha_client_cli` |
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 should be a code block, not a list
|
||
Alternatively, please compare the output of | ||
`/target/debug/iroha_client_cli --version` with a version in the Iroha log. | ||
You need to view the part where the Iroha peer starts. |
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.
You need to view the part where the Iroha peer starts.
Which part? Provide an example.
You need to view the part where the Iroha peer starts. | ||
This will allow you to see whether the versions match. | ||
|
||
If you are using one of our SDKs, please make sure it is up to date. |
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.
It should be not necessarily up to date, but the version of SDK should be compatible with the version of Iroha. In order to check it, it is generally recommended to check for the version in the SDKs readme.
project directory root, use these commands: | ||
|
||
* `rm ./target/debug/iroha_client_cli ./target/release/iroha_client_cli` | ||
* `cargo build -p iroha_client_cli` |
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.
* `cargo build -p iroha_client_cli` | |
* `cargo build -p iroha_client_cli --release` |
* `cargo build -p iroha_client_cli` | ||
|
||
Alternatively, please compare the output of | ||
`/target/debug/iroha_client_cli --version` with a version in the Iroha log. |
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.
`/target/debug/iroha_client_cli --version` with a version in the Iroha log. | |
`cargo run -p iroha_client_cli --release -- --version` with a version in the Iroha log. |
You may encounter SCALE codec errors when there's a discrepancy | ||
between the data structure on the client and the peer sides. |
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.
I would rephrase. SCALE codec errors appear when the versions of the data structures differ between the client and the peer sides.
As discussed with @mversic, we need to add a SCALE codec-related troubleshooting section.