Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Refactor various request data types of APIs #44

Merged
merged 4 commits into from
Jan 11, 2019

Conversation

wusyong
Copy link

@wusyong wusyong commented Jan 11, 2019

Due to update entangled version would encounter further memory free up problems, we refactor following APIs and corresponding request data type to original from entangled and remove unused functions/test cases:

  • api_find_transaction_by_tag
  • api_get_transaction_msg
  • ta_get_tips

Yu Wei Wu added 4 commits January 11, 2019 12:19
Refactor api_find_txn_by_tag to use request data type from entangled.
Remove unused functions and related test case.
Refactor api_get_transaction_msg to use request data type from 
entangled.
Remove unused functions and related test case.
Remove ta_get_tips since it is not used anymore. get_tips and
get_transaction_to_approve API should call native methods instead.
@@ -135,14 +99,11 @@ void test_serialize_ta_find_transactions_by_tag(void) {
int main(void) {
UNITY_BEGIN();

RUN_TEST(test_deserialize_ta_get_tips);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you append new test items accordingly?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

serializers from entangled has their own test cases there. And mock API tests remain same.

@jserv jserv merged commit 780a884 into DLTcollab:master Jan 11, 2019
@wusyong wusyong deleted the workspace branch January 11, 2019 10:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants