Skip to content

Commit

Permalink
return action data for getBlockActions using SHIP
Browse files Browse the repository at this point in the history
  • Loading branch information
shaqk committed Jan 5, 2024
1 parent 119701b commit f60a8ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions abstract.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ const getTxs = async res =>{
act.action_receipt_digest = action_receipt_digest;
act.transactionId = tx.id;
delete act.act
delete act.action.data
traces.push(act)
}
//sort traces by global sequenece since SHIP doesnt sort them
//sort traces by global sequence since SHIP doesnt sort them
traces.sort((a,b)=> a.receipt.global_sequence > b.receipt.global_sequence? 1 :-1);
txs.push(traces)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ibc-proof-server",
"version": "2.2.2",
"version": "2.2.3",
"description": "IBC Proof Server generates and serves heavy and light proofs for actions and schedules.",
"bin": "index.js",
"main": "index.js",
Expand Down

0 comments on commit f60a8ca

Please sign in to comment.