Skip to content
  1. Aug 10, 2018
    • asynchronous rob's avatar
      Slashing for voted-offline validators. · 434a33a7
      asynchronous rob authored
      notify when an authority appears to have missed their block
      
      Runtime API
      
      Move to consensus
      
      offline tracker
      
      Slashing data pathwat
      
      Slash bad validators.
      
      generating reports of offline indices
      
      stubbed-out evaluation logic
      
      usize -> u32
      
      Support offline noting in checked_block
      
      update to rhododendron 0.3
      
      fix compilation of polkadot-consensus
      
      include offline reports in block authorship voting
      
      do not vote validators offline after some time
      
      add test for offline-tracker
      
      fix test build
      
      bump spec version
      
      update wasm
      
      Only allow validators that are possible to slash
      
      Fix grumble
      
      More idiomatic
      
      New Wasm.
      434a33a7
  2. Aug 02, 2018
  3. Aug 01, 2018
  4. Jul 31, 2018
    • Gav's avatar
      Version bump · f1c682a4
      Gav authored
      v0.2.1
      f1c682a4
    • Gav's avatar
      Update runtimes. · ef398297
      Gav authored
      ef398297
    • Gav Wood's avatar
      Fix up session phase backport (#452) · 5177e41c
      Gav Wood authored
      * Fix up session phase.
      
      * Version bump.
      
      * Version fix
      
      * Fix session rotation properly and add test
      
      * Make contract a separate runtime module (#345)
      
      * decl_module and extract runtime mod
      
      * Invert dependency staking←→contract
      
      * Remove CodeOf
      
      * Remove StorageOf and move double_map
      
      * Comment staking test
      
      * Clean
      
      * Add gas_price and gas_limit
      
      * Commit.
      
      * Renames
      
      * Params
      
      * WIP
      
      * Rename transfer to call
      
      * WIP
      
      * Rebuild binaries.
      
      * WIP
      
      * Backport ctro changes
      
      * Call wiring
      
      * Commit overlay.
      
      * Rename merge → commit, into_state → ..._change_set
      
      * WIP
      
      * Contract creation routines
      
      * Set code of the created account.
      
      * Fix the ID of `create` Call
      
      * Fix most of the warning.
      
      * Add the simplest test in the contract crate
      
      * Transfers work!
      
      * Add contract_create test.
      
      * Clean
      
      * Add top-level create test
      
      * Clean a bit.
      
      * Pass gas_limit and data via create.
      
      * Introduce OnAccountKill callback in staking
      
      * Hook up OnAccountKill
      
      * Comments
      
      * Pay for gas.
      
      * Refund unused gas in call
      
      * Tests for zero call and zero endownment.
      
      * Add todo about rewriting docs
      
      * Pay for gas in create transactions
      
      * Fix refunds
      
      * Clean unrelevant comments
      
      * fixup! Fix refunds
      
      * fixup! Clean unrelevant comments
      
      * Move DetermineContractAddress to contract
      
      Also restore account removal test
      
      * fixup! Clean unrelevant comments
      
      * Inline effect_transfer, remove effect_create
      
      Remove account_db!
      
      * Use own new_test_ext.
      
      * Don't account for liability
      
      * Add some docs
      
      * Move contract_fee into contract module
      
      * Take GasMeter in vm::execute
      
      * Use GasMeter throughout contract module for meter
      
      * gas module refactoring
      
      * Clean
      
      * Add base call fee
      
      * note about gas price should be taken from storage
      
      * Add base fee for create
      
      * Rename send → call
      
      * Clean
      
      * Take fee expressed in dots in gas
      
      * Add Checked{Add,Sub,Mul,Div} to SimpleArithmetic
      
      * Make Gas generic
      
      * Store {call,create}_base_fee in storage
      
      * Clean
      
      * Rename buy_gas
      
      * Store gas_price in the storage
      
      * Remove unneeded comment.
      
      * Bail out if contract already has code.
      
      * Todos
      
      * Refund even if top-level contract fails.
      
      * Fix error msg
      
      * Fix caller issue
      
      * Extract tests module
      
      * Add max_depth var in storage
      
      * Remove left over gas_left
      
      * Refactor exec
      
      * Add test oog test.
      
      * set_free_balance_creating
      
      * Docs and comments.
      
      * Update storage roots because of ContractFee move
      
      * Rebuild binaries.
      
      * Simplify vm code.
      
      * Wrapping.
      
      * Refactor a bit.
      
      * Typo
      
      * UpdateBalanceOutcome enum
      
      * Style grumbles.
      
      * Rebuild binaries.
      
      * Always consume the given amount of gas.
      
      * [skip ci] endownment → endowment
      
      * Rename `AccountId` generic in on_account_kill
      
      * Fix Cargo.lock
      
      * Refine docs for gas meter.
      
      * [skip ci] Add comments for gas module
      
      * Directly assign to `return_data` at declaration
      
      * Use slices instead of vecs to pass the input data
      
      * Add todo about passing return data without copy
      
      * Use checked_add instead of add with overflow
      
      * Use return_data directly.
      
      * Rebuild binaries.
      
      * Rebuild binaries.
      
      * Docs
      5177e41c
  5. Jul 29, 2018
  6. Jul 28, 2018
  7. Jul 27, 2018
  8. Jul 26, 2018
    • Chevdor's avatar
      Subkey fix and refactor (#418) · 56f67b59
      Chevdor authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Fix bug and refactoring
      
      - Fix panic in some cases
      - Extract the generation as a reusable function
      - Improve scoring calculation
      - Add tests
      - Sort the results
      - Fix the case when called with a desired pattern either empty or of 1 char
      - Add a 'even more' paranoiac mode
      - Add benchmarks
      
      Fix #417
      
      * Fixed compilation for nightly
      56f67b59
  9. Jul 25, 2018
    • Arkadiy Paronyan's avatar
      Substrate CLI (#423) · f77b3e32
      Arkadiy Paronyan authored
      * Moved chain ops to substrate-service
      
      * moved RPC to susbstrate-service WIP
      
      * Moved RPC to substrate-service
      
      * Version
      
      * Removed redundadnt messages
      
      * substrate CLI
      
      * Removed obsolete files
      
      * Sorted out startup messages
      
      * Pass executable name to CLI
      f77b3e32
  10. Jul 24, 2018
  11. Jul 23, 2018
  12. Jul 22, 2018