Skip to content
  1. Sep 01, 2018
    • Guanqun Lu's avatar
      WIP on chain heap (#639) · beee3d40
      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
      beee3d40
  2. Aug 31, 2018
  3. Aug 30, 2018
    • Gav Wood's avatar
      Separate out staking module into balances and payment (#629) · 8281618e
      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
      8281618e
    • Denis S. Soldatov aka General-Beck's avatar
      Update .gitlab-ci.yml (#633) · 6ae3204f
      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
      6ae3204f
  4. Aug 29, 2018
  5. Aug 28, 2018
  6. Aug 27, 2018
    • Gav Wood's avatar
      New slashing logic (#570) · f59bcd15
      Gav Wood authored
      * New slashing mechanism (#554)
      
      * Slashing improvements
      
      - unstake when balance too low
      - unstake after N slashes according to val prefs
      - don't early-terminate session/era unless unstaked
      - offline grace period before punishment
      
      * Fix warning
      
      * Cleanups and ensure slash_count decays
      
      * Bump authoring version and introduce needed authoring stub
      
      * Rename
      
      * Fix offline tracker
      
      * Fix offline tracker
      
      * Renames
      
      * Add test
      
      * Tests
      
      * Tests.
      
      * Remove accidental merge files.
      
      * Version bump, fixes (#572)
      
      * Bump version, don't propose invalid blocks
      
      * Fix build.
      
      * Fixes.
      
      * More fixes.
      
      * Fix tests.
      
      * Fix more tests
      
      * More tests fixed
      
      * Fix merge
      
      * Fix accidental merge bug
      
      * Fixes.
      
      * Staking failsafes
      
      - Don't slash/unstake/change session when too few staking participants
      - Introduce set_balance PrivCall
      
      * Make minimum validator count dynamic.
      
      * test fixes
      
      * Fix tests.
      
      * Fix tests
      
      * Fix tests, update readme.
      
      * Test with release.
      
      * Use safe math when dealing with total stake
      
      * Fix test again.
      
      * Fix grumbles.
      f59bcd15
    • Sergey Pepyakin's avatar
      Contract signatures checking (#478) · 4e9f4084
      Sergey Pepyakin authored
      * Convert T in vm::Ext to a associated type
      
      * WIP
      
      * Fix BTreeMap
      
      * Extract prepare module from vm.
      
      * Move tests as well.
      
      * Fix doc comment.
      
      * macro for env defintion
      
      * Fix prepare tests.
      
      * Clean up
      
      * Renamings
      
      * Refactor scan_imports
      
      * Improve docs
      
      * Docs.
      
      * Add some tests for sandbox module
      
      * Clean up
      
      * Use Error::Instantiate instead of ::Deserialize
      
      * Add test for imports
      
      * Add wrong sig import
      
      * Clean up
      
      * Rebuild binaries.
      
      * Use "another_module" instead of obscure "vne"
      
      Since "vne" looks like an actual typo
      4e9f4084
    • Guanqun Lu's avatar
      extrinsic-pool: use retain() (#613) · 875ce9e6
      Guanqun Lu authored
      875ce9e6
    • Guanqun Lu's avatar
      rename Polkadot to Substrate in the license header via following four commands (#614) · 58bba898
      Guanqun Lu authored
      git grep -l 'This file is part of Polkadot' | xargs sed -i 's/This file is part of Polkadot/This file is part of Substrate/g'
          git grep -l 'Polkadot is free software' | xargs sed -i 's/Polkadot is free software/Substrate is free software/g'
          git grep -l 'Polkadot is distributed in the hope' | xargs sed -i 's/Polkadot is distributed in the hope/Substrate is distributed in the hope/g'
          git grep -l 'along with Polkadot' | xargs sed -i 's/along with Polkadot/along with Substrate/g'
      58bba898
  7. Aug 26, 2018
  8. Aug 25, 2018
    • Tomasz Drwięga's avatar
      RPC: Block number to block hash (#584) · 2c21f5ff
      Tomasz Drwięga authored
      * Return hash for given block number.
      
      * Add some tests.
      
      * Fix re-import.
      2c21f5ff
    • Sergey Pepyakin's avatar
      Minor fixes for nightly 2018-08-18 (#600) · 969fcfb9
      Sergey Pepyakin authored and asynchronous rob's avatar asynchronous rob committed
      * Don't use --export-table anymore
      
      Because it was turned on by default in the recent nightlies.
      
      See https://github.com/rust-lang/rust/pull/53237
      
      * use_extern_macros stabilization
      
      With recent nightlies rustc produces a warning
      
      ```
      the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable
      ```
      969fcfb9
  9. Aug 24, 2018
  10. Aug 21, 2018
  11. Aug 20, 2018
  12. Aug 19, 2018
  13. Aug 17, 2018
  14. Aug 16, 2018