Commit Graph

27 Commits

Author SHA1 Message Date
Demi M. Obenour 696fcbe07a
Enable overflow checking on the release build
This is probably best for smart contracts, where math errors are likely
to be security vulnerabilities, and so overflow should be caught at
run-time.  Ideally, this could be done without enabling all debug
assertions, but Rust doesn’t provide for this.

The fold in src/bridge.rs has had overflow checking added explicitly.
2018-12-26 18:13:48 -05:00
Drew Stone ec99894865
Update Cargo.toml 2018-12-26 20:29:32 +02:00
Drew Stone 5a6f109792
Merge pull request #6 from poanetwork/more-events
Emit necessary events
2018-12-23 13:16:50 +02:00
Demi M. Obenour f81f7657e7
Emit necessary events
These had been TODOs in the code.
2018-12-22 19:25:54 -05:00
Drew Stone 28a703c5aa
Merge pull request #5 from hicommonwealth/jake.substratebeta
Updating for substrate 1.0 beta.
2018-12-18 17:43:37 +02:00
Jake Naviasky be2be0ad31 Updating for substrate 1.0 beta. 2018-12-18 10:33:08 -05:00
Jake Naviasky cb93af1db4 Fixing storage obj name. 2018-12-07 12:23:31 -05:00
Jake Naviasky 2efaa40d41 Removing invalid macro use. 2018-12-06 14:46:00 -05:00
Drew Stone 5b9776acf8 Expose pub utilities 2018-12-04 00:39:57 +02:00
Drew Stone ae86b57e10 Merge branch 'master' of https://github.com/hicommonwealth/edge_bridge 2018-12-03 23:50:45 +02:00
Drew Stone f4dbd84b46 Fix name in cargo.toml 2018-12-03 23:50:33 +02:00
Drew Stone dbc580469a
Merge pull request #2 from hicommonwealth/jake.completed_flag
Marking tx complete once majority approves.
2018-12-03 19:24:02 +02:00
Jake Naviasky a5a1eb1785 Marking tx complete once majority approves. 2018-12-03 12:16:23 -05:00
Drew Stone 0bc6cc4735 Tests for preliminary bridge work 2018-11-30 23:55:19 +02:00
Drew Stone aaa89cfbc5 Ensure no side-effects, add events, more tests 2018-11-29 23:23:41 +02:00
Drew Stone d9f30b0f19 First test for params 2018-11-29 21:48:16 +02:00
Drew Stone a502865a94 Cleanup, comments 2018-11-29 18:16:30 +02:00
Drew Stone 9fadb5f48b If it compiles it works, right? lol 2018-11-28 21:36:05 +02:00
Drew Stone 09c26148e8 Remove grandpa dep 2018-11-28 21:32:31 +02:00
Drew Stone d768b656d4 Update 2018-11-28 20:51:07 +02:00
Drew Stone 6df8ab4cf9 Updates to session hook and test changes 2018-11-28 20:47:43 +02:00
Drew Stone a24173e511 [WIP] working on implementing the test environment 2018-11-28 00:29:01 +02:00
Drew Stone 848ee108c7 Preliminary bridge authority work 2018-11-27 22:13:24 +02:00
Drew Stone a8f3373bdb Add withdraw functionality 2018-11-27 00:02:18 +02:00
Drew Stone 7a83016270 Add deposit functionality with super majority threshold 2018-11-26 23:10:31 +02:00
Drew Stone 73bb53cbe0 Add comment 2018-11-21 20:24:14 +02:00
Drew Stone 9451d44ad6 First push 2018-11-21 20:22:53 +02:00