- Nov 28, 2018
-
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
tests: Update SRML Democracy: only start referendum when proposal exists, emit `Tabled` event, voter must have balance * Run tests with `cargo test -p srml-democrac` * Rename `value` to `deposit` * Rename `proposal` to `index` (i.e. proposal index) * Add TODO that we should we only allow voting after we also check that the data mapped to the ref_index in `ReferendumInfoOf` is valid, not just when `ReferendumInfoOf` contains the referendum index as a key * Only allow starting a referendum for a given proposal if the proposal exists when starting a referendum by calling `start_referendum`. The council may start a referendum directly by calling `internal_start_referendum` even if the proposal does not exist in `PublicProps`. Added test for each case. * Emit event `Tabled` in both the `start_referendum` and `internal_start_referendum` functions to indicate that the proposal has been elevated to the Table of Referenda * Add test to show that a voter trying to call `vote` to signal approval when they no longer have any balance will not work * Add test for edge case when voter trying to call `vote` with the smallest balance allowable to vote of 1 unit will work
-
- Nov 21, 2018
-
-
Gav Wood authored
* Remove unneeded bounds. * Other wasm.
-
- Nov 20, 2018
-
-
Luke Schoen authored
-
- Nov 19, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
Wei Tang authored
-
Svyatoslav Nikolsky authored
* fix light client startup * fix grumbles
-
- Nov 18, 2018
-
-
Bastian Köcher authored
* Revert "Pruning changes trie without digests (#952)" This reverts commit 468d4698. * 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
-
-
Sergey Pepyakin authored
* Update wasmi to 0.4.2 * Add simple benchmarks.
-
Bastian Köcher authored
This makes it possible to support `GenesisConfig`s that to do not use generic parameter.
-
Bastian Köcher authored
* Make sure to call the runtime trait functions The runtime trait functions export their functions as extern c functions. These functions itself call the trait functions. This commit makes sure that the trait functions are called and not functions with the same name that are implemented for the runtime. * Update the wasm files
-
asynchronous rob authored
* add extra verification for aura * fix tests * adjust documentation wording
-
asynchronous rob authored
-
Bastian Köcher authored
* Revert "start to refactor block import wrapper a bit" This reverts commit b919de49. * Refactor grandpa stuff to get tests almost compiling * Fixes after rebase * Fixes merge compile errors
-
- Nov 15, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
-
Bastian Köcher authored
-
asynchronous rob authored
-
asynchronous rob authored
-
azban authored
-
Shawn Tabrizi authored
-
- Nov 14, 2018
-
-
Sergey Pepyakin authored
-
Svyatoslav Nikolsky authored
* build CHT for changes tries roots * collect chnages tries roots proof in key_changes_proof * flush check_changes_proof * fixed compilation * LightDataChecker now has a ref to the blockchain * continue passing proofs * new light db tests * more CHT tests * more tests for key changes proof when headers are missing * lost files
-
asynchronous rob authored
-
asynchronous rob authored
-
* adding mac libraries and how to start testnet * Clean up Justification struct, Issue #1033 * adding mac libraries and how to start testnet
-
Pierre Krieger authored
* Move Roles to network::config * Make network::config public * Move NetworkConfig and NonReservedMode to config * Move Params to config * Move node_id() to NetworkManager and fix tests * Rename Specialization to NetworkSpecialization
-
Gav Wood authored
-
- Nov 13, 2018
-
-
Pierre Krieger authored
-
Bastian Köcher authored
* Move `initialise_block` into `Core` trait as it is crucial calling the API functions * Switch to first version of new runtime API implementation * Fixes bug in tests * Reenable asserts * Directly use the `TestAPI` in the tests * Start improving the api traits :100644 100644 898aadc7 49217199 M Cargo.lock :100644 100644 61570436 465ed664 M core/client/src/backend.rs :100644 100644 5d0c886b 64d710fd M core/client/src/block_builder.rs :100644 100644 c447855e 5ecbe474 M core/client/src/client.rs :100644 100644 139cef13 f90dbf3d M core/client/src/error.rs :100644 100644 2800c503 3298e66a M core/client/src/runtime_api.rs :100644 100644 affa1c5c 809b08bc M core/primitives/src/lib.rs :100644 100644 2877dfa9 d5547413 M core/sr-api/Cargo.toml :100644 100644 9a49784d 6a625a03 M core/sr-api/src/lib.rs :100644 100644 7c28e1c7 a1a444a9 M core/sr-primitives/src/traits.rs :100644 100644 2e113ab6 dcc01a6d M srml/metadata/Cargo.toml :100644 100644 ea722a70 0809531a M srml/metadata/src/lib.rs * Refactoring * Move `sr-api` into client and more refactoring * Fixes tests * Some documentation and cleanup * Fixes compilation after rebase * More refactoring and more documentation * Makes `substrate-client` compilable on `wasm` On `wasm` it basically just exports the runtime api stuff. * Fixes grumbles * Updates wasm files after rebasing the master * Remove TODO comment * Remove whitespaces * Fixes after rebasing master * Another rebase, another fix commit
-
Svyatoslav Nikolsky authored
* forks support in changes trie storage * moved convert_hash to primitives * optimize ChangesTrieRootsStorage::root when anchor is canonicalized
-