EOS_ASSERT( trx.max_kcpu_usage.value < UINT32_MAX / 1024UL, transaction_exception, "declared max_kcpu_usage overflows when expanded to max cpu usage" );
EOS_ASSERT( trx.max_net_usage_words.value < UINT32_MAX / 8UL, transaction_exception, "declared max_net_usage_words overflows when expanded to max net usage" );
cmd->add_option("--max-cpu-usage",tx_max_cpu_usage,localized("set an upper limit on the cpu usage budget, in instructions-retired, for the execution of the transaction (defaults to 0 which means no limit)"));
cmd->add_option("--max-cpu-usage-ms",tx_max_cpu_usage,localized("set an upper limit on the milliseconds of cpu usage budget, for the execution of the transaction (defaults to 0 which means no limit)"));
cmd->add_option("--max-net-usage",tx_max_net_usage,localized("set an upper limit on the net usage budget, in bytes, for the transaction (defaults to 0 which means no limit)"));