Skip to content

Commit

Permalink
remove tia tracer related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed Aug 13, 2024
1 parent 32d7a3f commit 7fc55c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 134 deletions.
11 changes: 4 additions & 7 deletions eth/tracers/live/noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,13 @@ func (t *noop) OnExit(depth int, output []byte, gasUsed uint64, err error, rever
func (t *noop) OnTxStart(vm *tracing.VMContext, tx *types.Transaction, from common.Address) {
}

func (t *noop) OnTxEnd(receipt *types.Receipt, err error) {}
func (t *noop) OnTxEnd(receipt *types.Receipt, err error) {

func (t *noop) OnBlockStart(ev tracing.BlockEvent) {
// Compute the increase and decrease in bridged asset here
// These values are staged over here
}

func (t *noop) OnBlockEnd(err error) {
// if err == nil, then we need to commit the values we have staged.
}
func (t *noop) OnBlockStart(ev tracing.BlockEvent) {}

func (t *noop) OnBlockEnd(err error) {}

func (t *noop) OnSkippedBlock(ev tracing.BlockEvent) {}

Expand Down
126 changes: 0 additions & 126 deletions eth/tracers/live/tia_tracer.go

This file was deleted.

1 change: 0 additions & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func (miner *Miner) commitTransaction(env *environment, tx *types.Transaction) e
return err
}
if receipt.Status == types.ReceiptStatusFailed {
//log.Error("Transaction failed", "hash", tx.Hash())
return core.ErrTxReverted
}
env.txs = append(env.txs, tx)
Expand Down

0 comments on commit 7fc55c7

Please sign in to comment.