Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Feature sc apis #113

Merged
merged 17 commits into from
Dec 10, 2017
Merged

Feature sc apis #113

merged 17 commits into from
Dec 10, 2017

Conversation

localhuman
Copy link
Collaborator

What current issue(s) does this address?, or what feature is it adding?

Adds additional functionality covered in these features for neo core:

These work in conjunction with changes to currently in the neo-boa development branch

Are there any special changes in the code that we should be aware of?

Main change is that when building a contract or importing one, you now need to specify whether a contract needs dynamic invoke or not, same as you do with storage. So this:

> build ../path/to/file.py test 0510 05 True name []

Would now be this:

> build ../path/to/file.py test 0510 05 True False name []

Unless you want your contract to be able to invoke other contracts defined at runtime, in which case it would be this:

> build ../path/to/file.py test 0510 05 True True name []

Same changes apply to the import contract command:

> import contract path/to/file.avm 0510 05 True

Should now be this:

> import contract path/to/file.avm 0510 05 True False

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 68.314% when pulling 6aec684 on feature-sc-apis into b71806f on development.

@localhuman localhuman removed the request for review from metachris December 10, 2017 18:06
@localhuman localhuman merged commit 5ce125d into development Dec 10, 2017
@metachris
Copy link
Contributor

👍

@localhuman localhuman deleted the feature-sc-apis branch December 29, 2017 01:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants