feb9790325
* WIP : added bond module tx and query cli commands * added bond module invariant * update the go.mod * addressed the pr changes * update to proto files * refactor: move the proto package version from `v1` to `v1beta1` for vulcanize modules * updated the readme file for bond module * refactor: address the pr changes
18 lines
547 B
Go
18 lines
547 B
Go
package bond
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
abci "github.com/tendermint/tendermint/abci/types"
|
|
"github.com/tharsis/ethermint/x/bond/keeper"
|
|
)
|
|
|
|
// BeginBlocker will persist the current header and validator set as a historical entry
|
|
// and prune the oldest entry based on the HistoricalEntries parameter
|
|
func BeginBlocker(ctx sdk.Context, k keeper.Keeper) {
|
|
}
|
|
|
|
// EndBlocker Called every block, update validator set
|
|
func EndBlocker(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate {
|
|
return []abci.ValidatorUpdate{}
|
|
}
|