From d8f0922b695b2305560fbc35b13d1d2fb1ed2142 Mon Sep 17 00:00:00 2001 From: David Edey Date: Wed, 7 May 2025 11:29:27 +0100 Subject: [PATCH 1/4] Support longer state_hash_tree.state_version_history_length --- core/src/main/java/com/radixdlt/RadixNodeModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/radixdlt/RadixNodeModule.java b/core/src/main/java/com/radixdlt/RadixNodeModule.java index 15c7b974ce..7458ad4346 100644 --- a/core/src/main/java/com/radixdlt/RadixNodeModule.java +++ b/core/src/main/java/com/radixdlt/RadixNodeModule.java @@ -475,7 +475,7 @@ private StateTreeGcConfig parseStateTreeGcConfig(RuntimeProperties properties) { // - we want to offer Merkle proofs verification up to 10 minutes after their generation. // Note: the legacy `state_hash_tree` name lives on here to avoid breaking configurations. var stateVersionHistoryLength = - properties.get("state_hash_tree.state_version_history_length", 60000); + properties.get("state_hash_tree.state_version_history_length", 60000L); Preconditions.checkArgument( stateVersionHistoryLength >= 0, "state version history length must not be negative: %s", From 702db9d7aa402b67603bc59d4995db090ce2e822 Mon Sep 17 00:00:00 2001 From: David Edey Date: Wed, 7 May 2025 11:33:42 +0100 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0b8660540..e570dc5f64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,10 +62,14 @@ # v1.3.x - [Cuttlefish](https://docs.radixdlt.com/docs/cuttlefish) +## v1.3.1 + +* Permits configuring larger values of `state_hash_tree.state_version_history_length` up to `9,223,372,036,854,775,807`, although we currently advise against running with full history; due to very large disk usage. + ## v1.3.0 We didn't have a formal changelog. Please see the [protocol updates](https://docs.radixdlt.com/docs/protocol-updates) section of the docs site for more information. # v1.2.x - [Bottlenose](https://docs.radixdlt.com/docs/bottlenose) and before -We didn't have a formal changelog. Please see the [protocol updates](https://docs.radixdlt.com/docs/protocol-updates) section of the docs site for more information. \ No newline at end of file +We didn't have a formal changelog. Please see the [protocol updates](https://docs.radixdlt.com/docs/protocol-updates) section of the docs site for more information. From f276cbbe77265ed3edc2b054f2a6a4329739151c Mon Sep 17 00:00:00 2001 From: David Edey Date: Wed, 7 May 2025 11:34:11 +0100 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e570dc5f64..625781d1ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,7 +64,7 @@ ## v1.3.1 -* Permits configuring larger values of `state_hash_tree.state_version_history_length` up to `9,223,372,036,854,775,807`, although we currently advise against running with full history; due to very large disk usage. +* [#1063](https://github.com/radixdlt/babylon-node/pull/1063) - Permits configuring larger values of `state_hash_tree.state_version_history_length` up to `9,223,372,036,854,775,807`, although we currently advise against running with full history; due to very large disk usage. ## v1.3.0 From 08781bfd2909a3a54cff0d8bf68227ac46089a7e Mon Sep 17 00:00:00 2001 From: David Edey Date: Wed, 7 May 2025 11:34:36 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 625781d1ae..7becac9143 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,8 @@ ## v1.3.1 +### Other changes + * [#1063](https://github.com/radixdlt/babylon-node/pull/1063) - Permits configuring larger values of `state_hash_tree.state_version_history_length` up to `9,223,372,036,854,775,807`, although we currently advise against running with full history; due to very large disk usage. ## v1.3.0