Skip to content
  1. Jun 21, 2023
  2. Jun 20, 2023
    • PG Herveou's avatar
      Update contract multi-block migration (#14313) · 6ac85374
      PG Herveou authored
      
      
      * move migrate sequence to config
      
      * remove commented out code
      
      * Update frame/contracts/src/lib.rs
      
      Co-authored-by: default avatarPG Herveou <[email protected]>
      
      * remove Migrations generic
      
      * make runtime use noop migrations
      
      * restrict is_upgrade_supported
      
      * Update contract multi-block migration
      
      Ensure that we do as many steps as possible given the weight limit passed to on_idle
      
      * undo is_upgrade_supported change
      
      * Update bin/node/runtime/src/lib.rs
      
      Co-authored-by: default avatarPG Herveou <[email protected]>
      
      * wip
      
      * fix comment (#14316)
      
      * fix test
      
      * fix
      
      * Update frame/contracts/src/migration.rs
      
      Co-authored-by: default avatarJuan <[email protected]>
      
      * fix test doc
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Fix compilation with feature runtime-benchmarks
      
      * fix example
      
      * fix  cargo doc --document-private-items
      
      * private links
      
      * Remove dup comment
      
      * add doc for MigrationInProgress
      
      * PR review remove duplicate asserts
      
      * simplify upper bound
      
      * fix link
      
      * typo
      
      * typo
      
      * no unwrap()
      
      * correct log message
      
      * missing
      
      * fix typo
      
      * PR comment
      
      * Add example with single element tuple
      
      * Improve migration message
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Update frame/contracts/src/migration.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Update frame/contracts/src/migration.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * use saturating_accrue instead of +=
      
      * add more doc
      
      * Contracts: Better migration types (#14418)
      
      * Add explicit error, if try-runtime runs a noop migration
      
      * use mut remaining_weight
      
      ---------
      
      Co-authored-by: default avatarJuan Girini <[email protected]>
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      6ac85374
    • Mira Ressel's avatar
      ci: bump ci image for rust 1.70 (#14399) · 6ea37360
      Mira Ressel authored
      * ci: bump ci image for rust 1.70
      
      * ".git/.scripts/commands/update-ui/update-ui.sh" 1.70
      
      * chore: ignore the new let_with_type_underscore lint
      
      ---------
      
      Co-authored-by: command-bot <>
      6ea37360
  3. Jun 19, 2023
  4. Jun 18, 2023
    • Gavin Wood's avatar
      Society v2 (#11324) · 33a65362
      Gavin Wood authored
      
      
      * New Society
      
      * More logic drafting
      
      * More work
      
      * Building
      
      * Some tests
      
      * Fixes
      
      * Improvements to the voting process
      
      * More tests
      
      * Test number 20
      
      * Tests
      
      * 30 tests
      
      * Another test]
      
      * All tests enabled
      
      * Minor stuff
      
      * generate_storage_alias: Rewrite as proc macro attribute
      
      This rewrites the `generate_storage_alias!` declarative macro as proc-macro attribute. While doing
      this the name is changed to `storage_alias`. The prefix can now also be the name of a pallet. This
      makes storage aliases work in migrations for all kind of chains and not just for the ones that use
      predefined prefixes.
      
      * Maintenance operations don't pay fee
      
      * Fix compilation and FMT
      
      * Moare fixes
      
      * Migrations
      
      * Fix tests and add migration testing
      
      * Introduce lazy-cleanup and avoid unbounded prefix removal
      
      * Fixes
      
      * Fixes
      
      * [WIP][Society] Adding benchmarking to the v2. (#11776)
      
      * [Society] Adding benchmarking to the v2.
      
      * [Society] Code review.
      
      * [Society] Better code.
      
      * Using clear() + clear_prefix() and adding more tests.
      
      * Benchmarking again...
      
      * Fix Cargo
      
      * Fixes
      
      * Fixes
      
      * Spelling
      
      * Fix benchmarks
      
      * Another fix
      
      * Remove println
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarArtur Gontijo <[email protected]>
      33a65362
    • wangjj9219's avatar
      d8b18417
  5. Jun 16, 2023
  6. Jun 15, 2023
  7. Jun 14, 2023
  8. Jun 13, 2023
  9. Jun 12, 2023
  10. Jun 09, 2023
  11. Jun 08, 2023
  12. Jun 06, 2023
  13. 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
  14. Jun 04, 2023
  15. Jun 02, 2023
  16. Jun 01, 2023