cevm: doc ExecuteBlock as itself

The comment read "ExecuteBlock is the legacy name for ExecuteBlock ... Deprecated:
use ExecuteBlock" — a rename rewrote both the old and new name to the same string,
leaving the only ExecuteBlock marked deprecated in favour of itself.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-07-29 22:24:41 -07:00
co-authored by Hanzo Dev
parent ae28f35b97
commit a6c76a48c0
+3 -4
View File
@@ -118,10 +118,9 @@ func copyU64(ptr *C.uint64_t, want uint32) []uint64 {
return dst
}
// ExecuteBlock is the legacy name for ExecuteBlock. New code uses
// ExecuteBlock; this is retained for test-file compatibility.
//
// Deprecated: use ExecuteBlock.
// ExecuteBlock runs txs against backend and returns the block result. A nil ctx
// leaves the C side on its own block defaults; nil state means no prestate is
// seeded. numThreads is passed through to the C executor.
func ExecuteBlock(backend Backend, numThreads uint32, txs []Transaction, ctx *BlockContext, state []StateAccount) (*BlockResult, error) {
if len(txs) == 0 {
return &BlockResult{ABIVersion: ABIVersion}, nil