Skip to content
  1. Dec 20, 2018
  2. Dec 19, 2018
  3. Dec 17, 2018
  4. Dec 16, 2018
  5. Dec 15, 2018
    • André Silva's avatar
      Remove grandpa liveness oracle (#1271) · 0370a157
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: support broadcasting consensus message to all peers
      
      * grandpa: remove liveness oracle
      
      * node: always start grandpa on full nodes
      
      * core: don't check for grandpa justifications on failed block imports
      
      * core: fix network connectivity test
      0370a157
  6. Dec 14, 2018
    • Luke Schoen's avatar
      Update SRML Assets: add total supply query, refactor with specific tests (#1185) · 76c8a3c2
      Luke Schoen authored
      * Update SRML Assets: add total supply query, refactor with specific unit tests, update assertions
      
      * Add feature and tests to allow querying total supply
      
      * Add assertion and tests to ensure that transfer amount is greater than or equal to one unit
      
      * Replace broad `it_works` function test with various specific unit tests
      
      * Fix `destroy` function by moving assertion before the action
      
      * Fix typos `Transfered` should be `Transferred`, `requried` should be `required`
      
      * Reference: https://hackmd.io/nr6kPD2sR4urmljtvHs0CQ?view#Assets-Module
      
      * refactor: Order imports alphabetically
      
      * review-fix: Replace non-zero check with shorter equivalent
      
      * review-fix: Restore order of non-zero assertion and destroy account
      
      * Update lib.rs
      76c8a3c2
  7. Dec 13, 2018
  8. Dec 12, 2018
  9. Dec 11, 2018
  10. Dec 10, 2018
    • Tomasz Drwięga's avatar
      [RPC] Move runtime version from chain to state (#1243) · 3329915c
      Tomasz Drwięga authored and asynchronous rob's avatar asynchronous rob committed
      * Move runtimeVersion to state, add rudimentary test for subscription.
      
      * Bump to latest jsonrpc.
      3329915c
    • asynchronous rob's avatar
      Punish offline validators, aura-style (#1216) · 691e6e8f
      asynchronous rob authored
      * make offline-reporting infrastructure more generic
      
      * add a listener-trait for watching when the timestamp has been set
      
      * prevent inclusion of empty offline reports
      
      * add test for exclusion
      
      * generate aura-offline reports
      
      * ability to slash many times for being offline "multiple" times
      
      * Logic for punishing validators for missing aura steps
      
      * stub tests
      
      * pave way for verification of timestamp vs slot
      
      * alter aura import queue to wait for timestamp
      
      * check timestamp matches seal
      
      * do inherent check properly
      
      * service compiles
      
      * all tests compile
      
      * test srml-aura logic
      
      * aura tests pass
      
      * everything builds
      
      * some more final tweaks to block authorship for aura
      
      * switch to manual delays before step
      
      * restore substrate-consensus-aura to always std and address grumbles
      
      * update some state roots in executor tests
      
      * node-executor tests pass
      
      * get most tests passing
      
      * address grumbles
      691e6e8f
    • Arkadiy Paronyan's avatar
      Fixed common block tracking when syncing (#1235) · 4bc45ee3
      Arkadiy Paronyan authored
      * Fixed common block tracking when syncing
      
      * Fixed fork resolution
      4bc45ee3
    • Gav Wood's avatar
      Governance: Voters put money where mouth is (#1183) · 18d818b5
      Gav Wood authored
      * Referendums only gett enacted after a delay; successful voters must
      lock funds up until enactment.
      
      * Build fixes.
      
      * Configurable council enact delay, fix test builds.
      
      * Fix spelling
      
      * Remove TODO
      18d818b5
    • gabriel klawitter's avatar
      Upload builds to releases.parity.io (#1233) · 0c918a73
      gabriel klawitter authored
      * gitlab-ci.yml: upload binaries to s3
      
      * gitlab-ci.yml: typo tag names
      
      * gitlab-ci.yml: avoid dots in tags
      
      * gitlab-ci.yml: try before_script
      
      * gitlab-ci.yml: indentation
      
      * gitlab-ci.yml: unified before_script
      
      * gitlab-ci.yml: don't forget script
      
      * use VERSION file
      
      * build.sh only before builds
      
      * git_strategy: none
      
      * use own docker awscli image
      
      * typo
      
      * use artifacts folder
      
      * enable uploads to s3 as well
      
      * add builds.sh to tests
      0c918a73
    • cheme's avatar
      Allow spaces in types for decl_storage proc_macro (#1245) · 488c3066
      cheme authored
      * Do not try to fix type display for metadata in rust.
      
      * Fix test (adding extra space (we can see it as a canary: if at some
      point quote got a better output the test will fail and js space removal
      could be remove)).
      488c3066
    • Tomasz Drwięga's avatar
      Move pool maintainance to a background task. (#1236) · 4a2d52ba
      Tomasz Drwięga authored
      * Move pool maintainance to a background task.
      
      * Remove commented code.
      
      * Add issue number to TODOs
      
      * Fix warnings and tests.
      4a2d52ba
    • Svyatoslav Nikolsky's avatar
      Make CallApiAt::call_api_at work at light client (#1213) · bb07c76e
      Svyatoslav Nikolsky authored
      * light client contextual method call
      
      * fixed off-by-one in test
      
      * newlines + commas
      bb07c76e
    • Bastian Köcher's avatar
      Make `decl_module` not require a return type for functions (#1230) · 823c52d7
      Bastian Köcher authored
      If no return type is specified, `Result` is added and
      `Ok(())` is returned by default.
      
      Closes: #1182
      823c52d7
    • Wei Tang's avatar
      e592d3ed
    • Bastian Köcher's avatar
      Make runtime api generate version and identifier information (#1226) · df338c24
      Bastian Köcher authored
      * Make `decl_runtime_apis!` implement `RuntimeApiInfo` for all runtime
      apis
      
      * Make the runtime side generate the info constants as well
      
      * Make `RuntimeApiInfo` implementation use the correct generics
      
      * Adds a test for the runtime api info stuff
      
      * Remove duplicated code by using block from `test-client`
      
      * Adds `compile_fail` tests for `api_version`
      
      * Adds documentation for `api_version`
      
      * Make `impl_runtime_apis!` generate `RUNTIME_API_VERSIONS`
      
      * Update documentation and tests for `RUNTIME_API_VERSIONS`
      
      * Implement `has_api` by using the `RuntimeApiInfo`
      
      * Make `impl_runtime_apis` check that trait identifiers are unique
      
      * Prefix all runtime api function with the corresponding trait
      
      So `execute_block` will be called `Core_execute_block`.
      This makes it possible to have traits implement a function with the
      same name.
      
      * Rebase master
      
      * Update after master rebase
      df338c24
    • Bastian Köcher's avatar
      Make cli subcommands accept `--dev`, `--chain` and `--base_path` (#1214) · 2d8e794d
      Bastian Köcher authored
      This restores an old behavior with more checks to inform the user
      about misuse.
      Only the `build-spec` parameter is not accepting these flags and options.
      This subcommand only works with the options specified on the main command,
      this is a restriction of the current cli parse/execute design.
      2d8e794d
    • Wei Tang's avatar
      Remove BestAuthorities (#1238) · ab1da699
      Wei Tang authored and Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky committed
      ab1da699