After calling cleos get transaction on a valid hash (extracted from get block N), the output always give
"trx": null,
"block_time": "2000-01-01T00:00:00.000",
"block_num": 0,
````
`cleos version client = 1a27ee3a`
`nodeos = 438824506`
Plugins
plugin = eosio::chain_api_plugin
plugin = eosio::history_api_plugin
plugin = eosio::history_plugin
```
Same output is given using eosjs v14.1.0
I get the same problem, and I can't get any print information after I push an action.
When I used another colleague's computer, there was no problem.
Here's the response from Kevin Heifner -- "You have to indicate via filter-on what to capture. The default is nothing."
You can see more info in the config file
# Track actions which match receiver:action:actor. Actor may be blank to include all. Receiver and Action may not be blank. (eosio::history_plugin)
# filter-on =
So you can set --filter-on=* when starting nodeos, but it's not recommended.
OK, so the node needs to have the filter set to capture the information. Maybe nodeos should return
trx: {error: "filter not set to capture this transaction"}
Or something similar.
Most helpful comment
OK, so the node needs to have the filter set to capture the information. Maybe nodeos should return
trx: {error: "filter not set to capture this transaction"}Or something similar.