-
Notifications
You must be signed in to change notification settings - Fork 147
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
bug: Rollkit attempts to create 2 blocks with identical Unix timestamps #1529
Comments
Due to clashing timestamps mentioned in rollkit/rollkit#1529 Signed-off-by: Josh Stein <46639943+jcstein@users.noreply.github.com>
Due to clashing timestamps mentioned in rollkit/rollkit#1529 Signed-off-by: Josh Stein <46639943+jcstein@users.noreply.github.com>
source rollkit/cosmos-sdk@306e719 |
The The timestamp (integer value) in the error message in clearly the Unix timestamp with seconds precission (you can test this with
|
this commit uncomments the recover logic in |
Pending polaris v2 migration. |
Version of Git SHA
these both use rollkit v0.11.19-no-fraud-proofs https://github.com/rollkit/cosmos-sdk/releases/tag/v0.50.1-rollkit-v0.11.19-no-fraud-proofs
System OS
macOS
Installed tools
necessary dependencies
Others
No response
Steps to reproduce it
copied from berachain/polaris#1482 (comment)
testing setup
docker run -d \ -e NODE_TYPE=light \ -e P2P_NETWORK=mocha \ -p 26650:26650 \ -p 26658:26658 \ -p 26659:26659 \ -v $HOME/.celestia-light-mocha-4/:/home/celestia/.celestia-light-mocha-4/ \ ghcr.io/rollkit/celestia-da:v0.12.10 \ celestia-da light start \ --p2p.network=mocha \ --da.grpc.namespace=0000506f6c6172697332 \ --da.grpc.listen=0.0.0.0:26650 \ --core.ip rpc-mocha.pops.one \ --gateway
Expected result
Rollkit does not try to make 2 blocks with the same Unix timestamp.
Actual result
Rollkit tries to make 2 blocks with the same Unix timestamp. Chain crashes. Unrecoverable for the developer and for the chain.
copied from berachain/polaris#1482 (comment)
testing update
Unfortunately, the chain crashed, due to an error seen on previous testing (before branch was updated):
root issue
3:47PM ERR failed to build payload err="invalid timestamp, parent 1707252473 given 1707252473" module=server
logs
Relevant log output
No response
Notes
No response
The text was updated successfully, but these errors were encountered: