Skip to content

Commit

Permalink
zrc20 fixes (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito authored Aug 20, 2024
1 parent 399c178 commit fe62ee8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/localnet/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ const deployProtocolContracts = async (
deployOpts
);

(zrc20Eth as any).deposit(await deployer.getAddress(), 1_000_000_000);

(systemContract as any).connect(fungibleModuleSigner).setGasCoinZRC20(1, zrc20Eth.target);
(systemContract as any).connect(fungibleModuleSigner).setGasPrice(1, 1);

await (wzeta as any)
.connect(fungibleModuleSigner)
.deposit({ ...deployOpts, value: ethers.parseEther("10") });
Expand Down

0 comments on commit fe62ee8

Please sign in to comment.