Skip to content

perf!: Make slashing not write sign info every block (SDK: #19458)#543

Merged
czarcas7ic merged 8 commits intoosmo/v0.47.5from
dev/backport_19458
Mar 7, 2024
Merged

perf!: Make slashing not write sign info every block (SDK: #19458)#543
czarcas7ic merged 8 commits intoosmo/v0.47.5from
dev/backport_19458

Conversation

@ValarDragon
Copy link
Copy Markdown
Member

cosmos#19458

Can someone help me with rebuilding the proto

Comment on lines +51 to +52
panic(fmt.Errorf("invalid state, the validator %v has start height %d , which is greater than the current height %d (as parsed from the header)",
signInfo.Address, signInfo.StartHeight, height))

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt
Copy link
Copy Markdown
Member

@czarcas7ic czarcas7ic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high level ACK

@ValarDragon
Copy link
Copy Markdown
Member Author

I'll replay this PR after we get slashing SDK 50 backported

@czarcas7ic
Copy link
Copy Markdown
Member

Replayed, merging

@czarcas7ic czarcas7ic merged commit e0f9e4f into osmo/v0.47.5 Mar 7, 2024
@czarcas7ic czarcas7ic deleted the dev/backport_19458 branch March 7, 2024 21:30
czarcas7ic added a commit that referenced this pull request May 9, 2024
…) (#543)

* perf!: Make slashing not write sign info every block (SDK: cosmos#19458)

cosmos#19458

* change NewSignInfo API

* Bring back String() change

* Fix test

* Another test fix that didn't get committed

* merge conflict

---------

Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: Adam Tucker <adamleetucker@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants