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

Standardize JSON formatting of action data (epe 151) #10100

Merged
merged 3 commits into from
Mar 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change test case to adapt new action.data json format
  • Loading branch information
softprofe committed Mar 2, 2021
commit 01bff5a59e32efd8b9afb4297f058887fb30ef0c
6 changes: 3 additions & 3 deletions unittests/abi_tests.cpp
Original file line number Diff line number Diff line change
@@ -2700,8 +2700,8 @@ BOOST_AUTO_TEST_CASE(abi_large_signature)
BOOST_CHECK_LE( (stop - start).count(), 51*1000 );
// only contains hex_data if it didn't hit the deadline
if( check_data ) {
BOOST_CHECK( var.get_object().contains( "data" ) );
BOOST_CHECK( !var.get_object().contains( "hex_data" ) );
BOOST_CHECK( !var.get_object().contains( "data" ) );
brianjohnson5972 marked this conversation as resolved.
Show resolved Hide resolved
BOOST_CHECK( var.get_object().contains( "hex_data" ) );
}
} FC_LOG_AND_RETHROW()
}
@@ -3356,7 +3356,7 @@ inline std::pair<action_trace, std::string> generate_action_trace(const std::opt
<< "\"actor\":\"acctest\","
<< "\"permission\":\"active\""
<< "}],"
<< "\"data\":\"09746573745f64617461\""
<< "\"hex_data\":\"09746573745f64617461\""
<< "},"
<< "\"context_free\":false,"
<< "\"elapsed\":3,"