history-tools icon indicating copy to clipboard operation
history-tools copied to clipboard

Legacy History API incompatible with History Plugin

Open phil-dolgolev opened this issue 5 years ago • 2 comments

Looks like legacy-server (https://github.com/EOSIO/history-tools/blob/d8312a722c78f7c7742a728274df18603680534a/wasms/legacy/legacy-server.cpp) don't compatible with API from History API. It's quite confusing. And it's more about functionality than data formats. For example: /v1/history/get_actions just always returns actions from first to abs(offset) action, pos don't used.

Do we can change this to more robust approach or make behavior more similar to History API? Looks like that enough use some method/filtration, which allow pagination over actions per account? Does it's currently available?

phil-dolgolev avatar Sep 09 '19 20:09 phil-dolgolev

I actually get the issue from that when the data from API '/v1/history/get_transaction' is not compatible with History Plugin (have described on the EOS main website). https://developers.eos.io/eosio-nodeos/reference#get_transaction-1

trunghieulam avatar Sep 11 '19 10:09 trunghieulam

I have the same problems on ' /v1/history/get_actions' do not support pos

Garlgee avatar Oct 11 '19 02:10 Garlgee