- Jan 10, 2019
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Benjamin Kampmann authored
Co-Authored-By: pepyakin <[email protected]>
-
Benjamin Kampmann authored
Co-Authored-By: pepyakin <[email protected]>
-
- Jan 09, 2019
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Benjamin Kampmann authored
Co-Authored-By: pepyakin <[email protected]>
-
Benjamin Kampmann authored
Co-Authored-By: pepyakin <[email protected]>
-
Sergey Pepyakin authored
# Conflicts: # Cargo.lock # core/test-runtime/wasm/Cargo.lock # core/test-runtime/wasm/target/wasm32-unknown-unknown/release/substrate_test_runtime.compact.wasm # node/executor/src/lib.rs # node/runtime/wasm/Cargo.lock # node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm
-
Gav Wood authored
- Introduce compact extrinsics into Cherry - Remove UpgradeKey from Cherry (Sudo is enough) - Remove networkId from Cherry properties
-
Xiliang Chen authored
* expose peer information via rpc * fixes tests * cleanup Co-Authored-By: xlc <[email protected]> * Update docs Co-Authored-By: xlc <[email protected]> * Add missing docs * keep original type for PeerInfo best_hash/best_number * cleanup * Update mod.rs
-
Drew Stone authored
* Add tuple and dont mess up spacing * Update lib.rs * Add timestamp tuple macro : * Tabs * Add docs.
-
kyegupov authored
* Test compiled wasm code in test-runtime * Drop lazy_static * Move substrate-executor to dev-dependencies
-
Alexander Krupenkin authored
-
kyegupov authored
* Some documentation for ext_ functions in Substrate Runtime API This would be useful for using non-Rust language to write Substrate-compatible modules and debugging modules at the WebAssembly level. * Update without_std.rs Update comment styles
-
- Jan 08, 2019
-
-
Tomasz Drwięga authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Tomasz Drwięga authored
* Test RPC fix. * Fix meta in unsubscribe. * Fix meta in unsubscribe.
-
Arkadiy Paronyan authored
* State caching * Better code caching * Execution optimizaton * More optimizations * Updated wasmi * Caching test * Style * Style * Reverted some minor changes * Style and typos * Style and typos * Removed panics on missing memory
-
-
-
* 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]>
-
Wei Tang authored
* Unify primitive types with parity-ethereum * Update primtive-types patch version * Fix merge issue * Add necessary fixed-hash features * Fix node-primitives compile * Reexport impl_serde::serialize as bytes to avoid path changes
-
Luke Schoen authored
* fix: Add assertions to prevent excess votes and computation, and to end council seat election when no empty seats * Add assertion to prevent a vote from voters that provide a list of votes that exceeds the desired seats length, since otherise an attacker may be able to submit a very long list of `votes` that far exceeds the amount of candidates and waste more computation than a reasonable voting bond would cover. Added additional associated test that may be run with `cargo test -p srml-council` * Add assertion so expired council seats are not up for election when desired seat count changes during the voting period such that there are no longer any empty seats * Update comment to refer to `reporter` instead of `who` (target of inactivity), since the origin is the `reporter` * Update commment to refer more specifically to how many vote indexes, since `InactiveGracePeriod` is measured in vote indexes * Update comment for `ApprovalsOf` since previously the comment was a duplicate of the comment for `LastActiveOf`'s * Create variable to refer to `retaining_seats` to improve readability * Reference Notes: https://hackmd.io/nr6kPD2sR4urmljtvHs0CQ * WIP - length votes should be less than length candidates. pushing changes for reference so can fix * fix: Amount of candidate approval votes cannot exceed candidates amount. Candidates amount must be over zero. * Fix so that amount of candidate approval votes cannot exceed amount of candidates (instead of desired seats) * Add assertion to `set_approvals` such that amount of candidates to receive approval votes must be greater than zero. Add associated test * fix: Remove assertion preventing votes when empty seats is 0 * review-fix: Replace with is_zero and add corresponding test * Update seats.rs * Update seats.rs
-
asynchronous rob authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-