Skip to content

Commit

Permalink
refactor: Merged with main and refactor the code:
Browse files Browse the repository at this point in the history
Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
  • Loading branch information
ivaylogarnev-limechain committed Nov 18, 2024
1 parent 5adcbf4 commit 6c232d1
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 613 deletions.
38 changes: 19 additions & 19 deletions test/token-service/test_tokenCreateTransaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import {
verifyTokenKeyList,
} from "../../utils/helpers/verify-token-key.js";
import {
verifyTokenCreationWithFixedFee,
verifyTokenCreationWithFractionalFee,
verifyTokenCreationWithRoyaltyFee,
verifyCustomFixedFee,
verifyCustomFractionalFee,
verifyCustomRoyaltyFee,
} from "../../utils/helpers/custom-fees.js";

/**
Expand Down Expand Up @@ -2783,7 +2783,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFixedFee(
await verifyCustomFixedFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand All @@ -2810,7 +2810,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFixedFee(
await verifyCustomFixedFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -2949,7 +2949,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -2988,7 +2988,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3139,7 +3139,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3178,7 +3178,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3273,7 +3273,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3458,7 +3458,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3525,7 +3525,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3564,7 +3564,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3953,7 +3953,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithRoyaltyFee(
await verifyCustomRoyaltyFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -3998,7 +3998,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithRoyaltyFee(
await verifyCustomRoyaltyFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -4187,7 +4187,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithRoyaltyFee(
await verifyCustomRoyaltyFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -4232,7 +4232,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithRoyaltyFee(
await verifyCustomRoyaltyFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -4664,7 +4664,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFixedFee(
await verifyCustomFixedFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down Expand Up @@ -4786,7 +4786,7 @@ describe("TokenCreateTransaction", function () {
],
});

await verifyTokenCreationWithFractionalFee(
await verifyCustomFractionalFee(
response.tokenId,
feeCollectorAccountId,
feeCollectorsExempt,
Expand Down
Loading

0 comments on commit 6c232d1

Please sign in to comment.