Skip to content
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

Changed key values are not checked #19948

Open
moisesackerman-da opened this issue Sep 17, 2024 · 0 comments
Open

Changed key values are not checked #19948

moisesackerman-da opened this issue Sep 17, 2024 · 0 comments
Labels
language Language team work upgrades

Comments

@moisesackerman-da
Copy link
Contributor

Currently, it is possible to define a V2 package that changes a template's key definition wrt V1. According to the design, at runtime the engine/ledger should check that the key evaluates to the same value with both versions, but that isn't the case with queryContractKey/queryContractId/fetchByKey/exerciseByKey/exerciseByKeyCmd`.

Test cases PRs:

@moisesackerman-da moisesackerman-da added language Language team work upgrades labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language Language team work upgrades
Projects
None yet
Development

No branches or pull requests

1 participant