Skip to content

Commit

Permalink
update version meta
Browse files Browse the repository at this point in the history
  • Loading branch information
i-norden committed May 21, 2020
1 parent 97454eb commit e004e9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
9 changes: 0 additions & 9 deletions core/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
)

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
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-0.0.2" // Version metadata to append to the version string
)

// Version holds the textual version string.
Expand Down
2 changes: 0 additions & 2 deletions statediff/mainnet_tests/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e004e9b

Please sign in to comment.