[docs] Fix the lite/archive node on test chain command#324
Closed
birkskyum wants to merge 2 commits intoopentensor:developmentfrom
Closed
[docs] Fix the lite/archive node on test chain command#324birkskyum wants to merge 2 commits intoopentensor:developmentfrom
birkskyum wants to merge 2 commits intoopentensor:developmentfrom
Conversation
gztensor
requested changes
Apr 15, 2024
|
|
||
| ```bash title="With bootnodes set to testnet and --sync=warp setting, for lite node." | ||
| ./target/release/node-subtensor --chain raw_spec.json --base-path /tmp/blockchain --sync=warp --execution wasm --wasm-execution compiled --port 30333 --max-runtime-instances 64 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9944 --bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWDe7g2JbNETiKypcKT1KsCEZJbTzEHCn8hpd4PHZ6pdz5 --ws-max-connections 16000 --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external --ws-external | ||
| ./target/release/node-subtensor --chain raw_spec.json --base-path /tmp/blockchain --sync=warp --execution wasm --wasm-execution compiled --port 30333 --max-runtime-instances 64 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9944 --bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr --rpc-max-connections 16000 --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external |
Contributor
There was a problem hiding this comment.
The binary prints the following warning when run with these parameters:
CLI parameter `--execution` has no effect anymore and will be removed in the future
I think Parity made execution to be wasm-only, so this parameter doesn't make any difference.
Author
There was a problem hiding this comment.
Do you get any error when running with -e binary before these changes like i do?
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The command altered here introduced an issue:
https://github.com/opentensor/subtensor/pull/321/files#diff-e5df68e2ba1b76797b26a032c414ae59477b34689851e95cfc3b434e67e7c5caL193-L202
It's necessary to also update
--ws-max-connections->--rpc-max-connectionsand to remove the trailing--ws-externalwhich doesn't exist anymoreI also updated the test bootnode, so it aligns with the correct peer ID, similar to the change in:
553d772
Otherwise, users will see terminal outputs like: