Commit Graph

  • 68515bd9ff runtime-storage macro (#86) Robert Habermeier 2018-03-14 15:39:51 +01:00
  • 5cc8cf7d70 Merge pull request #79 from paritytech/gav-demo Arkadiy Paronyan 2018-03-14 12:56:36 +01:00
  • cfa5380978 Update wasm. Gav 2018-03-14 12:44:15 +01:00
  • 75002884fe Update wasm. Gav 2018-03-14 12:44:15 +01:00
  • 119ba70979 Merge branch 'master' into gav-demo Gav 2018-03-14 12:03:44 +01:00
  • 0744e5a9a3 Merge branch 'master' into gav-demo Gav 2018-03-14 12:03:44 +01:00
  • c64d4980b4 Remove stray printlns. Gav 2018-03-14 11:58:03 +01:00
  • fdc991f973 Slash Authorities for irrefutable misbehavior (#84) Robert Habermeier 2018-03-13 16:39:27 +01:00
  • 27c9e6de9a Slash Authorities for irrefutable misbehavior (#84) Robert Habermeier 2018-03-13 16:39:27 +01:00
  • df4edb507e Formatting. Gav 2018-03-12 16:43:58 +01:00
  • f9dd7093f1 Additional function ids for derivation. Gav 2018-03-12 10:52:05 +01:00
  • 550ec8cdf5 Cleanups and introduce all dispatchable endpoints. Gav 2018-03-12 10:15:30 +01:00
  • 873b579726 Minor typos. Gav 2018-03-11 17:30:25 +01:00
  • 80a95d843c Fix grumbles. Gav 2018-03-11 17:27:59 +01:00
  • 13bc601c14 Fix tests and avoid use of old keys. Gav 2018-03-10 19:28:56 +01:00
  • 4ad8b95d61 Safe panic. Gav 2018-03-10 19:23:38 +01:00
  • 62f3bee9c1 Public function dispatching. Gav 2018-03-10 19:23:10 +01:00
  • aadf3e2493 Tests for staking reserved balances & slashing. Gav 2018-03-10 18:42:50 +01:00
  • 8c0c504997 Use a struct! Gav 2018-03-07 19:36:13 +01:00
  • de6e7e9136 Format wasm bin version with semver (#87) Jaco Greeff 2018-03-07 17:54:32 +01:00
  • 3ad3288508 Genesis map. Gav 2018-03-07 12:16:12 +01:00
  • 19424ce2ce Introduce stake reservation; make panicking tests better. Gav 2018-03-06 21:09:41 +01:00
  • a3ad686760 Move democracy module over no new Keyring API Gav 2018-03-06 17:37:53 +01:00
  • c055012028 Move council over to new Keyring API. Gav 2018-03-06 17:33:19 +01:00
  • fb61e2db32 Final tests. Gav 2018-03-06 16:21:27 +01:00
  • d12eee1164 Another few tests for council_vote. Gav 2018-03-05 15:58:06 +01:00
  • 0ab638928d council vetoing & tests. Gav 2018-03-05 15:50:40 +01:00
  • 7d378d3de3 More tests for council voting. Gav 2018-03-05 12:11:56 +01:00
  • 8d84ca8b48 Initial council vote logic. Gav 2018-03-04 21:52:11 +01:00
  • f056dea47e Ensure council always sorted by expiry. Gav 2018-03-04 20:55:14 +01:00
  • f7af45f95b remove string constants <-- @rphmeier Gav 2018-03-04 19:36:26 +01:00
  • 650e30d39c Tests for public referenda. Gav 2018-03-04 13:47:36 +01:00
  • 311337f5dc Tests for public referenda. Gav 2018-03-04 13:17:53 +01:00
  • 6476f26815 Introduce minimum deposit Gav 2018-03-03 19:30:07 +01:00
  • e8d38add64 cleanups. Gav 2018-03-03 19:04:42 +01:00
  • cf81e1dbb6 Deposits, not fees. Gav 2018-03-03 19:01:39 +01:00
  • e07aef7766 Introduce logic for deposits. Gav 2018-03-03 14:36:37 +01:00
  • 6cf236fb02 Simultaneous referendums and multiple voting variants. Gav 2018-03-03 11:26:56 +01:00
  • f5515ff673 Update docs Gav 2018-03-02 20:11:16 +01:00
  • c298331c3d test: against double presentations. Gav 2018-03-02 19:18:54 +01:00
  • f0699b9c8d Avoid allowing same accounts to be doubly-elected. Gav 2018-03-02 19:14:35 +01:00
  • b611881e8f Add one vote worth of time for voters to unregister before they become "inactive". Gav 2018-03-02 18:43:15 +01:00
  • 36bd7f0608 Additional docs & test. Gav 2018-03-02 18:11:03 +01:00
  • 60697d4402 tests: Retract inactive voter Gav 2018-03-02 18:02:20 +01:00
  • bda343ce67 Merge branch 'master' into gav-demo Gav 2018-03-02 14:59:32 +01:00
  • a633a257ef Merge branch 'master' into gav-demo Gav 2018-03-02 14:59:32 +01:00
  • d034f647f7 cleanups. Gav 2018-03-02 14:41:20 +01:00
  • d247a2e2b3 tests: presenting losers Gav 2018-03-02 14:40:36 +01:00
  • 826a06fc23 Tests: various error cases with present. Gav 2018-03-02 14:33:03 +01:00
  • 011a975363 test: second tally uses runners-up. Gav 2018-03-02 14:19:44 +01:00
  • d82e0fb6fa More tests, for runners-up. Gav 2018-03-02 14:00:23 +01:00
  • 9066313d18 Test for tally Gav 2018-03-02 13:39:49 +01:00
  • 4e19dc6ef1 More tests for voting. Gav 2018-03-02 11:34:06 +01:00
  • 4435d65206 More candidate tests. Gav 2018-03-02 10:09:27 +01:00
  • 9cd65e3372 Candidacy tests Gav 2018-03-02 09:54:21 +01:00
  • b772188145 Integrate transaction pool to the proposal logic (#80) Robert Habermeier 2018-03-02 09:38:58 +01:00
  • 10546845d4 Integrate transaction pool to the proposal logic (#80) Robert Habermeier 2018-03-02 09:38:58 +01:00
  • 209988a939 Space out votes by a minimum period. Gav 2018-03-01 15:19:41 +01:00
  • ced6eedead remove inactive voter. Gav 2018-03-01 15:08:29 +01:00
  • 6ee089b4be Final bit of core logic for the council. Gav 2018-03-01 13:49:45 +01:00
  • 83f0dc9923 presenting a winner. Gav 2018-03-01 11:14:23 +01:00
  • 5d6f253459 Submit candidacy. Gav 2018-03-01 09:18:15 +01:00
  • aa675add28 More work on governance. Gav 2018-02-28 21:01:35 +01:00
  • 93ac92dfb2 Implement next_tally. Gav 2018-02-28 15:32:28 +01:00
  • 6956c612b8 Design of the approval voting module for council election. Gav 2018-02-27 23:31:27 +01:00
  • 20d81cd1b7 Tests for referenda. Gav 2018-02-26 19:06:48 +01:00
  • 56a2623c5a Initial draft of stakeholder democracy. Gav 2018-02-25 18:37:07 +01:00
  • 2ffcf8ff26 Initial draft of stakeholder democracy. Gav 2018-02-25 18:37:07 +01:00
  • f807fc6799 Use BTreeMap rather than HashMap in demo runtime. Gav 2018-02-25 16:58:07 +01:00
  • c43d49084f Use BTreeMap rather than HashMap in demo runtime. Gav 2018-02-25 16:58:07 +01:00
  • 9067e0179f Remove unneeded call depth. Gav 2018-02-25 16:37:14 +01:00
  • 1e6cad908e Proposal creation and evaluation to plug into BFT (#77) Robert Habermeier 2018-02-25 10:58:17 +01:00
  • 1f2d01566e Proposal creation and evaluation to plug into BFT (#77) Robert Habermeier 2018-02-25 10:58:17 +01:00
  • 0502c939cf comment Gav 2018-02-23 11:49:15 +01:00
  • 0a3d406236 Fix logic Gav 2018-02-23 11:48:55 +01:00
  • d70491f093 More work on Ext & calls. Gav 2018-02-22 18:38:33 +01:00
  • 38e9d80555 Initial staging ground for interior wasm smart-contracts. Gav 2018-02-20 19:02:27 +01:00
  • 892dbc1eba Add needed file. Gav 2018-02-20 16:28:49 +01:00
  • b69b55017d Tidy up unneeded code. Gav 2018-02-20 16:20:07 +01:00
  • b93860467f Remove bad files. Gav 2018-02-20 16:18:34 +01:00
  • d6324d9174 Introduce substrate-demo Gav 2018-02-20 15:53:55 +01:00
  • a5042dd9ae Introduce substrate-demo Gav 2018-02-20 15:53:55 +01:00
  • 82efaf35b2 Fix up wasm build. Gav 2018-02-20 12:20:15 +01:00
  • 990bd1480b Fix up wasm build. Gav 2018-02-20 12:20:15 +01:00
  • 8eaa694411 More mssing doc. Gav 2018-02-20 11:27:21 +01:00
  • 12a7fe4e98 Add docs. Gav 2018-02-20 11:26:34 +01:00
  • 27a930a672 Merge branch 'master' into gav-demo Gav 2018-02-20 11:04:27 +01:00
  • 5f9be58d04 Optional storage entries (#75) Gav Wood 2018-02-19 20:05:30 +01:00
  • ec9060460c Optional storage entries (#75) Gav Wood 2018-02-19 20:05:30 +01:00
  • d3a22e12a6 Refactor out some duped code Gav 2018-02-19 16:25:09 +01:00
  • 70db89270f Fix merge. Gav 2018-02-18 23:44:29 +01:00
  • 5dfd7dd27b Bring back zero copy Gav Wood 2018-02-18 23:08:48 +01:00
  • 491a5bceab Remove accidentally committed change Gav Wood 2018-02-18 22:53:53 +01:00
  • 2f00982dd6 Unrevert typos Gav Wood 2018-02-17 15:47:41 +01:00
  • 7440d3c8fe Final fixes. Gav 2018-02-16 20:17:26 +01:00
  • 5fe79b6bd3 Remerge in changes to client. Gav 2018-02-16 20:16:02 +01:00
  • 65a122d228 Merge branch 'master' into gav-optional-storage Gav Wood 2018-02-16 20:05:11 +01:00
  • 0a9a144378 Verify header justification during import (#76) Robert Habermeier 2018-02-16 17:28:42 +01:00
  • 1d0ad42230 Verify header justification during import (#76) Robert Habermeier 2018-02-16 17:28:42 +01:00
  • 34f0cbcf19 Fix tests. Gav 2018-02-15 18:40:04 +01:00