Skip to content

Commit

Permalink
feat(evm): tracer option is read from the config
Browse files Browse the repository at this point in the history
  • Loading branch information
onikonychev committed Jun 11, 2024
1 parent 6511f86 commit e678b7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions app/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types"
icatypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types"

appserver "github.com/NibiruChain/nibiru/app/server"

wasmdapp "github.com/CosmWasm/wasmd/app"
"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
Expand Down Expand Up @@ -393,7 +395,6 @@ func (app *NibiruApp) InitKeepers(
),
)

evmTracer := "json"
app.EvmKeeper = evmkeeper.NewKeeper(
appCodec,
keys[evm.StoreKey],
Expand All @@ -402,7 +403,7 @@ func (app *NibiruApp) InitKeepers(
app.AccountKeeper,
app.BankKeeper,
app.StakingKeeper,
evmTracer,
cast.ToString(appOpts.Get(appserver.EVMTracer)),
)

// ---------------------------------- IBC keepers
Expand Down

0 comments on commit e678b7d

Please sign in to comment.