Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Use const variable to reduce redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonsong committed Jul 3, 2024
1 parent e301294 commit 9d93a45
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ describe("SafeSponsorEverythingPaymasterPlugin", () => {
const paymasterAddress = await paymaster.getAddress();

// Paymaster deposits.
await paymaster.deposit({ value: ethers.parseEther("1") })
await paymaster.deposit({ value: oneEther })

const recipient = ethers.Wallet.createRandom();
const transferAmount = ethers.parseEther("1");
const transferAmount = oneEther;
const dummySignature = await owner.signMessage("dummy sig");

// Deploy ecdsa plugin
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("SafeSponsorEverythingPaymasterPlugin", () => {
await receiptOf(
admin.sendTransaction({
to: accountAddress,
value: ethers.parseEther("1"),
value: oneEther,
}),
);

Expand Down

0 comments on commit 9d93a45

Please sign in to comment.