mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-14 08:28:02 -05:00
21 lines
631 B
Go
21 lines
631 B
Go
package relayer
|
|
|
|
import "errors"
|
|
|
|
const (
|
|
gasPriceDiffPrecision = 1000000
|
|
|
|
defaultGasPriceDiff = 50000 // 5%
|
|
|
|
defaultL1MessageRelayMinGasLimit = 130000 // should be enough for both ERC20 and ETH relay
|
|
|
|
defaultL2MessageRelayMinGasLimit = 200000
|
|
)
|
|
|
|
var (
|
|
// ErrExecutionRevertedMessageExpired error of Message expired
|
|
ErrExecutionRevertedMessageExpired = errors.New("execution reverted: Message expired")
|
|
// ErrExecutionRevertedAlreadySuccessExecuted error of Message was already successfully executed
|
|
ErrExecutionRevertedAlreadySuccessExecuted = errors.New("execution reverted: Message was already successfully executed")
|
|
)
|