Closed tallywiesenberg closed 2 years ago
Looks great. Before I merge though, any thoughts on how to handle changing variables? Should we return a block.number or a block.timestamp with it? The problem is thing like say balance. It could be one thing at one block, the oracle grabs the data and then they transfer before the other chain even knows about it....
I agree, adding the time stamp or block number would be helpful.
Great point, timestamp is a great addition
i would actually flip it...have it return a timestamp of when it was queried. AFAIK, querying the chain by timestamp is super tough and could be pretty limiting for the node providers
Can you give a return value example? But looking good
I wrote up a data type that can read data and bridge it over from one chain to another. Thoughts welcome!