You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in-memory selection is enabled by default, and to disable it you need to add tokens-selection-1.1.conf under cordapps/config with the following:
stateSelection.inMemory.enabled=false
// You need to supply the below values even when disabling,
// otherwise you'll get a warning.
stateSelection.inMemory.indexingStrategies: ["EXTERNAL_ID"]
stateSelection.inMemory.cacheSize=1024
The above worked fine for me when running nodes locally, but I wasn't able to achieve the same for flow tests.
When I run my test in debug mode, I noticed that InMemorySelectionConfig is not able to identify my keys even though they're there. Notice how exists() returns false even though the object config has that value:
The text was updated successfully, but these errors were encountered:
Corda 4.3 OpenSource
Tokens SDK 1.1
Currently in-memory selection is enabled by default, and to disable it you need to add
tokens-selection-1.1.conf
undercordapps/config
with the following:The above worked fine for me when running nodes locally, but I wasn't able to achieve the same for flow tests.
When I run my test in debug mode, I noticed that
InMemorySelectionConfig
is not able to identify my keys even though they're there. Notice howexists()
returnsfalse
even though the objectconfig
has that value:The text was updated successfully, but these errors were encountered: