Skip to content

Commit

Permalink
rollup: fix for get max tx gas limit from state manager (ethereum#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes authored Nov 11, 2020
1 parent 39ba220 commit 7099c4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rollup/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ func (s *SyncService) Start() error {
}

gasLimit, err := s.mgrCaller.GetMaxTransactionGasLimit(&bind.CallOpts{
BlockNumber: new(big.Int).SetUint64(s.Eth1Data.BlockHeight),
Context: s.ctx,
Context: s.ctx,
})
if err != nil {
return fmt.Errorf("Cannot fetch gas limit: %w", err)
Expand Down

0 comments on commit 7099c4c

Please sign in to comment.