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
this is covered in other issues like #12985 & #15555. This is also a known thing, even if we return an error here it will panic at a lower level. Closing this issue as it doesnt provide much information
Is there an existing issue for this?
What happened?
From code security scanners, there are about 30 reports of panics in BeginBlocker and EndBlocker per https://github.com/cosmos/cosmos-sdk/security/code-scanning?query=is%3Aopen+branch%3Amain+rule%3Acrypto-com%2Fcosmos-sdk-codeql%2Fbeginendblock-panic
cosmos-sdk/x/staking/keeper/validator.go
Lines 38 to 42 in f23d5c4
cosmos-sdk/types/address.go
Lines 700 to 706 in f23d5c4
cosmos-sdk/x/staking/keeper/val_state_change.go
Lines 186 to 190 in f23d5c4
cosmos-sdk/types/coin.go
Lines 326 to 334 in f23d5c4
Cosmos SDK Version
main
How to reproduce?
We need to explore those reported panics and see what we can address.
Kindly /cc-ing @elias-orijtech @julienrbrt @tac0turtle
The text was updated successfully, but these errors were encountered: