print command for spin up a local mpc cluster #833
Merged
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.
Part of near/transfer#34 , this prints the command line arguments so we can copy paste the command to quickly spin up a cluster, stop one node in the cluster, start the node with rust debugger attached to debug issues. Usage:
cargo run -- dep-services
in integration-tests/chain-signatures and follow the printed instructions.Example session:
near config add-connection --network-name local --connection-name local --rpc-url http://127.0.0.1:55052 --wallet-url http://127.0.0.1/ --explorer-transaction-url http://127.0.0.1:6666/
, choose no for all optionsLatest near-cli-rs (up to 0.15.1) works, correctly init, but, it will print error because of a protocol upgrade and we haven't upgrade near-lake docker
RUST_LOG=
accordingly or start one node with debugger attached in your IDE. Example of my node 3 output: