-
Notifications
You must be signed in to change notification settings - Fork 51
[Access] Get Block endpoint is missing the system collection #514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Access] Get Block endpoint is missing the system collection #514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for that PR to get merged
As far as I can tell, this change is backward-compatible on the |
* define direct call types * update docs * remove unnecessary event types * . * add more contract types for testing * fix tests * skip test, requires funding (implemented in follow up PR) * unskip test * check error * • extended compile-time checks for telemetry consumer enforcing that all happy-path interfaces are implemented • extended subscriptions of telemetry consumer to receive missing events * reduced notifications consumer interface in PaceMaker, as it only emits events from `hotstuff.ParticipantConsumer` * update tests * Refactor event emmision code * moves fixtures from insecure to p2ptest * adds gossipsub message fixture function * refactors test fixtures * creates GossipSubRpcFixture * adds documentation * adds godoc * Update network/p2p/unicast/README.MD Co-authored-by: Khalil Claybon <[email protected]> * expose more test utility * lint * add register store * update LastFinalizedAndExecutedHeight * convert storage.ErrNotFound to nil * fix lint * fixes the logger * moving ready to the select-case * moving ready to select-case * revises the error by update loop to make it irrecoverable * clean up benchmarking * adds select case for startup of subscription provider * Update network/p2p/scoring/subscription_provider.go Co-authored-by: Khalil Claybon <[email protected]> * adds documentation to subscription record cache * fixes a bug with subscription record id * adds more documentation for current cycle * untangled Register API handler * fix epoch event docs * chnages per suggestions * remove mock * [Access] Handle script canceled and timeout errors * [Access] Make script exec configurable * Make computation limit configurable on ENs * set limit setting once * undo whitespace changes * add storehouse loader * add loaders * add comments update log * add comments * update loader * add extending block snapshot * fix tests * fix lint * update interface * update tests * fix lint * update committer * update mocks * update committer tests * refactor collector * update mocks * update bootstrap * fix noop committer * fix computer_test * fix tests * refactor test * update committer tests * fix tests * Changed input parameters for new methods * Updated according to comments * Update engine/access/rpc/backend/backend_scripts_test.go Co-authored-by: Gregor G. <[email protected]> * fix committer tests * add comment * update tests * Added implementation for execution api engine * Added tests for execution api engine * Added implementation for method for returning tx result * Fixed issues based on comments * Added accidentally removed code * Updated implementations following protobuf changes,updated mocks * Linted * [Access] Update websockets event streaming to return JSON-CDC encoded events * Added tests for sentinel errors * Update engine/execution/rpc/engine.go Co-authored-by: Peter Argue <[email protected]> * Generated mocks, added missing argument to method: * fix per suggestion * cleanup * fix mocks * lint * update NewStorageSnapshot * update mocks * update tests * refactor script engine * update mocks * fix tests * fix tests * remove scripts engine tests * update errors * update tests * refactor tests * test CreateSnapshot * add executing block snapshot * reuse convert functions * add block_end_snapshot tests * remove changes * Apply suggestions from code review Co-authored-by: Peter Argue <[email protected]> * add todo * Update engine/execution/storehouse/block_end_snapshot_test.go Co-authored-by: Peter Argue <[email protected]> * Update engine/execution/storehouse/block_end_snapshot_test.go Co-authored-by: Peter Argue <[email protected]> * fix lint * update comment * add back interface * update getFromStorage * handle not found case * add IsBlockExcuted * update state commmitment by block id * update mocks * fix lint * update unexecuted_loader * fix ingestion tests * fix stop control * use IsParentExecuted * chnages to error handling * Added test * fix loader tests * Fix bug in reencoding and update tests * Fixd remarks * Added test to emulate errors treated as success for cb * Added test cases for checking wrong input * Merged and Linted * Returned back apiTimeout and used it in connection factory * Updated test * Linted * remove index reporter for registersAsync * Added parameter blockID to GetSystemTransaction, so it will be more clear that it's return system tx for block, generated mocks, fixed test * Updated existing functional test to check upstream failover * use atomic pointer * Updated documentaion according to comments * Upgraded godoc * Replaced check with switch * Added event with payload to test decoding, linted * Removed replace and added current version of flow proto * Replace flow-emulator for integration tests * changes per suggestions * correct compareAndSwap * make tidy * Fixed errors * Added more comments for tests * changed version of flow-emulator * Removed comments * modifies the flow-emulator version pinned to match replace statement See: - onflow/flow-emulator#514 - #5049 --------- Co-authored-by: ramtinms <[email protected]> Co-authored-by: Bastian Müller <[email protected]> Co-authored-by: Alexander Hentschel <[email protected]> Co-authored-by: Andrii Slisarchuk <[email protected]> Co-authored-by: Janez Podhostnik <[email protected]> Co-authored-by: Janez Podhostnik <[email protected]> Co-authored-by: Ramtin M. Seraj <[email protected]> Co-authored-by: Yahya Hassanzadeh, Ph.D <[email protected]> Co-authored-by: Yahya Hassanzadeh <[email protected]> Co-authored-by: Khalil Claybon <[email protected]> Co-authored-by: Leo Zhang (zhangchiqing) <[email protected]> Co-authored-by: Gregor G <[email protected]> Co-authored-by: Jan Bernatik <[email protected]> Co-authored-by: Amlandeep Bhadra <[email protected]> Co-authored-by: Peter Argue <[email protected]> Co-authored-by: Andrii <[email protected]> Co-authored-by: UlyanaAndrukhiv <[email protected]> Co-authored-by: Yurii Oleksyshyn <[email protected]> Co-authored-by: Amlandeep Bhadra <[email protected]> Co-authored-by: Andrii Slisarchuk <[email protected]> Co-authored-by: Kan Zhang <[email protected]>
yea, I think that's the way to go |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #514 +/- ##
==========================================
- Coverage 50.75% 50.69% -0.06%
==========================================
Files 30 30
Lines 3933 3937 +4
==========================================
Hits 1996 1996
- Misses 1784 1788 +4
Partials 153 153
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@sideninja Could you please merge than, as I need those changes for onflow/flow-go#5049. As @jordanschalm mentioned I can't merge |
which PR do you need to be merged? what is the reason for targeting your forked flow-go? |
I need to merge flow-emulator PR(#514) first, so jobs in PR(onflow/flow-go#5049) won't fail and guys from the team will be able to merge my PR in master without |
Looks like the PR you linked is already merged? |
But I agree that shouldn't have a replace directive there, so it's better to have it here temporarily. Let's get this merged targeting flow-go master and then do a follow-up PR on flow-go removing the replace directive. |
It was reverted because of |
Yes, that was the idea. Remove it from |
Could you please merge this PR for now, so I can finish with the corresponding PR in |
@AndriiDiachuk once again, what is the corresponding PR on flow-go? before I asked you what is the PR you are waiting for you shared a PR that is now merged into flow-go master, so what PR are you relying on by introducing this replace? |
Ahh missed this message. Ok makes sense. |
@AndriiDiachuk can you please update your flow-go forked version you replace here and make another PR for that since you are now blocking some other features relying on latest flow-go master |
Thanks for help with merging. Here is the new PR(onflow/flow-go#5078) for the |
…ck-endpoint-is-missing-system-collection [Access] Get Block endpoint is missing the system collection
onflow/flow-go#4584
This pull request implements two missing methods
GetSystemTransaction
,GetSystemTransactionResult
from Access API interface.