Skip to content

Commit 27c5d63

Browse files
committed
feat: implement tracker
1 parent 5b22f7f commit 27c5d63

File tree

4 files changed

+392
-142
lines changed

4 files changed

+392
-142
lines changed

rollup/l1/reader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const (
2626
type Reader struct {
2727
ctx context.Context
2828
config Config
29-
client EthClient
29+
client Client
3030
filterer *L1MessageQueueFilterer
3131

3232
scrollChainABI *abi.ABI
@@ -42,7 +42,7 @@ type Config struct {
4242
}
4343

4444
// NewReader initializes a new Reader instance
45-
func NewReader(ctx context.Context, config Config, l1Client EthClient) (*Reader, error) {
45+
func NewReader(ctx context.Context, config Config, l1Client Client) (*Reader, error) {
4646
if config.ScrollChainAddress == (common.Address{}) {
4747
return nil, errors.New("must pass non-zero scrollChainAddress to L1Client")
4848
}

0 commit comments

Comments
 (0)