- Sep 13, 2018
-
-
Arkadiy Paronyan authored
-
Sergey Pepyakin authored
-
Bastian Köcher authored
* Make `impl_outer_origin!` support generic `Origin`s * Support empty outer origin
-
- Sep 12, 2018
-
-
Bastian Köcher authored
-
Guanqun Lu authored
* add a python script to show the dependencies * add the header line and modify the mod
-
Bastian Köcher authored
-
Bastian Köcher authored
* Improve and simplify `decl_event!` - RawEvent is not required anymore to be written in the defintion - Events with and without parameters are now supported everywhere * Make `decl_event!` more flexible with the automatic naming of generic parameters The macro will now automatically derive the name of a generic parameter from the trait type name, if no explicit name is given. `where Balance = <T as Trait>::Balance` can be simplified to `where <T as Trait>::Balance`. * Adapts to latest refactoring changes
-
Guanqun Lu authored
* normalize decl_storage * dispatch the function call * add test case * fix the root case * add system * fix the typo in unit test * fix the doc generation for decl_module * fix the unit test due to the interface change
-
* Remove unneeded script * Rename Substrate Demo -> Substrate * Rename demo -> node * Build wasm from last rename. * Merge ed25519 into substrate-primitives * Minor tweak * Rename substrate -> core * Move substrate-runtime-support to core/runtime/support * Rename/move substrate-runtime-version * Move codec up a level * Rename substrate-codec -> parity-codec * Move environmental up a level * Move pwasm-* up to top, ready for removal * Remove requirement of s-r-support from s-r-primitives * Move core/runtime/primitives into core/runtime-primitives * Remove s-r-support dep from s-r-version * Remove dep of s-r-support from bft * Remove dep of s-r-support from node/consensus * Sever all other core deps from s-r-support * Forgot the no_std directive * Rename non-SRML modules to sr-* to avoid match clashes * Move runtime/* to srml/* * Rename substrate-runtime-* -> srml-* * Move srml to top-level
-
- Sep 11, 2018
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
* Add contracts to GenesisConfig in demo-runtime * Update roots.
-
Sergey Pepyakin authored
* Timestamp docs * Add missing /
-
-
Gav Wood authored
* Remove PoC-1 back-compat hacks * Fix lingering Keccak references * More keccak exorcism * Fix test * Final fixes
-
Bastian Köcher authored
* Introduce `impl_event!` for declaring the Event/RawEvent for a module * Implements a function for generating the event json metadata * Update runtime `json_metadata` to include the new event json metadata * Switch to `impl_event!` for new modules * Remove unused module declaration in `impl_event!` * Rename `impl_event!` to `decl_event!` * Fixes some style nits
-
Guanqun Lu authored
-
Sergey Pepyakin authored
-
Gav Wood authored
* Fix minting to do what it's meant to. * Fix tests * Note and fix total issuance. * Undo last non-fix. * More doc
-
- Sep 10, 2018
-
-
Gav Wood authored
-
Gav Wood authored
* Initial bits * More stuff * Cleave voting from council * More events * Rearrange council a little * Fix demo * More info in events
-
Sergey Pepyakin authored
* Introduce data and salt into ContractAddressFor * Accept salt arg in ext_create. * Integrate contracts into the demo runtime * Make libcontract compile to wasm * Remove salt parameter. This now is concern of userspace. * Rebuild binaries.
-
Svyatoslav Nikolsky authored
* DigestItem v4 * tests * wording
-
Maciej Hirsz authored
-
Bastian Köcher authored
* Adds `impl_json_metadata!` for generating all metadata of a runtime * Adds `json_metadata` RPC call * Adds simple test for the `json_metadata` RPC call * Implements json metadata in the demo runtime * Fix indent * Adds missing copyright headers * Dispatch json metadata renamings and improvements * Replaces `format!` & `String` with `Vec<JSONMetadata` * Implements `Encode` and `Decode` for JSONMetadata * Make `impl_json_metadata!` compileable on `no_std` * Adapt the client to decode the correct type for `json_metadata` * Fixes compile error and warning * Whitespace
-
Arkadiy Paronyan authored
* Updating substrate-demo * Consenus fixes * Reverted toolchain change * Adjusted timeout formula * Simplfied proposal creation * Fixed tests * Fixed a few small issues * 2017->2018 * Style * More style * Renamed demo executable to substrate * Style * Fixed compilation after merge * Style
-
Gav Wood authored
* Treasury in runtime, generic approve/reject * Add logic for council origin * Add tests. * Configurable number of members in EnsureMembers * Fix grumbles * Fix spelling * Comment
-
Chevdor authored
-
Gav Wood authored
* Democracy module events * Fix demo runtime * Fix * Extra event in balances * Missing event * Fix test * Fix council * Fix test
-
- Sep 09, 2018
-
-
David authored
* LocalCallExecutor and RemoteCallRequest generic over Hasher and NodeCodec * Fix client/db * Use new triehash * Use new triehash Don't use ethereum-types from rlp * New triehash * Use new triehash * fixes and rlp without ethereum-types * Lockfile * lockfile * Rename enumerated_trie_root to keccak_rlp_enumerated_trie_root * Rename ordered_trie_root -> keccak_rlp_ordered_trie_root Rename trie_root -> keccak_rlp_trie_root * Fix panic message * Kick the ball one step up the ladder * Normalize function signatures between wasm and native * Sort out compilation and test errors * Cleanup * Constrain the wasm-version using an ExternTrieCrypto trait that is implemented only for KeccakHasher * hashdb is not optional * lockfile * Runtimes * Missing bounds * wasm binaries * lockfiles * binaries * LocalCallExecutor uses concrete hasher/codec * Use binaries from master * Externalities is concrete RuntimeInfo is not generic * whitespace grumble * lockfile * lockfile and binaries
-
Guanqun Lu authored
* runtime-storage: add 'mutate' api * support mutate for StorageValue * try adding 'mutate' for map * dispatch on Option<> type * add check for prev_some * consolidate the wrap type * unify wrap type handling * add sample for StorageValue
-
- Sep 07, 2018
-
-
Arkadiy Paronyan authored
-
Gav Wood authored
* System and Balances switched to new call model * Fixed up executive for new pardigm * Consensus works with Origin * Timestamp ported over * Session now compatible * Ported staking * Treasury compatible * Expunge MaybeEmpty * Make democracy work * Council compatible * Remove some aux-dispatch stuff and fix balances * Rename aux -> origin, fix contracts * Fix test * Fix example * Update macro to remove superfluous cruft * Make work with new macro * Tests * Fix some tests * Tests * Fix grumbles * Final grumble
-
-
Bastian Köcher authored
Progress on: #535
-
Pierre Krieger authored
-
Pierre Krieger authored
* Use BufReader and BufWriter * Add TODOs
-
ddorgan authored
-
- Sep 06, 2018
-
-
Pierre Krieger authored
-
- Sep 05, 2018
-
-
Bastian Köcher authored
* `decl_storage!` exposes json metadata about the storage The metadata can be accessed by calling `store_json_metadata()`. * Hide internal macros in the documentation * Include the function documentation in the store json metadata * Adapt the storage declarations to use doc comments
-