Skip to content

Commit 5c29876

Browse files
tests: Remove TRANSACTION_DESERIALIZE (replaced by transaction fuzzer)
1 parent 0a57368 commit 5c29876

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
@@ -23,7 +23,6 @@ FUZZ_TARGETS = \
2323
test/fuzz/script_flags \
2424
test/fuzz/service_deserialize \
2525
test/fuzz/transaction \
26-
test/fuzz/transaction_deserialize \
2726
test/fuzz/txoutcompressor_deserialize \
2827
test/fuzz/txundo_deserialize
2928

@@ -203,12 +202,6 @@ test_fuzz_block_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
203202
test_fuzz_block_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
204203
test_fuzz_block_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
205204

206-
test_fuzz_transaction_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
207-
test_fuzz_transaction_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTRANSACTION_DESERIALIZE=1
208-
test_fuzz_transaction_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
209-
test_fuzz_transaction_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
210-
test_fuzz_transaction_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
211-
212205
test_fuzz_blocklocator_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
213206
test_fuzz_blocklocator_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKLOCATOR_DESERIALIZE=1
214207
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(const 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)