Skip to content

Commit

Permalink
Merge pull request #28 from keyko-io/issue/arrays_type_not_supported
Browse files Browse the repository at this point in the history
array type not supported
  • Loading branch information
josepablofm78 authored Apr 3, 2020
2 parents 23a45ad + 363380b commit cdc10eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.keyko.monitoring</groupId>
<artifactId>web3-event-streamer</artifactId>
<version>0.2.5</version>
<version>0.2.6</version>
<name>Web3 Monitoring Event Streamer</name>
<url>https://github.com/keyko-io/web3-event-streamer</url>
<inceptionYear>2019</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public static Object convertWeb3Type(Type parameter, String name) throws TypeCon

String parameterType = parameter.getTypeAsString();

if (parameterType.contains("["))
throw new TypeConversionException("Arrays not supported: " + parameterType);


if (parameterType.equals("address"))
return new StringParameter(name, parameterType, Keys.toChecksumAddress(parameter.toString()));

Expand Down

0 comments on commit cdc10eb

Please sign in to comment.