1. Feb 15, 2019
    • gabriel klawitter's avatar
      gitlab-ci: merge-test stage (#1752) · 082ab84f
      gabriel klawitter authored
      082ab84f
    • Xiliang Chen's avatar
      Transaction Fee Module (#1648) · 14ee64c3
      Xiliang Chen authored
      * wip
      
      * Split bytes fee charging and charging by amount into different traits.
      
      * Move to edition 2018.
      
      * Implemented charge fee traits for fees module.
      
      * Implemented 'on_finalise' for fee module.
      
      * Updated fees finalize impl.
      
      * Renaming and documentation update.
      
      * Added overflow & underflow check for fee calculation.
      
      * Added mock and unit tests for fee module.
      
      * More unit tests for fees module.
      
      * Fixed srml-executive unit tests.
      
      * Remove transaction base/bytes fee from balances module, fix unit tests.
      
      * fix compile error
      
      * Fixed unit test.
      
      * Minor fixes.
      
      * Bump spec version.
      
      * Bump spec version.
      
      * Updated fees module and runtime wasm.
      
      * Fees module code style improvement; updated runtime wasm.
      
      * Bump spec and impl version.
      14ee64c3
    • Svyatoslav Nikolsky's avatar
      Use DB backend in test client (#1779) · 3a9b1e47
      Svyatoslav Nikolsky authored
      
      
      * use DB backend in test client
      
      * Update core/client/db/src/lib.rs
      
      Co-Authored-By: default avatarsvyatonik <[email protected]>
      3a9b1e47
    • Roman Borschel's avatar
      Ensure config directory exists. (#1802) · 5582eb4f
      Roman Borschel authored
      Ensure the config directory exists before trying to write the public key file.
      It is the responsibility of obtain_private_key to do so, as per the purpose
      of this function.
      5582eb4f
  2. Feb 13, 2019
    • Shawn Tabrizi's avatar
      Adding vesting tests to Balances module (#1786) · 6a4b5806
      Shawn Tabrizi authored
      * Adding vesting tests to Balances module
      
      * Fix gitlab message, bump impl
      6a4b5806
    • Gautam Dhameja's avatar
      Added demo module to show explicit imports of macros (#1770) · 2d77ae07
      Gautam Dhameja authored
      * added demo module to node template
      
      * updated comments
      
      * replaced demo with updated template module
      
      * Personal preferences here
      
      * fixed comment inside macro
      2d77ae07
    • André Silva's avatar
    • André Silva's avatar
      core: grandpa: collect garbage for topic (#1780) · 0355a1c1
      André Silva authored
      * core: grandpa: collect garbage for topic
      
      * core: grandpa: use collect_garbage_for_topic in tests
      0355a1c1
    • Gav Wood's avatar
      Add more naunce to the runtime CI agent (#1764) · 010764d3
      Gav Wood authored
      * Add more naunce to the runtime CI agent
      
      - If there are no changes to runtime code, exit ok; otherwise:
      - If spec_version has changed, then:
        - Exit ok if the runtime is rebuilt, fail otherwise.
      - If impl_version has changed, then exit ok.
      - If neither version has changed, fail.
      
      * Update check_runtime.sh
      010764d3
    • 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
    • Tomasz Drwięga's avatar
      EnumerableStorageMap (#1763) · 21f58001
      Tomasz Drwięga authored
      * Refactor decl_storage a bit to allow easier impl of linked map.
      
      * A bunch of refactorings for storage generation.
      
      - Rename StorageMap and ChildrenStorageMap to avoid confusion with generator::StorageMap.
      - Separate implementation from the procedural macro code to clean it up.
      - Make sure that genesis is initialised using the `StorageValue/StorageMap`
        generated implementations instead of going RAW.
      
      * WiP: Writing test.
      
      * Basic implementation.
      
      * Implement enumeration.
      
      * Fix non-std issues.
      
      * fix warning
      
      * Fix test-client.
      
      * Address review grumbles - part 1
      
      * Avoid cloning the key, relax Storage requirements.
      
      * Rebuild runtime.
      
      * Remove dangling todo.
      21f58001
  3. Feb 12, 2019
  4. Feb 11, 2019
    • Gav Wood's avatar
      Add Proposed event (#1761) · 6288a477
      Gav Wood authored
      * Add Proposed event.
      
      * Bump and rebuild
      6288a477
    • Pierre Krieger's avatar
      1884630d
    • 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
    • Pierre Krieger's avatar
      cf6bd262
    • Stanislav Tkach's avatar
      c188a3dc
    • André Silva's avatar
      grandpa: fix reimport of change blocks (#1754) · f105ac99
      André Silva authored
      * core: grandpa: handle re-import of change blocks
      
      * core: grandpa: add test for change block reimport
      f105ac99
    • Pierre Krieger's avatar
      Reduce the spam from network misbehaviours (#1750) · 5390e516
      Pierre Krieger authored
      * Reduce the spam from network misbehaviours
      
      * Add protocol id to misbehaviour
      5390e516
  5. Feb 10, 2019
    • Michael Müller's avatar
      Replace unwrap with expect (#1684) · e8b558c0
      Michael Müller authored
      * Replace unwrap with expect
      
      * Move expect to call sites
      
      * Bubble errors up and trap
      
      * Update wasm
      
      * Update invalid pointer
      
      * Remove test which makes problems in CI
      
      * Check for underflow
      e8b558c0
    • 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