update version meta

This commit is contained in:
Ian Norden 2020-05-21 15:16:49 -05:00
parent 97454eb6fe
commit e004e9b94b
3 changed files with 4 additions and 15 deletions

View File

@ -2362,12 +2362,3 @@ func TestDeleteCreateRevert(t *testing.T) {
t.Fatalf("block %d: failed to insert into chain: %v", n, err)
}
}
func containsRootHash(collection []common.Hash, hash common.Hash) bool {
for _, n := range collection {
if n == hash {
return true
}
}
return false
}

View File

@ -24,7 +24,7 @@ const (
VersionMajor = 1 // Major version component of the current release
VersionMinor = 9 // Minor version component of the current release
VersionPatch = 11 // Patch version component of the current release
VersionMeta = "statediff" // Version metadata to append to the version string
VersionMeta = "statediff-0.0.2" // Version metadata to append to the version string
)
// Version holds the textual version string.

View File

@ -41,13 +41,11 @@ import (
)
var (
err error
db ethdb.Database
genesisBlock, block0, block1, block2, block3 *types.Block
block1CoinbaseAddr, block2CoinbaseAddr, block3CoinbaseAddr common.Address
block1CoinbaseHash, block2CoinbaseHash, block3CoinbaseHash common.Hash
builder statediff.Builder
emptyAccounts = make([]statediff.StateNode, 0)
emptyStorage = make([]statediff.StorageNode, 0)
// block 1 data