Skip to content

Commit f05e058

Browse files
committed
fix
1 parent 14dab1b commit f05e058

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

contracts/test/ERC20toNativePointerTest.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const {setupSigners, deployErc20PointerNative, getAdmin, createTokenFactoryTokenAndMint, ABI, generateWallet,
2-
fundAddress, getSeiAddress
2+
fundAddress, getSeiAddress,
3+
delay
34
} = require("./lib");
45
const {expect} = require("chai");
56

@@ -89,10 +90,13 @@ describe("ERC20 to Native Pointer", function () {
8990
expect(await pointer.balanceOf(recipient)).to.equal(amount);
9091

9192
// fund address so it can transact
92-
await fundAddress(recipient)
93+
await fundAddress(recipient, "1000000000000000000000")
94+
await delay()
9395

9496
// unlinked wallet can send balance back to sender (becomes linked at this moment)
95-
await (await pointer.connect(recipientWallet).transfer(sender.evmAddress, amount)).wait()
97+
await (await pointer.connect(recipientWallet).transfer(sender.evmAddress, amount, {
98+
gasPrice: ethers.parseUnits('333', 'gwei')
99+
})).wait()
96100
expect(await pointer.balanceOf(recipient)).to.equal(BigInt(0));
97101
expect(await pointer.balanceOf(sender.evmAddress)).to.equal(startBal);
98102

0 commit comments

Comments
 (0)