- 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 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 11, 2019
-
-
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 08, 2019
-
-
thiolliere authored
* decouple balances from some module by creating a new traits in support/traits * improve decl_event
-
- 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 30, 2019
-
-
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
-
-
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.
-
- 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
* 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
-
- Jan 17, 2019
-
-
thiolliere authored
* impl Compact<> and HasCompact for Permill Perbill * update parity-codec to 2.2 * add Cargo.lock * add lock and build for runtime * rebuild Cargo.lock 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
-
-
* srml: apply slashing for all offline reports at once * srml: add regression test for slashing overflow
-
- Jan 08, 2019
-
-
* BlockAuthorityId convenience type * Rename AuthorityId -> Ed25519AuthorityId to make it more precise * Generalize AuthorityId up to substrate-client * Fix in client-db * rename: BlockAuthorityId -> AuthorityIdFor * typo: should be digest item * Fix test-runtime authorityId mismatch One states that AuthorityId is u64 while the other states that it's Ed25519AuthorityId. * Fix more u64 - Ed25519AuthorityId mismatch * Fix compile of most of the srml modules * Continue to pin aura and grandpa with ed25519 and fix compile * Add MaybeHash trait * Fix node-runtime compile * Fix network tests
-
- Jan 07, 2019
-
-
Gav Wood authored
* Invulnerabiity from slashing * Update srml/staking/src/lib.rs Co-Authored-By: gavofyork <[email protected]>
-
- Dec 22, 2018
-
-
Bastian Köcher authored
* Make `deposit_event` work with none generic events `fn deposit_event() = default` will now be used for none generic events `fn deposit_event<T>() = default` is now for generic events. * Update wasm files * Fixes some spelling mistakes * Update wasm and fix new module
-
- Dec 13, 2018
-
-
- 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
-
Bastian Köcher authored
If no return type is specified, `Result` is added and `Ok(())` is returned by default. Closes: #1182
-
- Dec 09, 2018
-
-
cheme authored
* `decl_storage` parsing of the macro (TODO change tool crate structure) * Start formatting, for now use inner macro. Still missing optional formating last part (genesis ...). * Calling extra genesis macro * decl_storage lines parsing. * genesis macro as quote (need some cleaning reorg) * dirty $crate substitute * proc crate reorg. * PR impl : skip usage of phantom data, it only applies in test and council (others required it). * Remaining macro of decl_storage, warning stringify behave sometime oddly. * Formatting code and some cleaning. * Include line parsing to main struct (cannot use existing macro anymore). * Remove genesis phantom data when there is already a field with type parameter. * Revert wasm files * Remove old version of `decl_storage`. * Fix false positive for phantom trait (additional type check on config build). * slight changes: - return token errors instead of panic - do not use useless intermediate vec * Update srml/support/procedural/tools/derive/src/lib.rs remove indent Co-Authored-By: cheme <[email protected]> * Switch iterations to fold, remove unused import.
-
- Nov 21, 2018
-
-
asynchronous rob authored
* add beginnings of SRML grandpa library * get srml-grandpa compiling * tests for srml-grandpa * add optional session integration to grandpa SRML * start integration into node runtime * Allow extracting pending change from header digest * Make it compile on wasm * make tests compile again * Move Authority Key fetching into service, simplify service factory construction * Generalize Authority Consensus Setup system * Add Authority Setup Docs * Allow CLI params to be extensible - move params to structopts - split parsing and default command execution - add custom config to node - extended parsing of custom config - extending params via structop's flatten * Minor fixes on cli extension params: - added docs - re-add actual app name, rather than node-name - make strategy and subcommand optional * better cli params * synchronize GRANDPA and normal node authorities * Implement grandpa::network for gossip consensus * run_grandpa in Node * Fix missed merge error * Integrate grandpa import queue * more specific type def * link up linkhalf and import block * make grandpa future send * get compiling * Fix new params convention and license header * get it running * rebuild node runtime WASM * change logging level * Update node/cli/src/params.rs Co-Authored-By: rphmeier <[email protected]> * Update node/cli/src/params.rs Co-Authored-By: rphmeier <[email protected]> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <[email protected]> * Update node/runtime/src/lib.rs Co-Authored-By: rphmeier <[email protected]> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <[email protected]> * Clean up and Fixme for mutable config * Move GrandpaService Integration into grandpa, feature gated but on per default * Fixing grandpa runtime module test * Update wasm runtime hashes for tests * GRANDPA: use post-header hash when logging scheduled changes * add an extra bit of logging to authorities * fixing missing constrain * remove old code * move `NewAuthorities` to an event in srml-grandpa * fix node-executor tests to use grandpa log * Remove GossipConsensus from tests, use newly provided sync-feature, fixes tests * Update to latest wasm runtimes * address grumbles * address grumbles * only derive deserialize when using std * Clean up use of Deserialize
-
- Nov 19, 2018
-
-
asynchronous rob authored
-
- Nov 18, 2018
-
-
Bastian Köcher authored
* Revert "Pruning changes trie without digests (#952)" This reverts commit 6f9a505f. * pruning changes tries without digests * u64::max_value() * Update wasm files and fix merge conflict * Fixes tests
-
- Nov 17, 2018
-
-
Svyatoslav Nikolsky authored
* pruning changes tries without digests * u64::max_value()
-
- Nov 16, 2018
-
-
Bastian Köcher authored
This makes it possible to support `GenesisConfig`s that to do not use generic parameter.
-
- Nov 12, 2018
-
-
Gav Wood authored
* Remove superfluous serde requirements. * Try to ensure hash is serde * Fixups * Building again * Attempt to reenable Block (doesn't build) * Fixes compilation for node cli * Fixes test compilation * Fix wasm * Fix tests * Remove unneeded changes * Fix up comments * Reenable some code * Compile error when origin misused. * Remove unnecessary includes of `serde_derive` * Cleanups
-
- Nov 01, 2018
-
-
Wei Tang authored
* Support multi trie in genesis generation * Fix merge issues
-
- Oct 26, 2018
-
-
Bastian Köcher authored
* General `decl_module` improvements * Make `deposit_event` implementable by `decl_module!` * Make `decl_module!` implement calls directly * Regenerate the wasm file after master rebase
-
- Oct 23, 2018
-
-
Bastian Köcher authored
-
- Oct 16, 2018
-
-
Gav Wood authored
* Try to make everything compact * Make `Clone` work * Fix * Move contracts and balances over to compact encoding * Session and timestamp are compact * Sataking uses compact numbers * Treasury now compact * Compact Democracy * Council is compact * Fix
-
- Oct 10, 2018
-
-
Bastian Köcher authored
* Adds a script for automatically update all copyrights * Ran the `update-copyright` script
-
- Oct 05, 2018
-
-
guanqun authored
* enhance macro decl_storage() * update the state root hash * fix one comment
-
- 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
-
-
Bastian Köcher authored
* Removes `rlp` dependency * Enable warnings about unused crates in the CI * Remove all the unused crates * Make tests working again
-
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 25, 2018
-
-
* 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 21, 2018