hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
266 stars 119 forks source link

Configure dev to use genesis/throttles-dev.json and preprod to use genesis/throttles.json #14042

Closed ElijahLynn closed 3 days ago

ElijahLynn commented 5 days ago

Description

We noticed that preprod environments were not loading throttles with the error:

2024-06-25 21:50:45.146 FATAL 570  V0490FileSchema - Throttle definitions could not be loaded from disk or from classpath

@tomzhenghedera mentioned he had seen this issue on our performance networks and we needed to change the path to prepend genesis. So @nirbosl and I tested this on one of the integration nodes (PR https://github.com/hashgraph/hedera-services/pull/14044) and it did load the throttles.

Steps to reproduce

gensis.properties

bootstrap.throttleDefsJson.resource=throttles.json (should be genesis/throttles*.json)

Additional context

Also, how can we ensure that these files are kept up to date when there are changes made to this page or other values?

Hedera network

other

Version

build-develop-b43861c8

Operating system

None