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

node: Adding WithHost options to settings section #301

Merged
merged 4 commits into from
Dec 28, 2021

Conversation

Bidon15
Copy link
Member

@Bidon15 Bidon15 commented Dec 20, 2021

Depends on #292

Removing append from overrides func
Edit node.go
Adding 1 test for checking withHost functionality

Closes #299

@Bidon15 Bidon15 self-assigned this Dec 20, 2021
@Wondertan Wondertan deleted the branch celestiaorg:main December 24, 2021 11:30
@Wondertan Wondertan closed this Dec 24, 2021
@Bidon15 Bidon15 reopened this Dec 24, 2021
@Bidon15 Bidon15 changed the base branch from hlib/node-settings to main December 24, 2021 11:32
Removing append from overrides func
Edit node.go
Adding 1 test for checking withHost functionality
node/node.go Outdated Show resolved Hide resolved
node/node.go Outdated Show resolved Hide resolved
CHANGELOG-PENDING.md Show resolved Hide resolved
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually - how are these options intended to be used? Where is the CLI flag intended to trigger this option override? Same for #302 .

@Wondertan
Copy link
Member

Wondertan commented Dec 28, 2021

@renaynay, They are not going to be triggered by CLI, but by TestSwamp. TestSwamp needs to overwrite those with custom testing values.

@Bidon15
Copy link
Member Author

Bidon15 commented Dec 28, 2021

Actually - how are these options intended to be used? Where is the CLI flag intended to trigger this option override? Same for #302 .

We need these flags to initialise the node with a predefined network and coreclient created by test swamp

@Bidon15 Bidon15 merged commit c39c502 into celestiaorg:main Dec 28, 2021
Bidon15 added a commit to Bidon15/celestia-node that referenced this pull request Jan 11, 2022
* node: Adding WithHost options to settings section
Removing append from overrides func
Edit node.go
Adding 1 test for checking withHost functionality

* node: fix withHost test case

* update changelog

* remove redundant code in newNode
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.

node: add WithHost Option
3 participants