Commit f97b86ee authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: rename function

`NewBackend` -> `NewL1Backend`
parent 6cb984ed
...@@ -40,9 +40,9 @@ type Deployment struct { ...@@ -40,9 +40,9 @@ type Deployment struct {
type Deployer func(*backends.SimulatedBackend, *bind.TransactOpts, Constructor) (*types.Transaction, error) type Deployer func(*backends.SimulatedBackend, *bind.TransactOpts, Constructor) (*types.Transaction, error)
// NewBackend returns a SimulatedBackend suitable for L1. It has // NewL1Backend returns a SimulatedBackend suitable for L1. It has
// the latest L1 hardforks enabled. // the latest L1 hardforks enabled.
func NewBackend() *backends.SimulatedBackend { func NewL1Backend() *backends.SimulatedBackend {
return NewBackendWithGenesisTimestamp(0, true) return NewBackendWithGenesisTimestamp(0, true)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment