- Feb 19, 2019
-
-
thiolliere authored
* remove amount associated * make a new trait to bound some arithmetics to balances or assets: It also remove arithmetic bounds of srml-support::traits::Currency. To update your code then use srml_support::traits::ArithmeticType like: `type Currency: ArithmeticType + Currency<Self::AccountId, Balance=BalanceOf<Self>>; ` with `type BalanceOf<T> = <<T as Trait>::Currency as ArithmeticType>::Type; ` * improve decl_storage when it explicit serde bound: basically don't try to be smarter than rust and just use where clause.
-
- Feb 18, 2019
-
-
Tomasz Drwięga authored
* Fix linked map for traits. * Fix Option<_> variant. * Improve naming a tad * Rebuild runtime * Encapsulate private data in the inner module. * Bump impl version. * Fix deriving codec in srml-example. * Fix derivation without importing parity-codec-derive. * Fix config() for map.
-
- Feb 15, 2019
-
-
Xiliang Chen authored
* wip * Split bytes fee charging and charging by amount into different traits. * Move to edition 2018. * Implemented charge fee traits for fees module. * Implemented 'on_finalise' for fee module. * Updated fees finalize impl. * Renaming and documentation update. * Added overflow & underflow check for fee calculation. * Added mock and unit tests for fee module. * More unit tests for fees module. * Fixed srml-executive unit tests. * Remove transaction base/bytes fee from balances module, fix unit tests. * fix compile error * Fixed unit test. * Minor fixes. * Bump spec version. * Bump spec version. * Updated fees module and runtime wasm. * Fees module code style improvement; updated runtime wasm. * Bump spec and impl version.
-
- Feb 13, 2019
-
-
Shawn Tabrizi authored
* Adding vesting tests to Balances module * Fix gitlab message, bump impl
-
Tomasz Drwięga authored
* Refactor decl_storage a bit to allow easier impl of linked map. * A bunch of refactorings for storage generation. - Rename StorageMap and ChildrenStorageMap to avoid confusion with generator::StorageMap. - Separate implementation from the procedural macro code to clean it up. - Make sure that genesis is initialised using the `StorageValue/StorageMap` generated implementations instead of going RAW. * WiP: Writing test. * Basic implementation. * Implement enumeration. * Fix non-std issues. * fix warning * Fix test-client. * Address review grumbles - part 1 * Avoid cloning the key, relax Storage requirements. * Rebuild runtime. * Remove dangling todo.
-
- Feb 11, 2019
-
-
Gav Wood authored
* Add Proposed event. * Bump and rebuild
-
Bastian Köcher authored
Procedural do not support `$crate` to get access to the crate where the macro is defined. We use a hack to re-export the crate under a known name. With rust edition 2018, people started to rename their crates in `Cargo.toml`, but that breaks the re-export. This commit introduces `proc-maco-crate` that supports finding the requested crate name, even if it was renamed.
-
Stanislav Tkach authored
-
- Feb 10, 2019
-
-
Gav Wood authored
* Vesting. * Vesting stuff. * Add new wasm blobs * Bump runtime version * Update lock * Fix tests * Bump version
-
- Feb 09, 2019
-
-
Tomasz Drwięga authored
* Unify bad signature message. * Update runtime.
-
Stanislav Tkach authored
-
- Feb 08, 2019
-
-
thiolliere authored
* decouple balances from some module by creating a new traits in support/traits * improve decl_event
-
Tomasz Drwięga authored
* Add transaction skipping. * Update runtime.
-
Arkadiy Paronyan authored
-
Shawn Tabrizi authored
* Initial fix, need to remove demo * Fix similar issue with contracts module * Remove Demo Module for Testing * Undo changes to Contracts module
-
- Feb 07, 2019
-
-
thiolliere authored
instead of ext::Seq
-
Jordan Beauchamp authored
* Expose block random seed and timestamp to contract ABI * Add tests * Bump spec version
-
- Feb 06, 2019
-
-
Bastian Köcher authored
* Make runtime macros work without required `macro_use` * Adds node-template * Adds node-template-release tool * Fixes building `node-template` and improve the release * Add `profile.release` by release script to remove warning * Adds script for releasing the node template * Fixes compilation after master merge * Port node-template to edition 2018 * Remove license * Fixes compilation after master merge * Add `node-template-release.sh` into the CI * WIP Ci integrate node template (#1701) * copy artifacts to s3 bucket latest path * typo * bucket name * Update wasm files
-
Sergei Pepyakin authored
* Migrate the indicies crate to 2018 edition. * Use .cloned() instead of .map(|x| x.clone()) * Update documentation.
-
Gav Wood authored
* Add OnInitialise handler. Closes #1686 * Fix typo * Fix wasm build * Add tests for initialise and finalise.
-
- Feb 05, 2019
-
-
Gav Wood authored
* Initial logic * Fix tests * Don't punish at all when everyone skipped * Typo * Fix tests. * Update srml/aura/src/lib.rs Co-Authored-By: gavofyork <[email protected]> * Simplification. * Bump runtime verions
-
Stanislav Tkach authored
-
- Feb 03, 2019
-
-
Stanislav Tkach authored
-
- Feb 01, 2019
-
-
Tomasz Drwięga authored
* Limit block size in runtime, * Add test for basic authorship. * Store length of extrinsics instead of computing it. * Don't rely on note_extrinsic * Use hashed version of storage and write test. * Recompile runtime.
-
- Jan 31, 2019
-
-
Wei Tang authored
* Support edition 2018 for storage_items macro * Fix handle_wrap_internal
-
- Jan 30, 2019
-
-
cheme authored
Clean up metadata format. Merge events metadata into runtime metadata. Remove low value info (internal macro identifier and counters).
-
Benjamin Kampmann authored
Went through the TODOs, removed a bunch, which are outdated or nothing more than a regular comment, documented a bunch more as actual tickets and made them FIXMEs and unified their structure (`FIXME #TICKETNO DESC` for local tickets, `FIXME: DESC LINK` for external tickets) for easier in-editor support. Further more remove unnecessary remarks and related old code that I noticed in that instance.
-
- Jan 29, 2019
-
-
Tomasz Drwięga authored
* Allow runtime to return more detailed transaction validation errors. * Re-use ApplyError codes and update test-runtime. * Fix pool tests. * Revert using Compact for validity.
-
thiolliere authored
-
- Jan 28, 2019
-
-
thiolliere authored
* update codec * use new codec * update grandpa code * build .lock and binaries
-
- Jan 25, 2019
-
-
Gav Wood authored
* Additional externs for ecdsa recovery and keccak * Update core/executor/src/wasm_executor.rs Co-Authored-By: gavofyork <[email protected]> * Update core/executor/src/wasm_executor.rs Co-Authored-By: gavofyork <[email protected]> * Fix grumble * Grumble.
-
Shawn Tabrizi authored
* Refactor `transfer()` logic outside of dispatched function * Refactor `transfer()` logic outside of dispatched function * Refactor `transfer()` logic outside of dispatched function * Refactor `transfer()` logic outside of dispatched function
-
- Jan 24, 2019
-
-
Sergei Pepyakin authored
* Fix imports. * Remove redundant binding * Clean extern crates. * Add comment * Re-export macros from prelude * Build fixes * Update core/sr-std/src/lib.rs Co-Authored-By: pepyakin <[email protected]>
-
Bastian Köcher authored
* Fix warnings in substrate * More warnings removed and wasm updated * Fixes error on stable and grumbles * Update wasm files * Add links to the github issue for replacing `error-chain`
-
- Jan 23, 2019
-
-
thiolliere authored
-
Bastian Köcher authored
-
- Jan 22, 2019
-
-
Bastian Köcher authored
* Implement new inherent data * Fixes compilation on wasm * Fixes after rebase * Switch back to generate inherent stuff by macro * Update after rebase * Apply suggestions from code review Co-Authored-By: bkchr <[email protected]> * Fix compilation after rebase * Address grumbles * Remove `InherentDataProviders` from `Client` * Update wasm files after rebase * Address grumbles * Fixes compilation after latest merge * Last fix
-
thiolliere authored
-
thiolliere authored
* impl #[codec(compact)] for param * update modules * test all and build runtime * Update srml/support/src/dispatch.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/dispatch.rs Co-Authored-By: thiolliere <[email protected]> * delete wip comment * update param to use #[compact] instead of Cmpact<> * fmt * impl metadata * test metadata * add compact attr test * script buid * update test
-
Sergei Pepyakin authored
* WIP * Use system::Origin::Signed as an origin * Add a vm test for ext_dispatch_call * Take fee for dispatching a Call # Conflicts: # node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm * Clean & Rebuild # Conflicts: # node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm * Dispatch call test. * Rebuild the runtime. * Fix the length of the buffer. * Rebuild binaries.
-