Ivan Tomilov
55b10483be
Merge pull request #436 from status-im/bugfix/fix-linter-435
...
Fixes all make lint errors and warning across the whole project.
2017-10-26 14:34:46 +03:00
Adam Babik
71c259dd95
turn off vet shadow
2017-10-26 13:10:56 +02:00
Adam Babik
d058b9105a
remove goimports
2017-10-26 12:50:30 +02:00
Adam Babik
8cbd7ed1c4
fix linter across the whole project
2017-10-26 12:20:16 +02:00
Ivan Tomilov
8275391c09
Merge pull request #419 from status-im/feature/linter-in-travis
...
Divided Travis integration into stages: lint, unit tests, e2e tests
2017-10-25 16:37:20 +03:00
Ivan Tomilov
53cea066e7
Fix duplicate lint
2017-10-25 16:36:03 +03:00
Ivan Tomilov
96212b912c
Fixed make lint (goimports)
2017-10-24 19:54:13 +03:00
Ivan Tomilov
39cc60b8a7
Fixed make lint
2017-10-24 19:48:31 +03:00
Ivan Tomilov
d1c47c5358
Merge branch 'develop' into feature/linter-in-travis
...
# Conflicts:
# .travis.yml
# Makefile
2017-10-24 19:44:54 +03:00
Ivan Tomilov
f80827dc1f
Feature/integrate linters into ci#387 ( #427 )
...
Solves #387 linters was integrated into ci
Added inergration linters to CI
Important changes:
- new linter warnings was fixed
- extracted linters targets into separated mk file
2017-10-24 19:36:52 +03:00
Frank Mueller
e14b2331eb
Made EnsureNodeSync() throws a panic instead of returning an error ( #431 )
...
EnsureNodeSync() has been changed to return no error anymore, Instead in case of an internal error or a timeout a panic is thrown.
2017-10-24 00:39:13 +03:00
Ivan Tomilov
c500fbc423
Made all tests run on StatusChain instead of Rinkeby or Ropsten ( #426 )
...
The reason is that we don't currently have a possibility to run tests on public testnets without compromising accounts and funds on them.
2017-10-23 14:05:52 +03:00
b00ris
1de852134b
fix linters warnings
2017-10-23 13:41:41 +03:00
b00ris
22fb4dfc30
integrate linters into travis
2017-10-23 13:28:48 +03:00
Adam Babik
1dcf30142d
Merge branch 'develop' into feature/linter-in-travis
2017-10-23 12:07:41 +02:00
Frank Mueller
1c8d32c451
Ensuring node synchronisation to avoid "no suitable peers available" errors ( #410 )
...
During CI tests non-deterministic failures with "no suitable peers available" happened. Reason is a not finished synchronisation after starting of node.
Added and integrated an EnsureSychronization() almost solved it, but overlapped with new added EnsureNodeSync() in merged develop. Failure stayed, so exchange new algorithm in EsureNodeSync() with former one.
2017-10-21 20:04:07 +03:00
Adam Babik
a2f6889c14
remove email notifications
2017-10-20 13:35:11 +02:00
Adam Babik
a21fd963de
improve travis integration
2017-10-20 12:11:30 +02:00
b00ris
e911666b5d
Fix make lint warnings ( #417 )
...
fixed make lint warnings
cleared linter_exclude_list.txt
removed some commented code
fixed comments from #388
2017-10-20 12:06:22 +03:00
Adam Babik
ad9a8777a8
fix node unit tests ( #416 )
...
Fix tests that broke after introducing #414
2017-10-19 16:45:14 +03:00
Adam Babik
2e9302c631
removed CHT root from Rinkeby ( #414 )
...
CHT roots for Rinkeby do not work as their presence prevents status-go from even starting synchronization.
2017-10-19 15:02:42 +03:00
Adam Babik
b9372459cc
Rebase on geth 1.7.2 ( #402 )
2017-10-17 12:58:04 +03:00
Ivan Tomilov
689e19e22f
Fix test timeouts from 1m to 5m ( #406 )
2017-10-17 12:18:09 +03:00
Ewetumo Alexander
2159711fa3
Refactoring/blockchain sync#246 ( #271 )
...
PR adds a new API changes to the NodeManager to provide simple methods to validate the completed synchonization of the blockchain.
2017-10-17 01:36:36 +03:00
screwyprof
26fcfda87c
Introduced a private Ethereum network for testing purposes ( #397 )
...
1. A new private testing network (StatusChain) is introduced.
2. An example test case implemented (TestSendEtherOnStatusChainTx)
3. Genesis file added static/config/status-chain-genesis.json
2017-10-17 00:54:56 +03:00
Oleg Raev
240149786f
Jail.RemoveCells before logout and switching account ( #382 )
...
Called jail.Stop upon SwitchAccount and Logout to ensure all jail cells have been terminated.
2017-10-17 00:07:42 +03:00
Ivan Tomilov
16741f9517
Fixed jail.cells nil assignment ( #398 )
...
jail.cells is now re-created upon Jail.Stop, not assigned to nil. Assigning it to nil led to runtime panic when a node was stopped and started again.
2017-10-13 15:13:20 +03:00
Adam Babik
12412b3f58
Put int64 as the first word in Loop ( #396 )
...
Fix a bug with ARM and x86-32 and use of atomic operations on 64-bit values. More https://golang.org/pkg/sync/atomic/#pkg-note-BUG
2017-10-12 17:01:04 +02:00
Ivan Tomilov
88294b29be
Removed homestead bootnodes ( #394 )
...
Remove homestead bootnodes from cht.json. Their existence reflected the reality incorrectly as we don't have any homestead bootnodes in our cluster.
2017-10-12 12:46:41 +03:00
Ivan Daniluk
d4496332f9
Check for callback in makeAsyncHandler ( #395 )
...
This PR fixes regression from 3540972
and adds check for callback validity before putting it into event loop for sendAsync calls.
2017-10-12 12:15:07 +03:00
Adam Babik
e6b426e094
fix Jenkinsfile-manual to build both platforms ( #393 )
...
Build both platforms as in 99% both are needed.
This PR also fixes a bug when it was possible to build a binary for one platform but both were uploaded -- new one and cached one for the second platform.
2017-10-11 20:24:48 +03:00
Adam Babik
281b304edb
Extract e2e tests to a separate package ( #375 )
...
This change moves our e2e tests into a separate package to make room for proper unit and integration tests.
This is Phase 1 described in #371 .
Changes:
Makefile has separate directives to run unit/integration tests and e2e tests,
CI runs unit/integration tests first and then e2e tests,
E2e tests are in reliability order, i.e. the least reliable tests are run in the end to be sure that nothing else is broken,
Some tests are fixed or quarantined.
2017-10-11 17:20:51 +03:00
Adam Babik
90acfedf7a
Rebase geth 1.7.0 ( #353 )
2017-10-10 12:38:49 +03:00
Ivan Daniluk
e4cb6b060a
Update README ( #380 )
...
Added basic info on build and testing to README
2017-10-09 17:11:12 +03:00
Ivan Daniluk
3540972f0e
Refactor and cleanup Jail ( #368 )
...
Refactor and clean up Jail package:
Removes account.Manager and txqueue.Manager from Jail as they are not used anymore
Removes messageID related code from Jail.Send
Simplifies Jail.Send to be a wrapper around RPC client's CallRaw
Renames jail_cell* to cell*
Related cleanups
2017-10-06 19:52:26 +03:00
Ivan Daniluk
8623b52873
Add help command to Makefile ( #370 )
...
his PR adds some love to Makefile. It introduces a new help target, which dynamically builds usage output, with textual description of what target does. It supports ANSI colors and categories. It assumes that perl is installed in the system.
2017-10-03 14:54:19 +03:00
Adam Babik
e61c39b0b2
Forward net_* rpc commands to the upstream ( #377 )
2017-09-29 17:09:41 +02:00
Adam Babik
ede939dd9e
Remove LES activation when using upstream ( #373 )
2017-09-29 09:40:10 +02:00
Ivan Daniluk
9cc5fd2112
Move transaction queue code into separate package ( #365 )
2017-09-27 02:50:41 +02:00
Adam Babik
d625ddacfd
Validate password in CompleteTransaction with remote node ( #367 )
2017-09-26 18:08:24 +02:00
Ivan Daniluk
93492cf606
Move accounts to separate package ( #360 )
2017-09-26 15:44:26 +02:00
Ivan Daniluk
14a04c1b20
Fix null result field bug for JSON-RPC raw response ( #362 )
2017-09-26 12:19:17 +02:00
Adam Babik
edcb2d7933
Fix signals package to compile for ios ( #363 )
2017-09-26 11:23:13 +02:00
Ivan Daniluk
2acf1a1a6a
Refactor/signals package ( #359 )
...
Move signals code to the separate package.
2017-09-25 20:22:57 +02:00
Adam Babik
3afcff278f
add 'g' prefix before artifact SHA ( #358 )
2017-09-25 18:06:13 +02:00
Ivan Tomilov
fc8f59e121
Fixed eth_sendTransaction routing to the local node ( #351 )
...
* Fixed eth_sendTransaction routing to the local node
* Add local RPC handlers for eth_accounts and eth_sendTransaction
2017-09-25 18:04:40 +02:00
Adam Babik
750612f2bc
fix SendTransaction signature in go-ethereum ( #355 )
...
I created a separate method SendTransactionWithPassphrase which accepts passphrase as a second argument. It's an exact copy of SendTransaction except for calling wallet.SignTxWithPassphrase.
2017-09-22 18:16:22 +03:00
Adam Babik
6d9f5d2e2a
Add Jenkins-manual and fix artifacts versioning ( #352 )
2017-09-21 20:38:25 +02:00
Ivan Tomilov
283ae3e7df
Fixed geth/node and geth/params tests ( #332 )
2017-09-19 14:40:43 +03:00
Ivan Tomilov
477cd92585
Merge branch 'develop' of github.com:status-im/status-go into develop
2017-09-19 14:31:58 +03:00