This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
Improvement Idea: restrict dynamic prompt args
list as much as possible to prompt
#82
Labels
Opening this for discussion.
I understand the prompt needs to read generic input strings. I think it would be beneficial to add function signatures as soon as possible, and restrict this dynamic
args
list toprompt.py
as much as possible.For instance
neo.Prompt.Commands.LoadSmartContract.LoadContract
: Instead ofdef LoadContract(args):
it could/should bedef LoadContract(path, params, return_type, needs_storage):
This would make the code a lot easier to understand, and also more resilient to errors and bugs.
The text was updated successfully, but these errors were encountered: