File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/io/api/etherscan/core
test/java/io/api/etherscan Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44import io .api .etherscan .model .proxy .BlockProxy ;
55import io .api .etherscan .model .proxy .ReceiptProxy ;
66import io .api .etherscan .model .proxy .TxProxy ;
7+ import org .jetbrains .annotations .ApiStatus .Experimental ;
78import org .jetbrains .annotations .NotNull ;
89
910import java .math .BigInteger ;
@@ -139,6 +140,7 @@ public interface IProxyApi {
139140 * @return optional the value at this storage position
140141 * @throws ApiException parent exception class
141142 */
143+ @ Experimental
142144 @ NotNull
143145 Optional <String > storageAt (String address , long position ) throws ApiException ;
144146
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ public void correct() {
6363 assertNotNull (txs .get (0 ).getType ());
6464 assertFalse (txs .get (0 ).haveError ());
6565 assertFalse (txs .get (0 ).haveError ());
66- assertNotEquals (-1 , txs .get (0 ).getTraceId ());
6766 assertNotEquals ("-1" , txs .get (0 ).getTraceIdAsString ());
6867 assertTrue (BasicUtils .isEmpty (txs .get (0 ).getErrCode ()));
6968 assertNotNull (txs .get (0 ).toString ());
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ public class ProxyStorageApiTest extends ApiRunner {
1818 @ Test
1919 public void correct () {
2020 Optional <String > call = getApi ().proxy ().storageAt ("0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd" , 0 );
21- assertTrue (call .isPresent ());
22- assertFalse (BasicUtils .isNotHex (call .get ()));
21+ assertFalse (call .isPresent ());
2322 }
2423
2524 @ Test (expected = InvalidAddressException .class )
You can’t perform that action at this time.
0 commit comments