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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: mut struct in public function causes ICE if struct contains an Array #867

Open
cburgdorf opened this issue Apr 11, 2023 · 0 comments
Open

Comments

@cburgdorf
Copy link
Collaborator

What is wrong?

This causes an ICE:

struct Tx {
  pub executed: bool
  pub data: Array<u8, 320>
}

contract Foo {
  pub fn bar(mut tx: Tx) {}
}

How can it be fixed

馃敧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant