Skip to content

Commit

Permalink
feat: implement tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastheis committed Sep 4, 2024
1 parent 5b22f7f commit 95027f5
Show file tree
Hide file tree
Showing 4 changed files with 391 additions and 142 deletions.
4 changes: 2 additions & 2 deletions rollup/l1/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
type Reader struct {
ctx context.Context
config Config
client EthClient
client Client
filterer *L1MessageQueueFilterer

scrollChainABI *abi.ABI
Expand All @@ -42,7 +42,7 @@ type Config struct {
}

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

0 comments on commit 95027f5

Please sign in to comment.