95dde36e1c
* WIP: migrating the nameservice module * WIP: migrating the nameservice module from dxns to ethermint * refactor: move the proto package version from `v1` to `v1beta1` for vulcanize modules * refactor: added bond module dependency to nameserivce module * feat: added auction module dependency to nameservice module * refactor: refactored the nameservice module * refactor: add human-readable attributes output to cli nameservice `list` * fix: fix the sub names authority storing issue * refactor: removed legacyCodec from nameservice * fix: fix the responses for `authority-expiry` and `records-expiry` commands query result * refactor: sort the imports in app * refactor: removed json encoder and decoder
18 lines
561 B
Go
18 lines
561 B
Go
package nameservice
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
abci "github.com/tendermint/tendermint/abci/types"
|
|
"github.com/tharsis/ethermint/x/nameservice/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{}
|
|
}
|