- Sep 20, 2018
-
-
Gav Wood authored
* Initial groundwork * A mess. * Integrate * Fix tests * Unit tests * Tests for unchecked_extrisnic * fix tab * Improve binary format. * fix tests * Rename extrinsic-pool -> transaction-pool Closes #770 * Implement unimplemented. * typo
-
-
Guanghua Guo authored
-
Bastian Köcher authored
* Move module metadata from json string to custom metadata * Revisit the metadata structures 1. Move the structures into the metadata crate. 2. Switch to using Cow/MaybeOwnedArray to support Encode/Decode * Adapt to new metadata structures * Convert event json metadata to new metadata structures * Convert storage json metadata to new metadata structures * Convert runtime metadata from json to new metadata structs * Implements new metadata structures in client and runtime * Fixes errors on `no_std` * Fixes errors after rebasing master * Do not use `Cow` anymore in metadata Also replace `String` with our own type definition `StringBuf`. This fixes compilation on `no_std`. * Wrap `RuntimeMetadata` in `RuntimeMetadataVersioned` to support versioning * Move metadata into `srml` and make core unaware of the implementation
-
- Sep 19, 2018
-
-
Bastian Köcher authored
* Fixes compilation of sandbox tests * Make `impl_outer_log!` scope independent
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Bastian Köcher authored
-
Sergey Pepyakin authored
* Fix error handling in sandboxing/contracts modules * Add some docs. * Add some tests. * grammar
-
Wei Tang authored
* Implement codec for U256 * Use little endian and add tests
-
Guanghua Guo authored
-
- Sep 18, 2018
-
-
Sergey Pepyakin authored
* Extract well known keys into a single place * Fixes.
-
Svyatoslav Nikolsky authored
* changes_trie * changs_trie: continue * changes_trie: adding tests * fixed TODO * removed obsolete ExtrinsicChanges * encodable ChangesTrieConfiguration * removed polkadot fle * fixed grumbles * ext_storage_changes_root returns u32 * moved changes trie root to digest * removed commented code * read storage values from native code * fixed grumbles * fixed grumbles * missing comma
-
Gav Wood authored
-
- Sep 17, 2018
-
-
Gav Wood authored
* First effort * API versioning * Introduce validate_transaction * Introduce the API plus fixes. * Docs * Typo * Add longevity parameter to transaction validity info.
-
Maciej Hirsz authored
* Telemetry Refactor * Cleanup * Sleep after clearing Sender on error
-
Bastian Köcher authored
* Make `system` module renamable in `impl_outer_event!` * Implement `construct_runtime!` macro This macro generates code for calling all the common `impl_outer_*` macros. * Add documentation * Fixes wrong declaration of `contract` * Update dependencies to work on `no_std` * One more `Cargo.lock` update * Address comments
-
Sergey Pepyakin authored
-
Guanghua Guo authored
* Not use extern * Update Cargo.lock
-
- Sep 15, 2018
-
-
Sergey Pepyakin authored
* WIP * Direct return of output data. * Docs and renamings. * Add get_storage test. * Overwrite the scratch buffer.
-
Sergey Pepyakin authored
* Add --locked to the cargo build * Remove trailing spaces * Update Cargo.lock
-
- Sep 14, 2018
-
-
Guanqun Lu authored
* treasury: use 'mutate' and 'retain' to avoid creating a new vec * treasury: check the underflow case
-
Drew Stone authored
* Fixed spelling and grammar for clarity * Update README.adoc * Three comma club * gramma grammma grammar * Update README.adoc * Remove commas Corrected the commas. Consider the sentences: - "Energy-saving light bulbs which are cheap make for a sensible investment" - "Energy-saving light bulbs, which are cheap, make for a sensible investment" They are different. The first one is intimating that energy-saving light bulbs come in many prices and it's only the cheap ones which are a good investment. The second implies that all energy-saving light bulbs are generally cheap and they, regardless of price, make for a good investment. The commas added (which I just removed) switched the meaning, incorrectly, from one to the other.
-
- Sep 13, 2018
-
-
Gav Wood authored
-
Gav authored
-
金XX(Aton) authored
* bugfix: balances::transfer for new_account issue:#722 would_create flag should depend on dest, not origin. change ```rust let would_create = from_balance.is_zero(); ``` to ```rust let to_balance = Self::free_balance(&dest); let would_create = to_balance.is_zero(); ``` in the other hand, provide `fn new_test_ext2()` and let `transfer_fee=10`, `creation_fee=50` for test case * Update lib.rs * Update tests.rs * Make `impl_outer_origin!` support generic `Origin`s (#732) * Make `impl_outer_origin!` support generic `Origin`s * Support empty outer origin * Contracts: fix transfer function. (#733) * Remove dependency on the parity repo (#734) * Fix test * Anothe fix
-
Gav Wood authored
* Remove redundant code and merge rest into rt-std * Update lib.rs
-
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 /
-
-