Commit Graph

99 Commits

Author SHA1 Message Date
Maximilian Krüger b28944511c message_to_mainnet.rs: fix from_bytes (respect little endian) 2018-02-12 14:55:02 +01:00
Maximilian Krüger ed060ae85b message_to_mainnet.rs: remove to_hex, add to_payload 2018-02-12 14:54:46 +01:00
Maximilian Krüger 78c6cf4472 bridge/src/helpers.rs: no longer needed 2018-02-12 14:51:16 +01:00
Maximilian Krüger 42993089f5 adapt to ethabi version bump 2018-02-12 10:11:39 +01:00
Maximilian Krüger 5000043930 extract code dealing with Withdraw message
remove ignoring of messages with insufficient value
because no longer needed.

use user specified gas price on withdraw.
2018-02-09 09:44:55 +01:00
Maximilian Krüger c0d87f19c0 magic numbers -> constants 2018-02-09 09:41:46 +01:00
Maximilian Krüger 41543ca40e user explicitely specifies homeGasPrice on withdraw. resolves #112 2018-02-09 09:41:45 +01:00
debris f0dcb70cf3 remove redundant conversions between types 2018-02-07 14:58:50 +01:00
debris 5e90f850fd updated web3 to latest version and resolved build issues 2018-02-07 14:50:49 +01:00
debris cc2c3fea9b bump ethabi and ethereum-types to latest versions 2018-02-06 22:57:06 +01:00
Maximilian Krüger c91eae631f deposit_relay.rs: add info level logging 2018-01-26 10:00:44 +01:00
Maximilian Krüger 73dd502b88 bridge.sol: authority -> authorityResponsibleForRelay 2018-01-26 10:00:44 +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 b8fc1cd55c withdraw_relay.rs: use rustc_hex::ToHex 2018-01-19 15:11:21 +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 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
Maximilian Krüger 0798bf181d withdraw_relay.rs: add some docstrings 2018-01-09 13:11:02 +01:00
Maximilian Krüger 55d2e1bf55 add config option `estimated_gas_cost_of_withdraw` 2018-01-09 12:53:50 +01:00
Maximilian Krüger d9964a8472 address grumble
https://github.com/paritytech/parity-bridge/pull/77#discussion_r160170545
2018-01-08 17:43:38 +01:00
Maximilian Krüger 171bf29ba0 withdraw_relay.rs: make withdraw_relay_payload take references as we no longer necessarily own its inputs 2018-01-08 14:26:57 +01:00
Maximilian Krüger 20bc965604 withdraw_relay.rs: fetch whether message value is sufficient and filter out insufficient 2018-01-08 14:26:19 +01:00
Maximilian Krüger d4d1b2d582 withdraw_relay.rs: add FetchMessageValueSufficient to WithdrawRelayState 2018-01-08 14:25:46 +01:00
Maximilian Krüger 24a926bdb6 withdraw_relay.rs: add message_value_sufficient_payload 2018-01-08 14:25:16 +01:00
Maximilian Krüger bd6ff44ced add comments 2018-01-08 14:16:33 +01:00
Maximilian Krüger 21bb9a6adc add docstring 2018-01-08 14:15:41 +01:00
Maximilian Krüger e71c9c53c9 withdraw_relay.rs: improve docstring 2018-01-08 14:14:39 +01:00
Maximilian Krüger 3d76ce0309 withdraw_relay.rs: improve var name and comments 2018-01-08 14:12:55 +01:00
Maximilian Krüger b8246bfe4b deploy.rs: hardcode estimatedGasCostOfWithdraw for now 2018-01-08 14:10:33 +01:00
Maximilian Krüger 5b98a06873 withdraw_relay.rs: add some docstrings 2018-01-08 11:43:55 +01:00
Maximilian Krüger def974e0e3 WithdrawRelayState::Fetch -> WithdrawRelayState::FetchMessagesSignatures 2018-01-08 11:18:26 +01:00
debris 59403966fc rename to home/foreign, closes #46 2017-10-10 11:02:58 +02:00
debris d34f0e5427 Merge branch 'master' into fixes 2017-10-02 17:52:49 +02:00
debris 134bf5a620 fixed loading .bin files, filter topics and example gas amounts 2017-10-01 19:18:50 +02:00
viktor ef62bcc427 Function names typos 2017-09-28 15:59:19 -07:00
debris 6286a76708 timeouts 2017-08-31 17:32:34 +02:00
debris ec0dcefc46 udpated futures, removed compiler warnings 2017-08-28 17:19:03 +02:00
debris 9456b5a08f tests for FileBackend 2017-08-28 17:15:10 +02:00
debris 1a2cb47124 bridge writes to backing database 2017-08-28 16:48:01 +02:00
debris 316b9ce4a0 withdraw_relay guarantees and tests 2017-08-28 12:28:21 +02:00
debris d9c6773185 withdraw_confirm unit tests 2017-08-25 17:58:55 +02:00
debris ddd68c1f4f typos 2017-08-25 16:27:55 +02:00
debris 6399b1c8e5 tests for relay 2017-08-25 15:01:47 +02:00
debris b6d4834400 bridge::deposit_relay tests init 2017-08-25 11:58:47 +02:00
debris f2ccb7e8d9 jsonrpc-core is not a direct dependency of the bridge 2017-08-25 00:40:42 +02:00
debris fa962565ad repo overhaul, separated binary from library, closes #10, added tests crate 2017-08-25 00:36:13 +02:00