Skip to content

Commit

Permalink
Merge branch 'main' into ph-perf-test-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwaldp-oci committed May 22, 2023
2 parents 4e89f7b + a62bbdd commit 8d5d04a
Show file tree
Hide file tree
Showing 70 changed files with 866 additions and 1,968 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tests/TestHarness DESTINATION ${CM
PATTERN "*.json"
PATTERN "__pycache__" EXCLUDE
PATTERN "CMakeFiles" EXCLUDE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tests/launcher.py DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/leap_testing/tests COMPONENT dev EXCLUDE_FROM_ALL)

if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.21)
# Cmake versions < 3.21 did not support installing symbolic links to a directory via install(FILES ...)
Expand Down
6 changes: 3 additions & 3 deletions libraries/chain/transaction_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,18 +469,18 @@ namespace eosio { namespace chain {
"not enough time left in block to complete executing transaction ${billing_timer}us",
("now", now)("deadline", _deadline)("start", start)("billing_timer", now - pseudo_start) );
} else if( deadline_exception_code == tx_cpu_usage_exceeded::code_value ) {
std::string assert_msg = "transaction was executing for too long ${billing_timer}us";
std::string assert_msg = "transaction ${id} was executing for too long ${billing_timer}us";
if (subjective_cpu_bill_us > 0) {
assert_msg += " with a subjective cpu of (${subjective} us)";
}
fc::microseconds limit;
assert_msg += get_tx_cpu_usage_exceeded_reason_msg(limit);
if (cpu_limit_due_to_greylist) {
assert_msg = "greylisted " + assert_msg;
EOS_THROW( greylist_cpu_usage_exceeded, assert_msg,
EOS_THROW( greylist_cpu_usage_exceeded, assert_msg, ("id", packed_trx.id())
("billing_timer", now - pseudo_start)("subjective", subjective_cpu_bill_us)("limit", limit) );
} else {
EOS_THROW( tx_cpu_usage_exceeded, assert_msg,
EOS_THROW( tx_cpu_usage_exceeded, assert_msg, ("id", packed_trx.id())
("billing_timer", now - pseudo_start)("subjective", subjective_cpu_bill_us)("limit", limit) );
}
} else if( deadline_exception_code == leeway_deadline_exception::code_value ) {
Expand Down
4 changes: 0 additions & 4 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@

configure_file(eosio-tn_bounce.sh eosio-tn_bounce.sh COPYONLY)
configure_file(eosio-tn_down.sh eosio-tn_down.sh COPYONLY)
configure_file(eosio-tn_roll.sh eosio-tn_roll.sh COPYONLY)
configure_file(eosio-tn_up.sh eosio-tn_up.sh COPYONLY)
configure_file(abi_is_json.py abi_is_json.py COPYONLY)
configure_file(postinst . @ONLY)
configure_file(prerm . @ONLY)
Expand Down
44 changes: 0 additions & 44 deletions scripts/eosio-tn_bounce.sh

This file was deleted.

39 changes: 0 additions & 39 deletions scripts/eosio-tn_down.sh

This file was deleted.

92 changes: 0 additions & 92 deletions scripts/eosio-tn_roll.sh

This file was deleted.

81 changes: 0 additions & 81 deletions scripts/eosio-tn_up.sh

This file was deleted.

Loading

0 comments on commit 8d5d04a

Please sign in to comment.