Support implementation and version updates for contract execution timeout (#274)

This commit is contained in:
Chalith Desaman
2023-08-03 17:01:24 +05:30
committed by GitHub
parent d58d5b9012
commit 4370edd546
10 changed files with 21 additions and 10 deletions

View File

@@ -365,6 +365,9 @@ namespace msg::json
if (round_limits.contains(msg::FLD_PROC_OFD_COUNT))
msg.config.contract.round_limits.proc_ofd_count = round_limits[msg::FLD_PROC_OFD_COUNT].as<uint64_t>();
if (round_limits.contains(msg::FLD_EXEC_TIMEOUT))
msg.config.contract.round_limits.exec_timeout = round_limits[msg::FLD_EXEC_TIMEOUT].as<uint64_t>();
}
if (contract.contains(msg::FLD_LOG))