Skip to content

Commit

Permalink
Add getter for ChainID in BaseApp (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xstepit authored Dec 11, 2023
1 parent ab1087a commit 6db0ba4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1074,3 +1074,8 @@ func NoOpProcessProposal() sdk.ProcessProposalHandler {
func (app *BaseApp) Close() error {
return nil
}

// ChainID returns the chainID of the BaseApp.
func (app *BaseApp) ChainID() string {
return app.chainID
}

0 comments on commit 6db0ba4

Please sign in to comment.