Closed CJ42 closed 1 year ago
In LSP2, the valueType for boolean values is bool because the type for true/false values in Solidity is declared as bool.
valueType
bool
However, most user of the erc725.js library are Javascript developers. In Javascript the type is boolean.
boolean
It is also more common in plain english to use the terminology "boolean" (We say in plain english "a boolean value" ✅, not "a bool value" ❌).
Allow in erc725.js to use the word "boolean" in valueType. This should fallback by default to encoding/decoding as bool.
@CJ42 I think this was closed in PR: https://github.com/ERC725Alliance/erc725.js/pull/266
?
Can we close?
@Hugoo yes this was implemented ✅ Can be closed.
I'm submitting a...
In LSP2, the
valueType
for boolean values isbool
because the type for true/false values in Solidity is declared asbool
.However, most user of the erc725.js library are Javascript developers. In Javascript the type is
boolean
.It is also more common in plain english to use the terminology "boolean" (We say in plain english "a boolean value" ✅, not "a bool value" ❌).
Allow in erc725.js to use the word "
boolean
" invalueType
. This should fallback by default to encoding/decoding asbool
.