Skip to content
  1. Sep 07, 2018
  2. Sep 06, 2018
  3. Sep 05, 2018
  4. Sep 04, 2018
  5. Sep 03, 2018
    • Arkadiy Paronyan's avatar
      Check for pruned block state (#648) · afe89362
      Arkadiy Paronyan authored
      afe89362
    • David's avatar
      hashdb is not optional · cfa9ad38
      David authored
      cfa9ad38
    • David's avatar
      Constrain the wasm-version using an ExternTrieCrypto trait that is implemented... · d829fc34
      David authored
      Constrain the wasm-version using an ExternTrieCrypto trait that is implemented only for KeccakHasher
      d829fc34
    • David's avatar
      Cleanup · 694b5a3f
      David authored
      694b5a3f
    • David's avatar
      Merge remote-tracking branch 'origin/master' into... · ef22f1cc
      David authored
      Merge remote-tracking branch 'origin/master' into dp/make-CallExecutors-generic-over-hasher-and-rlpcodec
      
      * origin/master: (26 commits)
        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)
        fix one typo in README (#627)
        Misspelled words (#625)
        Contracts: Per block gas limit (#506)
        Make sure to ban invalid transactions. (#615) (#620)
        Forward-port BFT fixes from v0.2 and restructure agreement cancelling (#619)
        Allow specifying listening multiaddresses (#577)
        ...
      ef22f1cc
    • David's avatar
      Sort out compilation and test errors · a55538c6
      David authored
      a55538c6
    • David's avatar
      7cceb48a
  6. 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
  7. Aug 31, 2018