ethereum-studio
ethereum-studio copied to clipboard
Unable to set or change bool data from Interact
Environment/Browser
Live.
Description
Unable to toggle bool
data from Interact panel.
Steps to reproduce
- From Hello World template
- Edit HelloWorld.sol:
contract HelloWorld {
bool public message;
constructor(bool initMessage) public {
message = initMessage;
}
function update(bool newMessage) public {
message = newMessage;
}
}
- Compile
- Deploy
- Interact
- Trigger
update
withfalse
or0
- Trigger
message
(green button)
Expected result
Expected 0 and
falseto lead to
false`.
Actual result
Returns true
.