forked from cerc-io/ipld-eth-server
Server backend for indexed ETH IPLD objects
392f31d3c4
Add integration test |
||
---|---|---|
core | ||
fakes | ||
integration_test | ||
scripts | ||
vendor | ||
.gitignore | ||
.private_blockchain_password | ||
.travis.yml | ||
Gopkg.lock | ||
Gopkg.toml | ||
main.go | ||
README.md |
Vulcanize DB
Development Setup
By default, go get
does not work for private GitHub repos. This will fix that.
git config --global url."git@github.com:".insteadOf "https://github.com/"
go get github.com/8thlight/vulcanizedb
Running the Tests
Integration Test
In order to run the integration tests, you will need to run them against a real blockchain. Here are steps to create a local, private blockchain.
- Run
./scripts/setup
to create a private blockchain with a new account.- This will result in a warning.
- Run
./scripts/start_private_blockchain
as a separate process. go test ./...
Unit Tests
go test ./core