Closed czarcas7ic closed 6 months ago
The v24
update of cosmos-sdk
introduces significant enhancements focusing on speed improvements in CacheKV
and the adoption of v0.50 slashing bitmap logic. Moreover, it standardizes error messaging and customizes regex patterns for coin denominations across various tests and types, ensuring stricter validation and more intuitive error responses for users. This version marks a leap towards optimized performance and user-friendly error handling.
Files | Change Summary |
---|---|
CHANGELOG.md |
Introduced caching speedups in CacheKV and implemented v0.50 slashing bitmap logic in v0.47.5-v24-osmo-3 . |
tests/.../authz/tx.go x/authz/.../tx_test.go |
Changed error message to "invalid character in denomination." |
tests/integration/bank/.../deterministic_test.go tests/integration/staking/.../deterministic_test.go |
Switched to custom regex pattern [a-zA-Z][a-zA-Z0-9/:._-]{2,127} for coin denominations. |
types/coin.go types/coin_test.go types/dec_coin.go |
Enhanced denomination validation with new regex, added unicode support, and introduced functions for rune validation and denomination matching. |
x/gov/.../util_test.go |
Updated expected error messages for invalid decimal coin expressions to focus on invalid characters in the denomination. |
🐰✨ In the world of code, where changes abound,
A rabbit hopped in, improvements were found.
With regex so neat and errors so clear,
cosmos-sdk
v24 brings cheer.
So here's to the devs, with their code so bright,
May your bugs be few, and your tests always right.
🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Closes: #XXXX
Matt tested and determined this PR is non problematic. Adding it back.
Summary by CodeRabbit
CacheKV
.