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

s/handle/execute/ in entry_point! docs #1372

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

assafmo
Copy link
Contributor

@assafmo assafmo commented Jul 21, 2022

Hi all 👋, we got some feedback about a mistake in https://docs.rs/cosmwasm-std/1.0.0/cosmwasm_std/attr.entry_point.html where it says handle instead of execute:

  #[entry_point]
- pub fn handle(
+ pub fn execute(

Original feedback by @darwinzer0: https://forum.scrt.network/t/cosmwasm-v1-is-in-public-beta/6172/2

@assafmo assafmo marked this pull request as ready for review July 21, 2022 05:48
Copy link
Contributor

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

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

Silly mistake. :) Thank you!

@ueco-jb ueco-jb merged commit 88ab4ce into CosmWasm:main Jul 31, 2022
@webmaster128
Copy link
Member

Thanks! handle was the old name of the entry point. We then made them all verbs and change the perspective to the caller instead of the contract.

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.

3 participants