availproject / avail

772 stars 529 forks source link

Change AppUncheckedExtrinsic TryFrom<ExtrinsicDetails> to work with r… #539

Closed luka-ethernal closed 5 months ago

luka-ethernal commented 5 months ago

Change AppUncheckedExtrinsic TryFrom to work with reference, since subxt can't return owned instance (and prevents clone()).

This is needed to avoid some situations in avail-test, where we only get reference. And it also works with owned case, so it's more leniant.

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Description

Related Issues

Testing Performed

Checklist