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

vm: support dict in script builder #254

Merged
merged 2 commits into from
Mar 27, 2023
Merged

vm: support dict in script builder #254

merged 2 commits into from
Mar 27, 2023

Conversation

ixje
Copy link
Member

@ixje ixje commented Mar 27, 2023

The NEO ABI supports a Map type (ref) as input parameter and return type. A Map is pretty similar to Pythons dict with the exception that the keys are limited to bool,str and int. While it is not used much, it is good to have convenient support for it in the ScriptBuilder class.

@coveralls
Copy link

coveralls commented Mar 27, 2023

Coverage Status

Coverage: 81.0% (+0.03%) from 80.973% when pulling 73c89f6 on sb-dict into d7e2c02 on master.

@ixje ixje merged commit bcb1ef1 into master Mar 27, 2023
@ixje ixje deleted the sb-dict branch March 27, 2023 18:01
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.

None yet

2 participants