Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

min/max for dates fails at runtime when applied over JSON input #511

Closed
jeromesimeon opened this issue Jan 14, 2019 · 1 comment
Closed
Labels

Comments

@jeromesimeon
Copy link
Member

Executing a contract passing JSON data with a dates array and applying min/max on those result in runtime errors in the JavaScript backend. Example error message:

bash-3.2$ cicero execute --request request.json --state state.json 
17:27:51 - info: Using current directory as template folder
17:27:51 - info: Loading a default sample.txt file.
17:27:54 - error: moments[i].isValid is not a function
17:27:54 - info: undefined

This is a bug in Ergo 0.6.0

@jeromesimeon
Copy link
Member Author

Fixed in PR #509

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant