Skip to content

Commit

Permalink
draft: testing HIP-583
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Jun 11, 2024
1 parent 4bf0a5d commit 6ad1ff3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/hip-583/HIP583.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('HIP583 Test Suite', function () {
});
});

describe('Fungible Token Test', function () {
describe.only('Fungible Token Test', function () {
let hollowWalletAddress;
let amount;

Expand Down Expand Up @@ -260,9 +260,12 @@ describe('HIP583 Test Suite', function () {
//sending some HBARs, so the hollow account have some to cover the transaction
await signers[0].sendTransaction({
to: hollowWalletAddress,
value: ethers.parseEther('14'),
value: ethers.parseEther('14'), // in [email protected], 14 HBARs works fine, and line 267 will show 14000000000000000000n. But in v0.51.0-alpha.4, 14 HBARs does not work, and and line 267 will show 0n.
});

console.log(hollowWalletAddress);
console.log(await ethers.provider.getBalance(hollowWalletAddress));

await utils.updateAccountKeysViaHapi(
[
await tokenCreateContract.getAddress(),
Expand Down

0 comments on commit 6ad1ff3

Please sign in to comment.