From f137c10f33e7c2f4c3eb547ce3b993579e76f5c1 Mon Sep 17 00:00:00 2001 From: Francis Li Date: Wed, 16 Oct 2024 08:36:57 -0700 Subject: [PATCH] Update comments --- core/stateless/encoding.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/stateless/encoding.go b/core/stateless/encoding.go index b5174ab586..e689769546 100644 --- a/core/stateless/encoding.go +++ b/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"`