forked from cerc-io/laconicd
Prathamesh Musale
c79b7bea7d
- Implement auction and bond module hooks in registry module - Code cleanup Reviewed-on: deep-stack/laconic2d#9 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
17 lines
315 B
Go
17 lines
315 B
Go
package module
|
|
|
|
import (
|
|
"context"
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
"git.vdb.to/cerc-io/laconic2d/x/auction/keeper"
|
|
)
|
|
|
|
// EndBlocker is called every block
|
|
func EndBlocker(ctx context.Context, k *keeper.Keeper) error {
|
|
sdkCtx := sdk.UnwrapSDKContext(ctx)
|
|
|
|
return k.EndBlockerProcessAuctions(sdkCtx)
|
|
}
|