The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v1.3.0 tag, you could do the following:
The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v1.3.1 tag, you could do the following:
std::cerr<<"Failed to get existing code hash, continue without duplicate check..."<<std::endl;
suppress_duplicate_check=true;
}
}
bytescode_bytes;
if(!contract_clear){
std::stringwasm;
...
...
@@ -2338,20 +2356,42 @@ int main( int argc, char** argv ) {
if(wasm.compare(0,8,binary_wasm_header))
std::cerr<<localized("WARNING: ")<<wasmPath<<localized(" doesn't look like a binary WASM file. Is it something else, like WAST? Trying anyways...")<<std::endl;
ilog("existing reversible block num ${first} through block num ${last} ",("first",first->get_block()->block_num())("last",last->get_block()->block_num()));
else{
elog("no blocks available in reversible block database: only block_log blocks are available");
reversible_blocks.reset();
}
}catch(conststd::runtime_error&e){
if(std::string(e.what())=="database dirty flag set"){
elog("database dirty flag set (likely due to unclean shutdown): only block_log blocks are available");
}elseif(std::string(e.what())=="database metadata dirty flag set"){
elog("database metadata dirty flag set (likely due to unclean shutdown): only block_log blocks are available");