Skip to content

Conversation

@raymondkfcheung
Copy link
Contributor

@raymondkfcheung raymondkfcheung commented Jan 2, 2026

Addresses #86

Depends on #162

@raymondkfcheung raymondkfcheung added the enhancement New feature or request label Jan 2, 2026
// checked by pre_dispatch_signed.
Self::ensure_data_size_ok(data.len())?;
if T::ChargeStorageFee::get() {
let sender = ensure_signed(origin)?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's wait with this a little bit, we need to fix feeless_if TODO and remove ValidateUnsigned and use AuthorizeCall extension first, because we also support unsigned transaction with ValidateUnsigned,
so if we allow ChargeStorageFee=true those will fail

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RafalMirowski1 maybe just unrelated note, as we discussed "pass authorization from check_signed to the fn store over origin", I have a feeling that we could use it here also, or make this as a part of ValidateSigned, let's see

@raymondkfcheung raymondkfcheung marked this pull request as draft January 5, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants