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

FRAME: inherited call weight syntax #13932

Merged
merged 19 commits into from
Apr 27, 2023
Merged

Commits on Apr 17, 2023

  1. First approach on pallet::call_weight

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    8d931cb View commit details
    Browse the repository at this point in the history
  2. Use attr on pallet::call instead

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    d2ebead View commit details
    Browse the repository at this point in the history
  3. Ui tests

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    09e9338 View commit details
    Browse the repository at this point in the history
  4. Rename to weight(prefix = ...))

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    8f86155 View commit details
    Browse the repository at this point in the history
  5. Simplify to #[pallet::call(weight(T))]

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    73b1bb4 View commit details
    Browse the repository at this point in the history
  6. Add stray token error

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    0373644 View commit details
    Browse the repository at this point in the history
  7. Cleanup

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    fe3d657 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Migrate remaining pallets

    ggwpez committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    331d4b4 View commit details
    Browse the repository at this point in the history
  2. Try to add some docs

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    f83be2b View commit details
    Browse the repository at this point in the history
  3. Revert "Migrate remaining pallets"

    Lets do this as a follow-up, I dont want to bloat this small MR.
    
    This reverts commit 331d4b4.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    49eab30 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Renames

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    191b739 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Review fixes

    Co-authored-by: Sam Johnson <sam@durosoft.com>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    8edf233 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Test weights

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    8ba1c70 View commit details
    Browse the repository at this point in the history
  2. Update UI tests

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    bc847b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b489651 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Update frame/support/procedural/src/pallet/parse/mod.rs

    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    ggwpez and muharem committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    37d347f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Remove old code

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    7d9f78f View commit details
    Browse the repository at this point in the history
  2. Update docs

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    7bbea6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a507125 View commit details
    Browse the repository at this point in the history