From 55f6856dbb26a11041226b68cdfda8f7284da9af Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 27 Sep 2024 17:41:33 +0800 Subject: [PATCH] d --- integration_tests/configs/broken-cronosd.patch | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/integration_tests/configs/broken-cronosd.patch b/integration_tests/configs/broken-cronosd.patch index 4935f14260..1169bdebd6 100644 --- a/integration_tests/configs/broken-cronosd.patch +++ b/integration_tests/configs/broken-cronosd.patch @@ -1,8 +1,8 @@ diff --git a/app/app.go b/app/app.go -index c5190b3..1aaa765 100644 +index 6e9d3a80..83b83274 100644 --- a/app/app.go +++ b/app/app.go -@@ -1057,6 +1057,11 @@ func (app *App) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error) { +@@ -1144,6 +1144,10 @@ func (app *App) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error) { // EndBlocker application updates every end block func (app *App) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error) { @@ -10,7 +10,6 @@ index c5190b3..1aaa765 100644 + store := ctx.KVStore(app.keys["cronos"]) + store.Set([]byte("hello"), []byte("world")) + } -+ - return app.ModuleManager.EndBlock(ctx) - } - + rsp, err := app.ModuleManager.EndBlock(ctx) + if err := app.RefreshBlockList(ctx); err != nil { + app.Logger().Error("failed to update blocklist", "error", err)