Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
[driver] remove an unnecessary constant (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Oct 21, 2022
1 parent 66b631a commit 57f8024
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver/chain_inserter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import (
)

const (
MaxL1BlocksRead = 1000
InvalidateBlockTxGasLimit = 5000000
MaxL1BlocksRead = 1000
)

// InvalidTxListReason represents a reason why a transactions list is invalid,
Expand Down Expand Up @@ -491,7 +490,6 @@ func (b *L2ChainInserter) getInvalidateBlockTxOpts(ctx context.Context, height *

opts.Nonce = new(big.Int).SetUint64(nonce)
opts.NoSend = true
opts.GasLimit = InvalidateBlockTxGasLimit

return opts, nil
}

0 comments on commit 57f8024

Please sign in to comment.