`setup_program_test` is unhygenic
segfault-magnet opened this issue · 0 comments
segfault-magnet commented
Issues ranging from the use of ::rand
(i.e. cannot call the macro if you don't have the dep) to assuming fuels
types are imported in the macro scope.
::rand
(and other deps if applicable) should either be reexported (research risks to semver breaking changes) or any call to them should be delegated to a fn exported in fuels
so that the rand
dep is hidden behind the fn call.
Make sure to remove rand
from the e2e
tests Cargo.toml
once finished.