File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe('paymasterQuery', () => {
33
33
describe ( 'isSponsorable' , ( ) => {
34
34
test ( 'should successfully determine if transaction is sponsorable' , async ( ) => {
35
35
const tokenContract = new ethers . Contract ( TOKEN_CONTRACT_ADDRESS , tokenAbi , wallet )
36
- const tokenAmount = ethers . parseUnits ( '1. 0' , 18 )
36
+ const tokenAmount = ethers . parseUnits ( '0' , 18 )
37
37
const nonce = await paymasterProvider . getTransactionCount ( wallet . address , 'pending' )
38
38
39
39
const transaction = await tokenContract . transfer . populateTransaction ( RECIPIENT_ADDRESS . toLowerCase ( ) , tokenAmount )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {ethers} from 'ethers'
12
12
13
13
export const client = new SponsorClient ( SPONSOR_URL , undefined , { staticNetwork : ethers . Network . from ( Number ( CHAIN_ID ) ) } )
14
14
15
- // Provider for assembling the transaction (e.g., mainnet )
15
+ // Provider for assembling the transaction (e.g., testnet )
16
16
export const assemblyProvider = new ethers . JsonRpcProvider ( CHAIN_URL )
17
17
18
18
// Provider for sending the transaction (e.g., could be a different network or provider)
You can’t perform that action at this time.
0 commit comments