hedera-local-node icon indicating copy to clipboard operation
hedera-local-node copied to clipboard

DEV_MODE needs to be set to `true` in the local node.

Open ebadiere opened this issue 1 year ago • 1 comments

Description

Currently the local node is meant for iterative development and CI, and DEV_MODE is set to false. DEV_MODE needs to be set to true in order for contract revert reasons to be returned to the test app.

Steps to reproduce

  1. The current .env file has RELAY_DEV_MODE set to false
  2. Once the local node is started you can get into the container and verify that DEV_MODE is set to false. docker exec -it <container ID> /bin/bash env
REDIS_URL=redis://127.0.0.1:6379
HOSTNAME=0c651e8c172a
LOCAL_NODE=true
FEE_HISTORY_MAX_RESULTS=10
DEV_MODE=false
YARN_VERSION=1.22.19
OPERATOR_ID_MAIN=0.0.2...

Additional context

No response

Hedera network

other

Version

v2.16.0

Operating system

macOS

ebadiere avatar Dec 05 '23 20:12 ebadiere

Hey @ebadiere is this still valid ? What was decided here ?

georgi-l95 avatar Aug 06 '24 08:08 georgi-l95

N/A. We don't key off of DEV_MODE to provide contract revert messages.

ebadiere avatar Aug 20 '24 23:08 ebadiere