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

Add two more validators, providing four nodes in a devnet. #383

Closed
wants to merge 8 commits into from

Conversation

vitropy
Copy link
Contributor

@vitropy vitropy commented Jun 14, 2024

Seems healthy? I'm not sure how to assign a validator to a signing group but I don't think we did anything special to make that happen with a two-node setup or if that's required with this one. The logs do look healthy, though. Examine the logs with a command such as this:

cd $ENTROPY_WORKSPACE_DIR/sdk
docker compose --file dev/docker-scripts/four-nodes.yaml logs --follow

Use this file in CI or in your workflow with a command like:

cd $ENTROPY_WORKSPACE_DIR/sdk
./dev/bin/spin-up.sh four-nodes

@vitropy vitropy self-assigned this Jun 14, 2024
rh0delta
rh0delta previously approved these changes Jun 14, 2024
@frankiebee frankiebee dismissed rh0delta’s stale review June 14, 2024 21:49

i want to add a test first to this branch before merge and approval

frankiebee and others added 5 commits June 14, 2024 12:02
This command makes it possible to use files located in the `./dev`
directory from within the Docker containers, enabling the option of
loading a custom chain spec file for testing.
@mixmix
Copy link
Collaborator

mixmix commented Jun 17, 2024

@vitropy are you leading this PR?
Whoever leads it will like need to collaborate with you/ core/ js?

Checklist before this is ready:

  • tests passing in CI
  • review

@vitropy
Copy link
Contributor Author

vitropy commented Jun 17, 2024

@vitropy are you leading this PR?

I don't know what that means.

Currently the state of this PR is blocked by needing a new chain spec file that adds validators to a new chain spec file intended for the purpose of starting a genesis block on a chain with four validators or else the ability to programmatically add validators after initialization of the development network as discussed in your team's development channel. Neither of these are things I know how to do.

@mixmix
Copy link
Collaborator

mixmix commented Jun 19, 2024

@vitropy you opened this PR... but also Frankie committed to it.

What I was pointing to with the "leading this PR" request is that from prior experience on other teams, if it's unclear who is doing a task / is responsible for getting it done, then it is more inclined to slip through the cracks and get forgotten.

The culture I've found useful in the past is to make it clear who the leader / main backstop person is. We can make up whatever protocols we want of course!

What maybe I could have done is asked instead:

  • what is the state of this PR? (in-progress / old and should be closed / on hold / other)
  • if it's still in progress, who is progressing it?
  • is there any support needed here?

tone: not blaming, just seeking clarity, totally fine with you saying "I am handing this over", or sharing whatever your experience + culture/norms are

🦩 🍍 🐟

@vitropy
Copy link
Contributor Author

vitropy commented Jun 19, 2024

@vitropy you opened this PR... but also Frankie committed to it.

Like most things, this is a collaborative effort. The effort's current status is described in the most recent comments; I've left a status update in my most recent comment.

What I was pointing to with the "leading this PR" request is that from prior experience on other teams, if it's unclear who is doing a task / is responsible for getting it done, then it is more inclined to slip through the cracks and get forgotten.

I think using the assignee field to communicate who is currently deemed responsible for moving the effort forward is a good practice.

* what is the state of this PR? (in-progress / old and should be closed / on hold / other)

See my most recent comment.

* if it's still in progress, who is progressing it?

The answer to this should be in the assignee field, IMHO. Currently it's just me. I'm okay with this but need support from @entropyxyz/core-developers at the moment, and I've put this on hold until I can coordinate a time with them in between my other issue and PR assignments.

If someone wants to jump in and help here, I think a sensible way to communicate that intent is to self-assign this PR.

* is there any support needed here?

Yes. Again, see my most recent comment.

@JesseAbram
Copy link
Member

JesseAbram commented Jun 21, 2024

Created a chain type to support the docker file, I guess next steps here are to check (test this docker file)

entropyxyz/entropy-core#902

@mixmix
Copy link
Collaborator

mixmix commented Jun 23, 2024

Like most things, this is a collaborative effort.

Yeah I know, just trying to figure out what our patterns of collaboration look like. I've been caught out before assuming "sensible process". e.g. Assignee field is a tool, AND not everyone uses it the same.

I think what you've proposed is good and clear.

I've added a little help by

  • resolving a merge conflict (updated this branch from main)
  • adding "suggestions" to make it easier to do those changes Jesse recommended

I'll check in each week to see if there's anything that I can help with - you're assigned here but this is our lounge and want it to go well for you ❤️

@mixmix
Copy link
Collaborator

mixmix commented Jul 1, 2024

Changes in core, need to work on getting the RC of core 0.2.0 tested, deployed and a new release of SDK which uses that

image

@mixmix mixmix marked this pull request as draft July 1, 2024 21:21
@mixmix
Copy link
Collaborator

mixmix commented Jul 29, 2024

@frankiebee can you process this <3

@frankiebee
Copy link
Collaborator

Closing this due to inactivity.

@frankiebee frankiebee closed this Aug 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
@frankiebee frankiebee reopened this Oct 8, 2024
- ${PWD}/dev:/srv/entropy/dev
command:
- "--chain"
- "devnet-local-four-nodes"
Copy link
Member

Choose a reason for hiding this comment

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

all these need to change to devnet-local

Copy link
Member

Choose a reason for hiding this comment

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

@frankiebee frankiebee closed this Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants