Errors "expected `AssetId`, found `[u8; 32]` arguments to this function are incorrect" and "Unrecognized primitive type: `str`." during `forc index build`
chlenc opened this issue · 1 comments
chlenc commented
Hi guys
I tried to build an indexer with abi of one of our spark perp contracts and got this error
after I removed str from abi, and after that I got that error (2nd screenshot)
my toolchain
Default host: aarch64-apple-darwin
fuelup home: /Users/alexey/.fuelup
installed toolchains
--------------------
beta-3-aarch64-apple-darwin
beta-4-rc.2-aarch64-apple-darwin
latest-aarch64-apple-darwin
beta-4-aarch64-apple-darwin (default)
hotfix
latest-2023-09-25-aarch64-apple-darwin
latest-2023-11-15-aarch64-apple-darwin
my-custom-toolchain
active toolchain
-----------------
beta-4-aarch64-apple-darwin (default)
forc : 0.46.1
- forc-client
- forc-deploy : 0.46.1
- forc-run : 0.46.1
- forc-doc : 0.46.1
- forc-explore : 0.28.1
- forc-fmt : 0.46.1
- forc-index : 0.23.0
- forc-lsp : 0.46.1
- forc-tx : 0.46.1
- forc-wallet : 0.3.0
fuel-core : 0.20.5
fuel-core-keygen : Error getting version string
fuel-indexer : 0.23.0
fuels versions
---------------
forc : 0.45
forc-wallet : 0.45
here is my abi
account-balance-abi.json