Skip to content

Commit

Permalink
Fixing debug mode configuration on local node
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Stefanov <stefan.stefanooov@gmail.com>
  • Loading branch information
stefan-stefanooov committed Dec 18, 2023
1 parent 7b5e404 commit 67a7ffa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions compose-network/mirror-node/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ hedera:
endpointOverride: http://minio:9000
local:
deleteAfterProcessing: true
sources:
- type: LOCAL
initialAddressBook: /usr/etc/hedera-mirror-importer/local-dev-1-node.addressbook.f102.json.bin
network: OTHER
dataPath: file:///node/
monitor:
mirrorNode:
grpc:
Expand Down
5 changes: 5 additions & 0 deletions compose-network/network-node/data/config/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ netty.mode=DEV
contracts.chainId=298
hedera.recordStream.logPeriod=1
balances.exportPeriodSecs=400
files.maxSizeKb=6144
contracts.precompile.atomicCryptoTransfer.enabled=true
hedera.transaction.eip2930.enabled=true
accounts.blocklist.enabled=false
accounts.blocklist.path=data/config/evm-addresses-blocklist.csv
4 changes: 1 addition & 3 deletions src/state/InitState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ export class InitState implements IState{
application.hedera.mirror.importer.downloader.sources = originalNodeConfiguration.turboNodeProperties.sources;
}

if(debugMode) {
application.hedera.mirror.importer.downloader.local.deleteAfterProcessing = false
}
application.hedera.mirror.importer.downloader.local.deleteAfterProcessing = !debugMode

// if (multiNode) {
// application['hedera']['mirror']['monitor']['nodes'] = originalNodeConfiguration.multiNodeProperties
Expand Down

0 comments on commit 67a7ffa

Please sign in to comment.