node/proto: sequence number is uint64

Change-Id: I098a6e9a40d52336b4307a9827d2a6f92e06d6cd
This commit is contained in:
Leo 2021-10-04 14:04:23 +02:00
parent 15ea6446e6
commit 6b312b3add
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ func (s *PublicrpcServer) GetSignedVAA(ctx context.Context, req *publicrpcv1.Get
b, err := s.db.GetSignedVAABytes(db.VAAID{
EmitterChain: vaa.ChainID(req.MessageId.EmitterChain.Number()),
EmitterAddress: addr,
Sequence: uint64(req.MessageId.Sequence),
Sequence: req.MessageId.Sequence,
})
if err != nil {

View File

@ -22,7 +22,7 @@ message MessageID {
// Hex-encoded (without leading 0x) emitter address.
string emitter_address = 2;
// Sequence number for (emitter_chain, emitter_address).
int64 sequence = 3;
uint64 sequence = 3;
}
// PublicRPCService service exposes endpoints to be consumed externally; GUIs, historical record keeping, etc.