We should consider native name providing solutions with declare, like providing the full path to the contract module, and possibly referring to a generated constant (like a NAME for example).
This task should result in a POC if possible
EDIT: We should wait for scarb plugins in order to implement this cleanly (we need class hashes to match with the real ones)
Also blocked by the fact that the constant is declared with cfg(test) so in tests it wouldn't be possible to use the contract from deps
We should consider native name providing solutions with declare, like providing the full path to the contract module, and possibly referring to a generated constant (like a NAME for example).
This task should result in a POC if possible
EDIT: We should wait for scarb plugins in order to implement this cleanly (we need class hashes to match with the real ones) Also blocked by the fact that the constant is declared with
cfg(test)
so in tests it wouldn't be possible to use the contract from deps