0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
32 stars 28 forks source link

Make use of committed transaction data from the node #386

Closed igamigo closed 3 months ago

igamigo commented 3 months ago

What should be done?

We need to make use of the newly added transaction data that the node emits on sync requests.

How should it be done?

On syncs, for each received committed transaction, we need to update the local store with the correct status and block height, essentially replacing the current logic. Additionally, the nullifiers are returned with block height as well, so we should update the local store accordingly.

When is this task done?

When the local store is updated with the new Transaction ID and block height info.

Additional context

No response

mFragaBA commented 3 months ago

I'll close https://github.com/0xPolygonMiden/miden-client/issues/370 and we can use this one instead

mFragaBA commented 3 months ago

closing as #387 got merged