-
Notifications
You must be signed in to change notification settings - Fork 13
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
just add the domain node block with the consensus block in docker compose #1259
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for dev-astral canceled.
|
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 really don't like this solution, can we just add a env "EXTRA_NODE_ARGS" and pass all the extra args taurus need for the domain, and leave that env empty for mainnet?
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.
LGTM
Please add these argument as a commented env like the other taurus env and define a empty env for this, since the uncommented env are by default all the mainnet env
Also, since on mainnet we don't have domain yet, will it create a issue to define port that don't exist?
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'm still getting
error: unexpected argument '-- \
node-1 | --domain-id 0 \
node-1 | --state-pruning archive \
node-1 | --blocks-pruning archive \
node-1 | --listen-on /ip4/0.0.0.0/tcp/30334 \
node-1 | --rpc-cors all \
node-1 | --rpc-methods safe \
node-1 | --rpc-listen-on 0.0.0.0:8944 \
node-1 | --rpc-max-connections 500 \
node-1 | --reserved-peer /dns/bootstrap-0.auto-evm.taurus.subspace.network/tcp/30334/p2p/12D3KooWKDhSnpoeyRPRQSNwnB2k1C4WRa8h3BQh5s5mtF9MJdTN \
node-1 | --bootstrap-node /dns/bootstrap-0.auto-evm.taurus.subspace.network/tcp/30334/p2p/12D3KooWKDhSnpoeyRPRQSNwnB2k1C4WRa8h3BQh5s5mtF9MJdTN' found
node-1 |
node-1 | tip: to pass '-- \
...
(Even if I hardcode the Domain id in the args)
NODE_EXTRA_ARGS="" | ||
#taurus | ||
# NODE_EXTRA_ARGS="-- \ | ||
# --domain-id ${DOMAIN_ID} \ |
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.
The DOMAIN_ID env is likely not needed anymore, and could be hardcoded here.
This fixes #1243 and combines the domain node with the consensus node. Taurus domain node parameters are passed in as an env variable