Skip to content

Commit

Permalink
feat: export staking, swap keeper to dump tol
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Dec 17, 2023
1 parent ca8aa34 commit 51ce7af
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ type BNBBeaconChain struct {
takeSnapshotHeight int64 // whether to take snapshot of current height, set at endblock(), reset at commit()
}

func (app *BNBBeaconChain) GetStakingKeeper() *stake.Keeper {
return &app.stakeKeeper
}

func (app *BNBBeaconChain) GetSwapKeeper() *swap.Keeper {
return &app.swapKeeper
}

// NewBNBBeaconChain creates a new instance of the BNBBeaconChain.
func NewBNBBeaconChain(logger log.Logger, db dbm.DB, traceStore io.Writer, baseAppOptions ...func(*baseapp.BaseApp)) *BNBBeaconChain {
// create app-level codec for txs and accounts
Expand Down

0 comments on commit 51ce7af

Please sign in to comment.