Closed Cavalierliu closed 1 year ago
PlatoneParams_test.c:356:68: error: 'BOAT_PLATONE_TX_TYPE_CONTRACT_NULL_TERMED_STR' undeclared (first use in this function) 356 | TEST_GAS_LIMIT, TEST_RECIPIENT_ADDRESS, BOAT_PLATONE_TX_TYPE_CONTRACT_NULL_TERMED_STR); | ^~~~~~~~~~~~~ In file included from tcase_platone.h:23, from PlatoneParams_test.c:23: PlatoneParams_test.c:361:28: error: request for member 'rawtx_fields' in something not a structure or union 361 | ck_assert_int_eq(tx_ptr.rawtx_fields.value.field_len, 0); | ^ make[5]: [Makefile:24: /home/liu/test2.3_chainmaker/BoAT-X-Framework/build/tests/UT/linuxDefault/blockchain/platone/lib/PlatoneParams_test.o] Error 1 make[5]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault/blockchain/platone' make[4]: [Makefile:18: clean] Error 2 make[4]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault/blockchain' make[3]: [Makefile:15: clean] Error 2 make[3]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault' make[2]: [Makefile:8: clean] Error 2 make[2]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT' make[1]: [Makefile:11: clean] Error 2 make[1]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests' make: [Makefile:351: cleantests] Error 2
PlatoneParams_test.c:356:68: error: 'BOAT_PLATONE_TX_TYPE_CONTRACT_NULL_TERMED_STR' undeclared (first use in this function) 356 | TEST_GAS_LIMIT, TEST_RECIPIENT_ADDRESS, BOAT_PLATONE_TX_TYPE_CONTRACT_NULL_TERMED_STR); | ^
~~~~~~~~~~~~ In file included from tcase_platone.h:23, from PlatoneParams_test.c:23: PlatoneParams_test.c:361:28: error: request for member 'rawtx_fields' in something not a structure or union 361 | ck_assert_int_eq(tx_ptr.rawtx_fields.value.field_len, 0); | ^ make[5]: [Makefile:24: /home/liu/test2.3_chainmaker/BoAT-X-Framework/build/tests/UT/linuxDefault/blockchain/platone/lib/PlatoneParams_test.o] Error 1 make[5]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault/blockchain/platone' make[4]: [Makefile:18: clean] Error 2 make[4]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault/blockchain' make[3]: [Makefile:15: clean] Error 2 make[3]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT/linuxDefault' make[2]: [Makefile:8: clean] Error 2 make[2]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests/UT' make[1]: [Makefile:11: clean] Error 2 make[1]: Leaving directory '/home/liu/test2.3_chainmaker/BoAT-X-Framework/tests' make: [Makefile:351: cleantests] Error 2