From 35c0777f95370f166df99290a90e084e4cad923f Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 9 Jan 2024 17:28:50 +0330 Subject: [PATCH] add clarifying comment --- 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 }