Skip to content

Commit

Permalink
chore: Enable tokens.balancesInQueries in code (#13769)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Heinrichs <[email protected]>
  • Loading branch information
netopyr authored Jun 10, 2024
1 parent 80174eb commit 1ec65b9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions hedera-node/configuration/mainnet/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
# It's used by modular code for property overrides, taking hedera-config/ as the base,
# with overrides from this file (configuration/mainnet/application.properties).
ledger.id=0x00

tokens.balancesInQueries.enabled=true
2 changes: 0 additions & 2 deletions hedera-node/configuration/testnet/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
bootstrap.genesisPublicKey=e06b22e0966108fa5d63fc6ae53f9824319b891cd4d6050dbf2b242be7e13344
contracts.chainId=296
ledger.id=0x01

tokens.balancesInQueries.enabled=true
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public record TokensConfig(
@ConfigProperty(value = "autoCreations.isEnabled", defaultValue = "true") @NetworkProperty
boolean autoCreationsIsEnabled,
@ConfigProperty(value = "maxMetadataBytes", defaultValue = "100") @NetworkProperty int tokensMaxMetadataBytes,
@ConfigProperty(value = "balancesInQueries.enabled", defaultValue = "false") @NetworkProperty
@ConfigProperty(value = "balancesInQueries.enabled", defaultValue = "true") @NetworkProperty
boolean balancesInQueriesEnabled,
@ConfigProperty(value = "nfts.maxBatchSizeUpdate", defaultValue = "10") @NetworkProperty
int nftsMaxBatchSizeUpdate) {}

0 comments on commit 1ec65b9

Please sign in to comment.