Skip to content

Commit

Permalink
Rename fields for latest deneb release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Aug 4, 2023
1 parent fa325e2 commit b53e42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/block/info/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,8 @@ func outputDenebBlockExecutionPayload(_ context.Context,
res.WriteString(fmt.Sprintf("%d\n", len(payload.Transactions)))
res.WriteString(" Withdrawals: ")
res.WriteString(fmt.Sprintf("%d\n", len(payload.Withdrawals)))
res.WriteString(" Excess data gas: ")
res.WriteString(fmt.Sprintf("%d\n", payload.ExcessDataGas))
res.WriteString(" Excess blob gas: ")
res.WriteString(fmt.Sprintf("%d\n", payload.ExcessBlobGas))

Check failure on line 885 in cmd/block/info/output.go

View workflow job for this annotation

GitHub Actions / test

payload.ExcessBlobGas undefined (type *"github.com/attestantio/go-eth2-client/spec/deneb".ExecutionPayload has no field or method ExcessBlobGas)

Check failure on line 885 in cmd/block/info/output.go

View workflow job for this annotation

GitHub Actions / lint

payload.ExcessBlobGas undefined (type *"github.com/attestantio/go-eth2-client/spec/deneb".ExecutionPayload has no field or method ExcessBlobGas) (typecheck)

Check failure on line 885 in cmd/block/info/output.go

View workflow job for this annotation

GitHub Actions / lint

payload.ExcessBlobGas undefined (type *"github.com/attestantio/go-eth2-client/spec/deneb".ExecutionPayload has no field or method ExcessBlobGas)) (typecheck)
}

return res.String(), nil
Expand Down

0 comments on commit b53e42a

Please sign in to comment.