Skip to content

Commit

Permalink
fix(provider): fix getProof to call correct method ID
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Nov 12, 2024
1 parent 2641378 commit 2d18406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public Request<?, ZksL1BatchNumber> getL1BatchNumber() {
@Override
public Request<?, ZksStorageProof> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Transaction712> populateTransaction(Transaction transaction, List<String> secrets, ZkSync provider, @Nullable BigInteger nonce) {
Credentials credentials = Credentials.create(secrets.get(0));
Expand Down

0 comments on commit 2d18406

Please sign in to comment.