- Oct 09, 2018
-
-
Bastian Köcher authored
* Add missing `As` imports. * Adds new API traits that will be used by the client and runtime * Switch consensus to new API's * Switches transaction-pool to new API's * Move runtime api stuff into its own crate * Adds `impl_apis!` macro for implementing the new API traits * Make `metadata` return directly a blob * Runtime replace `impl_stubs!` with `impl_apis!` * Switches to none feature based approach for declaring the different API traits * Fixes compilation error * Fixes errors * Make the `decl_apis!` trait usable from the outside * Make the `test-client` use the new API traits * Remove last `impl_stubs!` bits and move some of them into wasm executor for tests * A little bit more documentation
-
- Oct 05, 2018
-
-
Sergey Pepyakin authored
-
guanqun authored
* enhance macro decl_storage() * update the state root hash * fix one comment
-
Svyatoslav Nikolsky authored
* compare digest item-by-item * update comment
-
- Oct 03, 2018
-
-
* Updating Moment to support Mul/Div with BlockNumber Issue #261 * Fixed whitespace and commented code
-
Sergey Pepyakin authored
-
- Oct 01, 2018
-
-
Bastian Köcher authored
* Do not encode the `origin` parameter in the metadata * Remove obsolete macro * Encode outer dispatch in metadata
-
- Sep 29, 2018
-
-
guanqun authored
-
- Sep 28, 2018
-
-
Arkadiy Paronyan authored
* Started substrate tests * Sync test * Test updates * Improved tests * Use on-chain block delay * Parallel test execution * Otimized tests * Logging * Fixed racing test * Fixed compilation * Fixed timestamp test * Removed rlp dependency * Minor fixes * Fixed tests * Removed best_block_id and resolved fdlimit issue * Whitespace * Use keyring * Style * Added API execution setting * Removed stale import
-
- Sep 27, 2018
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Bastian Köcher authored
* Removes `rlp` dependency * Enable warnings about unused crates in the CI * Remove all the unused crates * Make tests working again
-
Sergey Pepyakin authored
-
Gav Wood authored
* Fixes for staging testnet * Fix codec versioning * Comment unneeded trace * Update lib.rs * Update parity-codec * Add script to update wasm deps and update them. * Update hashes * Add BBQ Birch testnet * it's default-features, apparently. * Use simpler version spec for parity codec * Typo
-
- Sep 26, 2018
-
-
Guanqun Lu authored
* state-db: typo fixes * use fmt::Result for 'fmt' * state-db: typo fixes * state-db: use the same pattern to pass the parameter * state-db: follow the same style
-
- Sep 25, 2018
-
-
Sergey Pepyakin authored
-
* Bump codec * Fix tests * Patricia trie builds * Introduce trie * Some yak shaving. * Some fixes * Remove RLP ref * Fixes * It builds! * Some tests fixed * Another test fix * Rejig more hashes * substrate-trie::iterator_works test * Update lock * Polish * Docs * Undo incorrect "fix" for tests * Fix nits
-
- Sep 24, 2018
-
-
* Extract `runtime` module * Restructure & comment code to avoid confusion
-
- Sep 21, 2018
-
-
Gav Wood authored
* Bump codec * Fix tests
-
asynchronous rob authored
* finalization for in_mem * fetch last finalized block * pruning: use canonical term instead of final * finalize blocks in full node * begin to port light client DB * add tree-route * keep number index consistent in full nodes * fix tests * disable cache and finish porting light client * add AsMut to system module * final leaf is always best * fix all tests * Fix comment and trace * removed unused Into call * add comment on behavior of `finalize_block`
-
Sergey Pepyakin authored
-
Gav Wood authored
* Initial stuff * Treasury now mints based on lowest staked. * Tests build * Fix tests * Fix hashes * Fix tests & grumble
-
- Sep 20, 2018
-
-
Gav Wood authored
* Address grumbles * Fix hash
-
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
-
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
-
-
Svyatoslav Nikolsky authored
-
Sergey Pepyakin authored
* Fix error handling in sandboxing/contracts modules * Add some docs. * Add some tests. * grammar
-
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
-
- 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.
-
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
-
- Sep 15, 2018
-
-
Sergey Pepyakin authored
* WIP * Direct return of output data. * Docs and renamings. * Add get_storage test. * Overwrite the scratch buffer.
-
- Sep 14, 2018
-
-
Guanqun Lu authored
* treasury: use 'mutate' and 'retain' to avoid creating a new vec * treasury: check the underflow case
-
- Sep 13, 2018
-
-
Gav Wood 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
-
Sergey Pepyakin authored
-
Bastian Köcher authored
* Make `impl_outer_origin!` support generic `Origin`s * Support empty outer origin
-