-
Notifications
You must be signed in to change notification settings - Fork 636
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
Remove redundant BeginBlock #1013
Comments
I'm running into this call of |
+1 as finding this problematic |
short term solution is to avoid that call I'd like to try to propose a fix in #1265 |
In addition to removing the redundant In many places for a pair of connected chains A, B, it is required to be able to call |
I think this is a symptom of how the deliverTxContext is cleared after Endblock on baseapp. Not sure if there's a solution here. Perhaps we could create our own context, but that could allow users to shoot themselves in the foot since it won't mock baseapp's functionality |
Yeah I think so too |
This should be closed in the update to ABCI++ ref #3707 as begin, deliver, end block are squashed into a single FinalizeBlock so it wouldn't be possible to redundantly call begin block Closing preemptively as these changes are inevitable so no need to track this issue |
Currently, the testing suite will call BeginBlock multiple times in a row. This is not an issue for now, but could become one if the
BeginBlock
logic ever changes.The testing suite should be rearchitected to remove redundant BeginBlock calls.
See: https://github.com/cosmos/ibc-go/blob/main/testing/coordinator.go#L191
This will call BeginBlock 3 times in a row
The text was updated successfully, but these errors were encountered: