Closed fulldecent closed 5 years ago
Blockchain.log is throwing when a topic is passed as null.
Documentation does not specify null is disallowed. Same documentation specifies null is disallowed for a different parameter. https://avm-api.aion.network/avm/blockchain#log(byte%5B%5D)
Test case:
Expected:
Null is allowed.
Actual:
Exception thrown.
Closing this issue since documentation states that java.lang.IllegalArgumentException is thrown "when the arguments are invalid, e.g. any are NULL".
java.lang.IllegalArgumentException
Blockchain.log is throwing when a topic is passed as null.
Documentation does not specify null is disallowed. Same documentation specifies null is disallowed for a different parameter. https://avm-api.aion.network/avm/blockchain#log(byte%5B%5D)
Test case:
Expected:
Null is allowed.
Actual:
Exception thrown.