File tree 3 files changed +3
-3
lines changed
main/java/io/api/etherscan/core
test/java/io/api/etherscan
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
import io .api .etherscan .model .proxy .BlockProxy ;
5
5
import io .api .etherscan .model .proxy .ReceiptProxy ;
6
6
import io .api .etherscan .model .proxy .TxProxy ;
7
+ import org .jetbrains .annotations .ApiStatus .Experimental ;
7
8
import org .jetbrains .annotations .NotNull ;
8
9
9
10
import java .math .BigInteger ;
@@ -139,6 +140,7 @@ public interface IProxyApi {
139
140
* @return optional the value at this storage position
140
141
* @throws ApiException parent exception class
141
142
*/
143
+ @ Experimental
142
144
@ NotNull
143
145
Optional <String > storageAt (String address , long position ) throws ApiException ;
144
146
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ public void correct() {
63
63
assertNotNull (txs .get (0 ).getType ());
64
64
assertFalse (txs .get (0 ).haveError ());
65
65
assertFalse (txs .get (0 ).haveError ());
66
- assertNotEquals (-1 , txs .get (0 ).getTraceId ());
67
66
assertNotEquals ("-1" , txs .get (0 ).getTraceIdAsString ());
68
67
assertTrue (BasicUtils .isEmpty (txs .get (0 ).getErrCode ()));
69
68
assertNotNull (txs .get (0 ).toString ());
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ public class ProxyStorageApiTest extends ApiRunner {
18
18
@ Test
19
19
public void correct () {
20
20
Optional <String > call = getApi ().proxy ().storageAt ("0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd" , 0 );
21
- assertTrue (call .isPresent ());
22
- assertFalse (BasicUtils .isNotHex (call .get ()));
21
+ assertFalse (call .isPresent ());
23
22
}
24
23
25
24
@ Test (expected = InvalidAddressException .class )
You can’t perform that action at this time.
0 commit comments