Skip to content

Commit

Permalink
get correct provider on deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Jan 31, 2023
1 parent 8b4b930 commit 46115bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/SoulLinker.ts
Expand Up @@ -72,7 +72,7 @@ const func: DeployFunction = async ({
const signer = env.ADMIN
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
ethers.provider
)
: admin;

Expand Down
2 changes: 1 addition & 1 deletion deploy/SoulName.ts
Expand Up @@ -71,7 +71,7 @@ const func: DeployFunction = async ({
const signer = env.ADMIN
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
ethers.provider
)
: admin;

Expand Down
2 changes: 1 addition & 1 deletion deploy/SoulStore.ts
Expand Up @@ -77,7 +77,7 @@ const func: DeployFunction = async ({
const signer = env.ADMIN
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
ethers.provider
)
: admin;

Expand Down
2 changes: 1 addition & 1 deletion deploy/Soulbound2FA.ts
Expand Up @@ -85,7 +85,7 @@ const func: DeployFunction = async ({
const signer = env.ADMIN
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
ethers.provider
)
: admin;

Expand Down
2 changes: 1 addition & 1 deletion deploy/SoulboundCreditScore.ts
Expand Up @@ -75,7 +75,7 @@ const func: DeployFunction = async ({
const signer = env.ADMIN
? new ethers.Wallet(
getPrivateKey(network.name),
ethers.getDefaultProvider(network.name)
ethers.provider
)
: admin;

Expand Down

0 comments on commit 46115bd

Please sign in to comment.