Skip to content
  1. Jun 16, 2023
  2. Jun 15, 2023
    • Anton's avatar
      [frame/im-online] remove network state from heartbeats (#14251) · 6cd2c8b3
      Anton authored
      * [frame/im-online] remove `external_addresses` from heartbeats
      
      Users should use DHT for discovering new nodes. The reason for adding external addresses was
      unstable work of authority discovery (see https://github.com/paritytech/substrate/issues/2719),
      which is now stable. Hence we can safely remove `external_addresses`.
      
      Refs https://github.com/paritytech/polkadot/issues/7181
      
      * remove unused import
      
      * run benchmark
      
      * remove external_addresses from offchain NetworkState
      
      * add missing fn to TestNetwork
      
      * Revert "run benchmark"
      
      This reverts commit a282042c2d6bf8bae2c383f6e2699c3fe2970a3d.
      
      * update weights
      
      * address @bkchr comments
      
      * remove duplicate fn
      
      * cleanup benchmarking.rs
      
      * fix executor tests
      
      * remove peer_id from hearbeat as well
      
      https://github.com/paritytech/substrate/pull/14251#discussion_r1210887220
      
      * remove MaxPeerDataEncodingSize
      
      * change storage value type to `()`
      
      https://github.com/paritytech/substrate/pull/14251#discussion_r1214268931
      
      * scaffold storage migration
      
      * no need to check the type actually
      
      * remove unnecessary types from v0 mod
      
      * add a test for migration
      
      * expose Config types
      
      + pre_upgrade and post_upgrade working fn
      
      * fix test
      
      * replace dummy type with ConstU32
      
      * add some comments to migration test
      
      * fix comment
      
      * respond to @bkchr comments
      
      * use BoundedOpaqueNetworkState::default
      
      intead of using default for each field
      6cd2c8b3
  3. Jun 14, 2023
  4. Jun 13, 2023
  5. Jun 12, 2023
  6. Jun 09, 2023
  7. Jun 08, 2023
  8. Jun 06, 2023
  9. Jun 05, 2023
    • Sam Johnson's avatar
      upgrade macro_magic to 0.3.5 (#14303) · 35cc4162
      Sam Johnson authored
      35cc4162
    • Liam Aharon's avatar
      migration(tips): unreserve deposits (#14241) · c6287425
      Liam Aharon authored
      * unreserve all tip funds migration
      
      * improve test
      
      * fix comment
      
      * implement weights
      
      * saturating_accrue
      
      * remove unnecessary collect
      
      * prefer ensure
      
      * use assert
      
      * use saturating_add
      
      * use saturating_accrue
      
      * test pre_upgrade and post_upgrade
      
      * remove pallet_treasury bound
      
      * resolve pr comments
      
      * rename migration
      
      * kick ci
      
      * kick ci
      c6287425
  10. Jun 04, 2023
  11. Jun 02, 2023
  12. Jun 01, 2023
  13. May 31, 2023
    • dependabot[bot]'s avatar
      Bump serde from 1.0.162 to 1.0.163 (#14271) · 688ac3d1
      dependabot[bot] authored
      
      
      * Bump serde from 1.0.162 to 1.0.163
      
      Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.
      - [Release notes](https://github.com/serde-rs/serde/releases)
      - [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163)
      
      ---
      updated-dependencies:
      - dependency-name: serde
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * bump ci
      
      * bump ci for cumulus
      
      * bump ci again
      
      ---------
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSam Johnson <[email protected]>
      688ac3d1
    • PG Herveou's avatar
      contracts: Multi block migrations (#14045) · c7c5fc70
      PG Herveou authored
      
      
      * Frame Add translate_next
      
      This works similarly to to `translate` but only translate a single entry.
      This function will be useful in the context of multi-block migration.
      
      * Move to lazy migration
      
      * Updates
      
      * simplify MockMigration
      
      * wip
      
      * wip
      
      * add bench
      
      * add bench
      
      * fmt
      
      * fix bench
      
      * add .
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * Scalfold v10 / v11 fix tests
      
      * PR comment
      
      * tweak pub use
      
      * wip
      
      * wip
      
      * wip
      
      * misc merge master
      
      * misc merge master
      
      * wip
      
      * rm tmp stuff
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * fixes
      
      * add state
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * fix
      
      * fixed compilation
      
      * clean up logs
      
      * wip
      
      * Revert "Frame Add translate_next"
      
      This reverts commit 10318fc95c42b1f7f25efeb35e6d947ea02bed88.
      
      * Fix v10 logic
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * wip
      
      * fixes
      
      * exercise del_queue
      
      * bump sample size
      
      * fmt
      
      * wip
      
      * blank line
      
      * fix lint
      
      * fix rustdoc job lint
      
      * PR comment do not use dangerous into()
      
      * Ad macros for updating mod visibility
      
      * Add doc
      
      * Add max_weight to integrity_test
      
      * fix compilation
      
      * Add no migration tests
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
      
      * fix clippy
      
      * PR review
      
      * Update frame/contracts/src/lib.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Fix master merge
      
      * fix merge 2
      
      * fix tryruntime
      
      * fix lint
      
      ---------
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      c7c5fc70
    • Adrian Catangiu's avatar
      pallet-beefy-mmr: fix when using custom hashing (#14273) · b43a1b0b
      Adrian Catangiu authored
      
      
      `Hash` is no longer part of `pallet_mmr::Config`, but this code
      would still build because it assumes we're referring to underlying
      `<pallet_mmr::Config as frame_system::Config>::Hash` which is not
      what we want when using different hashing between `frame_system`
      and `pallet_mmr`.
      
      Disambiguate by using correct `pallet_mmr::Config::Hashing` type.
      
      Signed-off-by: default avataracatangiu <[email protected]>
      b43a1b0b