Update comments

pull/30613/head
Francis Li 3 weeks ago
parent 9b1fd811f8
commit f137c10f33
No known key found for this signature in database
GPG Key ID: 39F1A72C987F3F88
  1. 6
      core/stateless/encoding.go

@ -77,9 +77,9 @@ type extWitness struct {
State [][]byte
}
// ExecutionWitness is a witness json encoding for transferring across clients
// in the future, we'll probably consider using the extWitness format instead for less overhead.
// currently we're using this format for compatibility with reth and also for simplicity in terms of parsing.
// ExecutionWitness is a witness json encoding for transferring across the network.
// In the future, we'll probably consider using the extWitness format instead for less overhead if performance becomes an issue.
// Currently using this format for ease of reading, parsing and compatibility across clients.
type ExecutionWitness struct {
Headers []*types.Header `json:"headers"`
Codes map[string]string `json:"codes"`

Loading…
Cancel
Save