From 4c6bb52a5294cd631e19940e3d1e718516c20ade Mon Sep 17 00:00:00 2001 From: Oleg Nikonychev Date: Tue, 11 Jun 2024 20:13:55 +0400 Subject: [PATCH] feat(evm): tracer option is read from the config (#1922) * feat(evm): tracer option is read from the config * chore: lint --- CHANGELOG.md | 1 + app/keepers.go | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f87a4cb6..324533a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -73,6 +73,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [#1912](https://github.com/NibiruChain/nibiru/pull/1912) - test(evm): unit tests for evm_ante - [#1914](https://github.com/NibiruChain/nibiru/pull/1914) - refactor(evm): Remove dead code and document non-EVM ante handler- [#1917](https://github.com/NibiruChain/nibiru/pull/1917) - test(e2e-evm): TypeScript support. Type generation from compiled contracts. Formatter for TS code. - [#1917](https://github.com/NibiruChain/nibiru/pull/1917) - test(e2e-evm): TypeScript support. Type generation from compiled contracts. Formatter for TS code. +- [#1922](https://github.com/NibiruChain/nibiru/pull/1922) - feat(evm): tracer option is read from the config. #### Dapp modules: perp, spot, oracle, etc diff --git a/app/keepers.go b/app/keepers.go index cb073a336..4d8be0114 100644 --- a/app/keepers.go +++ b/app/keepers.go @@ -393,7 +393,6 @@ func (app *NibiruApp) InitKeepers( ), ) - evmTracer := "json" app.EvmKeeper = evmkeeper.NewKeeper( appCodec, keys[evm.StoreKey], @@ -402,7 +401,7 @@ func (app *NibiruApp) InitKeepers( app.AccountKeeper, app.BankKeeper, app.StakingKeeper, - evmTracer, + cast.ToString(appOpts.Get("evm.tracer")), ) // ---------------------------------- IBC keepers