Skip to content
  1. Feb 15, 2019
  2. Feb 13, 2019
    • Stanislav Tkach's avatar
      ac9d30a8
    • Gav Wood's avatar
      Introduce Ristretto signing (#1730) · 71fb4448
      Gav Wood authored
      
      
      * first draft of ristretto crypto module #1685
      
      * adds better comments and code-style
      
      * remove the last evil unwrap
      
      * remove a mistakenly committed lockfile
      
      * add a fresh new lockfile --will probably need a manual merge later
      
      * fix an invalid old test vector
      
      * Wire in ristretto
      
      * Update comment
      
      * Fix use.
      
      * new Signature type api alias to be compatible with substrate
      
      * Add new keyring, fix node executor tests
      
      * Bump version.
      
      * Remove all hashes.
      
      * Update core/primitives/src/sr25519.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      
      * Revert back to Ed25519 (until JS UI is ready)
      
      * Fix test
      71fb4448
  3. Feb 12, 2019
  4. Feb 11, 2019
    • Marcio Diaz's avatar
      Adds new execution strategy nativeElseWasm (#1546) · 5f4ebb47
      Marcio Diaz authored
      * fix: adds new execution strategy nativeElseWasm and replace nativeWhenPossible with it
      
      * feat: adds cmd line params for execution strategies
      
      * fix: uses of cmd line execution strategies
      
      * chore: remove white spaces
      
      * chore: remove println
      
      * chore: remove whitespace
      
      * fix: generating functions with context
      
      * feat: add function to generate with_context declarations
      
      * fix: add implementation for with_context function calls
      
      * fix: add execution context to call_api_at function
      
      * fix: making use of context to select strategy for block_builder
      
      * chore: cleaning up
      
      * fix: merging issues
      
      * fix tests
      
      * add wasm files
      
      * chore: small doc for context fields
      
      * chore: delete redundant docs
      
      * fix: use full path for ExecutionContext
      
      * fix: add context functions from inside fold_item_impl
      
      * chore: remove clone
      
      * fix: moving generative function to utils, remove unused imports
      
      * fix: add missing full path for ExecutionContext
      
      * fix: merge issues
      
      * update wasm files
      
      * fix: update to keep up with changes in master
      
      * chore: remove unused functions, clean up
      
      * fix test
      
      * fix grumbles
      
      * fix: add more tests
      
      * fix: some refactorings
      
      * feat: add execution strategy to call
      
      * chore: small improvements
      
      * fix: add message to panic
      
      * fix tests
      5f4ebb47
    • Bastian Köcher's avatar
      Make `sr-api-macros` and `srml-support` renaming of crates (#1757) · 9bb2125e
      Bastian Köcher authored
      Procedural do not support `$crate` to get access to the crate where the
      macro is defined. We use a hack to re-export the crate under a known
      name. With rust edition 2018, people started to rename their crates in
      `Cargo.toml`, but that breaks the re-export. This commit introduces
      `proc-maco-crate` that supports finding the requested crate name, even
      if it was renamed.
      9bb2125e
    • Stanislav Tkach's avatar
      c188a3dc
  5. Feb 10, 2019
    • Gav Wood's avatar
      Vesting schedules. (#1726) · f58a6f72
      Gav Wood authored
      * Vesting.
      
      * Vesting stuff.
      
      * Add new wasm blobs
      
      * Bump runtime version
      
      * Update lock
      
      * Fix tests
      
      * Bump version
      f58a6f72
  6. Feb 09, 2019
  7. Feb 08, 2019
  8. Feb 07, 2019
  9. Feb 06, 2019
    • Tomasz Drwięga's avatar
      Limit transaction pool size (#1676) · 57a2d819
      Tomasz Drwięga authored
      * Avoid excessive hashing. Store extrinsic len.
      
      * Implement pool limits.
      
      * Fix issues.
      
      * Make sure we return error in case it doesn't make into the pool.
      
      * Pass parameters from CLI.
      
      * Remove redundant todo.
      
      * Fix tests.
      57a2d819
    • Bastian Köcher's avatar
      Moves `node-template` into substrate repo (#1637) · e4c8d74c
      Bastian Köcher authored
      * Make runtime macros work without required `macro_use`
      
      * Adds node-template
      
      * Adds node-template-release tool
      
      * Fixes building `node-template` and improve the release
      
      * Add `profile.release` by release script to remove warning
      
      * Adds script for releasing the node template
      
      * Fixes compilation after master merge
      
      * Port node-template to edition 2018
      
      * Remove license
      
      * Fixes compilation after master merge
      
      * Add `node-template-release.sh` into the CI
      
      * WIP Ci integrate node template (#1701)
      
      * copy artifacts to s3 bucket latest path
      
      * typo
      
      * bucket name
      
      * Update wasm files
      e4c8d74c
    • Pierre Krieger's avatar
      Update libp2p to v0.3 (#1634) · 86f26a7f
      Pierre Krieger authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Update libp2p
      
      * Some more diagnostics
      
      * 30 seconds back to 5 seconds
      
      * Bump libp2p-core and improve test
      
      * Fix runtime Cargo.lock
      
      * More work
      
      * Finish upgrade to libp2p 0.3
      
      * Add a maximum of 60 seconds for the rounds
      
      * Remove env_logger
      
      * Update Cargo.lock
      
      * Update Cargo.lock in test-runtime
      
      * Fix test compilation
      
      * Make the test pass
      
      * Add identify addresses to Kademlia
      
      * Don't connect to nodes we're already connected to
      
      * Add warning for non-Substrate nodes
      
      * Fix external address not added
      
      * Start in Enabled mode
      86f26a7f
    • Wei Tang's avatar
      Update trie to v0.11 (#1704) · 2056e4cd
      Wei Tang authored
      * Update trie to v0.11
      
      * Update wasm runtimes
      2056e4cd
    • Gregory Terzian's avatar
      Rewrite network protocol/service to use channels (#1340) · 64cde6f9
      Gregory Terzian authored
      * rewrite network protocol/service to use channels
      
      * remove use of unwrap
      
      * re-introduce with_spec
      
      * remove unnecessary mut
      
      * remove unused param
      
      * improve with_spec, add with_gossip
      
      * rename job to task
      
      * style: re-add comma
      
      * remove extra string allocs
      
      * rename use of channel
      
      * turn TODO into FIXME
      
      * remove mut in match
      
      * remove Self in new
      
      * pass headers by value to network service
      
      * remove network sender from service
      
      * remove TODO
      
      * better expect
      
      * rationalize use of network sender in ondemand
      64cde6f9
    • Bastian Köcher's avatar
      Make API backwards compatible with CC (#1697) · 95e9be2c
      Bastian Köcher authored
      * Rework how a runtime api calls into the runtime
      
      Now we generate a default implementation for each api call that calls
      a generated method `method_runtime_api_impl`. This newly generated
      method is the one that will be implemented by the `impl_runtime_apis`
      macro in the runtime for the client side.
      
      * Support `changed_in` to change runtime api function signatures
      
      * Update documentation
      
      * Fixes tests
      
      * Implement checking the api version with a predicate
      
      * Make the implementation backwards compatible with CC
      
      * Update wasm files after merge
      
      * Check for wasm runtime differences by building master and current branch
      
      * Update spec_version and wasm files
      
      * Fixes
      
      * Revert my changes
      
      * Remove `patch.crates-io` from test-runtime
      v0.10
      95e9be2c
    • Wei Tang's avatar
      Support multi-hash in multi-trie via PlainDB (#1106) · dd3fdeed
      Wei Tang authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Temporarily pin trie to #2
      
      * Use generic and delay trait object casting
      
      Rust does not support super-trait upcasting
      
      * Add PlainDB impl for Ephemeral
      
      * Add PlainDB trait alias for completeness
      
      * Use PlainDB for test TrieBackendStorage fetch
      
      We always check overlay first for a storage fetch, which already checked null data. Using PlainDB here makes it work
      nicer with other PlainDB overlays.
      
      * Update trie reference
      
      * Use HashDBRef in places when approriate
      
      * Use PlainDBRef in places when approriate
      
      * Update trie crate reference
      
      * Remove unused HashDB::keys
      
      * Patch dependencies
      
      * Fix cargolock
      
      * Update cargo lock again
      dd3fdeed
  10. Feb 05, 2019
  11. Feb 04, 2019
    • Andrew Jones's avatar
      Convert to jsonrpc-derive, use jsonrpc-* from crates.io (#1679) · b5587b37
      Andrew Jones authored
      * use local version of jsonrpc to test
      
      * Convert rpcs to test out in progress jsonrpc-derive api
      
      * Revert "Convert rpcs to test out in progress jsonrpc-derive api"
      
      This reverts commit 69231784.
      
      * Convert to new jsonrpc-derive macro
      
      * Add RPC trait Metadata comment
      
      * Break up long pubsub attr lines
      
      * Update to 10.0.1 jsonrpc-* from crates.io
      
      * Remove typed::Subscriber prefixes
      
      * Remove empty comment
      b5587b37
    • Michael Müller's avatar
      Replace allocator with freeing-bump allocator (#1656) · 217f2191
      Michael Müller authored
      * Link substrate issue tracker in panic
      
      * Replace allocator with freeing-bump allocator
      
      * Revert me: Panic on double allocate/free
      
      * Revert me: Add shallow benchmark for a first impression
      
      * Revert "Revert me: Add shallow benchmark for a first impression"
      
      This reverts commit 5f0d4df3.
      
      * Revert "Revert me: Panic on double allocate/free"
      
      This reverts commit a114df7d.
      
      * Rename heap to FreeingBumpHeapAllocator
      
      * Rename heap.rs to allocator.rs
      
      * Use sandbox heap
      
      * Move functions
      
      * Move variables into constructor
      
      * Revert "Move variables into constructor"
      
      This reverts commit f46fa0d0.
      
      * Remove unnecessary casts
      
      * Add comment for new parameter
      
      * Improve typing
      
      * Move variables into constructor
      
      * Avoid dynamic allocation
      
      * Remove unused variables
      
      * Revert "Link substrate issue tracker in panic"
      
      This reverts commit 32dfa1d0.
      
      In the meantime this was fixed in https://github.com/paritytech/substrate/pull/1667.
      
      * Improve naming
      
      * Only assert in debug mode
      
      * Remove dynamic allocation
      217f2191
    • Wei Tang's avatar
      Refactor aura and generalize slot worker (#1632) · 0b655477
      Wei Tang authored
      * Refactor aura and generalize slot worker
      
      * Fix bound issues
      
      * Change copyright to 2019
      
      * Write deps minor version
      
      * Don't pass inherent_data_providers
      
      * Revert "Write deps minor version"
      
      This reverts commit 6d886702.
      
      * Fix merge issues
      0b655477
    • Arkadiy Paronyan's avatar
      Fixed panic handling (#1667) · 6741381c
      Arkadiy Paronyan authored
      6741381c
  12. Feb 02, 2019
  13. Feb 01, 2019
    • André Silva's avatar
      Reduce consensus spam (#1658) · bd85e080
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: fix predicate for dropping grandpa round messages
      
      * core: grandpa: drop commits topic on authority set change
      
      * core: gossip: only drop known messages based on expiration time
      
      * core: grandpa: don't broadcast commit messages
      
      * core: gossip: don't assume topics are header hashes
      
      * core: gossip: expire messages more agressively
      
      * core: grandpa: fix test environment
      
      * core: gossip: fix tests
      
      * core: gossip: track dead topics (and ignore messages)
      
      * core: gossip: test dead topic pruning
      bd85e080
    • Tomasz Drwięga's avatar
      Allow both consensus and runtime to limit block building (#1581) · 6cf70c49
      Tomasz Drwięga authored
      * Limit block size in runtime,
      
      * Add test for basic authorship.
      
      * Store length of extrinsics instead of computing it.
      
      * Don't rely on note_extrinsic
      
      * Use hashed version of storage and write test.
      
      * Recompile runtime.
      6cf70c49
  14. Jan 31, 2019
  15. Jan 30, 2019
    • cheme's avatar
      Merge metadata by module (#1428) · 6f3b43ee
      cheme authored
      Clean up metadata format. Merge events metadata into runtime metadata. Remove low value info (internal macro identifier and counters).
      6f3b43ee
  16. Jan 28, 2019
  17. Jan 25, 2019
    • Gav Wood's avatar
      Additional externs for ecdsa recovery and keccak (#1583) · 2929ba2c
      Gav Wood authored
      
      
      * Additional externs for ecdsa recovery and keccak
      
      * Update core/executor/src/wasm_executor.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      
      * Update core/executor/src/wasm_executor.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      
      * Fix grumble
      
      * Grumble.
      2929ba2c
    • Benjamin Kampmann's avatar
      Update dependencies (#1527) · f17d79fb
      Benjamin Kampmann authored
      * update to latest env_logger
      
      * roundabout dependency update
      
      * Update to latest vengen
      
      * Update rand to 0.6
      
      * Update to latest rng shuffle API
      
      * Roundabout update of dependencies
      
      * Update rustc_hex
      
      * Update wasm
      
      * Fix logging setup in tests
      
      * revert to fix test
      f17d79fb
    • Bastian Köcher's avatar
      Refactor CLI handling (#1368) · 77f5cb7c
      Bastian Köcher authored
      * Rework cli handling
      
      * Update readme
      
      * Adds support for custom subcommands and extra run parameters
      
      * Update readme
      
      * Fixes compilation after master merge
      
      * Make "Run" the default subcommand
      
      Actually its hidden to the outside that is an subcommand.
      
      * Rewrite CLI to work without breaking old CLI behavior
      
      * Some cleanup
      
      * Fix incorrect config setup
      
      * Update README
      
      * Fixes after merge
      
      * Fixes incorrect README
      77f5cb7c
    • Pierre Krieger's avatar
      Report the average network bandwidth (#1551) · 4c8c836b
      Pierre Krieger authored
      * Report the average network bandwidth
      
      * Fix concerns
      4c8c836b
  18. Jan 23, 2019
  19. Jan 22, 2019
    • Bastian Köcher's avatar
      Rewrite Inherent data (#1488) · 53bf81e5
      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: default avatarbkchr <[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
      53bf81e5