#Cargo test faild with HostError
6 messages · Page 1 of 1 (latest)
Without the code is hard to know the real reason but I have the feeling that you're trying to access the env storage outside of a contract
I feel I got a similar error when I tried to do that at some point
No, I am not accessing env storage outside the contract
This is my test fn
You need to register your contract, check this: https://soroban.stellar.org/docs/getting-started/storing-data