Skip to content
  1. Dec 30, 2019
  2. Dec 29, 2019
    • Bastian Köcher's avatar
      Make wasm-builder remove invalid members (#4510) · dacb199f
      Bastian Köcher authored
      * Make wasm-builder remove invalid members
      
      Wasm-builder now removes members that point to packages that do not
      exist anymore or that were renamed. Up to now, the build would fail and
      required manual fixing.
      
      * Fixes build
      dacb199f
  3. Dec 28, 2019
    • Bastian Köcher's avatar
      Fix cli for structopt 0.3.7 and pin to that version (#4509) · 43ee8a35
      Bastian Köcher authored
      * Fix cli for structopt 0.3.7 and pin to that version
      
      This is just some hotfix to make everything compile. In the future it
      will require another pr to not depend on internals of StructOpt, but
      that will probably also require some additions to StructOpt itself. To
      not break the code again with another StructOpt, this also pins the
      StructOpt version.
      
      * Fix benches
      
      * Fix for fix
      43ee8a35
    • Denis_P's avatar
      less dupes, cleanup (#4491) · d1012cd8
      Denis_P authored
      * build node job is separated from build substrate; less dupes, cleanup
      
      * it's not effective yet to split these jobs
      d1012cd8
  4. Dec 27, 2019
  5. Dec 26, 2019
  6. Dec 25, 2019
  7. Dec 24, 2019
  8. Dec 23, 2019
  9. Dec 22, 2019
  10. Dec 21, 2019
  11. Dec 20, 2019
  12. Dec 19, 2019
    • Shawn Tabrizi's avatar
      Update Balances Pallet for `decl_error!` (#4405) · e267d210
      Shawn Tabrizi authored
      * Update balances for `decl_error!`
      
      * Update for new `decl_error`
      
      * Fix staking tests
      
      * Use `ok_or` over `match`
      e267d210
    • André Silva's avatar
      d8197745
    • Stanislav Tkach's avatar
      Warn about using --rpc-external and --ws-external options (#4448) · ab217bf3
      Stanislav Tkach authored
      * Warn about using --rpc-external and --ws-external options
      
      * Apply review comments
      
      * Remove links placeholders
      
      * Add links to wiki
      ab217bf3
    • Gavin Wood's avatar
      4b7f7770
    • Shawn Tabrizi's avatar
      Fix Fees in Substrate (#4421) · 36c7fcfa
      Shawn Tabrizi authored
      * Fix fees
      
      * Add comment to explain saturated multiply accumulate
      
      * Fix final fee calculation
      
      * Fix doc
      
      * improve doc
      
      * grumble
      
      * Update tests
      
      * Fix executor tests
      36c7fcfa
    • Ashley's avatar
      Update grafana-data-source to tokio 0.2 (#4441) · 5a8851c4
      Ashley authored
      5a8851c4
    • Bastian Köcher's avatar
      Make `decl_error!` errors usable (#4449) · fef0e752
      Bastian Köcher authored
      * Make `decl_error!` errors usable
      
      This pr implements support for returning errors of different pallets in
      a pallet. These errors need to be declared with `decl_error!`.
      
      The pr changes the following:
      
      - Each dispatchable function now returns a `DispatchResult` which is an
      alias for `Result<(), DispatchError>`.
      - `DispatchError` is an enum that has 4 variants:
        - `Other`: For storing string error messages
        - `CannotLookup`: Variant that is returned when something returns a
        `sp_runtime::LookupError`
        - `BadOrigin`: Variant that is returned for any kind of bad origin
        - `Module`: The error of a specific module. Contains the `index`,
        `error` and the `message`. The index is the index of the module in
        `construct_runtime!`. `error` is the index of the error in the error
        enum declared by `decl_error!`. `message` is the message to the error
        variant (this will not be encoded).
      - `construct_runtime!` now creates a new struct `ModuleToIndex`. This
      struct implements the trait `ModuleToIndex`.
      - `frame_system::Trait` has a new associated type: `ModuleToIndex` that
      expects the `ModuleToIndex` generated by `construct_runtime!`.
      - All error strings returned in any module are being converted now to `DispatchError`.
      - `BadOrigin` is the default error returned by any type that implements `EnsureOrigin`.
      
      * Fix frame system benchmarks
      fef0e752
    • Kian Paimani's avatar
      Few extra tests for phragmen (#4451) · 7ba240f1
      Kian Paimani authored
      7ba240f1
  13. Dec 18, 2019