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

Use FnOnce in with_*_from_context #333

Closed
wants to merge 1 commit into from
Closed

Conversation

webmaster128
Copy link
Member

All the callbacks are called no more than once. This reduces the requirements in the given input, i.e. allow more functions than before.

@reuvenpo can you have a look? This conflicts with #331 but should make sense independently.

All the callbacks are called no more than once. This reduces the
requirements in the given input, i.e. allow more functions than before.
@reuvenpo
Copy link
Contributor

I'll play around with this on Sunday, but i can definitely replicate this in #331. It looks like the right move to me 😄 (although it doesn't really have a large impact for us at the moment)

@webmaster128 webmaster128 mentioned this pull request May 15, 2020
reuvenpo added a commit to reuvenpo/cosmwasm that referenced this pull request May 17, 2020
@reuvenpo
Copy link
Contributor

The changes in this PR are also reflected in #331, so when it is merged, this can be closed. I also believe there shouldn't be any conflict between them, so we could also just merge this without too many issues.

@webmaster128
Copy link
Member Author

Thanks!

@webmaster128 webmaster128 deleted the FnOnce-in-vm branch May 18, 2020 07:02
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