Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Sep 10, 2024
1 parent 7459164 commit 01cfb22
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/test/app/MPToken_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ class MPToken_test : public beast::unit_test::suite

// MaximumAmount larger than 63 bit returns error
mptAlice.create(
{.maxAmt = "18446744073709551600",
{.maxAmt = "18446744073709551600", // FFFFFFFFFFFFFFF0
.assetScale = 0,
.transferFee = 0,
.metadata = "test",
.err = temMALFORMED});
mptAlice.create(
{.maxAmt = "9223372036854775808", // 8000000000000000
.assetScale = 0,
.transferFee = 0,
.metadata = "test",
Expand All @@ -116,7 +122,7 @@ class MPToken_test : public beast::unit_test::suite
Env env{*this, features};
MPTTester mptAlice(env, alice);
mptAlice.create(
{.maxAmt = "9223372036854775807",
{.maxAmt = "9223372036854775807", // 7FFFFFFFFFFFFFFF
.assetScale = 1,
.transferFee = 10,
.metadata = "123",
Expand Down

0 comments on commit 01cfb22

Please sign in to comment.