Skip to content

tx host env panics fixes#2401

Merged
tzemanovic merged 7 commits intomainfrom
tomas/tx-host-env
Jan 26, 2024
Merged

tx host env panics fixes#2401
tzemanovic merged 7 commits intomainfrom
tomas/tx-host-env

Conversation

@tzemanovic
Copy link
Copy Markdown
Collaborator

@tzemanovic tzemanovic commented Jan 16, 2024

Describe your changes

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

0.30.1

Checklist before merging to draft

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

@tzemanovic tzemanovic force-pushed the tomas/tx-host-env branch 2 times, most recently from 197eb5a to 81d440a Compare January 16, 2024 11:41
@Fraccaman Fraccaman mentioned this pull request Jan 17, 2024
tzemanovic added a commit that referenced this pull request Jan 18, 2024
@tzemanovic tzemanovic marked this pull request as ready for review January 18, 2024 08:59
@tzemanovic tzemanovic requested a review from sug0 January 18, 2024 09:00
sug0
sug0 previously approved these changes Jan 18, 2024
Copy link
Copy Markdown
Collaborator

@sug0 sug0 left a comment

Choose a reason for hiding this comment

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

some nits and comments. adding proptests to catch panics was a great idea.

@sug0 sug0 self-requested a review January 19, 2024 09:26
tzemanovic added a commit that referenced this pull request Jan 22, 2024
* tomas/tx-host-env:
  better var names
  changelog: add #2401
  test: test more tx host env fns for panic
  avoid overflow panic in debug log call
  host_env: fix vp_result_buffer to handle missing value
  host_env: fix tx_result_buffer to handle a missing result value
  test/wasm: checks for panics in tx_read host_env fn
@tzemanovic tzemanovic mentioned this pull request Jan 25, 2024
@tzemanovic tzemanovic merged commit f7b7844 into main Jan 26, 2024
@tzemanovic tzemanovic deleted the tomas/tx-host-env branch January 26, 2024 10:43
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