From ea873094422aeb952a464093c46c27cb99c5032b Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 10 Jan 2024 19:28:32 +0330 Subject: [PATCH] polish err documentation --- core/state_transition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/state_transition.go b/core/state_transition.go index fa121741d2..1280ecfd12 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -314,6 +314,9 @@ func (st *StateTransition) preCheck() error { } // Check the blob version validity if msg.BlobHashes != nil { + // The to field of a blob tx type is mandatory. + // However messages created through RPC (eth_call) + // don't have this restriction. if msg.To == nil { return ErrBlobTxCreate }