Closed ws4charlie closed 8 hours ago
[!IMPORTANT]
Review skipped
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
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?
Attention: Patch coverage is 70.79646%
with 33 lines
in your changes missing coverage. Please review.
Project coverage is 62.06%. Comparing base (
771317f
) to head (fe26d13
). Report is 1 commits behind head on develop.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
π¦ GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Description
The maximum length of inbound message is defined as
const MaxMessageLength = 10240
in thezetacore
. If for some reason (it is impossible at the moment), an inbound transaction carries a message longer message, thePostVoteInbound
RPC call in observer code below will return an error (due toValidateBasic
failure), which result in endless rescan of the tx.To avoid potential endless tx rescan, zetaclient should
SKIP
invalid inbound vote message.How Has This Been Tested?
Summary by CodeRabbit
Release Notes
New Features
Improvements
Bug Fixes