Skip to content

Commit c44a26e

Browse files
committed
Merge from eos/master
2 parents 2640d50 + 11c2539 commit c44a26e

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ set( CXX_STANDARD_REQUIRED ON)
8080

8181
set(VERSION_MAJOR 1)
8282
set(VERSION_MINOR 4)
83-
set(VERSION_PATCH 2)
83+
set(VERSION_PATCH 3)
8484

8585
set( CLI_CLIENT_EXECUTABLE_NAME cleos )
8686
set( NODE_EXECUTABLE_NAME nodeos )

Docker/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ cd eos/Docker
2020
docker build . -t eosio/eos
2121
```
2222

23-
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.4.2 tag, you could do the following:
23+
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.4.3 tag, you could do the following:
2424

2525
```bash
26-
docker build -t eosio/eos:v1.4.2 --build-arg branch=v1.4.2 .
26+
docker build -t eosio/eos:v1.4.3 --build-arg branch=v1.4.3 .
2727
```
2828

2929
By default, the symbol in eosio.system is set to SYS. You can override this using the symbol argument while building the docker image.

libraries/chain/wasm_interface.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -1329,11 +1329,9 @@ class transaction_api : public context_aware_api {
13291329
}
13301330

13311331
void send_deferred( const uint128_t& sender_id, account_name payer, array_ptr<char> data, size_t data_len, uint32_t replace_existing) {
1332-
try {
1333-
transaction trx;
1334-
fc::raw::unpack<transaction>(data, data_len, trx);
1335-
context.schedule_deferred_transaction(sender_id, payer, std::move(trx), replace_existing);
1336-
} FC_RETHROW_EXCEPTIONS(warn, "data as hex: ${data}", ("data", fc::to_hex(data, data_len)))
1332+
transaction trx;
1333+
fc::raw::unpack<transaction>(data, data_len, trx);
1334+
context.schedule_deferred_transaction(sender_id, payer, std::move(trx), replace_existing);
13371335
}
13381336

13391337
bool cancel_deferred( const unsigned __int128& val ) {

plugins/chain_plugin/chain_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip
250250
"In \"light\" mode all incoming blocks headers will be fully validated; transactions in those validated blocks will be trusted \n")
251251
("disable-ram-billing-notify-checks", bpo::bool_switch()->default_value(false),
252252
"Disable the check which subjectively fails a transaction if a contract bills more RAM to another account within the context of a notification handler (i.e. when the receiver is not the code of the action).")
253+
("trusted-producer", bpo::value<vector<string>>()->composing(), "Indicate a producer whose blocks headers signed by it will be fully validated, but transactions in those validated blocks will be trusted.")
253254
;
254255

255256
// TODO: rate limiting
@@ -287,7 +288,6 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip
287288
"replace reversible block database with blocks imported from specified file and then exit")
288289
("export-reversible-blocks", bpo::value<bfs::path>(),
289290
"export reversible block database in portable format into specified file and then exit")
290-
("trusted-producer", bpo::value<vector<string>>()->composing(), "Indicate a producer whose blocks headers signed by it will be fully validated, but transactions in those validated blocks will be trusted.")
291291
("snapshot", bpo::value<bfs::path>(), "File to read Snapshot State from")
292292
;
293293

plugins/history_plugin/history_plugin.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ namespace eosio {
283283
}
284284

285285
void on_applied_transaction( const transaction_trace_ptr& trace ) {
286+
if( !trace->receipt || (trace->receipt->status != transaction_receipt_header::executed &&
287+
trace->receipt->status != transaction_receipt_header::soft_fail) )
288+
return;
286289
for( const auto& atrace : trace->action_traces ) {
287290
on_action_trace( atrace );
288291
}

programs/nodeos/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ int main(int argc, char** argv)
109109
initialize_logging();
110110
ilog("nodeos version ${ver}", ("ver", app().version_string()));
111111
ilog("eosio root is ${root}", ("root", root.string()));
112+
ilog("nodeos using configuration file ${c}", ("c", app().full_config_file_path().string()));
113+
ilog("nodeos data directory is ${d}", ("d", app().data_dir().string()));
112114
app().startup();
113115
app().exec();
114116
} catch( const extract_genesis_state_exception& e ) {

0 commit comments

Comments
 (0)