Skip to content
  • Georges's avatar
    Moving `pallet-asset-tx-payment` from cumulus to substrate (#10127) · 439af98e
    Georges authored
    
    
    * Moving `pallet-asset-tx-payment` from cumulus
    
    * move pallet-asset-tx-payment into transaction payment directory
    
    * cargo +nightly fmt
    
    * Adding `pallet-asset-tx-payment` to node runtime
    I had to change the Balance type to u128.
    Also harmonised that pallet's version
    
    * Updating cargo.lock after merge
    
    * forgot this
    
    * Adding tx-payment signature
    
    * Missed one more
    
    * `transaction-payment` replaced in`SignedExtension`
    by `asset-tx-payment` and not added
    
    * Fixing benches
    
    * add test to verify that we don't charge on post-dispatch if we didn't on pre-dispatch
    
    * add (failing) test for asset tx payment of unsigned extrinsics
    
    * fix test by removing debug_assert
    
    * cargo +nightly fmt
    
    * typo in `Cargo.lock`
    
    * Object defined twice in lock file
    
    * cargo update
    
    * remove todo
    
    * Apply formatting suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Refactoring `post_dispatch` of `asset-tx-payment`
    to reuse `post_dispatch` of `transaction-payment` if the fee asset is
    native
    Removing unneeded imports.
    
    * Removing redundant `TODO`
    
    * Reverting an accidental bump of `impl-serde`
     from `0.3.1` to `0.3.2`
    
    * Revert unneeded changes to `cargo.lock`
    
    * Update frame/transaction-payment/asset-tx-payment/src/payment.rs
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Fixing cargo fmt
    
    Reverting changes which broke cargo fmt
    
    Co-authored-by: default avatarAlexander Popiak <[email protected]>
    Co-authored-by: default avatarAlexander Popiak <[email protected]>
    Co-authored-by: default avatarKian Paimani <[email protected]>
    439af98e