Commit Graph

337 Commits

Author SHA1 Message Date
Maximilian Krüger 2ec0b2d23c bridge.sol: add function ForeignBridge.totalSupply 2018-01-26 10:00:44 +01:00
Marek Kotewicz ceaf22fbfc
Merge pull request #99 from paritytech/snd-issue-98
fix for #98: helpful error if solc is not in $PATH
2018-01-25 11:51:52 +01:00
Maximilian Krüger bc0ebb8a15 README.md: consistency 2018-01-25 09:52:43 +01:00
Maximilian Krüger 1b51837f78 README.md: tell that solc must be in path for build 2018-01-25 09:52:10 +01:00
Maximilian Krüger 8a8380e7a8 bridge/build.rs: make error messages helpful. resolves #98 2018-01-25 09:51:54 +01:00
Marek Kotewicz 7d9a875cab
Merge pull request #95 from paritytech/snd-integration-tests
fix for #87 & integration tests to prevent regression
2018-01-24 10:26:08 +01:00
Maximilian Krüger b6a34c6252 integration-tests/tests/basic_deposit_then_withdraw.rs: add module docstring
[ci skip]
2018-01-22 20:56:02 +01:00
Maximilian Krüger ff7acc3f4a remove outcommented code 2018-01-22 16:48:41 +01:00
Maximilian Krüger 9aa26ea390 remove unused dependency 2018-01-22 16:48:30 +01:00
Maximilian Krüger 0db863d5de integration-tests: resolve rust compiler warnings 2018-01-22 16:30:01 +01:00
Maximilian Krüger 92c7e794ec tests/withdraw_relay.rs: adapt responses to fix for 87 2018-01-22 16:14:53 +01:00
Maximilian Krüger ddc5ffcfd4 fix #87 by parsing rpc outputs with ethabi 2018-01-22 15:10:57 +01:00
Maximilian Krüger c33126b961 withdraw_relay: break long type into several lines 2018-01-22 14:35:54 +01:00
Maximilian Krüger c9aeba3586 .travis.yml: run integration tests as part of stable, beta and nightly 2018-01-22 14:35:54 +01:00
Maximilian Krüger c558ab5e63 remove home_chain.json - no longer needed. we use the dev chain now 2018-01-22 14:35:54 +01:00
Maximilian Krüger 1691841c3c use just released ethabi 5.0 which fixes the InvalidData issue 2018-01-22 14:35:54 +01:00
Maximilian Krüger 2a65d52de2 clean up integration test a bit 2018-01-22 14:35:54 +01:00
Maximilian Krüger 9f5ff425de make integration test a proper rust test 2018-01-22 14:35:54 +01:00
Maximilian Krüger 5c565fd69d .travis.yml: run cargo tests with backtrace for more context on failure 2018-01-22 14:35:54 +01:00
Maximilian Krüger ab094d6fa0 gitignore: integration_tests/tmp -> integration-tests/tmp 2018-01-22 14:35:54 +01:00
Maximilian Krüger 27eaa45a29 .travis.yml: grant executable rights on downloaded parity binary 2018-01-22 14:35:54 +01:00
Maximilian Krüger 3bbebd208f .travis.yml: copy to $HOME/bin instead of /usr/local/bin 2018-01-22 14:35:54 +01:00
Maximilian Krüger 241f4a87b3 .travis.yml: one line parity installer fails. trying binary 2018-01-22 14:35:54 +01:00
Maximilian Krüger b8fc1cd55c withdraw_relay.rs: use rustc_hex::ToHex 2018-01-19 15:11:21 +01:00
Maximilian Krüger a3148bc90e Cargo.lock: update 2018-01-19 15:01:51 +01:00
Maximilian Krüger 60a1eeaf08 .travis.yml: install parity for integration tests 2018-01-19 14:59:28 +01:00
Maximilian Krüger 303cf4ed84 .travis.yml: run integration test on travis 2018-01-19 14:55:14 +01:00
Maximilian Krüger ee786ccd2c withdraw_relay.rs: add some info level logging to ease troubleshooting 2018-01-19 14:49:54 +01:00
Maximilian Krüger 798755db89 withdraw_confirm.rs: withdraw -> withdraw_message 2018-01-19 14:48:18 +01:00
Maximilian Krüger e07485a792 withdraw_confirm.rs: fn withdraw_submit_signature_payload: assert lengths 2018-01-19 14:47:54 +01:00
Maximilian Krüger 0a27da3c33 withdraw_confirm.rs: add some info level logging 2018-01-19 14:47:29 +01:00
Maximilian Krüger adc4a0a1eb integration-tests: indent with tabs 2018-01-19 14:45:11 +01:00
Maximilian Krüger e6f6797ac7 add first rough integration test 2018-01-19 14:43:28 +01:00
Maximilian Krüger 295aa1cfef add integration tests to workspace 2018-01-19 14:39:27 +01:00
Marek Kotewicz 1de3cc3db4
Merge pull request #94 from paritytech/snd-auto-compile-contracts
compile contracts in build.rs and remove compiled from git so they do…
2018-01-19 13:55:31 +01:00
Maximilian Krüger 9389bf433a bridge/build.rs: optimize compiled contracts 2018-01-18 16:14:19 +01:00
Maximilian Krüger e0ab9f1a4f .travis.yml: add `-y` to apt commands installing solc to run them noninteractively 2018-01-18 13:09:38 +01:00
Maximilian Krüger ccaac25d2f compile contracts in build.rs and remove compiled from git so they don't get out of sync 2018-01-18 12:53:02 +01:00
Marek Kotewicz 1cef1596a4
Merge pull request #84 from paritytech/snd-improve-readme
explain current functionality, next steps and relay flows in readme
2018-01-16 17:27:50 +01:00
Maximilian Krüger 1d6d686bce README.md: improve wording 2018-01-16 15:17:39 +01:00
Maximilian Krüger f8035a81d1 README.md: improve wording 2018-01-16 15:17:04 +01:00
Maximilian Krüger 4dae5e459c README.md: improve wording 2018-01-16 15:12:53 +01:00
Maximilian Krüger 5ad1294485 README.md: improve wording 2018-01-16 15:03:07 +01:00
Maximilian Krüger 6f8a7a72bc README: explain current functionality, next steps, eventual functionality 2018-01-16 14:53:42 +01:00
Marek Kotewicz 99e9f18461
Merge pull request #83 from paritytech/snd-issue-82
100% test coverage, issue 82, refactoring, documentation
2018-01-15 11:49:00 +01:00
Maximilian Krüger 80d67642ad add test "withdraw should fail if duplicate signature is provided" 2018-01-15 11:30:45 +01:00
Maximilian Krüger 6a052c12e3 add test "withdraw should fail if not enough signatures are provided" 2018-01-15 11:21:46 +01:00
Maximilian Krüger 1634dc735f add docstring to Helpers.uintToString 2018-01-15 11:00:30 +01:00
Maximilian Krüger 8211007da2 Helpers.intToString -> Helpers.uintToString 2018-01-15 11:00:04 +01:00
Maximilian Krüger 43feb6065b test/helpers: add test of intToString with really large uint 2018-01-15 10:57:05 +01:00