Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Feb 19, 2025
1 parent 871afe4 commit e47f778
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aggoracle/chaingerreader/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ func NewEVMChainGERReader(l2GERManagerAddr common.Address, l2Client types.EthCli
return newEVMChainGERReader(l2GERManager, l2GERManagerAddr)
}

func newEVMChainGERReader(l2GERManager types.L2GERManagerContract, l2GERManagerAddr common.Address) (*EVMChainGERReader, error) {
func newEVMChainGERReader(l2GERManager types.L2GERManagerContract,
l2GERManagerAddr common.Address) (*EVMChainGERReader, error) {
if err := checkGlobalExitRootManagerContract(l2GERManager, l2GERManagerAddr); err != nil {
return nil, err
}
Expand All @@ -45,7 +46,8 @@ func checkGlobalExitRootManagerContract(l2GERManager types.L2GERManagerContract,
}

// GetInjectedGERsForRange returns the injected GlobalExitRoots for the given block range
func (e *EVMChainGERReader) GetInjectedGERsForRange(ctx context.Context, fromBlock, toBlock uint64) ([]common.Hash, error) {
func (e *EVMChainGERReader) GetInjectedGERsForRange(ctx context.Context,
fromBlock, toBlock uint64) ([]common.Hash, error) {
iter, err := e.l2GERManager.FilterInsertGlobalExitRoot(
&bind.FilterOpts{
Context: ctx,
Expand Down

0 comments on commit e47f778

Please sign in to comment.