citahub-common中提供的proto文件是否是最新的?

测试运行CITAHub文档中列举的查看交易命令,在解析出的交易信息中,存在不属于proto文件的字段,多了pub_key和sender字段:

执行CITAHub上的示例指令:

cita-cli rpc getTransaction --hash 0xec4b93bab3c815950f7342781c735895a4c9dcbf50a4e9f4d28204253560f3f4

(CITAHub文档链接:https://docs.citahub.com/zh-CN/cita/getting-started/basic-usage#查看交易)

定义SignedTransaction 的proto文件:
image
image

反序列化SignedTransaction 结果:

cita-common里的proto是最新的。
cita-cli展示的额外字段是它自己算出来的,不是消息里的内容。
代码参见: https://github.com/citahub/cita-cli/blob/master/cita-tool/src/protos.rs#L23