Skip to content

Commit 93f225b

Browse files
[SDK] Fix ethers6 provider override (#6640)
1 parent e9649a2 commit 93f225b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.changeset/solid-aliens-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix ethers6 provider override

packages/thirdweb/src/adapters/ethers6.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,10 @@ export function toEthersSigner(
374374
): ethers6.Signer {
375375
class ThirdwebAdapterSigner extends ethers.AbstractSigner<ethers6.JsonRpcProvider> {
376376
private address: string;
377-
override provider: ethers6.ethers.JsonRpcProvider;
378377

379378
constructor(provider: ethers6.JsonRpcProvider, address: string) {
380379
super(provider);
381380
this.address = address;
382-
this.provider = provider;
383381
}
384382

385383
override async getAddress(): Promise<string> {

packages/thirdweb/src/utils/any-evm/zksync/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const ZKSYNC_SINGLETON_FACTORY =
33
export const CONTRACT_DEPLOYER_ADDRESS =
44
"0x0000000000000000000000000000000000008006" as const;
55
export const KNOWN_CODES_STORAGE = "0x0000000000000000000000000000000000008004";
6-
export const PUBLISHED_PRIVATE_KEY = "";
6+
export const PUBLISHED_PRIVATE_KEY = process.env.ZKSYNC_PUBLISHED_PRIVATE_KEY;
77

88
export const singletonFactoryAbi = [
99
"function deploy(bytes32,bytes32,bytes) external payable",

0 commit comments

Comments
 (0)