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

Base `propertyPreservingHapiSpec()` defaults on active `Configuration` for a `SubProcessNetwork` #13931

Closed tinker-michaelj closed 5 days ago

tinker-michaelj commented 3 weeks ago

Problem

Because propertyPreservingHapiSpec() relies on default values being present in this file, any time a new property is added it will not work correctly.

Solution

We should source default values through a BootstrapConfigProvider based on the same configuration sources the @HapiTest subprocess network uses.

A convenient way to do this would be to make a ConfigurationProvider part of the HapiSpec infrastructure.

Alternatives

No response