-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing generics for enum std::option::Option
during forc index build
#1328
Comments
© @lostman
|
This is caused by https://github.com/compolabs/sway-lend/blob/beta-4/services/swaylend-indexer/market-abi.json#L117 https://github.com/compolabs/sway-lend/blob/beta-4/services/swaylend-indexer/market-abi.json#L136 I'm working on a fix. |
|
Thanks a lot ser ❤️ |
|
Closing as complete in #1332 |
missing generics for enum
std::option::Option
duringforc index build
Hi guys, I'm trying to use indexer in my swaylend contract on beta4
Swaylend market contract deployed here:
0x2679d41c2981bcd6ab69d66f0ae656077efecac2c2dd729f88f5a6457ce1d5f1
Swaylend code is here:
https://github.com/compolabs/sway-lend/blob/beta-4/contracts/market/src/main.sw
The problem
I've created a brand new indexer using
forc index new swaylend-indexer --namespace composabilitylabs
Changed a bit
src/lib.rs, added abi and changed
swaylend_indexer.manifest.yaml`You can find the swaylend indexer here
https://github.com/compolabs/sway-lend/tree/beta-4/services/swaylend-indexer
But during build, it fails with next error
Toolchain
How to reproduce
The text was updated successfully, but these errors were encountered: