1. Sep 08, 2022
  2. Sep 07, 2022
  3. Sep 06, 2022
  4. Sep 05, 2022
    • Davide Galassi's avatar
      Fetch Babe configuration from runtime state (#11760) · 83aec6f9
      Davide Galassi authored
      * Fetch babe config data from runtime state
      
      * Some renaming
      
      * More renaming
      
      * Final nits
      
      * Fix tests and benches
      
      * Rename  to  in BabeConfiguration
      
      * Remove duplicate babe parameter description
      
      Already specified over the 'PRIMARY_PROBABILITY' constant value
      
      * trigger pipeline
      
      * trigger pipeline
      83aec6f9
    • Muharem Ismailov's avatar
      Alliance pallet: split force_set_members call (#12179) · f919894c
      Muharem Ismailov authored
      * Alliance pallet: split force_set_members call
      
      * use counts for event
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
      
      Co-authored-by: command-bot <>
      f919894c
    • Stephen Shelton's avatar
      Impl transaction-payment GenesisConfig with NextFeeMultplier support (#12177) · b6f67b08
      Stephen Shelton authored
      
      
      * Impl GenesisConfig with NextFeeMultplier support
      
      * Update lib.rs
      
      * Use documented const
      
      * Unit test multiplier genesis
      
      * fmt
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      b6f67b08
    • Nazar Mokrynskyi's avatar
      Enforce blocks response limit (#12146) · efa04ed7
      Nazar Mokrynskyi authored
      efa04ed7
    • Squirrel's avatar
      drive by spelling fixes (#12175) · 2b805559
      Squirrel authored
      2b805559
    • Adrian Catangiu's avatar
      beefy: initialize voter from genesis and fix initial sync (#11959) · 84acfd5f
      Adrian Catangiu authored
      
      
      * client/beefy: use backend instead of client where possible
      
      * client/beefy: initialize voter from genesis
      
      Now that we have justifications import, we can drop the "lean beefy"
      behaviour and start building justifications chain from Genesis with
      containing all past sessions' mandatory blocks justifications.
      
      * client/beefy: walk finality tree_route to catch session changes
      
      * client/beefy: fix block import
      
      During initial block import blocks are not finalized, so trying to
      validate and append justifications within block import fails (for
      initial network sync imported blocks).
      
      Changes:
      
      - Move justification validation to _after_ `inner.block_import()`,
        so block is imported in backend and runtime api can be called to
        get the BEEFY authorities for said block.
      - Move append-to-backend for imported BEEFY justification to voter,
        because it already has the required logic to BEEFY-finalize blocks
        only after GRANDPA finalized them.
      - Mark voting rounds as concluded when finalizing through
        imported justifications as well as when finalizing through voting.
      
      * client/beefy: valid justifications are one per block number
      
      The only way we'd get _different_ _validated_ justifications for same
      block number is if authorities are double voting, which will be handled
      later.
      
      * client/beefy: process incoming justifs during major sync
      
      * client/beefy: correct voter initialization
      
      BEEFY voter should resume voting from either:
        - last BEEFY finalized block,
        - session start,
      whichever is closest to head.
      
      * client/beefy: test voter initialization
      
      * client/beefy: impl review suggestions
      
      Signed-off-by: default avataracatangiu <[email protected]>
      84acfd5f
    • Piotr Mikołajczyk's avatar
      `try-runtime`::`follow-chain` - execute all blocks (#12048) · 1fabf067
      Piotr Mikołajczyk authored
      * extract subscription
      
      * FinalizedHeaders
      
      * Fool of a Took
      
      * testability
      
      * tests
      
      * review comments
      
      * clippy
      1fabf067
  5. Sep 03, 2022
    • Dmitry Markin's avatar
      Use custom type for ProtocolName (#12172) · 24d09fe8
      Dmitry Markin authored
      * Add ProtocolName custom type
      
      * Use new ProtocolName in sc_network_common
      
      * Use new ProtocolName in sc_network
      
      * Use new ProtocolName for BEEFY and GRANDPA
      
      * Use new ProtocolName for notifications
      
      * Use new ProtocolName in sc_network (part 2)
      
      * Use new ProtocolName in sc_network_gossip
      
      * Use new ProtocolName in sc_offchain
      
      * Remove unused imports
      
      * Some more fixes
      
      * Add tests
      
      * Fix minor import issues
      
      * Re-export ProtocolName in sc_network
      
      * Revert "Re-export ProtocolName in sc_network"
      
      This reverts commit 8d8ff71927e7750757f29c9bbd88dc0ba181d214.
      
      * Re-export ProtocolName in sc_network
      
      * Remove dependency on sc-network-common from beefy-gadget
      24d09fe8
    • Alexander Theißen's avatar
      Emit events for inter contract calls (#12136) · 09a52ef8
      Alexander Theißen authored
      * Add topics to contract events
      
      * Add `Call` events
      
      * Fix compilation for no_std
      
      * Added docs
      09a52ef8
  6. Sep 02, 2022
  7. Sep 01, 2022
  8. Aug 31, 2022
    • Liu-Cheng Xu's avatar
      Only log when the transaction is actually to be propagated (#12158) · 9bbf8efd
      Liu-Cheng Xu authored
      The logging before is confusing as it says Propagating but it's not in fact when gossip_enabled is
      false. Now it's also consistent with `propagate_transactions` below.
      9bbf8efd
    • Sebastian Kunert's avatar
      Simplify trait bounds in network to prepare for collator-rpc (#12082) · 800bc5cd
      Sebastian Kunert authored
      
      
      * Hack towards PoC
      
      * Abstract away runtime requirement
      
      * blockchainevents
      
      * Remove bitswap
      
      * Remove unused sync more
      
      * Remove unused features in network
      
      * Re-enable bitswap change
      
      * Remove `Chain` trait bound
      
      * Reimplement blockchain-rpc-events
      
      * Move network to cumulus
      
      * Make AuthorityDiscovery async
      
      * Remove `ProofProvider` requirement from network behaviour
      
      * Extract bitswap
      
      * Adjustments after merge
      
      * Remove HeaderMetadata trait from network
      
      * Introduce NetworkHeaderBackend
      
      * Add comments
      
      * Improve comments
      
      * Move NetworkHeaderBackend to new module
      
      * Improve naming, remove redundand send + sync
      
      * Clean up generics
      
      * Fix CI
      
      * Improve comment and readability
      
      * Remove NetworkHeaderBackend
      
      * Fix Cargo.lock
      
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      800bc5cd
    • Shawn Tabrizi's avatar
      Weight v1.5: Opaque Struct (#12138) · 30951822
      Shawn Tabrizi authored
      * initial idea
      
      * update frame_support
      
      * update a bunch more
      
      * add ord
      
      * adjust RuntimeDbWeight
      
      * frame_system builds
      
      * re-export
      
      * frame_support tests pass
      
      * frame_executive compile
      
      * frame_executive builds
      
      * frame_system tests passing
      
      * pallet-utility tests pass
      
      * fix a bunch of pallets
      
      * more
      
      * phragmen
      
      * state-trie-migration
      
      * scheduler and referenda
      
      * pallet-election-provider-multi-phase
      
      * aura
      
      * staking
      
      * more
      
      * babe
      
      * balances
      
      * bunch more
      
      * sudo
      
      * transaction-payment
      
      * asset-tx-payment
      
      * last pallets
      
      * fix alliance merge
      
      * fix node template runtime
      
      * fix pallet-contracts cc @athei
      
      * fix node runtime
      
      * fix compile on runtime-benchmarks feature
      
      * comment
      
      * fix frame-support-test
      
      * fix more tests
      
      * weight regex
      
      * frame system works
      
      * fix a bunch
      
      * more
      
      * more
      
      * more
      
      * more
      
      * more
      
      * more fixes
      
      * update templates
      
      * fix contracts benchmarks
      
      * Update lib.rs
      
      * Update lib.rs
      
      * fix ui
      
      * make scalar saturating mul const
      
      * more const functions
      
      * scalar div
      
      * refactor using constant functions
      
      * move impl
      
      * fix overhead template
      
      * use compactas
      
      * Update lib.rs
      30951822
  9. Aug 30, 2022
  10. Aug 29, 2022