From 0ff5f9034eb5c2025791d653420f76f5aa271971 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 aea0d798a2..c4b5b16928 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.