This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
contracts: Refactor trait Ext::*_storage_transparent
functions
#13594
Labels
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Those functions are identical with their non-transparent counterparts. This is a nuisance we want to get rid of. We can unify them if we could make them generic. However, this is currently not possible as some tests use the trait
Ext
as an object. Traits with generic functions are not object safe.The obvious solution is to refactor the tests to no longer use
Ext
as an object. Maybe there are other solutions for removing the code duplication.Assign to @pgherveou as soon as he is added to paritytech.
The text was updated successfully, but these errors were encountered: