MCPcopy Create free account
hub / github.com/Sifchain/sifnode / endBlock

Function endBlock

integrationtest/integration_test.go:441–448  ·  view source on GitHub ↗
(t *testing.T, app *sifapp.SifchainApp, ctx sdk.Context, height int64)

Source from the content-addressed store, hash-verified

439}
440
441func endBlock(t *testing.T, app *sifapp.SifchainApp, ctx sdk.Context, height int64) {
442 app.EndBlocker(ctx, abci.RequestEndBlock{Height: height})
443 //app.Commit()
444
445 // Check invariants
446 res, stop := app.ClpKeeper.BalanceModuleAccountCheck()(ctx)
447 require.False(t, stop, res)
448}
449
450type TestResults struct {
451 Accounts map[string]sdk.Coins `json:"accounts"`

Callers 1

TestIntegrationFunction · 0.85

Calls 2

EndBlockerMethod · 0.80

Tested by

no test coverage detected