Closed Mdaiki0730 closed 6 months ago
Attention: Patch coverage is 0%
with 8 lines
in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
feat/zkauth@ca6ca76
). Click here to learn what that means.
Description
The cachedValue of types.Any is accessed using m.GetCachedValue() of MsgExecution, but the value does not exist. GetCachedValue: https://github.com/Finschia/finschia-sdk/commit/ca6ca76ea1eb5d3aff74bb8fe8910445c3b456ed#diff-39e18d04623a49896a23eaa0d8f555e86d380907384bb93160bcbf7ac8c89e02R66
I implement UnpackInterfaces like txBody.
txBody.UnpackInterfaces: https://github.com/Finschia/finschia-sdk/blob/ca6ca76ea1eb5d3aff74bb8fe8910445c3b456ed/types/tx/types.go#L170-L180
A value is added to cachedValue by implementing UnpackInterfaces. https://github.com/Finschia/finschia-sdk/blob/ca6ca76ea1eb5d3aff74bb8fe8910445c3b456ed/codec/types/interface_registry.go#L249
Motivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml