olisystems / BEST-Energy

Integritee off-chain worker and sidechain validateer
Apache License 2.0
2 stars 0 forks source link

change `TrustedGetter::pay_as_bid_proof` to have have `actor_id` and `timestamp` as arg instead of `orders_file` and `leaf_index` #21

Closed clangenb closed 1 year ago

clangenb commented 1 year ago

Until know we could only get the merkle proof if the client already knows it's own leaf index, which is unreasonable.

I have laid the groundwork to get the merkle proof for a given actor id of an order set here: #20. Now, this needs to be incorporated into the CLI and the TrustedGetter.