-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R21BC-190, R21BC-191, R21BC-192 #23
base: develop
Are you sure you want to change the base?
Conversation
@@ -37,6 +42,55 @@ namespace xpx_chain_sdk::tests { | |||
EXPECT_FALSE(block.data.blockTransactionsHash.empty()); | |||
EXPECT_FALSE(block.data.stateHash.empty()); | |||
EXPECT_TRUE(block.data.difficulty > 0); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra empty line = )
EXPECT_FALSE(block.data.blockTransactionsHash.empty()); | ||
EXPECT_FALSE(block.data.stateHash.empty()); | ||
EXPECT_TRUE(block.data.difficulty > 0); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra empty line = )
} | ||
}, xpx_chain_sdk::InvalidRequest); | ||
} | ||
TEST(TEST_CLASS, getMosaicInfo_max) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add empty line before start of test, please = )
} | ||
|
||
//TEST PASSED WITH LIMIT=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to investigate same test on go-sdk side, please = )
std::vector<xpx_chain_sdk::MosaicId> mosaicIds{ 0 }; | ||
|
||
MosaicNames mosaicNames = client->mosaics()->getMosaicsNames(mosaicIds); | ||
EXPECT_FALSE(mosaicNames.names.empty()); // ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose you can add new mosaics for the client and request created mosaics after.
Extended negative test case for: