You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/input-output-hk/sanchonet-demo
nix develop
just run-demo
Wait until your node has forked into Conway. You can check the porgress by running:
export CARDANO_NODE_NETWORK_ID=42
export CARDANO_NODE_SOCKET_PATH=$(pwd)/node.socket
❯ cardano-cli-ng query tip
Once the script has finished running, make sure to stop the node before synthesizing with just stop. Then do the following:
# First preserve the protocolMagicId file
cp state-demo/db-custom/node/protocolMagicId ../
# Prep for synthesis
rm -rf state-demo/db-custom/node/{clean,lock,protocolMagicId}
# Synthesize the desired number of slots
# The output of this command should show 0 blocks forged if the issue reproduced
db-synthesizer-ng \
--config state-demo/rundir/node-config.json \
--db state-demo/db-custom/node \
--bulk-credentials-file state-demo/bulk-creds.json \
-a \
-e 1
# Copy protocolMagicId back to the db dir prior to running node
cp state-demo/db-custom/protocolMagicId state-demo/db-custom/node/
Expected behavior
db-synthesizer should have been forged blocks for one epoch.
System info (please complete the following information):
OS Name: [e.g. Ubuntu]
OS Version: [e.g. 20.04]
Consensus version: [the git commit sha or the tag of the version]
Screenshots and attachments
If applicable, add screenshots, config files and/or logs to help explain the problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
dnadales
changed the title
[DRAFT] [BUG] - db-synthesizer not forging new blocks when hardforked into Conway
db-synthesizer does not forge new blocks in Conway
Apr 19, 2024
Closing because this issue is solved by using the correct configuration for db-synthesizer(TestEnableDevelopmentHardForkEras: true). See #1072 for follow-up on unifying the configuration options between db-synthesizer and cardano-node.
Internal/External
Internal
Summary
db-synthesizer
does not forge new blocks when using a ChainDB that corresponds to a node that hardforked into Conway.The command (see next sections for more information on how to reproduce this):
reports that 0 blocks were forged:
Steps to reproduce
This works for nix versions>= 2.17. Make sure you have the following in your
nix.conf
:When you're all set up, run the following:
Wait until your node has forked into Conway. You can check the porgress by running:
Once the script has finished running, make sure to stop the node before synthesizing with
just stop
. Then do the following:Expected behavior
db-synthesizer
should have been forged blocks for one epoch.System info (please complete the following information):
Screenshots and attachments
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: