1. 18 Mar, 2020 9 commits
  2. 17 Mar, 2020 8 commits
  3. 16 Mar, 2020 6 commits
    • Gavin Wood's avatar
      Refactor away from opaque hashes (#5226) · dd97b147
      Gavin Wood authored
      * System.BlockHash
      * Fix hash
      * Introduce K/V iteration in all _concat maps
      Also move across:
      - System.Account (blake2_128_concat)
      - Balances.Locks (twox_64_concat)
      - ElectionsPhragmen.VotesOf (twox_64_concat)
      - ElectionsPhragmen.StakeOf (twox_64_concat)
      - Identity.IdentityOf (twox_64_concat)
      - Identity.SubsOf (twox_64_concat)
      - Society.Payouts (twox_64_concat)
      - Session.NextKeys (twox_64_concat)
      - Identity.SuperOf (blake2_128_concat)
      - Session.KeyOwner (blake2_128_concat)
      - Society.SuspendedCandidates (twox_64_concat)
      - Society.SuspendedMembers (twox_64_concat)
      - Society.Vouching (twox_64_concat)
      - Society.Strikes (twox_64_concat)
      - System.EventTopics
      - Balances.Account
      * Build fixes
      * Ensure migration happens in correct order
      * Staking.*
      * Vesting.* Offences.*
      * Democracy.*
      * Babe.* Collective.*
      * Grandpa.*
      * Assets.* Benchmark.* Contracts.* Elections.* Asset.* Nicks.*
      Also introduce real account list
      * ImOnline.*
      * Treasury.*
      * Recovery.*
      * Final bits.
      * Docs
      * Fix one test
      * Fix test
      * All passing except the UI tests
      * Remove linked_map part 1
      * Remove linked_map
      * Some iterator utils for double maps.
      * Remove old migrations
      * Introduce tombstone for LinkedMap type
      * Migration for genesis hash
      * Fix build
      * Fix hash
      * Rename Map is_linked -> unused, keeping backwards compat (#5256)
      * Update frame/balances/src/lib.rs
      Co-Authored-By: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Update frame/elections/src/lib.rs
      Co-Authored-By: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Remove old migration code.
      * Update frame/system/src/lib.rs
      Co-Authored-By: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Update bin/node/runtime/src/lib.rs
      Co-Authored-By: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Fix hash
      * fix session migration
      * Fix watning
      Co-authored-by: default avatarJaco Greeff <jacogr@gmail.com>
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      Co-authored-by: default avatarRobert Habermeier <rphmeier@gmail.com>
    • Wei Tang's avatar
      epoch-changes: separate epoch header with epoch data (#4881) · d299fed3
      Wei Tang authored
      * fork-tree: prune returns all pruned node data
      * epoch-changes: split EpochHeader vs epoch data
      * EpochChanges::viable_epoch and add missing comments
      * Incoperate the new epoch_changes interface for BABE
      * Fix BABE tests
      * Fix fork-tree pruning issue
      * Fix tests
      * Fix pruning algorithm
      * fork-tree: implement map function for mapping one value type to another
      * Add migration script for new epoch changes scheme
      * Update utils/fork-tree/src/lib.rs
      Co-Authored-By: default avatarAndré Silva <andre.beat@gmail.com>
      * Update client/consensus/slots/src/lib.rs
      Co-Authored-By: default avatarAndré Silva <andre.beat@gmail.com>
      * Remove authorities_len.is_none check, which is duplicate of unwrap_or(false)
      * Update client/consensus/epochs/src/lib.rs
      Co-Authored-By: default avatarAndré Silva <andre.beat@gmail.com>
      * Update client/consensus/epochs/src/lib.rs
      Co-Authored-By: default avatarAndré Silva <andre.beat@gmail.com>
      * No trailing ; for return statement
      * Use VERSION_KEY for migration
      * Fix issues that removed nodes are not properly added into removed list
      * Add comments indicating end_slot is non-inclusive
      * fork-tree: use &mut F for map type declaration
      * Add tests for v0 epoch_changes migration
      * Fix babe RPC tests
      Co-authored-by: default avatarAndré Silva <andre.beat@gmail.com>
    • gabriel klawitter's avatar
    • Nikolay Volf's avatar
      create parallel tasks extension (#5249) · 0bd9ffac
      Nikolay Volf authored
    • gabriel klawitter's avatar
    • Stanislav Tkach's avatar
  4. 15 Mar, 2020 2 commits
    • Bastian Köcher's avatar
      Move runtime upgrade to `frame-executive` (#5197) · 064ca16f
      Bastian Köcher authored
      * Move runtime upgrade to `frame-executive`
      Instead of storing the runtime upgraded in the space of `frame-system`,
      this moves it to `frame-executive`. We also start storing the
      `spec_version` and `impl_version` the last runtime upgrade was applied.
      This scheme has multiple advantages:
      - We don't need to make sure that runtime upgrade was set.
      - This will work in the future when we want to test a runtime upgrade,
      because the `on_runtime_upgrade` will be executed automatically when the
      runtime changes.
      * Move `LAST_RUNTIME_UPGRADE` key to `frame-executive`
      * Add some more documentation
      * Make sure `spec_version` always increases between runtime upgrades
      * Fix test
      * Upgrade `parity-multiaddr` to fix compilation
      * Also check if the `spec_name` changed
      * Remove `RuntimeUpgraded` storage entry
      * Don't run on genesis
    • Shawn Tabrizi's avatar
      Fix genesis bug in bench db (#5253) · 2c0fdb50
      Shawn Tabrizi authored
  5. 14 Mar, 2020 5 commits
    • s3krit's avatar
      Create release-tagging github action (#5225) · 31e84afb
      s3krit authored
      * Create release-tagging github action
      Uses an action that I forked, which I retain control of for now. Can probably move it to the paritytech repo at some point
      * Remove 'prereleased' trigger
      `published` action is triggered whether the release is a pre-release or not.
      * Update release-tagging.yml
      * Remove superfluous cmment
    • Max Inden's avatar
      client/finality-grandpa: Add Prometheus metrics to GossipValidator (#5237) · dd194a4c
      Max Inden authored
      * client/finality-grandpa: Add Prometheus metrics to GossipValidator
      Instrument finality grandpa `GossipValidator` exposing count of messages
      validated by message type and message action.
      \# HELP substrate_finality_grandpa_communication_gossip_validator_messages Number of messages validated by the finality grandpa gossip validator.
      \# TYPE substrate_finality_grandpa_communication_gossip_validator_messages counter
      substrate_finality_grandpa_communication_gossip_validator_messages{action="discard",message="neighbor"} 39
      substrate_finality_grandpa_communication_gossip_validator_messages{action="keep",message="vote"} 28
      * client/finality-grandpa: Add None as Prometheus registry in tests
      * client/finality-granpda/src/communication: Refactor metric registration
    • Alexander Theißen's avatar
      Add ext_transfer call (#5169) · ac73bdc8
      Alexander Theißen authored
      * contracts: Add ext_transfer call
      This call allows contracts to send balance to any account
      contract or not. Previously, the only way to do that was
      though ext_call.
      * Apply suggestions from code review
      Co-Authored-By: default avatarNikolay Volf <nikvolf@gmail.com>
      * The define_env! macro does not allow for trailing comma
      * Update frame/contracts/src/exec.rs
      Co-Authored-By: default avatarNikolay Volf <nikvolf@gmail.com>
      * Bump spec version
      * Do not use nested gas meter
      * Use explicit 0 or 1 as return value
      * Remove superflous intermediate binding
      Co-authored-by: default avatarNikolay Volf <nikvolf@gmail.com>
    • Kian Paimani's avatar
    • Shawn Tabrizi's avatar
      Assign unique storage names to pallets. (#5010) · 7e2db298
      Shawn Tabrizi authored
      * Assign unique storage names to pallets.
      * Bump spec
      * Upgrade logic for finality tracker (untested)
      * Logic for migrating Identity (untested)
      * Logic for migrating transaction-payment
      * Fix tests
      * Fix `decl_storage` build
      * Contract -> Contracts
      * Update Cargo.lock
      * bump spec
      * update migration
      * Fix merge error
      * Migration for contracts
      * Remove serde
      * Remove some illegal spaces and Options
      * Fix types in identity.
      * Minor variable rename
      Co-authored-by: default avatarGavin Wood <gavin@parity.io>
  6. 13 Mar, 2020 3 commits
  7. 12 Mar, 2020 5 commits
  8. 11 Mar, 2020 2 commits