You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling str.lower will fix this. We can also restrict the names to be ASCII only, a certain length, and prepend a prefix to prevent collisions with Python keywords.
While -> while -> c_while # Add c_ prefix?
123hElLo -> should fail
Hi^^^%%@@ -> should fail
Describe the bug
Contracts are not case locked, so "currency" and "Currency" would be stored as two different contracts. That's a security risk.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
contracts should be converted to upper and lower and compared for duplicate names.
The text was updated successfully, but these errors were encountered: