commit
444263bd2f
6
Makefile
6
Makefile
@ -56,7 +56,11 @@ ios:
|
||||
|
||||
.PHONY: statedifftest
|
||||
statedifftest: | $(GOOSE)
|
||||
MODE=statediff go test ./statediff/... -v
|
||||
MODE=statediff go test -p 1 ./statediff/... -v
|
||||
|
||||
.PHONY: statediff_filewriting_test
|
||||
statediff_filetest: | $(GOOSE)
|
||||
MODE=statediff STATEDIFF_DB=file go test -p 1 ./statediff/... -v
|
||||
|
||||
test: all
|
||||
$(GORUN) build/ci.go test
|
||||
|
@ -3,7 +3,7 @@ version: '3.2'
|
||||
services:
|
||||
ipld-eth-db:
|
||||
restart: always
|
||||
image: vulcanize/ipld-eth-db:v0.2.0
|
||||
image: vulcanize/ipld-eth-db:v0.3.1
|
||||
environment:
|
||||
POSTGRES_USER: "vdbm"
|
||||
POSTGRES_DB: "vulcanize_public"
|
||||
@ -14,4 +14,4 @@ services:
|
||||
- "127.0.0.1:5432:5432"
|
||||
|
||||
volumes:
|
||||
geth_node:
|
||||
geth_node:
|
||||
|
@ -21,10 +21,10 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
VersionMajor = 1 // Major version component of the current release
|
||||
VersionMinor = 10 // Minor version component of the current release
|
||||
VersionPatch = 11 // Patch version component of the current release
|
||||
VersionMeta = "statediff-0.0.27" // Version metadata to append to the version string
|
||||
VersionMajor = 1 // Major version component of the current release
|
||||
VersionMinor = 10 // Minor version component of the current release
|
||||
VersionPatch = 11 // Patch version component of the current release
|
||||
VersionMeta = "statediff-0.1.0" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
// Version holds the textual version string.
|
||||
|
@ -46,6 +46,10 @@ func init() {
|
||||
fmt.Println("Skipping statediff test")
|
||||
os.Exit(0)
|
||||
}
|
||||
if os.Getenv("STATEDIFF_DB") != "file" {
|
||||
fmt.Println("Skipping statediff .sql file writing mode test")
|
||||
os.Exit(0)
|
||||
}
|
||||
}
|
||||
|
||||
func TestPushBlockAndState(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user