1. Jun 27, 2023
    • Liam Aharon's avatar
      fix(test-externalities): include memory db reference counts in snapshots (#14411) · 2119c802
      Liam Aharon authored
      * persist memory db reference counts in snapshots
      
      * update proxy_test snapshot
      
      * clippy
      
      * comment
      
      * comment
      
      * add snapshot versioning
      
      * update proxy_test
      
      * compact snapshot version
      
      * kick ci
      
      * kick ci
      
      * check snapshot version without extra struct
      2119c802
    • Sebastian Kunert's avatar
      Remove unused dependencies (#14464) · ede49c7a
      Sebastian Kunert authored
      ede49c7a
    • gupnik's avatar
      [FRAME Core] Adds ability to split a pallet across multiple files (#13950) · 5d877401
      gupnik authored
      
      
      * Initial setup
      
      * Updates macro_magic version and refactors accordingly
      
      * Removes unwrap from macro
      
      * Splits into multiple sections
      
      * Uses call_site to fix macro hygiene issue
      
      * Initial setup
      
      * Removes unnecessary changes
      
      * Moves template palet back
      
      * Updates cargo.lock
      
      * Moves BagsList inside mod
      
      * Comments access to internal functions for now
      
      * Updates tests
      
      * Uncomments code
      
      * Fixes test
      
      * Moves bags-list to separate crate
      
      * Initial setup
      
      * Removes bags-list changes
      
      * Fix structure
      
      * Minor update
      
      * Addresses review comment
      
      * Adds a couple of UI tests. More to be added
      
      * Adds err files
      
      * Adds test for no pallet
      
      * Adds doc
      
      * Updates versions
      
      * Adds benchmarking
      
      * Updates doc link
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Minor update
      
      * Adds missing changes
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Update frame/support/procedural/src/lib.rs
      
      Co-authored-by: default avatarSam Johnson <[email protected]>
      
      * Addresses review comments
      
      * Addresses review comments
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Update frame/support/procedural/src/lib.rs
      
      Co-authored-by: default avatarSam Johnson <[email protected]>
      
      * Update frame/support/procedural/src/lib.rs
      
      Co-authored-by: default avatarSam Johnson <[email protected]>
      
      * Update frame/support/procedural/src/lib.rs
      
      Co-authored-by: default avatarSam Johnson <[email protected]>
      
      * Adds UI test for disambiguation
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Makes clippy happy
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Fixes frame support test
      
      * Fixes frame support test
      
      * Split items other than storage
      
      * Updates versions
      
      * Fixes some review comments
      
      * Addresses review comments
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Updates docs
      
      * Adds experimental disclaimer
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Update frame/support/test/tests/split_ui/no_section_found.rs
      
      Co-authored-by: default avatarSam Johnson <[email protected]>
      
      * Addresses review comments
      
      * Fixes test
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarcommand-bot <[email protected]>
      Co-authored-by: default avatarSam Johnson <[email protected]>
      5d877401
  2. Jun 26, 2023
    • Davide Galassi's avatar
      Added missing BLS feature (#14461) · 13cb7ccc
      Davide Galassi authored
      13cb7ccc
    • Michal Kucharczyk's avatar
      `GenesisBuilder` runtime API (#14131) · 9a5d9a58
      Michal Kucharczyk authored
      
      
      * GenesisConfigBuilder: preliminary API proposal
      
      * fmt
      
      * comment removed
      
      * build_default_config removed
      
      * Update client/genesis-builder/src/lib.rs
      
      * config -> gensis_config
      
      * GenesisConfigBuilder: helper added
      
      * moved to primitives
      
      * licesne changed to apache-2.0
      
      * Cargo.toml: name/path to genesis-builder updated
      
      * helper removed
      
      * sp-sd version bumped
      
      * sp-std bump
      
      * naming + new function
      
      * fix
      
      * build_from_patch_json -> build_with_patch
      
      * fix
      
      * Cargo.lock updated
      
      * readme: license updated
      
      * Update primitives/genesis-builder/src/lib.rs
      
      Co-authored-by: default avatarDavide Galassi <[email protected]>
      
      * Update primitives/genesis-builder/src/lib.rs
      
      Co-authored-by: default avatarDavide Galassi <[email protected]>
      
      * Update primitives/genesis-builder/Cargo.toml
      
      Co-authored-by: default avatarDavide Galassi <[email protected]>
      
      * Cargo.lock updated
      
      * removed redundant function
      
      * GenesisConfigBuilder API: no_defaults function added
      
      * Cargo.lock updated
      
      * GenesisConfigBuilder API: patching fn removed
      
      * trigger CI job
      
      ---------
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarDavide Galassi <[email protected]>
      9a5d9a58
  3. Jun 25, 2023
  4. Jun 24, 2023
  5. Jun 23, 2023
    • Jegor Sidorenko's avatar
      Pay tx fee with assets by using the asset conversion pallet (#14340) · be7c654c
      Jegor Sidorenko authored
      
      
      * Pay tx by swapping the assets
      
      * Change liquidity structure
      
      * Uncomment the event
      
      * Update frame/transaction-payment/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * New approach
      
      * Fix bounds
      
      * Clearer version
      
      * Change IsType with Into and From
      
      * Enable event
      
      * Check ED + fix the logic
      
      * Add temp comments
      
      * Rework the refund
      
      * Clean up
      
      * Improve readability
      
      * Getting closer
      
      * fix
      
      * Use fungible instead of Currency
      
      * Test account without ed
      
      * Final push
      
      * Fixed
      
      * Rename to pallet-asset-conversion-tx-payment
      
      * Bring back the old pallet
      
      * Update versions
      
      * Update docs
      
      * Update readme
      
      * Wrong readme updated
      
      * Revert back doc change
      
      * Fix import
      
      * Fix kitchensink
      
      * Fix
      
      * One more time..
      
      * Wait pls
      
      * Update frame/asset-conversion/src/lib.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * Update frame/support/src/traits/tokens/fungibles/regular.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update docs/comments
      
      * Docs improvement
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Payed -> paid
      
      * Docs
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/README.md
      
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      
      * Rewrite docs
      
      * Try to clean the deps
      
      * Add debug assert
      
      * Return back frame-benchmarking
      
      * Update cargo
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/mock.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Rename
      
      * clearer error message
      
      * Docs for Pay by Swap (#14445)
      
      * docs
      
      * better error name
      
      * more comments
      
      * more docs on swap trait
      
      * Fix compile errors
      
      * Another fix
      
      * Refactoring
      
      * Update frame/transaction-payment/asset-conversion-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Emit an error if we fail to swap the refund back
      
      * Add integrity_test
      
      * Update frame/asset-conversion/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Fmt
      
      * Use defensive_ok_or
      
      * child PR: Tidy swap event (#14441)
      
      * Dedup raising swap event
      
      * use expect rather than unwrap
      
      * Additional checks for future defence.
      
      * cargo fmt
      
      * Update frame/asset-conversion/src/lib.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      be7c654c
    • Branislav Kontur's avatar
      Adds ability to prepare/initialize before running `set_code` benchmark (#14435) · 3e2c73df
      Branislav Kontur authored
      * Adds ability to prepare/initialize before running `set_code` benchmark
      
      * Fix
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
      
      * Replaced BenchmarkHelper with function
      
      * Fix
      
      * Introduced `set_code_data` for benchmark with default value
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
      
      * (Hope) Final adjustment (because system parachains generates ValidationFunctionStored instead of CodeUpdated)
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev frame-system
      
      * ".git/.scripts/commands/bench-vm/bench-vm.sh" pallet dev frame-system
      
      ---------
      
      Co-authored-by: command-bot <>
      3e2c73df
  6. Jun 22, 2023
  7. Jun 21, 2023
  8. Jun 20, 2023
  9. Jun 19, 2023
  10. Jun 18, 2023
  11. Jun 16, 2023
  12. Jun 15, 2023
  13. Jun 14, 2023