Statediffing #5

Closed
elizabethengelman wants to merge 122 commits from statediff-for-archive-node into master
2 changed files with 14 additions and 17 deletions
Showing only changes of commit dfa16a3e4e - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -40,10 +40,7 @@
var idx = toHex(key); var idx = toHex(key);
if (this.prestate[acc].storage[idx] === undefined) { if (this.prestate[acc].storage[idx] === undefined) {
var val = toHex(db.getState(addr, key)); this.prestate[acc].storage[idx] = toHex(db.getState(addr, key));
if (val != "0x0000000000000000000000000000000000000000000000000000000000000000") {
this.prestate[acc].storage[idx] = toHex(db.getState(addr, key));
}
} }
}, },