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

chore(devnet): make drink generic over runtime #255

Closed
wants to merge 6 commits into from

Conversation

chungquantin
Copy link
Collaborator

@chungquantin chungquantin commented Sep 2, 2024

Link to issue: #251

Note

Design consideration: Successfully create a PopSandbox located under the folder pop-sandbox (Considered refactoring in the future for a reasonable structure).

Caution

Why do we need a separate pop-sandbox instead of using create_sandbox! macro to construct the runtime and sandbox for it? The approach was implemented before but got an issue with the HostFunction cumulus-primitives-proof-size-hostfunction when replacing the customized Sandbox in the drink test.

Left a few TODOs about the current issues.

  • (fix) A contract that use Pop API will throw DeploymentReverted or ContractTrapped. This perhaps can be an issue with the chain extension.
  • (chore) Next task would be rebasing the branch to daan/api (1.14.0) and upgrade the pop-drink repository to 1.14.0 as well.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (daan/api@8d1c085). Learn more about missing BASE report.

@@             Coverage Diff             @@
##             daan/api     #255   +/-   ##
===========================================
  Coverage            ?   34.10%           
===========================================
  Files               ?       34           
  Lines               ?     3011           
  Branches            ?     3011           
===========================================
  Hits                ?     1027           
  Misses              ?     1952           
  Partials            ?       32           

@Daanvdplas Daanvdplas mentioned this pull request Sep 9, 2024
@chungquantin
Copy link
Collaborator Author

Closed to rebase to v1.14.0

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