You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Version (please complete the following information):
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 of1998
which is reproducible.During block production for target height
1998
, it's approval inner value is aApprovalInner::Skip(..)
. In the subsequent iterations the parent height is not updated and stuck at1998
while its target height changes.To Reproduce
Use worksaces-reproduction which uses
workspaces-rs v0.7.0
. The repo also offersrun.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 thefast-forward
bit was successful.Screenshots
![Screenshot 2023-10-16 at 16 21 54](https://private-user-images.githubusercontent.com/141004977/275528001-e3db74f8-96f4-4b78-874b-0eeb12ccf2f8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDI4MTgsIm5iZiI6MTczOTE0MjUxOCwicGF0aCI6Ii8xNDEwMDQ5NzcvMjc1NTI4MDAxLWUzZGI3NGY4LTk2ZjQtNGI3OC04NzRiLTBlZWIxMmNjZjJmOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy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gtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.0Nv6nDk4afllKGqjjLQTthU8W0885O-iJhSt6it_f2U)
Version (please complete the following information):
@1.35.0
rustc 1.73.0 (cc66ad468 2023-10-03)
macOS
Additional context
The issue was originally created here: near/near-workspaces-rs#266
The text was updated successfully, but these errors were encountered: