1. Dec 23, 2019
  2. Dec 20, 2019
  3. Dec 12, 2019
  4. Dec 11, 2019
    • Benjamin Kampmann's avatar
      Clean up crate names and locations (#4361) · 9ce7e1f7
      Benjamin Kampmann authored
      * rename crate: sp-transaction-pool-api -> sp-transaction-pool
      
      * move primitives/core/derive-debug -> primitives/derive-debug; primitives/core/storage -> primitives/storage
      
      * rename crate sp-core-storage -> sp-storage
      
      * rename and move: test/utils/transaction-factory -> client/transaction-factory
      
      * move transaction-factory -> node/transaction-factory
      
      * fix missing rename
      
      * Move chain-spec-builder into bin/utils
      
      * move subkey into bin/utils
      
      * Update new subkey location
      
      * Update docs to reflect new location for utils
      
      * fixing import name
      9ce7e1f7
  5. Dec 10, 2019
  6. Dec 07, 2019
  7. Dec 02, 2019
  8. Nov 26, 2019
    • Benjamin Kampmann's avatar
      Remove all (non-dev) `client` references from `frame`, activate dependency enforcer (#4184) · b3a7c8e4
      Benjamin Kampmann authored
      * Move transaction pool to primitives
      
      * move backend, errors into primitives
      
      * remove unused client depencies
      
      * Move rpc-api into primitives
      
      * Move peerset back to client
      
      * Move rpc/api back to client, move palette/support/rpc into utils
      
      * move support-rpc into subfolder
      
      * move system-rpc into utils
      
      * move transaction-pool  and -graph back into client
      
      * fix broken imports
      
      * Clean up test primitives
      
      * Make support test utils independent of frame
      
      * remove unnecessary node dependencies from service
      
      * Reactivate dependency script:
       - only enforce the now achieved status quo will remain
       - allow for primitives to depend on /client for now without failing
       - more discriptive error message so people understand, what it wants
       - minor fix to differentiative between ../client and /client (which may be a subfolder)
       - don't allow this to fail anylonger.
      
      * fix doc comment
      
      * 'Should not' rather than 'must not'.
      
      * Revert unwanted dependency changes
      
      * fix faulty import
      
      * fixup derive_more version
      
      * fix wrong import path
      b3a7c8e4
  9. Nov 22, 2019
  10. Nov 21, 2019
  11. Nov 14, 2019
    • Benjamin Kampmann's avatar
      Reorganising the repository - external renames and moves (#4074) · f44873dc
      Benjamin Kampmann authored
      * Adding first rough ouline of the repository structure
      
      * Remove old CI stuff
      
      * add title
      
      * formatting fixes
      
      * move node-exits job's script to scripts dir
      
      * Move docs into subdir
      
      * move to bin
      
      * move maintainence scripts, configs and helpers into its own dir
      
      * add .local to ignore
      
      * move core->client
      
      * start up 'test' area
      
      * move test client
      
      * move test runtime
      
      * make test move compile
      
      * Add dependencies rule enforcement.
      
      * Fix indexing.
      
      * Update docs to reflect latest changes
      
      * Moving /srml->/paint
      
      * update docs
      
      * move client/sr-* -> primitives/
      
      * clean old readme
      
      * remove old broken code in rhd
      
      * update lock
      
      * Step 1.
      
      * starting to untangle client
      
      * Fix after merge.
      
      * start splitting out client interfaces
      
      * move children and blockchain interfaces
      
      * Move trie and state-machine to primitives.
      
      * Fix WASM builds.
      
      * fixing broken imports
      
      * more interface moves
      
      * move backend and light to interfaces
      
      * move CallExecutor
      
      * move cli off client
      
      * moving around more interfaces
      
      * re-add consensus crates into the mix
      
      * fix subkey path
      
      * relieve client from executor
      
      * starting to pull out client from grandpa
      
      * move is_decendent_of out of client
      
      * grandpa still depends on client directly
      
      * lemme tests pass
      
      * rename srml->paint
      
      * Make it compile.
      
      * rename interfaces->client-api
      
      * Move keyring to primitives.
      
      * fixup libp2p dep
      
      * fix broken use
      
      * allow dependency enforcement to fail
      
      * move fork-tree
      
      * Moving wasm-builder
      
      * make env
      
      * move build-script-utils
      
      * fixup broken crate depdencies and names
      
      * fix imports for authority discovery
      
      * fix typo
      
      * update cargo.lock
      
      * fixing imports
      
      * Fix paths and add missing crates
      
      * re-add missing crates
      f44873dc
  12. Nov 11, 2019
    • Max Inden's avatar
      [WIP] .gitlab-ci.yml: Fix a check for polkadot to work on forked repos v2 (#4078) · a3c5b77c
      Max Inden authored
      * Fix a check for polkadot to work on forked repos.
      
      * .gitlab-ci.yml: Add `git diff` for CI debugging
      
      * More future proof and less redundant.
      
      * .gitlab-ci.yml: Improve comments and refactor sed command
      
      * .gitlab-ci.yml: Remove two commas in a row
      
      * .gitlab-ci.yml: Ensure to match branch statements at the end
      
      * .gitlab-ci.yml: Reference concrete commit
      
      When one does not specify the concrete commit, cargo-update tries to
      checkout 'master' in the Substrate repository.
      
      * .gitlab-ci.yml: Remove 'git diff' debug line
      a3c5b77c
  13. Nov 07, 2019
  14. Nov 04, 2019
    • brenzi's avatar
      support crypto primitives for no_std introducing `full_crypto` feature (#3778) · cefe4dc2
      brenzi authored
      * introduced "with_crypto" feature and applied switches like in substrate-api-client fork
      
      * introduced "with_crypto" feature and applied switches like in substraTEE-worker fork
      
      * distinguishing core::hash vs std::hash
      
      * @bkchr's review requests fulfilled
      
      * fixes
      
      * revert dependency upgrade ed25519-dalek
      
      * added full_crypto features to all crates using app_crypto! macro
      
      * fixing CI complaints.
      
      * fix again
      
      * adding CI test for with_crypto feature
      
      * added full_crypto for ecdsa. now builds wit h--no-deafault-features --features with_crypto
      
      * remove --release from CI test
      
      * @bkchr
      
       requested changes. moved full_crypto CI test to build stage
      
      * fixing no_std issue
      
      * CI fresh copy from srml-staking
      
      * gitlab CI with +nightly
      
      * solved no-feature-in-macro dilemma
      
      * cosmetics
      
      * Update core/application-crypto/src/sr25519.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update core/application-crypto/src/ed25519.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * even more simple
      
      * undo line delete
      
      * refactoring app_crypto macro. splitting functionalities based on full_crypto feature
      
      * whitespace cosmetics
      cefe4dc2
  15. Nov 03, 2019
  16. Nov 02, 2019
  17. Oct 31, 2019
    • Pierre Krieger's avatar
      Add the code for compiling node-cli for WASM-browser (#3974) · afc63040
      Pierre Krieger authored
      
      
      * Extract CLI to separate module in node/cli
      
      * Make node/cli compile for WASM
      
      * More work on node/cli browser
      
      * More work on browser node
      
      * More work
      
      * More work
      
      * Purge a bit the CI script
      
      * More clean up
      
      * Remove substrate-finality-grandpa from the CI
      
      Its tests use tokio, which fails to compile.
      
      * Address review
      
      * Add rocksdb feature to the service
      
      * Fix substrate-service WASM CI
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Don't WASM-compile substrate-service altogether
      afc63040
  18. Oct 30, 2019
  19. Oct 04, 2019
  20. Sep 13, 2019
    • Kian Paimani's avatar
      Move phragmen benchmarks out of Staking (#3588) · f47734dc
      Kian Paimani authored
      * Move phragmen benches to.. phragmen.
      
      * Move some basic phragmen tests to.. phragmen.
      
      * Line-width
      
      * Add phragmen equ implementation as flot
      
      * Add phragmen equ implementation as flot
      
      * Add mock and test file.
      f47734dc
  21. Sep 10, 2019
  22. Aug 29, 2019
  23. Aug 24, 2019
  24. Aug 09, 2019
    • Denis_P's avatar
      Check for warnings (#2850) · bc08fe0b
      Denis_P authored
      * check for warnings
      
      * test run
      
      * prebuild wasm binaries, pre-test is not needed for now
      
      * will run everywhere but PRs
      
      * lost warnings
      
      * lost warnings
      
      * try warnings with tests
      
      * Update expected stderr in UI tests
      
      * added to RUSTFLAGS
      
      * another way of collecting warnings
      
      * bump impl_version
      
      * fix int tests parser
      
      * revert demis changes and impl version bump
      
      * no need to collect warnings in int test
      bc08fe0b
  25. Jul 26, 2019
    • Denis_P's avatar
      Fixed debug flags (#3215) · 00762503
      Denis_P authored
      * fixed debug flags
      
      * test everything works
      
      * test everything works 2
      
      * sections are rewritten
      
      * everything works
      00762503
    • Denis_P's avatar
      WIP: Subkey docker image (#3183) · 4b18dafc
      Denis_P authored
      * WIP to release subkey im docker
      
      * debug run with publishing
      
      * debug build
      
      * debug build 2
      
      * easier sync
      
      * fix the template
      
      * fix typo
      4b18dafc
  26. Jul 23, 2019
  27. Jul 16, 2019
  28. Jul 15, 2019
  29. Jul 05, 2019
    • Pierre Krieger's avatar
      Adjust the RPC service for the WASM-browser use case (#3013) · 32a599b1
      Pierre Krieger authored
      * Use SpawnTaskHandle to pass to the RPC
      
      * Create the RPC server in lib.rs
      
      * Create the RPC servers in a separate function
      
      * Keep a local version of the RPC handlers
      
      * Make rpc-servers compile for WASM
      
      * Add RpcSesssion
      
      * Clean up
      
      * Address review
      
      * Address pull request review
      32a599b1
  30. Jul 04, 2019
    • Bastian Köcher's avatar
    • Bastian Köcher's avatar
      Build WASM binaries as part of cargo build (#2868) · 108704a2
      Bastian Köcher authored
      
      
      * Introduce `wasm-builder` and `wasm-builder-runner` to retire `build.sh`
      
      Make use of `wasm-builder` in `test-runtime`.
      
      * Add build script and remove the wasm project
      
      * Port `node-runtime` to new wasm-builder
      
      * Make `substrate-executor` tests work with `wasm-builder`
      
      * Move `node-template` to `wasm-builder`
      
      * Remove `build.sh` :)
      
      * Remove the last include_bytes
      
      * Adds the missing build.rs files
      
      * Remove `build.sh` from CI
      
      * Debug CI
      
      * Make it work in CI
      
      * CI attempt 3
      
      * Make `substrate-runtime-test` compile on stable
      
      * Ahhh, some missed `include_bytes!`
      
      * AHH
      
      * Add suggestions
      
      * Improve search for `Cargo.lock` and don't panic if it is not found
      
      * Searching from manifest path was no good idea
      
      * Make the `wasm-builder` source better configurable
      
      * Expose the bloaty wasm binary as well
      
      * Make sure to rerun WASM recompilation on changes in dependencies
      
      * Introduce new `WASM_BUILD_TYPE` env and make sure to call `build.rs` on
      changes to env variables
      
      * Remove `build.sh` from READMEs
      
      * Rename the projects
      
      * Fixes CI
      
      * Update lock file
      
      * Fixes merge-conflict
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTriplEight <[email protected]>
      
      * Try to make windows happy
      
      * Replace all back slashes in paths with slashes
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Use cargo from `CARGO` env variable
      
      * Fix compilation
      
      * Use `rustup` for running the nightly build
      
      * Make individual projects skipable
      
      * Fix compilation
      
      * Fixes compilation
      
      * Build all WASM projects in one workspace
      
      * Replace more back slashes!
      
      * Remove `inlcude_bytes!`
      
      * Adds some documentation
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * More review comments
      
      * Update `Cargo.lock`
      
      * Set license
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * More review comments + adds `TRIGGER_WASM_BUILD` env
      
      * Fix doc tests
      
      * Increase version + update README
      
      * Switch crates.io version of `wasm-builder`
      
      * Update README
      
      * Switch to released version of `wasm-builder-runner`
      108704a2