Skip to content

Commit

Permalink
chore: Remove bridge binding from BatchPoster
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Oct 1, 2024
1 parent 7a3d6e6 commit eea41eb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ type BatchPoster struct {
arbOSVersionGetter execution.FullExecutionClient
config BatchPosterConfigFetcher
seqInbox *bridgegen.SequencerInbox
bridge *bridgegen.Bridge
syncMonitor *SyncMonitor
seqInboxABI *abi.ABI
seqInboxAddr common.Address
Expand Down Expand Up @@ -309,10 +308,7 @@ func NewBatchPoster(ctx context.Context, opts *BatchPosterOpts) (*BatchPoster, e
if err != nil {
return nil, err
}
bridge, err := bridgegen.NewBridge(opts.DeployInfo.Bridge, opts.L1Reader.Client())
if err != nil {
return nil, err
}

if err = opts.Config().Validate(); err != nil {
return nil, err
}
Expand Down Expand Up @@ -340,7 +336,6 @@ func NewBatchPoster(ctx context.Context, opts *BatchPosterOpts) (*BatchPoster, e
arbOSVersionGetter: opts.VersionGetter,
syncMonitor: opts.SyncMonitor,
config: opts.Config,
bridge: bridge,
seqInbox: seqInbox,
seqInboxABI: seqInboxABI,
seqInboxAddr: opts.DeployInfo.SequencerInbox,
Expand Down

0 comments on commit eea41eb

Please sign in to comment.