Closed perseus-algol closed 3 months ago
So I see the cause of the problem. Aggregator's endpoint GET /certificate/{certificate_hash}
returns network
field in cert metadata at sanchonet, and mainnet aggregator doesn't.
In this commit network
field was added to CertificateMetadataMessagePart
on 28 Mar 2024. So I suspect that there is an older version of aggregator deployed with mainnet. And latest version deployed with sanchonet.
Is there a reason to have different versions of Mithril configured with different cardano networks? Since in explorer we can choose the cardano network, it assumed that explorer and aggregator should be in consistent state (same version).
@perseus-algol thanks for creating the issue and investigating on it!
I think that this is related to a breaking change introduced which makes the unstable
version of the client (the one which is deployed with the explorer) compatible only with the testing-preview
and tetsing-sanchonet
aggregators (not any more with the pre-release-preview
, release-preprod
or release-mainnet
aggregators which are not running the latest
version).
This is a temporary situation: the certificate verification will resume on all the networks when the next distribution is released :+1:
Context & versions
Latest version at 820d9377e67c4e05ad3614f7b66b3e15249f5656 commit.
Steps to reproduce
It is possible to reproduce the problem either using explorer, or mithril-client-cli.
The problem appears only on:
release-mainnet
,release-preprod
,pre-release-preview
cardano networks. Attesting-preview
andtesting-sanchonet
everything works fine.To reproduce problem using
explorer
release-mainnet
(or any first 3 networks),Actual result:
VerifyCertificateModal init error: missing field
networkat line 1 column 18453
.Expected result: Verification process started. In Popup window "Verify certificate" you should see certificates chain.
To reproduce using
mithril-client-cli
Prepare
mithril-client-cli/.env
file with mainnet configuration:Then in terminal:
Actial result:
@jpraynaud, you can assign it on me.