confio / tgrade

The Tgrade Blockchain Binary, based on the Cosmos SDK and wasmd
Apache License 2.0
31 stars 10 forks source link

Fail fast on abci callback errors for non production environments #385

Open alpe opened 2 years ago

alpe commented 2 years ago

Follow up on #32

Instead of catching and logging errors/ panics, we can fail fast and panic, so that errors can not be missed. They would crash the node. This is not intended for production setup though.

One solution proposed was a compile-time flag. Other options are start parameter or environment variables. Other ideas?

alpe commented 2 years ago

When done right then this can be a non state breaking change. The "fail-fast" binary must not run in the same environment as production