Skip to content

Commit

Permalink
Preparing for re-starting Sei sync
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Dec 10, 2024
1 parent 9e69395 commit a592801
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions x/evm/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"fmt"
"math"
"math/big"
"os"
"runtime/debug"
"strings"

Expand Down Expand Up @@ -251,11 +250,6 @@ func (k *Keeper) applyEVMTx(ctx sdk.Context, tx *ethtypes.Transaction, msg *core
panic("onEnd called with nil result and nil error")
}

out, err := json.Marshal(receipt)
if err == nil {
fmt.Fprintf(os.Stderr, "[Firehose] Receipt %s", string(out))
}

var txErr = err
if res != nil {
txErr = res.Err
Expand Down
4 changes: 0 additions & 4 deletions x/evm/tracers/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,6 @@ func getActivePrecompilesChecker(rules params.Rules) func(addr common.Address) b
}

func (f *Firehose) OnBlockEnd(err error) {
if f.block.Number >= 119822071 {
panic("Do not go above 119822071 for now")
}

blockNumber := f.block.Number
firehoseInfo("block ending (number=%d, trx=%d, err=%s)", blockNumber, len(f.block.TransactionTraces), errorView(err))

Expand Down

0 comments on commit a592801

Please sign in to comment.