Skip to content

Commit

Permalink
fix queryByKey with upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbrauner-da committed Aug 14, 2024
1 parent 5440c7e commit c396144
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class ScriptF(majorLanguageVersion: LanguageMajorVersion) {
for {
keyTy <- env.lookupKeyTy(id)
translatorConfig =
if (enableContractUpgrading) preprocessing.ValueTranslator.Config.Coerceable
if (enableContractUpgrading) preprocessing.ValueTranslator.Config.Upgradeable
else preprocessing.ValueTranslator.Config.Strict
translated <- env.valueTranslator
.translateValue(keyTy, v, translatorConfig)
Expand Down

0 comments on commit c396144

Please sign in to comment.