Hi again @timotejGerzelj this should be possible try this! Additionally take a look at this forum post which I think might be helpful for you. Is there a way to assign StorageVec inside a struct and then the struct will be used in maps.
use std::storage::storage_vec::*;
storage {
map: StorageMap<Address, StorageVec<u64>> = StorageMap {},
}
...
toolchain version I’m running
active toolchain
-----------------
latest-aarch64-apple-darwin (default)
forc : 0.42.0
- forc-client
- forc-deploy : 0.42.0
- forc-run : 0.42.0
- forc-doc : 0.42.0
- forc-explore : 0.28.1
- forc-fmt : 0.42.0
- forc-index : 0.17.3
- forc-lsp : 0.42.0
- forc-tx : 0.42.0
- forc-wallet : 0.2.3
fuel-core : 0.18.3
fuel-indexer : 0.17.3
fuels versions
---------------
forc : 0.43
forc-wallet : 0.43.0