-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
consensusConsensus specific changesConsensus specific changes
Milestone
Description
Objective
Have LocalNet building the first block without error when pacemaker manual mode is false.
When setting manual to false in charts/pocket/values.yaml
config:
consensus:
pacemaker_config:
manual: falseAnd starting the network with make localnet_up, the leader fails to build the first block with the following error:
{"level":"info","module":"leader_utility_UOW","maxTxBytes":500000000,"proposer":"00104055c00bed7c983a48aac7dc6335d7c607a7","source":"CreateProposalBlock","state_hash":"07cf4c8d390c7dd608ea089aa87bf1e0e74992b98a62edcea4c115221f7e58a3","time":"2023-08-03T18:21:33Z","message":"Finished successfully"}
{"level":"info","module":"persistence","height":-1,"time":"2023-08-03T18:21:33Z","message":"About to release context"}
{"level":"error","module":"consensus","kind":"LEADER","error":"no rows in result set","time":"2023-08-03T18:21:33Z","message":"could not prepare block"}
{"level":"warn","module":"pacemaker","height":0,"round":16,"step":1,"time":"2023-08-03T18:21:33Z","message":"⏰ Interrupt ⏰ due to: failed to prepare new block"}But after manually triggering the next view from debug CLI, blocks start being produced correctly.
Deliverable
- Fix first block preparation when consensus' pacemaker
manualis set tofalse
Testing Methodology
- All tests:
make test_all - LocalNet: verify a
LocalNetis still functioning correctly by following the instructions at docs/development/README.md - k8s LocalNet: verify a
k8s LocalNetis still functioning correctly by following the instructions here
Creator: @red-0ne
Co-Owners:
Metadata
Metadata
Assignees
Labels
consensusConsensus specific changesConsensus specific changes
Type
Projects
Status
Backlog