And 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 manual is set to false
Testing Methodology
[ ] All tests: make test_all
[ ] LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
[ ] k8s LocalNet: verify a k8s LocalNet is still functioning correctly by following the instructions here
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
And starting the network with
make localnet_up
, the leader fails to build the first block with the following error:But after manually triggering the next view from debug CLI, blocks start being produced correctly.
Deliverable
manual
is set tofalse
Testing Methodology
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdk8s LocalNet
is still functioning correctly by following the instructions hereCreator: @red-0ne Co-Owners: