Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[FRAME Core] Default Pallet Config Trait / derive_impl #13454

Merged
merged 124 commits into from
May 30, 2023

Commits on Mar 29, 2023

  1. first draft, probably won't work

    kianenigma authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    83ebbbe View commit details
    Browse the repository at this point in the history
  2. first draft, probably won't work

    kianenigma authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    8597691 View commit details
    Browse the repository at this point in the history
  3. good progress..

    kianenigma authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    8090642 View commit details
    Browse the repository at this point in the history
  4. good milestone, still a lot to do.

    kianenigma authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6294102 View commit details
    Browse the repository at this point in the history
  5. EVERYTHING WORKS

    kianenigma authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    a0a6423 View commit details
    Browse the repository at this point in the history
  6. Update frame/support/procedural/src/derive_impl.rs

    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    749df49 View commit details
    Browse the repository at this point in the history
  7. Update frame/support/procedural/src/derive_impl.rs

    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    0777136 View commit details
    Browse the repository at this point in the history
  8. clean up + cargo fmt

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    7d5d50f View commit details
    Browse the repository at this point in the history
  9. import tokens WIP

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6c6f8c5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9abec0a View commit details
    Browse the repository at this point in the history
  11. WIP / notes

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    930cc25 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    01c88ad View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4b481be View commit details
    Browse the repository at this point in the history
  14. combine_impls almost working

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    4ff18f4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cd0753c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    07d80f5 View commit details
    Browse the repository at this point in the history
  17. working + clean up

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    7dc8022 View commit details
    Browse the repository at this point in the history
  18. more clean up

    sam0x17 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    c8924cc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b409576 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d72da33 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d27b824 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. fix no_std issues

    sam0x17 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    3e4c923 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d178975 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    046b0b8 View commit details
    Browse the repository at this point in the history
  2. remove trait item code for different trait item types since this

    is now handled directly by combine_impls
    sam0x17 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    e3566dd View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. clean up

    sam0x17 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    bd68211 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. remove dev comments

    sam0x17 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    dce288d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e061bbb View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    8b8a11e View commit details
    Browse the repository at this point in the history
  2. compiling 🎉

    sam0x17 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    271186a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48506f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5bda5f View commit details
    Browse the repository at this point in the history
  5. clean up debug code

    sam0x17 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7fc7665 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    04fd313 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9e31858 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. add neater #[register_default_config(SomeIdent)] macro

    * really just a thin wrapper around #[export_tokens]
    sam0x17 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    5b8019b View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Configuration menu
    Copy the full SHA
    b7a5a3f View commit details
    Browse the repository at this point in the history
  2. upgrade to macro_magic 0.3.1

    sam0x17 committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    ef9d107 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Configuration menu
    Copy the full SHA
    bc3237c View commit details
    Browse the repository at this point in the history
  2. remove unused keywords

    sam0x17 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    d17c807 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Configuration menu
    Copy the full SHA
    4d089e5 View commit details
    Browse the repository at this point in the history
  2. upgrade to macro_magic v0.3.2

    sam0x17 committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    879de64 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    d697ee1 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. bump to macro_magic v0.3.3

    sam0x17 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    f6c232e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    727a4e7 View commit details
    Browse the repository at this point in the history
  3. overhaul docs

    sam0x17 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    df3b5ce View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    4a33e99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9413d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec34f58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52152a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Configuration menu
    Copy the full SHA
    e191aa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc9ee82 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5119cf5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fd5cc5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    814176e View commit details
    Browse the repository at this point in the history
  6. move tests to bottom

    sam0x17 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    d4cf31e View commit details
    Browse the repository at this point in the history
  7. fix nightly issue

    sam0x17 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    53bfe6d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d80bbdd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9bf5328 View commit details
    Browse the repository at this point in the history
  10. remove explicit use of macro_magic::use_attr

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    97de112 View commit details
    Browse the repository at this point in the history
  11. use explicit macro_magic::use_attr

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    194da7f View commit details
    Browse the repository at this point in the history
  12. remove unneeded {}

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    4dd4440 View commit details
    Browse the repository at this point in the history
  13. remove unneeded collect

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    e32e8a1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f90f13d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    edfc83b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    efd9222 View commit details
    Browse the repository at this point in the history
  17. no need to clone

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    78ac0d5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1dae299 View commit details
    Browse the repository at this point in the history
  19. remove unused dependency

    sam0x17 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    faa8dce View commit details
    Browse the repository at this point in the history
  20. simplify struct definition

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    8374ed8 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    8b22ea6 View commit details
    Browse the repository at this point in the history
  2. reduce rightward drift / refactor

    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d7f3f6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b90575 View commit details
    Browse the repository at this point in the history
  4. simplify disambiguation_path calculation

    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang committed May 2, 2023
    Configuration menu
    Copy the full SHA
    afae21c View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. compiling again

    sam0x17 committed May 3, 2023
    Configuration menu
    Copy the full SHA
    f784efc View commit details
    Browse the repository at this point in the history
  2. simplify parsing of trait item

    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang committed May 3, 2023
    Configuration menu
    Copy the full SHA
    763a93a View commit details
    Browse the repository at this point in the history
  3. rename preludes => prelude

    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang committed May 3, 2023
    Configuration menu
    Copy the full SHA
    16b4d5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc688f9 View commit details
    Browse the repository at this point in the history
  5. fix indents

    sam0x17 committed May 3, 2023
    Configuration menu
    Copy the full SHA
    8077b7b View commit details
    Browse the repository at this point in the history
  6. simplify PalletAttr parsing

    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang committed May 3, 2023
    Configuration menu
    Copy the full SHA
    a399ecd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c825367 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b373b52 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Configuration menu
    Copy the full SHA
    af16dac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce06d17 View commit details
    Browse the repository at this point in the history
  3. fix docs

    sam0x17 committed May 4, 2023
    Configuration menu
    Copy the full SHA
    e7c9056 View commit details
    Browse the repository at this point in the history
  4. Change {} to ;

    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr committed May 4, 2023
    Configuration menu
    Copy the full SHA
    655657e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9bcf5e8 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    4449600 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. update dev-mode specific docs

    sam0x17 committed May 17, 2023
    Configuration menu
    Copy the full SHA
    238dc9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a7f74e View commit details
    Browse the repository at this point in the history
  3. add docs to example pallet

    sam0x17 committed May 17, 2023
    Configuration menu
    Copy the full SHA
    07a0555 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a99aca0 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Configuration menu
    Copy the full SHA
    cc7bd84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4b7de8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13d5ab4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9113c4 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Configuration menu
    Copy the full SHA
    9d4cce6 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. change #[pallet::default_config] to option on #[pallet::config()]

    * update UI tests
    * add UI test covering missing `#[pallet::config(with_default)]` when
      `#[pallet::no_default]` is used
    sam0x17 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    167cbbd View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    c8640d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb4f8fd View commit details
    Browse the repository at this point in the history
  3. fix doc comment

    sam0x17 committed May 23, 2023
    Configuration menu
    Copy the full SHA
    1029ff6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86b649c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. use u32 instead of u64 for block number

    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    sam0x17 and kianenigma committed May 24, 2023
    Configuration menu
    Copy the full SHA
    fc7b8aa View commit details
    Browse the repository at this point in the history
  2. use () instead of u32 for AccountData

    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    sam0x17 and kianenigma committed May 24, 2023
    Configuration menu
    Copy the full SHA
    09c30c1 View commit details
    Browse the repository at this point in the history
  3. use ConstU32<10> for BlockHashCount instead of ConstU64<10>

    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    sam0x17 and kianenigma committed May 24, 2023
    Configuration menu
    Copy the full SHA
    0b21ac1 View commit details
    Browse the repository at this point in the history
  4. people are not dummies

    Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
    sam0x17 and liamaharon committed May 24, 2023
    Configuration menu
    Copy the full SHA
    144c09d View commit details
    Browse the repository at this point in the history
  5. fix wording

    Co-authored-by: Just van Stam <vstam1@users.noreply.github.com>
    sam0x17 and vstam1 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    d86021e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db8587f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4ffda9b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0decc58 View commit details
    Browse the repository at this point in the history
  9. update Cargo.lock

    sam0x17 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    2f8f4a5 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Configuration menu
    Copy the full SHA
    ba426b2 View commit details
    Browse the repository at this point in the history
  2. cleaner example

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    7356072 View commit details
    Browse the repository at this point in the history
  3. tweaks

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    85f20d0 View commit details
    Browse the repository at this point in the history
  4. update docs more

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    19540f6 View commit details
    Browse the repository at this point in the history
  5. update docs more

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    b36a086 View commit details
    Browse the repository at this point in the history
  6. update docs more

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    68b76d2 View commit details
    Browse the repository at this point in the history
  7. update docs more

    kianenigma committed May 26, 2023
    Configuration menu
    Copy the full SHA
    298352b View commit details
    Browse the repository at this point in the history

Commits on May 28, 2023

  1. fix ui tests

    kianenigma committed May 28, 2023
    Configuration menu
    Copy the full SHA
    e141483 View commit details
    Browse the repository at this point in the history
  2. err

    kianenigma committed May 28, 2023
    Configuration menu
    Copy the full SHA
    4b6fe4a View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Configuration menu
    Copy the full SHA
    d3d7d93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ee1b09 View commit details
    Browse the repository at this point in the history
  3. Master.into()

    kianenigma committed May 29, 2023
    Configuration menu
    Copy the full SHA
    41da6cd View commit details
    Browse the repository at this point in the history
  4. update ui tests

    kianenigma committed May 29, 2023
    Configuration menu
    Copy the full SHA
    638c1fa View commit details
    Browse the repository at this point in the history