-
Notifications
You must be signed in to change notification settings - Fork 383
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
Remove the Nonce
field in MsgWirePayForMessage
#33
Comments
MsgWirePayForMessage
is this critical to do before mainnet @adlerjohn? Or in other words: what is wrong with the |
Wait the linked issue doesn't help at all! 😂 What does AccountNumber do? How does it affect replay protection, etc? |
Whoops, apparently the issue linked confused me as well 😅 . The sdk uses a |
MsgWirePayForMessage
MsgWirePayForMessage
The sdk wraps all the transactions to get around protobuf being nondeterministic, so I think the plan is to now remove the |
MsgWirePayForMessage
Nonce
field in MsgWirePayForMessage
Looking at So instead of: this can probably be just reduced to these fields only: MessageNameSpaceId []byte `protobuf:"bytes,3,opt,name=message_name_space_id,json=messageNameSpaceId,proto3" json:"message_name_space_id,omitempty"`
MessageSize uint64 `protobuf:"varint,4,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"`
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
MessageShareCommitment []ShareCommitAndSignature `protobuf:"bytes,6,rep,name=message_share_commitment,json=messageShareCommitment,proto3" json:"message_share_commitment"` The We can mybe even remove the signatures and use the ones included in Tx? The last point might require a modified |
This issue should have been closed with the merge of #129 |
Currently, the nonce in
MsgWirePayForMessage
is not being used. Instead, the sdk handles theAccountNumberSequenceNumber
for the app. The app should be modified so that it follows the spec and handles the nonce inside ofMsgWirePayForMessage
, instead of relying on the sdk to handle theAccountNumber
SequenceNumber.
The text was updated successfully, but these errors were encountered: