apps
apps copied to clipboard
How to get shared object that was depended in other packages in test_scenario?
I tried to depend on the mainnet weather oracle, and a function in my own package takes a &oracle::weather::WeatherOracle object as parameter. How can I get the shared WeatherOracle object or create a object like using create_for_testing method for some incline struct (balance, clock) in test_scenario? Since without this, I cannot test my function locally.