-
Notifications
You must be signed in to change notification settings - Fork 25
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
Internal consensus mode of Inner Ring with Sidechain auto-deploy #282
Internal consensus mode of Inner Ring with Sidechain auto-deploy #282
Conversation
12a4c5e
to
c359432
Compare
5ee6a38
to
d80eab0
Compare
29cc462
to
f22a3bd
Compare
https://github.com/vvarg229/neofs-node/actions/runs/7252535413/job/19757223163?pr=50 |
f22a3bd
to
267fe52
Compare
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.
Looks legit, can be 0.39.1 now.
bin/update_hosts.sh
Outdated
|
||
# Get the line numbers of "Addresses:" | ||
addresses_lines=$(grep -n "Addresses:" "$MORPH_CHAIN_CONFIG" | cut -d ':' -f 1) | ||
# FIXME: grep by 'listen:' is unstable, jump to exact YAML fields |
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.
Likely can be fixed with some jq
incantation.
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.
do you mind fixing this separately? the approach was the same before
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.
Likely can be fixed with some
jq
incantation.
The jq is sometimes not installed on the custom runners.
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.
do you mind fixing this separately
Issue?
The jq is sometimes not installed
We already use it in scripts, so I doubt dev-env would work without it.
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.
@roman-khimov #302 (and #303)
267fe52
to
6a35b24
Compare
6a35b24
to
d7473c6
Compare
d7473c6
to
78d41c9
Compare
`[email protected]` release gave us the opportunity to deploy/update the network automatically using IR. Moreover, starting from `@v0.36`, IR can be launched in internal consensus mode to avoid maintaining a separate NeoFS chain (IR becomes Neo blockchain itself). Using these features in DevEnv will significantly simplify its architecture. Significant changes check list: - upgrade all `neofs-node` apps to `@v0.39.1` (currently the latest) - configure `ir` service to be run in the local consensus mode - purge no longer needed `morph_chain` service - configure `ir` service to perform network auto-deployment - make `ir` service a bootstrap one to keep previous run flow - do not exec no longer needed `neofs-adm morph init` command (IR does all the stuff) - purge UN/LOCODE database that was embedded into IR in `@v0.39` - add healthcheck of the (main) `chain` service since it should be ready to accept deployed NeoFS contract - store NeoFS chain DB in the persistent volume so as not to deploy the network from scratch every time (the volume can be removed to reset) Closes #252. Closes #295. Signed-off-by: Leonard Lyubich <[email protected]>
Signed-off-by: Leonard Lyubich <[email protected]>
78d41c9
to
f54fdc7
Compare
pls have a look and advisable pull+try
i'll write commit message finally