frequency icon indicating copy to clipboard operation
frequency copied to clipboard

feat: implement pallet_msa::withdraw_tokens extrinsic

Open JoeCap08055 opened this issue 9 months ago • 1 comments

Goal

The goal of this PR is to implement an initia withdraw_tokens extrinsic that allows MSAs holding tokens to authorize their tokens to be withdrawn to a specified account.

Closes #2388

Discussion

Checklist

  • [x] Updated Pallet Readme?
  • [ ] Updated js/api-augment for Custom RPC APIs?
  • [ ] Design doc(s) updated?
  • [x] Unit Tests added?
  • [x] e2e Tests added?
  • [x] Benchmarks added?
  • [x] Spec version incremented?

JoeCap08055 avatar May 12 '25 21:05 JoeCap08055

Codecov Report

Attention: Patch coverage is 97.93103% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pallets/msa/src/lib.rs 98.23% 2 Missing :warning:
pallets/msa/src/types.rs 96.87% 1 Missing :warning:
Files with missing lines Coverage Δ
pallets/msa/src/types.rs 97.74% <96.87%> (-0.28%) :arrow_down:
pallets/msa/src/lib.rs 93.29% <98.23%> (+0.54%) :arrow_up:
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 13 '25 15:05 codecov[bot]