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

Expose bug #879

Closed

Conversation

cburgdorf
Copy link
Collaborator

What was wrong?

How was it fixed?

To-Do

  • OPTIONAL: Update Spec if applicable

  • Add entry to the release notes (may forgo for trivial changes)

  • Clean up commit history

}

pub fn get_address_from_storage(self, index: u256) -> address {
return self.addr_array.get(index)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The test works if we change that to be self.addr_array.to_mem().get(index). I believe the compiler rejected that in the past but doesn't anymore.

@cburgdorf
Copy link
Collaborator Author

This is fixed via #881

@cburgdorf cburgdorf closed this May 2, 2023
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