Skip to content
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

Fast-foward occassionally hangs on block production #9690

Open
ghost opened this issue Oct 16, 2023 · 0 comments
Open

Fast-foward occassionally hangs on block production #9690

ghost opened this issue Oct 16, 2023 · 0 comments
Labels
community Issues created by community

Comments

@ghost
Copy link

ghost commented Oct 16, 2023

Describe the bug
Using https://github.com/andrew-sol/workspaces-reproduction
Running tests sometimes is ok but usually hangs during block production when calling fast-forward. In the example it hangs at the parent height of 1998 which is reproducible.

During block production for target height 1998, it's approval inner value is a ApprovalInner::Skip(..). In the subsequent iterations the parent height is not updated and stuck at 1998 while its target height changes.

To Reproduce
Use worksaces-reproduction which uses workspaces-rs v0.7.0. The repo also offers run.sh to execute the tests.

Expected behavior
On a successful run, the error: FunctionCallError(ExecutionError("Smart contract panicked: Not enough balance to withdraw")) is expected after the fast-forward bit was successful.

Screenshots
Screenshot 2023-10-16 at 16 21 54
Screenshot 2023-10-16 at 16 22 36

Version (please complete the following information):

  • nearcore: @1.35.0
  • rust version: rustc 1.73.0 (cc66ad468 2023-10-03)
  • sandbox build
  • sytem: macOS

Additional context
The issue was originally created here: near/near-workspaces-rs#266

@telezhnaya telezhnaya added the community Issues created by community label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues created by community
Projects
None yet
Development

No branches or pull requests

1 participant