This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
docs: evmbin - Update Rust docs #10658
docs: evmbin - Update Rust docs #10658
Changes from 3 commits
9db14a4
e2d4d4f
e851609
1d2cee6
17c4168
57ad538
eaca30a
e928c33
d33a0ed
abc071f
b6294e2
27323a4
46c597a
3ad5cfd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
So it is not included in regular releases? That is a bit unusual so perhaps worth expanding on, like "The
evmbin
tool is not distributed with regular Parity Ethereum releases so you need to build it from source like so: …`?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've pushed a commit fixing this, thanks!
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.
Are you happy with the changes @dvdplm?
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.
If built with
--release
the path becomes./target/release/parity-evm
(and we might want to suggest they copy the executable to, dunno,~/bin
?).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.
installing binaries is usually out of scope here
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.
If they're using macOS or Linux and they want it in their PATH, we could suggest that they create a symlink i.e.
sudo ln -s <ABSOLUTE_PATH>/parity-ethereum/target/release/parity-evm /usr/local/bin
, assuming thatecho $PATH
indicates that /usr/local/bin is in their path, and then they can runparity-evm --help
from any directory.I'd have to look into what steps are required for Windows.
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've pushed a commit that informs the user the following: "If you wish to run
parity-evm
from any directory, then either copy the executable file itself to a directory that is in your PATH, or just create a symlink to it."Is that ok @dvdplm @soc1c ?
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.
Personally I'd avoid symlinks to the build directory because files therein are clobbered anytime I build. Maybe a user of
evmbin
doesn't build as often as I do, but who knows. I think the wording could just be: "if you wish to run parity-evm from any directory copy the executable from ./target/release to a directory in your $PATH, e.g. ~/bin or /usr/local/bin.".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.
Thanks, i've pushed a commit with this change
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.
again, I would like to emphasize that explaining users how to use binaries is out of scope for our documentation.
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.
@soc1c I've pushed another commit removing the explanation about how to use binaries