Skip to content

[2.0.x] fix(stores): stop re-processed blocks from duplicating metadata, assets, script and MIR rows (backport of #1266) - #1345

Open
satran004 wants to merge 5 commits into
release/2.0.xfrom
backport/2.0.x/1266-deterministic-ids-reprocessed-blocks
Open

satran004 wants to merge 5 commits into
release/2.0.xfrom
backport/2.0.x/1266-deterministic-ids-reprocessed-blocks

backport(2.0.x): transaction_metadata has no tx_index column on this …

202e6f5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 7, 2026 in 1m 2s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 25 in components/common/src/main/java/com/bloxbean/cardano/yaci/store/common/util/UUIDUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure this weak hash algorithm is not used in a sensitive context here.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07Ze2E7uBDFkTIQND&open=AaG07Ze2E7uBDFkTIQND&pullRequest=1345

Check warning on line 34 in stores/script/src/main/java/com/bloxbean/cardano/yaci/store/script/storage/impl/TxScriptStorageImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07ZhyE7uBDFkTIQNE&open=AaG07ZhyE7uBDFkTIQNE&pullRequest=1345

Check warning on line 26 in stores/mir/src/main/java/com/bloxbean/cardano/yaci/store/mir/storage/impl/MIRStorageImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07ZkQE7uBDFkTIQNF&open=AaG07ZkQE7uBDFkTIQNF&pullRequest=1345

Check warning on line 34 in stores/assets/src/main/java/com/bloxbean/cardano/yaci/store/assets/storage/impl/AssetStorageImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07ZvaE7uBDFkTIQNH&open=AaG07ZvaE7uBDFkTIQNH&pullRequest=1345

Check warning on line 15 in components/common/src/main/java/com/bloxbean/cardano/yaci/store/common/util/UUIDUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07Ze2E7uBDFkTIQNC&open=AaG07Ze2E7uBDFkTIQNC&pullRequest=1345

Check warning on line 36 in stores/metadata/src/main/java/com/bloxbean/cardano/yaci/store/metadata/storage/impl/TxMetadataStorageImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Explicitly specify the time zone by passing a ZoneId or a Clock to the .now() method.

See more on https://sonarcloud.io/project/issues?id=bloxbean_yaci-store&issues=AaG07ZovE7uBDFkTIQNG&open=AaG07ZovE7uBDFkTIQNG&pullRequest=1345