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 Daml3-script issue with LF1.15 #20236

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

Conversation

samuel-williams-da
Copy link
Contributor

Following #20087, submissions on Daml3-script with LF1.15 would lead to a "Couldn't resolve package name" issue, as the LF1.15 commands were being given #package-name for their package-id.
This PR fixes that issue, and migrates a daml3-script test suite over so we can catch these issues in future.

I've also added a small internal flag to daml sandbox, so I can more easily spin up non-upgrade sandboxes in future. I can remove this if we don't want it (See 5dc53de)

@samuel-williams-da samuel-williams-da force-pushed the sw/fix-daml3-script-without-upgrades branch from 3b31753 to 2300e87 Compare November 4, 2024 10:12
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was copied out of the daml-test-files, as the one used in Dev mode has GuardedExercise, which will not compile in 1.15

Copy link
Contributor

@paulbrauner-da paulbrauner-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@samuel-williams-da samuel-williams-da enabled auto-merge (squash) November 5, 2024 16:00
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.

2 participants