F
Flow8mo ago
joshua

joshua | Flow (2024-04-11)

@mpeter I'm getting an error when I run my tests in this branch: https://github.com/onflow/flow-nft/pull/211
- FAIL: testGetIterator
Execution failed:
error: slab (0x0.1055) not found: slab not found for stored value
--> tests/example_nft_test.cdc:262:12
- FAIL: testGetIterator
Execution failed:
error: slab (0x0.1055) not found: slab not found for stored value
--> tests/example_nft_test.cdc:262:12
Do you know what that means?
5 Replies
Needle
Needle8mo ago
I've created a thread for your message. Please continue any relevant discussion in this thread. You can rename this thread using /title <new title> If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadence
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
joshua
joshuaOP8mo ago
oh yeah, that makes sense. I'll change it
turbolent
turbolent8mo ago
@joshua | Flow Can you please open a bug report for that in the cadence-tools repo? we should either try to add support, given normal scripts are able to return the value, or at least report a better error
joshua
joshuaOP8mo ago
GitHub
[Testing Framework] Error when returning a reference type · Issue #...
Current Behavior When executing a script that returns a reference, the error that the testing framework gives is unclear: - FAIL: testGetIterator Execution failed: error: slab (0x0.1055) not found:...
Want results from more Discord servers?
Add your server