Skip to content

Commit

Permalink
fixed runtime error, moved app.gasMeterKeeper() above curiumKeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
avendauz committed Aug 11, 2021
1 parent 7dcdd62 commit cec3610
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ func NewCRUDApp(
app.slashingKeeper.Hooks()),
)

app.gasMeterKeeper = gasmeter.NewGasMeterKeeper()

laddr, _ := getRpcLadder(DefaultNodeHome)

app.curiumKeeper = curium.NewKeeper(
Expand Down Expand Up @@ -396,7 +398,7 @@ func NewCRUDApp(
keys[faucet.StoreKey],
app.cdc)

app.gasMeterKeeper = gasmeter.NewGasMeterKeeper()


app.taxKeeper = tax.NewKeeper(
keys[tax.StoreKey],
Expand Down

0 comments on commit cec3610

Please sign in to comment.