- Jan 24, 2019
-
-
Sergei Pepyakin authored
* Fix imports. * Remove redundant binding * Clean extern crates. * Add comment * Re-export macros from prelude * Build fixes * Update core/sr-std/src/lib.rs Co-Authored-By: pepyakin <[email protected]>
-
Bastian Köcher authored
* Fix warnings in substrate * More warnings removed and wasm updated * Fixes error on stable and grumbles * Update wasm files * Add links to the github issue for replacing `error-chain`
-
Bastian Köcher authored
* Adds some derives for the inherent data stuff This makes working with them easier. * More defaults!
-
Tomasz Drwięga authored
-
- Jan 23, 2019
-
-
André Silva authored
* core: keep known gossip messages for twice their expiration * core: test expiration of known gossip messages * core: only broadcast grandpa votes if authority in current set * core: only broadcast grandpa commits if authority in current set
-
thiolliere authored
-
asynchronous rob authored
-
* Split BlockImport and JustificationImport * Remove unused trait impl * Fix compile * Fix grandpa tests * Fix network tests
-
-
joe petrowski authored
* type error * borrow problem * compiles but run error * tests pass ready for review * tests pass ready for review * fix comments by rob * removed clone * style fix * updating * resolved conflicts * fixed comments
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Stanislav Tkach authored
-
Bastian Köcher authored
-
- 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
-
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
-
Benjamin Kampmann authored
-
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.
-
kyegupov authored
-
Michael Müller authored
-
- Jan 21, 2019
-
-
asynchronous rob authored
-
Pierre Krieger authored
-
Tomasz Drwięga authored
-
cheme authored
* Generate serde bound instead of relying on serde_derive. * remove comment
-
* core: revert grandpa authorities unless imported blocked is queued * core: fix deadlock in `GrandpaBlockImport`
-
Sergei Pepyakin authored
* Disallow importing `gas` function * Update srml/contract/src/wasm/prepare.rs Co-Authored-By: pepyakin <[email protected]>
-
Michael Müller authored
* Better allocator for wasm (#1460) * Add Arch Linux installation instructions * Enable tracing heap size * Extract heap * Replace linear allocator with buddy allocator * Fix test The purose of this big block is for the tests to test a failure when the block is too big though. The improved buddy allocation strategy results in this block fitting on the heap now. Hence the increase. * Get rid of memcpy in to_vec() * fixup: Style and comments * fixup: Split Linux instructions by distribution To prevent misunderstandings of people executing both. * fixup: Remove unnecessary types and code * fixup: Make Pointers start from 1, remove some panics, code improvements * fixup: Return 0 on errors * fixup: Move loop to separate function * fixup: Use FnvHashMap instead of HashMap * fixup: Fix error handling * fixup: Use current_size() instead of used_size() * fixup: Fix and document allocation offset * fixup: Remove unnecessary multiplication * fixup: Fix comments * fixup: Remove Arch installation instructions * Revert "Fix test" This reverts commit 292c177df8efaa4658293748a13b1ab1c0b76ea8. * fixup: Remove unused code, improve import * fixup: Proper alignment * fixup: Do not use internal constant in public description * fixup: Add comment regarding invariants * fixup: Move assertion to compile-time check * Fix bug in necessary tree level calculation The tree levels necessary to house a number of nodes was calculated incorrectly. * Improve naming
-
Pierre Krieger authored
* Store identification info about the remote * Add node name on the wire * Fix tests
-
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
-
Sergei Pepyakin authored
-
Marcio Diaz authored
* fix: temporal modification to make revert works for non finalized blocks * fix: print info when the number of blocks asked to revert is higher than the number of reversible blocks * fix: remove function get_db_path_for_subcommand and remove it from all subcommands * fix: revert only non finalized blocks * fix: improve printed information for revert command * fix: new wasm file * chore: remove unused parameter * fix: revert log logic * fix: subcommands should take sub_matches instead of matches * fix: removing confusing message
-
Bastian Köcher authored
* Revert "Better allocator for wasm (#1460)" This reverts commit 1ccb590d. * Update wasm files
-
kyegupov authored
-
André Silva authored
* core: sync protocol for justifications * core: basic test for justification sync * core: pass block number with justification * grandpa: request justifications when importing change blocks * core: pass finality notifications to chain sync * core: require justifications for pending change blocks on start * core: avoid requesting justifications from previous failed peers * core: timeout block justification requests * core: add some docs * core: fix unused variables warning * core: tick pending justifications fetch periodically * grandpa: add test for syncing justifications * core: early exit dispatch of pending justifications * core: style fix * core: grandpa: change logging level * core: sync: add missing docs * core: network: report peer on bad justification * core: replace mem::replace with Option::take * core: revert authority set changes on failed block finalization * core: grandpa: add docs to import_justification * core: warn on re-finalization of last finalized block * core: only notify sync with last finality notification * core: style fix * core: add docs for PendingJustifications * core: network: use BlockRequest messages for justification requests * core: reference issues in todo comments * core: grandpa: revert authority set changes on db * core: grandpa: remove inconsistent state warning
-
- Jan 20, 2019
-
-
asynchronous rob authored
-
- Jan 19, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Tomasz Drwięga authored
-