Skip to content

Commit e1f666c

Browse files
practicalswiftfurszy
authored andcommitted
tests: Remove TRANSACTION_DESERIALIZE (replaced by transaction fuzzer)
1 parent b5f291c commit e1f666c

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/Makefile.test.include

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ FUZZ_TARGETS = \
2020
test/fuzz/netaddr_deserialize \
2121
test/fuzz/service_deserialize \
2222
test/fuzz/transaction \
23-
test/fuzz/transaction_deserialize \
2423
test/fuzz/txoutcompressor_deserialize \
2524
test/fuzz/txundo_deserialize
2625

@@ -204,12 +203,6 @@ test_fuzz_block_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
204203
test_fuzz_block_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
205204
test_fuzz_block_deserialize_LDADD = $(test_test_pivx_fuzzy_LDADD)
206205

207-
test_fuzz_transaction_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
208-
test_fuzz_transaction_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTRANSACTION_DESERIALIZE=1
209-
test_fuzz_transaction_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
210-
test_fuzz_transaction_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
211-
test_fuzz_transaction_deserialize_LDADD = $(test_test_pivx_fuzzy_LDADD)
212-
213206
test_fuzz_blocklocator_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
214207
test_fuzz_blocklocator_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKLOCATOR_DESERIALIZE=1
215208
test_fuzz_blocklocator_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)

src/test/fuzz/deserialize.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ void test_one_input(std::vector<uint8_t> buffer)
4040
CBlock block;
4141
ds >> block;
4242
} catch (const std::ios_base::failure& e) {return;}
43-
#elif TRANSACTION_DESERIALIZE
44-
try
45-
{
46-
CTransaction tx(deserialize, ds);
47-
} catch (const std::ios_base::failure& e) {return;}
4843
#elif BLOCKLOCATOR_DESERIALIZE
4944
try
5045
{

0 commit comments

Comments
 (0)