Skip to content

Commit

Permalink
push image
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Aug 8, 2024
1 parent 74e84bf commit af54965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/chain_syncer/blob/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ func (s *Syncer) insertNewHead(
if err != nil {
return nil, fmt.Errorf("failed to get L2 baseFee: %w", encoding.TryParsingCustomError(err))
}

// Assemble a TaikoL2.anchor transaction
anchorTx, err = s.anchorConstructor.AssembleAnchorTx(
ctx,
Expand Down Expand Up @@ -394,6 +393,7 @@ func (s *Syncer) insertNewHead(
return nil, fmt.Errorf("failed to fetch parent gas excess: %w", err)
}
}

// Get L2 baseFee
baseFeeInfo, err = s.rpc.TaikoL2.CalculateBaseFee(
&bind.CallOpts{BlockNumber: parent.Number, Context: ctx},
Expand Down

0 comments on commit af54965

Please sign in to comment.