mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
19 lines
477 B
Go
19 lines
477 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 = errors.New("execution reverted: Message expired")
|
|
ErrExecutionRevertedAlreadySuccessExecuted = errors.New("execution reverted: Message was already successfully executed")
|
|
)
|