flow-emulator
flow-emulator copied to clipboard
Improve block handling in remote store
Closes #???
Description
The forked mainnet functionality is helpful to testing full application integration. With the current implementation, there are some key differences between behavior of the real network and emulator, particularly with error messages and block handling.
This PR attempts to close the gap and adds testing to cover various cases to ensure block responses behave as expected.
For contributor use:
- [x] Targeted PR against
masterbranch - [ ] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
- [x] Code follows the standards mentioned here
- [x] Updated relevant documentation
- [x] Re-reviewed
Files changedin the GitHub PR explorer - [x] Added appropriate labels
@peterargue thanks a lot for this, btw do we have archive nodes still ? last time I tried to work on this I was failing at that.
Also if someone can fix, or at least explain to me, how flow-archive tags works, it would be great, there are 2 version stream one with v1.x another one is v0.x but I guess newer is v0.x but last time I tried archive node was using v1.x etc
@peterargue thanks a lot for this, btw do we have archive nodes still ? last time I tried to work on this I was failing at that.
Also if someone can fix, or at least explain to me, how flow-archive tags works, it would be great, there are 2 version stream one with v1.x another one is v0.x but I guess newer is v0.x but last time I tried archive node was using v1.x etc
We are working on merging archive node functionality into access nodes as we speak. So right now the issues you are experiencing are due to that. We should have something available soon.
I think we need to fix also register requests part, I messed up there before because of flow-archive versioning problems. ( I can make a PR for it, or contribute to this PR )
ok I updated https://github.com/onflow/flow-emulator/pull/433 with required changes, which required a PR on flow-archive ( for conflicting go versions ) https://github.com/onflow/flow-archive/pull/143