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 to avoid panic in host env functions #2478

Merged
merged 3 commits into from
Jan 31, 2024
Merged

Conversation

yito88
Copy link
Member

@yito88 yito88 commented Jan 31, 2024

Describe your changes

  • Replace unreachable! with Error
  • Fix amount.spend/recieve to return Result

Indicate on which release or other PRs this topic is based on

v0.30.3

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@yito88 yito88 requested review from cwgoes and sug0 January 31, 2024 10:56
Copy link
Collaborator

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

LGTM - thank you!

@cwgoes cwgoes mentioned this pull request Jan 31, 2024
@brentstone brentstone merged commit c9eefed into main Jan 31, 2024
12 of 15 checks passed
@brentstone brentstone deleted the yuji/fix-hostenv-panic branch January 31, 2024 14:59
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.

4 participants