From 4fbcd9bff23a9f53fcd47f1b4f1a6d9176bc24a5 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 23 Sep 2016 03:46:03 +0200 Subject: [PATCH] core/state: add note about code size caching --- core/state/state_object.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/state/state_object.go b/core/state/state_object.go index fb3438cbf1..8a4bc7cd5f 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -94,6 +94,9 @@ type Account struct { Balance *big.Int Root common.Hash // merkle root of the storage trie CodeHash []byte + + // TODO(fjl): track code size here to get it into the cache + // codeSize int } // NewObject creates a state object.