diff --git a/pom.xml b/pom.xml
index d927018..b3934ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
io.keyko.monitoring
web3-event-streamer
- 0.1.2
+ 0.1.3
Web3 Monitoring Event Streamer
https://github.com/keyko-io/web3-event-streamer
2019
@@ -20,7 +20,7 @@
20190722
1.4.0
UTF-8
- 0.2.2
+ 0.2.3
4.4
diff --git a/src/test/java/io/keyko/monitoring/ProcessorsTest.java b/src/test/java/io/keyko/monitoring/ProcessorsTest.java
index 6f01007..6740af3 100644
--- a/src/test/java/io/keyko/monitoring/ProcessorsTest.java
+++ b/src/test/java/io/keyko/monitoring/ProcessorsTest.java
@@ -28,9 +28,10 @@ public class ProcessorsTest {
private static final String MOCK_SCHEMA_REGISTRY_URL = "mock://" + SCHEMA_REGISTRY_SCOPE;
- public EventDetailsRecord transferDetails = new EventDetailsRecord("Transfer", "Transfer","filter1", "default",
+ public EventDetailsRecord transferDetails = new EventDetailsRecord("Transfer", "Transfer", "filter1", "default",
Arrays.asList(new StringParameter("from", "address", "0xcCCD3999D5b421F906c4a35c0c95bcD533e1CFBb"), new StringParameter("to", "address", "0xC8FD77490A12F46709BffbCC0FCe35740Da8D860")),
- Collections.singletonList(new NumberParameter("amount", "uint256", "23873204128892815319")), "0x294d73910e7c1e7cd8f0bf341e513c0269a089b36c22c2ac006269eb59e6e6bf",
+ Collections.singletonList(new NumberParameter("amount", "uint256", "23873204128892815319", Long.valueOf(
+ "23873204128892815319".substring(0, String.valueOf(Long.MAX_VALUE).length())))), "0x294d73910e7c1e7cd8f0bf341e513c0269a089b36c22c2ac006269eb59e6e6bf",
"0", 15129L, "0x8ce40858181dccf410331c4b3edf0187ac7b887aeb5c6e0bce2dbc09635f470a", "0x5c7197E1147ebF98658A2a8Bc3D32BeBF1692829", ContractEventStatus.CONFIRMED,
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "default",
"0x294d73910e7c1e7cd8f0bf341e513c0269a089b36c22c2ac006269eb59e6e6bf-0x8ce40858181dccf410331c4b3edf0187ac7b887aeb5c6e0bce2dbc09635f470a-0");
@@ -38,10 +39,12 @@ public class ProcessorsTest {
"CONTRACT_EVENT", transferDetails, 0);
- public EventDetailsRecord oracleReportedDetails = new EventDetailsRecord("OracleReported", "OracleReported","filter2", "default",
+ public EventDetailsRecord oracleReportedDetails = new EventDetailsRecord("OracleReported", "OracleReported", "filter2", "default",
Collections.emptyList(),
- Arrays.asList(new StringParameter("token", "address", "0x5c7197E1147ebF98658A2a8Bc3D32BeBF1692829"), new StringParameter("oracle", "address", "0x0d473f73AAf1C2bf7EBd2be7196C71dBa6C1724b"), new NumberParameter("timestamp", "uint256", "1576176348")
- , new NumberParameter("numerator", "uint256", "18299170121119875203"), new NumberParameter("denominator", "uint256", "18446744073709551616")), "0x294d73910e7c1e7cd8f0bf341e513c0269a089b36c22c2ac006269eb59e6e6bf",
+ Arrays.asList(new StringParameter("token", "address", "0x5c7197E1147ebF98658A2a8Bc3D32BeBF1692829"), new StringParameter("oracle", "address", "0x0d473f73AAf1C2bf7EBd2be7196C71dBa6C1724b"), new NumberParameter("timestamp", "uint256", "1576176348", 1576176348L)
+ , new NumberParameter("numerator", "uint256", "18299170121119875203", Long.valueOf(
+ "18299170121119875203".substring(0, String.valueOf(Long.MAX_VALUE).length()))), new NumberParameter("denominator", "uint256", "18446744073709551616", Long.valueOf(
+ "18446744073709551616".substring(0, String.valueOf(Long.MAX_VALUE).length())))), "0x294d73910e7c1e7cd8f0bf341e513c0269a089b36c22c2ac006269eb59e6e6bf",
"0", 14750L, "0x73090d8e7bb7b2a2b550474c2c90e8059d9bfdcd752c5fc55af18f54debfb88d", "0x91061bF2F509AF76aa01F46E9F3E97577a5a80BA", ContractEventStatus.CONFIRMED,
"0xdbf09271932e018b9c31e9988e4fbe3109fdd79d78f5d19a764dfb56035ed775", "default",
"0x27bc3eda4e3eaae838dd44f4a9fd4564f4455c51e336daa4232afd4ea190f0f1-0x73090d8e7bb7b2a2b550474c2c90e8059d9bfdcd752c5fc55af18f54debfb88d-0");
@@ -56,9 +59,9 @@ public class ProcessorsTest {
public EventBlockRecord oracleReportedEventWithBlock = new EventBlockRecord("0x27bc3eda4e3eaae838dd44f4a9fd4564f4455c51e336daa4232afd4ea190f0f1-0x73090d8e7bb7b2a2b550474c2c90e8059d9bfdcd752c5fc55af18f54debfb88d-0", "", oracleReportedDetails, blockOracleReportedDetails, 0);
public ViewDetailsRecord contractViewDetailsBalance = new ViewDetailsRecord("CeloGold-balanceOf",
- "1","default","default",
- Collections.singletonList(new NumberParameter("balance", "uint256", "12")),
- 15129L,"0x8ce40858181dccf410331c4b3edf0187ac7b887aeb5c6e0bce2dbc09635f470a","default","default","CeloGold-balanceOf-7c");
+ "1", "default", "default",
+ Collections.singletonList(new NumberParameter("balance", "uint256", "12", 12L)),
+ 15129L, "0x8ce40858181dccf410331c4b3edf0187ac7b887aeb5c6e0bce2dbc09635f470a", "default", "default", "CeloGold-balanceOf-7c");
public ViewRecord viewBalance = new ViewRecord("CeloGold-balanceOf-7c", "CONTRACT_VIEW", contractViewDetailsBalance, 0);