bugfix d'oh
This commit is contained in:
@@ -14,7 +14,8 @@ export async function gib( chainId, owner, vault, tokenAmounts ) {
|
|||||||
if (t.s === 'USDC' && t.x.mock) {
|
if (t.s === 'USDC' && t.x.mock) {
|
||||||
// print 10,000 USDC
|
// print 10,000 USDC
|
||||||
const provider = getProvider(chainId);
|
const provider = getProvider(chainId);
|
||||||
const usdc = await newContract(t.a, 'MockERC20', provider)
|
const signer = await provider.getSigner() // regular server signer not the #8 faucet
|
||||||
|
const usdc = await newContract(t.a, 'MockERC20', signer)
|
||||||
await usdc.mint(vault, 10_000_000000)
|
await usdc.mint(vault, 10_000_000000)
|
||||||
console.log(`minted 10,000 USDC to ${vault}`)
|
console.log(`minted 10,000 USDC to ${vault}`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user