- Aug 31, 2018
-
-
Guanqun Lu authored
-
Gav Wood authored
-
* Allow to build_upon skipped entries, but don't walk back * Use existing calculated version
-
- Aug 30, 2018
-
-
Gav Wood authored
* Initial commit. * Split out balances module * Minimise Balances trait requirements * Fix up balances, remove balances stuff from staking * Split off and fix up staking module * Fix executive tests * Fix up democracy module * make council work again * Remove unneeded cruft from democracy * Fix up contract module * Fix up rest of tests * Fix minor TODOs * Fix tests * Remove superfluous code * Move offline inherents to consensus module. Fixes #630 * Version needs Decode. * Move Decode back * Fix nits * Refactor to allow custom message
-
Denis S. Soldatov aka General-Beck authored
it is necessary to test. You will probably have to create a cron-job for the nightly assembly of the master branch
-
- Aug 29, 2018
-
-
ddorgan authored
image.
-
Gav Wood authored
* Remove need for ident strings for storage items * Fixes * Fix tests * Minor change to macro grammer
-
Guanqun Lu authored
-
Sergey Pepyakin authored
* Tabs instead of spaces. * Remove double spaces. * Add spaces between ID and the following { * Update to nightly 2018-08-27 * Align wat code properly
-
Guanqun Lu authored
-
Guanghua Guo authored
* Misspelled words * Update native_executor.rs
-
- Aug 28, 2018
-
-
Sergey Pepyakin authored
* Add block gas limit check * Fix formatting * Add block_gas_limit test. * Use ExtBuilder in tests * Docs and clean-up. * Correct style
-
Tomasz Drwięga authored
-
asynchronous rob authored
* more accurate consensus superseding logic * mild revision to `can_build_on` logic * fix a deadlock when spawning agreement as non-authority * dropping BFT future before poll doesn't lead to service deadlock * push cancel to BFTfuture rather than waiting for task
-
Pierre Krieger authored
-
Gav Wood authored
* Squashed commit. New slashing mechanism (#554) … * Slashing improvements - unstake when balance too low - unstake after N slashes according to val prefs - don't early-terminate session/era unless unstaked - offline grace period before punishment * Fix warning * Cleanups and ensure slash_count decays * Bump authoring version and introduce needed authoring stub * Rename * Fix offline tracker * Fix offline tracker * Renames * Add test * Tests * Tests. Remove accidental merge files. Merge remote-tracking branch 'origin/master' into gav-new-pos Version bump, fixes (#572) … * Bump version, don't propose invalid blocks * Fix build. * Fixes. * More fixes. * Fix tests. * Fix more tests * More tests fixed Fix merge Fix accidental merge bug Fixes. Staking failsafes … - Don't slash/unstake/change session when too few staking participants - Introduce set_balance PrivCall Make minimum validator count dynamic. test fixes Fix tests. Fix tests Fix tests, update readme. Merge remote-tracking branch 'origin/master' into gav-new-pos Test with release. Use safe math when dealing with total stake Fix test again. Introduce events into runtime. Fix tests Add events for account new/reap Integration-style tests for events. * Remove old code
-
Guanghua Guo authored
-
Guanqun Lu authored
-
Guanqun Lu authored
-
Guanqun Lu authored
-
- Aug 27, 2018
-
-
Gav Wood authored
* New slashing mechanism (#554) * Slashing improvements - unstake when balance too low - unstake after N slashes according to val prefs - don't early-terminate session/era unless unstaked - offline grace period before punishment * Fix warning * Cleanups and ensure slash_count decays * Bump authoring version and introduce needed authoring stub * Rename * Fix offline tracker * Fix offline tracker * Renames * Add test * Tests * Tests. * Remove accidental merge files. * Version bump, fixes (#572) * Bump version, don't propose invalid blocks * Fix build. * Fixes. * More fixes. * Fix tests. * Fix more tests * More tests fixed * Fix merge * Fix accidental merge bug * Fixes. * Staking failsafes - Don't slash/unstake/change session when too few staking participants - Introduce set_balance PrivCall * Make minimum validator count dynamic. * test fixes * Fix tests. * Fix tests * Fix tests, update readme. * Test with release. * Use safe math when dealing with total stake * Fix test again. * Fix grumbles.
-
Sergey Pepyakin authored
* Convert T in vm::Ext to a associated type * WIP * Fix BTreeMap * Extract prepare module from vm. * Move tests as well. * Fix doc comment. * macro for env defintion * Fix prepare tests. * Clean up * Renamings * Refactor scan_imports * Improve docs * Docs. * Add some tests for sandbox module * Clean up * Use Error::Instantiate instead of ::Deserialize * Add test for imports * Add wrong sig import * Clean up * Rebuild binaries. * Use "another_module" instead of obscure "vne" Since "vne" looks like an actual typo
-
Guanqun Lu authored
-
Guanqun Lu authored
git grep -l 'This file is part of Polkadot' | xargs sed -i 's/This file is part of Polkadot/This file is part of Substrate/g' git grep -l 'Polkadot is free software' | xargs sed -i 's/Polkadot is free software/Substrate is free software/g' git grep -l 'Polkadot is distributed in the hope' | xargs sed -i 's/Polkadot is distributed in the hope/Substrate is distributed in the hope/g' git grep -l 'along with Polkadot' | xargs sed -i 's/along with Polkadot/along with Substrate/g'
-
- Aug 26, 2018
-
-
Guanqun Lu authored
-
- Aug 25, 2018
-
-
Tomasz Drwięga authored
* Return hash for given block number. * Add some tests. * Fix re-import.
-
* Don't use --export-table anymore Because it was turned on by default in the recent nightlies. See https://github.com/rust-lang/rust/pull/53237 * use_extern_macros stabilization With recent nightlies rustc produces a warning ``` the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable ```
-
- Aug 24, 2018
-
-
* Allow replacing transactions. * Clear old transactions and ban them temporarily. * Move to a separate module and add some tests. * Add bound to banned transactions. * Remove unnecessary block and double PoolRotator.
-
ddorgan authored
-
- Aug 21, 2018
- Aug 20, 2018
-
-
Arkadiy Paronyan authored
-
- Aug 19, 2018
-
-
Sergey Pepyakin authored
-
- Aug 17, 2018
-
-
* keep rounds consistent when encountering bad block * fix interval logic * Fixed indentation
-
-
- Aug 16, 2018
-
-
Gav Wood authored
-
- Aug 15, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
-
* Genric over hasher * WIP start adding NodeCodec * Add codec to TrieBackend * Typechecks * Fix error type * Cleanup * Tests build (and fail) * Fix tests: don't use MemoryDB::default() * Lockfile * Address grumbles * Teach environmental! about generics * Add Finder artifacts * whitespace * Add a toy impl of Hasher and plug it in to Externalities * Use `uint` and `fixed-hash` from `parity-common` Remove unused U512 Add test to ensure H256 impls heapsizeof * lock file updates * Make hashes Encodable/Decodable * lock file updates * Impl FromIterator for TestExternalities so we can collect() and use map! * Use rustc-hex from crates Use rlp from master so dependencies do not mess up the scope * Fix tests in runtime-io * lockfile shenanigans * Add a BlakeHasher impl * Use BlakeHasher in runtime-io * lockfile updates * ws * Add a Blake2/RLP-flavoured NodeCodec * Use Blake-flavoured Hasher and NodeCodec * lockfile * Implement PartialEq and Default for TestExternalities * Add note about limitations of environmental! * Make it compile, but this is probably broken * Derive Debug so tests in executor can work * Make executor use BlakeHasher * ws * WIP make client generic * typechecks * cleanup * client tests pass * Fix client/db * cleanup * Fix network * Fix rpc * Fix service * Make TestExternalities work better au lieu d'un HashMap * Fix tests in council * Fix tests in contract * Fix tests in council * Fix democracy * Add comment about odd-looking reexports in tests * Don't need to load branch * Fix staking * Fix session * Some polkadot fixes and lockfile * Fix executive * fixup lockfile * Fix polkadot/api * Fix polkadot/service * Fix polkadot/runtime tests * Fix tests in test-runtime * Test fixes * Fix missing component in the `std` feature * Use PhantomData and Result from core * Fix paths Use core * load heapsize on wasm * implement `HeapSizeOf` for wasm * Add toy impl of `blake2_256` for no_std * lockfile * Use kvdb* from parity-common and fix errors * rebuilt lockfile * Add dummy impl of `on_advance_round` for rhododendron::Context * Fix build after merge * Add HeapSizeOf bound where needed * Sort out dependencies for no_std * Add HeapSizeOf bound where needed * use temp branch pending PR merges * Remove unneeded tests * Lock file and wasm artifacts * lockfile * Use magic commit for libp2p * Cleanup * Implement blake2_256 for no_std * Back on parity-common master * missing type params * Update Cargo.lock * whitespace * Rename concrete Rlp node codec "RlpCodec" and use everywhere Implement a Keccak-flavoured Rlp NodeCodec and use everywhere Add a KeccakHasher * Switch to use KeccakHasher * Lock file and runtimes * fixup lockfile * Fix outstanding issue using concrete types (thanks @gnunicorn) * Cleanup * More cleanup * Comment out Blake2 Hasher * implement ext_keccak256 * Address todo: FetchChecker is generic * all tests passing
-