Name: status-go
Owner: Status
Description: The Status module that consumes go-ethereum
Created: 2016-06-13 15:32:03.0
Updated: 2018-01-18 17:20:13.0
Pushed: 2018-01-18 16:56:53.0
Homepage: https://status.im
Size: 24533
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
status-go is an underlying part of Status - a browser, messenger, and gateway to a decentralized world.
It's written in Go and requires Go 1.8 or above.
It uses Makefile to do most common actions. See make help
output for available commands.
status-go uses forked ethereum-go with some patches applied in it, located under vendor/
directory. See geth-patches README for more info.
There are two main modes status-go can be built:
Use following Makefile commands:
make statusgo
(builds binary into build/bin/statusd
)make statusgo-android
) (builds .aar file build/android-16/aar
)make statusgo-ios
and make statusgo-ios-simulator
(builds iOS related artifacts in build/os-9.3/framework
)To setup accounts passphrase you need to setup an environment variable: export ACCOUNT_PASSWORD="secret_pass_phrase"
.
Make sure the dependencies are installed first by running:
lint-install
mock-install
To test fully statusgo, use:
ci
To test statusgo using a given network by name, use:
ci networkid=rinkeby
To test statusgo using a given network by number ID, use:
ci networkid=3
If you have problems running tests on public network we suggest reading e2e guide.
If you want to launch specific test, for instance RPCSendTransactions
, use the following command:
est -v ./geth/api/ -testify.m ^RPCSendTransaction$
Note -testify.m
as testify/suite is used to group individual tests.