-
Notifications
You must be signed in to change notification settings - Fork 510
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
Error Slot must increase
when requesting pending state
#1520
Comments
If you are building a parachain, you need to ensure that the inherent can be converted to extrinsic successfully; otherwise, this error will be reported. I submitted a patch for the Darwinia chain today: darwinia-network/darwinia#1608 for your reference. |
Thanks for the reference @boundless-forest. Even though I have applied your patch, the error persists. It might also be worth mentioning that we haven't activated async backing yet. |
Actually, @boundless-forest I have run RUST_LOG=aura=debug ./target/release/darwinia --chain koi-dev --tmp --alice
...
2024-10-10 16:02:42.605 ERROR tokio-runtime-worker runtime: panicked at /home/magecnion/.cargo/git/checkouts/polkadot-sdk-38f315c8db144fd3/5811785/substrate/frame/aura/src/lib.rs:139:21:
Slot must increase I wonder if I can do this works without to have to activate async backing |
I realized that the pending API uses the I fixed this by sending an advanced timestamp in the inherents (freeverseio/laos#801) |
Description
When requesting the "pending" state with the following command:
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0x0000000000000000000000000000000000000000", "0x0", "pending"], "id": 1}' 127.0.0.1:9999
The node panics with the following error:
Steps to Reproduce
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0x0000000000000000000000000000000000000000", "0x0", "pending"], "id": 1}' 127.0.0.1:9999
The text was updated successfully, but these errors were encountered: