IntersectMBO / IntersectMBO/mithril
Blocks and transaction verification fails on `testing-preview`
- Dominant language
- Rust
- Stars
- 154
- Forks
- 51
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 38
Description
## Why
This client command fails in the nightly test (reproduced locally) with a internal error of the aggregator:
```
./mithril-client --origin-tag CI cardano-transaction certify 1f7dbc899a898ceb4274bbc33b31ca5f0de497753c6c6795fa34838fc252de9b,c43e809de628f7c1ba41a44f188ed3872bb1f97aa101271e35424a8e1d95bea9,c61e22ac4a79a02b28ed36217369ff6959465790a4fe9e66738b7a820e174fcd --backend v2 --unstable
Mithril Client CLI version: 0.13.23+a47109c
1/4 - Fetching a proof for the given transactions… Error: Can not get proof from aggregator, transactions hashes: '["1f7dbc899a898ceb4274bbc33b31ca5f0de497753c6c6795fa34838fc252de9b", "c43e809de628f7c1ba41a44f188ed3872bb1f97aa101271e35424a8e1d95bea9", "c61e22ac4a79a02b28ed36217369ff6959465790a4fe9e66738b7a820e174fcd"]'
Caused by:
0: Failed to get Cardano transactions proofs for hashes '["1f7dbc899a898ceb4274bbc33b31ca5f0de497753c6c6795fa34838fc252de9b", "c43e809de628f7c1ba41a44f188ed3872bb1f97aa101271e35424a8e1d95bea9", "c61e22ac4a79a02b28ed36217369ff6959465790a4fe9e66738b7a820e174fcd"]'
1: Internal error of the Aggregator
2: internal server error: Resource pool 'acquire_resource' has timed out
Caused by:
Acquire resource has timed out
```
## What
Investigate the source of the problem and apply a fix if needed.
## How
- [x] Investigate the source of the problem:
- [x] Discrepancy found in `testing-preview` and `testing-2-preview` aggregators
- [ ] Why the rollback mechanism did not work for the aggregators?
- [ ] Apply a fix:
- [x] Short term fix: Reset the block range root store for Cardano blocks and transactions of the aggregator (and remove the wrong blocks)
Contributor guide
Assessment
This issue has not been assessed yet.