Skip to content

Commit 5e3e8bf

Browse files
committed
wip
1 parent 8efaaa5 commit 5e3e8bf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

sei-wasmd/app/app.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,12 @@ func (app *WasmApp) ProcessProposalHandler(ctx sdk.Context, req *abci.RequestPro
722722
}
723723

724724
func (app *WasmApp) FinalizeBlocker(ctx sdk.Context, req *abci.RequestFinalizeBlock) (*abci.ResponseFinalizeBlock, error) {
725+
capability.BeginBlocker(ctx, *app.capabilityKeeper)
726+
distr.BeginBlocker(ctx, []abci.VoteInfo{}, app.distrKeeper)
727+
slashing.BeginBlocker(ctx, []abci.VoteInfo{}, *&app.slashingKeeper)
728+
evidence.BeginBlocker(ctx, []abci.Misbehavior{}, *&app.evidenceKeeper)
729+
staking.BeginBlocker(ctx, app.stakingKeeper)
730+
ibcclient.BeginBlocker(ctx, app.ibcKeeper.ClientKeeper)
725731
events := []abci.Event{}
726732

727733
typedTxs := []sdk.Tx{}

sei-wasmd/x/wasm/ibctesting/chain.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ func CreateSortedSignerArray(altPrivVal, suitePrivVal tmtypes.PrivValidator,
554554
// NOTE: only creation of a capbility for a transfer or mock port is supported
555555
// Other applications must bind to the port in InitGenesis or modify this code.
556556
func (chain *TestChain) CreatePortCapability(scopedKeeper capabilitykeeper.ScopedKeeper, portID string) {
557+
// ensure the chain has the latest time
557558
// check if the portId is already binded, if not bind it
558559
_, ok := chain.App.GetScopedIBCKeeper().GetCapability(chain.GetContext(), host.PortPath(portID))
559560
if !ok {
@@ -586,6 +587,7 @@ func (chain *TestChain) GetPortCapability(portID string) *capabilitytypes.Capabi
586587
// if it does not already exist. This function will fail testing on any resulting error. The
587588
// scoped keeper passed in will claim the new capability.
588589
func (chain *TestChain) CreateChannelCapability(scopedKeeper capabilitykeeper.ScopedKeeper, portID, channelID string) {
590+
// ensure the chain has the latest time
589591
capName := host.ChannelCapabilityPath(portID, channelID)
590592
// check if the portId is already binded, if not bind it
591593
_, ok := chain.App.GetScopedIBCKeeper().GetCapability(chain.GetContext(), capName)

0 commit comments

Comments
 (0)