|
95 |
96 | fn get_governor() -> Address {
97 | return storage.governor.read().unwrap();
| ^^^^^^^^^^^^^^^^ No storage has been declared
98 | }
99 | #[storage(read)]
|
I’ve got rid of the meaningless errors by creating a custom toolchain with the dependency versions indicated in the beta-4 guide. It worked like a charm.
these commands will create a custom toolchain and install the required dependencies.
Thanks for the report. Intended version set for beta-4 toolchain:
forc 0.45.0
forc-explore 0.28.1
forc-index 0.20.7
forc-wallet 0.3.0
fuel-core 0.20.4
fuel-core-keygen 0.20.4
fuel-indexer 0.20.7
I can confirm that fuelup install toolchain beta-4 installs this version set. Maybe the guide was outdated while you were going through it because now I can see that the linked guide also states the same version set. Also mentioned error is coming from the sway compiler itself. So it should not be related to the mismatch between different binaries such as forc and fuel-core etc. If you are having other problems that makes you feel there is a mismatch between different binary versions, I am here to help.