Skip to content

Commit b9d181a

Browse files
committed
forced-eos-vm-oc to eos-vm-oc-forced
1 parent 158f3d3 commit b9d181a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libraries/chain/wasm_interface.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ std::istream& operator>>(std::istream& in, wasm_interface::vm_type& runtime) {
120120
runtime = eosio::chain::wasm_interface::vm_type::eos_vm;
121121
else if (s == "eos-vm-jit")
122122
runtime = eosio::chain::wasm_interface::vm_type::eos_vm_jit;
123-
else if (s == "forced-eos-vm-oc")
123+
else if (s == "eos-vm-oc-forced")
124124
runtime = eosio::chain::wasm_interface::vm_type::eos_vm_oc;
125125
else
126126
in.setstate(std::ios_base::failbit);

plugins/chain_plugin/chain_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip
285285
("checkpoint", bpo::value<vector<string>>()->composing(), "Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.")
286286
("wasm-runtime", bpo::value<eosio::chain::wasm_interface::vm_type>()->value_name("runtime")->notifier([](const auto& vm){
287287
if(vm == wasm_interface::vm_type::eos_vm_oc)
288-
wlog("forced-eos-vm-oc mode is not supported. It is for development purposes only");
288+
wlog("eos-vm-oc-forced mode is not supported. It is for development purposes only");
289289
})->default_value(eosio::chain::config::default_wasm_runtime, default_wasm_runtime_str), wasm_runtime_opt.c_str()
290290
)
291291
("profile-account", boost::program_options::value<vector<string>>()->composing(),

tests/read_only_trx_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
appArgs.add(flag="--read-only-threads", type=int, help="number of read-only threads", default=0)
2727
appArgs.add(flag="--num-test-runs", type=int, help="number of times to run the tests", default=1)
2828
appArgs.add(flag="--eos-vm-oc-enable", type=str, help="specify eos-vm-oc-enable option", default="auto")
29-
appArgs.add(flag="--wasm-runtime", type=str, help="if wanting eos-vm-oc, must use 'forced-eos-vm-oc'", default="eos-vm-jit")
29+
appArgs.add(flag="--wasm-runtime", type=str, help="if wanting eos-vm-oc, must use 'eos-vm-oc-forced'", default="eos-vm-jit")
3030

3131
args=TestHelper.parse_args({"-p","-n","-d","-s","--nodes-file","--seed"
3232
,"--activate-if","--dump-error-details","-v","--leave-running"

0 commit comments

Comments
 (0)