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

[docs]: add SCALE codec troubleshooting section (#428) #429

Closed
wants to merge 6 commits into from

Conversation

6r1d
Copy link
Contributor

@6r1d 6r1d commented Nov 9, 2023

As discussed with @mversic, we need to add a SCALE codec-related troubleshooting section.

Copy link

vercel bot commented Nov 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
iroha-2-docs 🛑 Canceled (Inspect) Nov 9, 2023 4:11pm

src/guide/troubleshooting/configuration-issues.md Outdated Show resolved Hide resolved
src/guide/troubleshooting/configuration-issues.md Outdated Show resolved Hide resolved
src/guide/troubleshooting/configuration-issues.md Outdated Show resolved Hide resolved
src/guide/troubleshooting/configuration-issues.md Outdated Show resolved Hide resolved
src/guide/troubleshooting/configuration-issues.md Outdated Show resolved Hide resolved
Comment on lines +110 to +111
* `rm ./target/debug/iroha_client_cli ./target/release/iroha_client_cli`
* `cargo build -p iroha_client_cli`
Copy link
Contributor

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.
Copy link
Contributor

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.
Copy link
Contributor

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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`/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.

Comment on lines +102 to +103
You may encounter SCALE codec errors when there's a discrepancy
between the data structure on the client and the peer sides.
Copy link
Contributor

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.

@nxsaken nxsaken closed this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants