Skip to content

Commit e004e9b

Browse files
committed
update version meta
1 parent 97454eb commit e004e9b

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

core/blockchain_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,12 +2362,3 @@ func TestDeleteCreateRevert(t *testing.T) {
23622362
t.Fatalf("block %d: failed to insert into chain: %v", n, err)
23632363
}
23642364
}
2365-
2366-
func containsRootHash(collection []common.Hash, hash common.Hash) bool {
2367-
for _, n := range collection {
2368-
if n == hash {
2369-
return true
2370-
}
2371-
}
2372-
return false
2373-
}

params/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ import (
2121
)
2222

2323
const (
24-
VersionMajor = 1 // Major version component of the current release
25-
VersionMinor = 9 // Minor version component of the current release
26-
VersionPatch = 11 // Patch version component of the current release
27-
VersionMeta = "statediff" // Version metadata to append to the version string
24+
VersionMajor = 1 // Major version component of the current release
25+
VersionMinor = 9 // Minor version component of the current release
26+
VersionPatch = 11 // Patch version component of the current release
27+
VersionMeta = "statediff-0.0.2" // Version metadata to append to the version string
2828
)
2929

3030
// Version holds the textual version string.

statediff/mainnet_tests/builder_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ import (
4141
)
4242

4343
var (
44-
err error
4544
db ethdb.Database
4645
genesisBlock, block0, block1, block2, block3 *types.Block
4746
block1CoinbaseAddr, block2CoinbaseAddr, block3CoinbaseAddr common.Address
4847
block1CoinbaseHash, block2CoinbaseHash, block3CoinbaseHash common.Hash
4948
builder statediff.Builder
50-
emptyAccounts = make([]statediff.StateNode, 0)
5149
emptyStorage = make([]statediff.StorageNode, 0)
5250

5351
// block 1 data

0 commit comments

Comments
 (0)