diff --git a/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java b/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java index 472ba30..48cc442 100755 --- a/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java +++ b/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java @@ -413,7 +413,7 @@ public Request getL1BatchNumber() { @Override public Request getProof(String address, String[] keys, BigInteger l1BatchNumber) { return new Request<>( - "zks_L1BatchNumber", Arrays.asList(address, keys, l1BatchNumber), web3jService, ZksStorageProof.class); + "zks_getProof", Arrays.asList(address, keys, l1BatchNumber), web3jService, ZksStorageProof.class); } @Override diff --git a/src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDS.java b/src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDSA.java similarity index 98% rename from src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDS.java rename to src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDSA.java index f027aaa..86aedbc 100644 --- a/src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDS.java +++ b/src/main/java/io/zksync/utils/smart/account/PopulateTransactionECDSA.java @@ -15,7 +15,7 @@ import java.util.List; import java.util.concurrent.CompletableFuture; -public class PopulateTransactionECDS implements IPopulateTransaction { +public class PopulateTransactionECDSA implements IPopulateTransaction { @Override public CompletableFuture populateTransaction(Transaction transaction, List secrets, ZkSync provider, @Nullable BigInteger nonce) { Credentials credentials = Credentials.create(secrets.get(0));