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

dev-mainnet not signing Cardano transaction after full import #1875

Closed
1 of 2 tasks
jpraynaud opened this issue Jul 31, 2024 · 0 comments · Fixed by #1877
Closed
1 of 2 tasks

dev-mainnet not signing Cardano transaction after full import #1875

jpraynaud opened this issue Jul 31, 2024 · 0 comments · Fixed by #1877
Assignees
Labels
bug ⚠️ Something isn't working

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Jul 31, 2024

Why

We have noticed that following the full import of the Cardano transactions in the dev-mainnet network, the certification of the transactions stopped after a few successful signatures.

After investigation, it appears that the aggregator of the dev-mainnet network is missing a row for a block number in its database (confirmed with the testing-mainnet network), which causes the mismatch of signatures:

+------------------------------------------------------------------+--------------+-------------+------------------------------------------------------------------+
|                         transaction_hash                         | block_number | slot_number |                            block_hash                            |
+------------------------------------------------------------------+--------------+-------------+------------------------------------------------------------------+
| 58808ad93c3fb337a91bac2cda44f47a06611e1c797d8cf7d06ed31dcec4b2eb | 10641870     | 130823807   | 8ef8d030154695569b7d8a2c0074c5a340b7d4224773dac054877224cbfffd35 |
+------------------------------------------------------------------+--------------+-------------+------------------------------------------------------------------+

We have also noticed that the problem occurs only when the import is done very close from the tip of the chain, which is probably the source of the problem. An analysis from the logs of the aggregator showed that the problem is likely due to bounds management in the ChainReaderBlockStreamer::get_next_chain_block_action.

What

Investigate and fix the problem.

How

  • Investigate the problem
  • Fix the problem by fixing the handling of the above threshold of the ChainReaderBlockStreamer::get_next_chain_block_action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants