Closed luka-ethernal closed 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.
Please add the labels corresponding to the type of changes your PR introduces:
cargo test
cargo fmt
cargo build --release
cargo build --release --features runtime-benchmarks
cargo clippy
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
cargo test
.cargo fmt
.cargo build --release
andcargo build --release --features runtime-benchmarks
.cargo clippy
.