Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit 306519a

Browse files
committed
skip upgrade BeginBlock for EVM tracer
1 parent 3f2a40d commit 306519a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

x/upgrade/abci.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ import (
2121
// a migration to be executed if needed upon this switch (migration defined in the new binary)
2222
// skipUpgradeHeightArray is a set of block heights for which the upgrade must be skipped
2323
func BeginBlocker(k keeper.Keeper, ctx sdk.Context, _ abci.RequestBeginBlock) {
24+
if ctx.IsTracing() {
25+
return
26+
}
2427
defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyBeginBlocker)
2528

2629
plan, planFound := k.GetUpgradePlan(ctx)

0 commit comments

Comments
 (0)