Split Indices module from Balances (#1404)

* Indices module

* Remove indices stuff from balances

* Rejob node, move Lookup into system.

* Fix up some modules.

* Fix democracy tests

* Fix staking tests

* Fix more tests

* Final test fixes

* Bump runtime versions

* Assets uses compact dispatchers

* Contracts module uses indexed addressing

* Democracy has more compact encoding

* Example now demonstrates compact eencoding

* Sudo uses indexed address

* Upgrade key also uses indexed lookups

* Assets more compact types.

* Fix test

* Rebuild runtime, whitespace

* Remove TOODs

* Remove TODOs

* Add a couple of tests back to balances.

* Update lib.rs

* Update lib.rs
This commit is contained in:
Gav Wood
2019-01-16 15:57:19 +01:00
committed by GitHub
parent 04175ddc83
commit c9f047fe84
44 changed files with 907 additions and 619 deletions
+11 -10
View File
@@ -33,10 +33,20 @@ members = [
"core/primitives",
"core/rpc",
"core/rpc-servers",
"core/serializer",
"core/service",
"core/service/test",
"core/sr-api-macros",
"core/sr-io",
"core/sr-primitives",
"core/sr-sandbox",
"core/sr-std",
"core/sr-version",
"core/state-machine",
"core/test-runtime",
"core/telemetry",
"core/trie",
"core/keystore",
"core/transaction-pool",
"core/transaction-pool/graph",
"srml/support",
@@ -53,8 +63,8 @@ members = [
"srml/example",
"srml/executive",
"srml/grandpa",
"srml/indices",
"srml/metadata",
"core/sr-primitives",
"srml/session",
"srml/staking",
"srml/sudo",
@@ -62,15 +72,6 @@ members = [
"srml/timestamp",
"srml/treasury",
"srml/upgrade-key",
"core/serializer",
"core/service",
"core/service/test",
"core/sr-api-macros",
"core/state-machine",
"core/test-runtime",
"core/telemetry",
"core/trie",
"core/keystore",
"node/cli",
"node/executor",
"node/primitives",