- Feb 25, 2019
-
-
thiolliere authored
* fix construct runtime module position * Update srml/support/src/runtime.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/runtime.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/runtime.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/runtime.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/src/runtime.rs Co-Authored-By: thiolliere <[email protected]>
-
- Feb 21, 2019
-
-
Jordan Beauchamp authored
* Let StorageDoubleMap use borrowed key types * Bump impl version
-
Arkadiy Paronyan authored
* Fixed finalizing multiple blocks at once * Added a test * Added a comment
-
thiolliere authored
if system wasn't the first module then it crashed
-
- 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
-
Stanislav Tkach authored
-
Gav Wood authored
* first draft of ristretto crypto module #1685 * adds better comments and code-style * remove the last evil unwrap * remove a mistakenly committed lockfile * add a fresh new lockfile --will probably need a manual merge later * fix an invalid old test vector * Wire in ristretto * Update comment * Fix use. * new Signature type api alias to be compatible with substrate * Add new keyring, fix node executor tests * Bump version. * Remove all hashes. * Update core/primitives/src/sr25519.rs Co-Authored-By: gavofyork <[email protected]> * Revert back to Ed25519 (until JS UI is ready) * Fix test
-
- Feb 11, 2019
-
-
Gav Wood authored
* Add Proposed event. * Bump and rebuild
-
Marcio Diaz authored
* fix: adds new execution strategy nativeElseWasm and replace nativeWhenPossible with it * feat: adds cmd line params for execution strategies * fix: uses of cmd line execution strategies * chore: remove white spaces * chore: remove println * chore: remove whitespace * fix: generating functions with context * feat: add function to generate with_context declarations * fix: add implementation for with_context function calls * fix: add execution context to call_api_at function * fix: making use of context to select strategy for block_builder * chore: cleaning up * fix: merging issues * fix tests * add wasm files * chore: small doc for context fields * chore: delete redundant docs * fix: use full path for ExecutionContext * fix: add context functions from inside fold_item_impl * chore: remove clone * fix: moving generative function to utils, remove unused imports * fix: add missing full path for ExecutionContext * fix: merge issues * update wasm files * fix: update to keep up with changes in master * chore: remove unused functions, clean up * fix test * fix grumbles * fix: add more tests * fix: some refactorings * feat: add execution strategy to call * chore: small improvements * fix: add message to panic * fix tests
-
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.
-
- Feb 10, 2019
-
-
Gav Wood authored
* Vesting. * Vesting stuff. * Add new wasm blobs * Bump runtime version * Update lock * Fix tests * Bump version
-
- Feb 08, 2019
-
-
thiolliere authored
* decouple balances from some module by creating a new traits in support/traits * improve decl_event
-
- 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
-
Wei Tang authored
* Update trie to v0.11 * Update wasm runtimes
-
Bastian Köcher authored
* Rework how a runtime api calls into the runtime Now we generate a default implementation for each api call that calls a generated method `method_runtime_api_impl`. This newly generated method is the one that will be implemented by the `impl_runtime_apis` macro in the runtime for the client side. * Support `changed_in` to change runtime api function signatures * Update documentation * Fixes tests * Implement checking the api version with a predicate * Make the implementation backwards compatible with CC * Update wasm files after merge * Check for wasm runtime differences by building master and current branch * Update spec_version and wasm files * Fixes * Revert my changes * Remove `patch.crates-io` from test-runtime
-
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
-
- Jan 31, 2019
-
-
Gav Wood authored
* Transaction signing payload is hashed first * Fix tests * Rebuild wasm * Fix tests * Only take payload hash when payload.len > 256 bytes. * Fix tests
-
Sergei Pepyakin authored
* Declare storage in contracts module This adds storage declarations of the contract module to the runtime metadata and this ultimately gives ability to inspect the storage of contract module (except contracts storage) for polkadot ui * Bump the runtime version to 17. * Rebuild the binaries. * Rebuild * Rebuild [2]
-
- Jan 30, 2019
-
-
cheme authored
Clean up metadata format. Merge events metadata into runtime metadata. Remove low value info (internal macro identifier and counters).
-
- Jan 29, 2019
-
-
Stanislav Tkach authored
-
- Jan 25, 2019
-
-
Bastian Köcher authored
-
- Jan 24, 2019
-
-
Bastian Köcher authored
* Adds some derives for the inherent data stuff This makes working with them easier. * More defaults!
-
- 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
-
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.
-
- Jan 21, 2019
-
-
Bastian Köcher authored
* Add simple benchmark for the runtime api * Make the executor support native calls * Some documentation * Hide behind `feature = "std"` * Rework the native calls * Make all tests compile again * Make every parameter using the Block serialized/deserialized in the native call * Forward `UnwindSafe` requirement * Remove debug stuff * Add some documentation * Fixes warnings * Fixes errors after master rebase * Fixes compilation after master rebase * Fixes compilation after rebase
-
- Jan 16, 2019
-
-
Gav Wood authored
* 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
-
- Jan 10, 2019
- Jan 09, 2019
-
-
Gav Wood authored
- Introduce compact extrinsics into Cherry - Remove UpgradeKey from Cherry (Sudo is enough) - Remove networkId from Cherry properties
-
- Dec 21, 2018
-
-
Gav Wood authored
* Sudo module * Fix comment * Fix errors * Fix test * Update hashes * Final test fixes and build * Final hex change
-
- Dec 20, 2018
-
-
Gav Wood authored
-
- Dec 10, 2018
-
-
asynchronous rob authored
* make offline-reporting infrastructure more generic * add a listener-trait for watching when the timestamp has been set * prevent inclusion of empty offline reports * add test for exclusion * generate aura-offline reports * ability to slash many times for being offline "multiple" times * Logic for punishing validators for missing aura steps * stub tests * pave way for verification of timestamp vs slot * alter aura import queue to wait for timestamp * check timestamp matches seal * do inherent check properly * service compiles * all tests compile * test srml-aura logic * aura tests pass * everything builds * some more final tweaks to block authorship for aura * switch to manual delays before step * restore substrate-consensus-aura to always std and address grumbles * update some state roots in executor tests * node-executor tests pass * get most tests passing * address grumbles
-
Gav Wood authored
* Referendums only gett enacted after a delay; successful voters must lock funds up until enactment. * Build fixes. * Configurable council enact delay, fix test builds. * Fix spelling * Remove TODO
-
Bastian Köcher authored
* Make `decl_runtime_apis!` implement `RuntimeApiInfo` for all runtime apis * Make the runtime side generate the info constants as well * Make `RuntimeApiInfo` implementation use the correct generics * Adds a test for the runtime api info stuff * Remove duplicated code by using block from `test-client` * Adds `compile_fail` tests for `api_version` * Adds documentation for `api_version` * Make `impl_runtime_apis!` generate `RUNTIME_API_VERSIONS` * Update documentation and tests for `RUNTIME_API_VERSIONS` * Implement `has_api` by using the `RuntimeApiInfo` * Make `impl_runtime_apis` check that trait identifiers are unique * Prefix all runtime api function with the corresponding trait So `execute_block` will be called `Core_execute_block`. This makes it possible to have traits implement a function with the same name. * Rebase master * Update after master rebase
-