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

Fix local contract upgrade #20296

Open
wants to merge 12 commits into
base: main-2.x
Choose a base branch
from
Open

Conversation

paulbrauner-da
Copy link
Contributor

@paulbrauner-da paulbrauner-da commented Nov 13, 2024

Fixes #20282.

We now always perform the upgrade validation check in the engine, so the NeedUpgradeVerification question is effecively unused. I'll remove it in a latter PR as it will require quite some cleanup.

I've removed test cases that test impossible situations if we assume the upload and type checkers have run, and which now fail because we try to import values.

I added a bunch of daml-script tests as a sanity check, but I don't cover the entire space (disclosed contracts, fetch, fetch by interface, etc.). I plan to do that as part of the "one true test" so I don't want to replicate too much work here.

@paulbrauner-da paulbrauner-da marked this pull request as ready for review November 14, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant