-
Notifications
You must be signed in to change notification settings - Fork 240
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
Problem: export API not supported in memiavl #924
Conversation
Signed-off-by: yihuang <huang@crypto.com>
} | ||
return &iavl.ExportNode{ | ||
Height: int8(height), | ||
Version: int64(node.Version()), |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion
value = node.Value() | ||
} | ||
return &iavl.ExportNode{ | ||
Height: int8(height), |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion
} | ||
|
||
func (e *Exporter) Next() (*iavl.ExportNode, error) { | ||
if int(e.i) >= e.count { |
Check failure
Code scanning / gosec
Potential integer overflow by integer type conversion
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)