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

Example for testing with drink #1427

Merged
merged 11 commits into from
Nov 20, 2023
Merged

Example for testing with drink #1427

merged 11 commits into from
Nov 20, 2023

Conversation

kvinwang
Copy link
Collaborator

@kvinwang kvinwang commented Nov 6, 2023

I've made a drink runtime for pink here.
This PR show an example for how to do quasi-E2E test using it, and makes some changes to pink-extention to make the framework work.

There are 2 issue I encountered (Both has been resolved):

  • We need to patch the drink, so that we can do some extra setup for pink runtime. I've submitted a PR there.
  • Drink currently doesn't support to upload or call Indeterministic codes. So, we can not use it to test JS codes so far. I've submitted an issue there.

@@ -29,4 +29,3 @@ std = [
]
runtime_utils = ["std"]
dlmalloc = ["ink/no-allocator", "dep:dlmalloc"]
ink-as-dependency = []
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This feature flag is unused but breaks the drink to work. Let's remove it.
Because of this breaking change, we bump the version to 0.5.0.

@kvinwang kvinwang changed the title Drink Example for testing with drink Nov 6, 2023
@kvinwang kvinwang requested a review from h4x3rotab November 6, 2023 13:03
@kvinwang kvinwang merged commit 1232a43 into master Nov 20, 2023
8 checks passed
@kvinwang kvinwang deleted the drink branch November 20, 2023 02:33
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