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

just add the domain node block with the consensus block in docker compose #1259

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

DaMandal0rian
Copy link
Member

@DaMandal0rian DaMandal0rian commented Mar 4, 2025

This fixes #1243 and combines the domain node with the consensus node. Taurus domain node parameters are passed in as an env variable

Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for dev-astral canceled.

Name Link
🔨 Latest commit df8d60e
🔍 Latest deploy log https://app.netlify.com/sites/dev-astral/deploys/67c7065889c17300085dfb06

@DaMandal0rian DaMandal0rian changed the title just add the domain node block with the consensus block just add the domain node block with the consensus block in docker compose Mar 4, 2025
Copy link
Member

@marc-aurele-besner marc-aurele-besner left a 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?

Copy link
Member

@marc-aurele-besner marc-aurele-besner left a 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?

Copy link
Member

@marc-aurele-besner marc-aurele-besner left a 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} \
Copy link
Member

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.

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.

2 participants