Skip to content
  1. Sep 05, 2018
  2. Sep 04, 2018
    • Bastian Köcher's avatar
      Include function comments into modules `json_metadata` (#657) · 256a1c20
      Bastian Köcher authored
      * Include function comments into modules `json_metadata`
      
      All doc comments (with `///`) are included in the description field of
      the function.
      
      Progress on #535
      
      * Replace spaces with tabs
      256a1c20
    • Svyatoslav Nikolsky's avatar
      Replace old headers with CHT in light clients (#512) · 25154f92
      Svyatoslav Nikolsky authored
      * storage proofs
      
      * CHT
      25154f92
    • Gav's avatar
      Fix build · 9647e268
      Gav authored
      9647e268
    • David's avatar
      Fix code to fit latest triehash · 4e38c9b5
      David authored
      Fetch kvdb-rocksdb from crates
      4e38c9b5
    • David's avatar
      Update triehash · ac84067b
      David authored
      ac84067b
    • David's avatar
      Merge branch 'master' into dp/chore/fetch-dependencies-from-crates · fd7dafbb
      David authored
      * master: (22 commits)
        Introduce treasury and document (#646)
        Off-the-table staking preference (#656)
        Implement function `json_metadata` in `decl_module!` (#654)
        Fix warnings in networking (#652)
        Add a reputation system (#645)
        Check for pruned block state (#648)
        Contract runtime polishing (#601)
        WIP on chain heap (#639)
        Events to track extrinsic success (#640)
        Install llvm-tools-preview component (#643)
        fix wasm executor compile error (#631)
        random fixes (#638)
        Empty becomes (), reflecting convention (#637)
        Allow to build_upon skipped entries, but don't walk back (#635)
        Separate out staking module into balances and payment (#629)
        Update .gitlab-ci.yml (#633)
        Do not attempt to rustup if in CI. This is taken care of by the base (#621)
        Avoid need for ident strings in storage (#624)
        rename to panic_handler as panic_implementation is deprecated in nightly (#626)
        5 random fixes (#2) (#623)
        ...
      fd7dafbb
    • Gav Wood's avatar
      Introduce treasury and document (#646) · 2b41b778
      Gav Wood authored
      * Introduce treasury and document
      
      * Revert bad changes
      
      * More reversions
      
      * Add example crate
      
      - Remove HasPublicAux
      - Rename Concrete -> Runtime
      
      * Actually commit stuff
      
      * Changes
      
      * Propagate block number in finalise.
      
      * Fix and build example
      
      * Fixes.
      
      * Fix compilation for treasury.
      
      * Fix the treasury test
      
      * Tests
      
      * Fix.
      
      * Fix tests
      
      * Fix a few grumbles
      
      * Fixes
      
      * Fix grumbles
      2b41b778
    • Gav Wood's avatar
      Off-the-table staking preference (#656) · 4a808474
      Gav Wood authored
      4a808474
    • Bastian Köcher's avatar
      Implement function `json_metadata` in `decl_module!` (#654) · 80abc178
      Bastian Köcher authored
      The new function `json_metadata` returns the module declaration
      as a json string.
      
      Progress on: #535
      80abc178
    • Pierre Krieger's avatar
      Fix warnings in networking (#652) · 2d8b18ac
      Pierre Krieger authored
      2d8b18ac
    • Pierre Krieger's avatar
      Add a reputation system (#645) · e3a70feb
      Pierre Krieger authored
      * Add a reputation system
      
      * Fix tests
      
      * Don't try to dial peers to which we are already connected
      
      * Use the master branch of libp2p
      e3a70feb
  3. Sep 03, 2018
  4. Sep 01, 2018
    • Sergey Pepyakin's avatar
      Contract runtime polishing (#601) · ee2b68e0
      Sergey Pepyakin authored
      * Rename ext_transfer → ext_call
      
      There are several tests where gas was changed. This is due to shrinking
      the name and consequently a size of contracts.
      
      * Fix macros
      
      Specifically, make fixes that allows to use a function without arguments (apart from ctx).
      For example:
      
      ```rust
      ext_return_42(ctx) -> u32 => {
          Ok(42)
      }
      ```
      
      Also, add impl ConvertibleToWasm for u64.
      
      * Implement passing input data buffer from top-level
      
      This allows the transaction initiator to pass some input data that can be accessed from the executed contract.
      
      However, this only works for the top-level contract. The contract still cannot pass input data to the callee contract. The reason for that is that API doesn't support this presently.
      This will be addressed in the following commits.
      
      * Input data passing thru `ext_call`
      
      `ext_call` now takes a buffer (or more specifically, pointer  to the start of and size of a buffer).
      
      This allows contracts to pass input data while calling into other contracts.
      
      * Input data passing thru `ext_create`
      
      Same as previous commit but for `ext_create`.
      
      * Trap on decoding error instead of panicking
      
      * Don't cascade failure in ext_call
      
      Instead, if callee doesn't complete successfuly, return a non-zero status code.
      
      This will prevent cascading traps up to the top-level. Due to this some tests were altered so that they now expect successful transfer instead of a failure.
      
      * Don't cascade failure in ext_create
      
      Same as previous commit but for ext_create.
      
      * Specify how much gas to allot for a call
      
      * Specify how much gas to allot for a create
      
      * Update tests.rs
      ee2b68e0
    • Guanqun Lu's avatar
      WIP on chain heap (#639) · c54321a7
      Guanqun Lu authored
      * move heap size on chain
      
      * fix the interface change
      
      * decode heap size
      
      * fix code comments
      
      * fix comment
      
      * update Cargo.lock
      
      * rename to heappages
      
      * add one heap pages variable in runtime
      c54321a7
  5. Aug 31, 2018
  6. Aug 30, 2018
    • Gav Wood's avatar
      Separate out staking module into balances and payment (#629) · 7c10a6c9
      Gav Wood authored
      * Initial commit.
      
      * Split out balances module
      
      * Minimise Balances trait requirements
      
      * Fix up balances, remove balances stuff from staking
      
      * Split off and fix up staking module
      
      * Fix executive tests
      
      * Fix up democracy module
      
      * make council work again
      
      * Remove unneeded cruft from democracy
      
      * Fix up contract module
      
      * Fix up rest of tests
      
      * Fix minor TODOs
      
      * Fix tests
      
      * Remove superfluous code
      
      * Move offline inherents to consensus module.
      
      Fixes #630
      
      * Version needs Decode.
      
      * Move Decode back
      
      * Fix nits
      
      * Refactor to allow custom message
      7c10a6c9
    • Denis S. Soldatov aka General-Beck's avatar
      Update .gitlab-ci.yml (#633) · 2d2f1501
      Denis S. Soldatov aka General-Beck authored
      it is necessary to test.
      You will probably have to create a cron-job for the nightly assembly of the master branch
      2d2f1501
  7. Aug 29, 2018
  8. Aug 28, 2018