Skip to content

Commit b015756

Browse files
committed
bugfix: remove hardcoded anvil chain
1 parent bf847d7 commit b015756

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

test/e2e/utils/transactions.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ export const sendNoOpTransaction = async (
1616
try {
1717
const {
1818
result: { queueId },
19-
} = await engine.backendWallet.transfer("anvil", backendWallet, {
20-
amount: "0",
21-
currencyAddress: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
22-
to: backendWallet,
23-
});
19+
} = await engine.backendWallet.transfer(
20+
CONFIG.CHAIN.id.toString(),
21+
backendWallet,
22+
{
23+
amount: "0",
24+
currencyAddress: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
25+
to: backendWallet,
26+
},
27+
);
2428
return queueId;
2529
} catch (e) {
2630
console.error("Error sending NoOp transaction:", e);
@@ -35,7 +39,7 @@ export const sendMintToTransaction = async (
3539
) => {
3640
try {
3741
const res = await engine.erc721.mintTo(
38-
"anvil",
42+
CONFIG.CHAIN.id.toString(),
3943
nftContractAddress,
4044
backendWallet,
4145
{

0 commit comments

Comments
 (0)