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

fix parsing code_info.instantiate_permission by adding converter #288

Merged
merged 2 commits into from
May 30, 2022

Conversation

Vritra4
Copy link
Contributor

@Vritra4 Vritra4 commented May 26, 2022

core v2 returns AccessType in form of human-friendly string like 'Everybody' by wasm/type/params.go
But accessTypeFromJSON requires "ACCESS_TYPE_EVERYBODY"
so wrapper function to get AccessType from human-friendly string added.

@Vritra4 Vritra4 requested a review from hanjukim May 26, 2022 12:53
@Vritra4
Copy link
Contributor Author

Vritra4 commented May 26, 2022

@JSHan94 i think we have to do the same thing for terra.py.

@Vritra4 Vritra4 merged commit 66f3bfa into main May 30, 2022
@Vritra4 Vritra4 deleted the fix/wasm-accesstype branch June 1, 2022 14: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