Skip to content
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

Pro and Cons to be evaluated: Incompatible ABCI proto field number with current Tendermint ABCI #333

Open
piux2 opened this issue Sep 13, 2022 · 1 comment
Labels
❓ question Questions about Gno

Comments

@piux2
Copy link
Contributor

piux2 commented Sep 13, 2022

The RequestBase makes gno ABCI proto field number +1 than the existing proto filed number in tendermint

This could make the VM not compatible with the existing tendermint ABCI. However, it may not be a problem if gnoland runs as a standalone chain.

It might be an issue down the line to port the gno VM module to another tendermint chain.

Another impact could be the IBC integration, which is yet to be evaluated.

GNO

https://github.com/gnolang/gno/blob/master/pkgs/bft/abci/types/abci.proto#L51

message RequestBeginBlock {
	RequestBase RequestBase = 1;
	bytes Hash = 2;
	google.protobuf.Any Header = 3;
	LastCommitInfo LastCommitInfo = 4;
}

Tendermint

https://github.com/tendermint/tendermint/blob/main/proto/tendermint/abci/types.proto

message RequestBeginBlock {
  bytes                   hash                 = 1;
  tendermint.types.Header header               = 2 [(gogoproto.nullable) = false];
  CommitInfo              last_commit_info     = 3 [(gogoproto.nullable) = false];
  repeated Misbehavior    byzantine_validators = 4 [(gogoproto.nullable) = false];
}

https://github.com/tendermint/tendermint/blob/main/spec/abci/abci++_methods.md#beginblock

@moul
Copy link
Member

moul commented Sep 14, 2022

The whole ABCI stuff may eventually be removed from Gno and Tendermint2 at some point since we're making a simpler version of Tendermint1 with a focus on a unique language.

Let's keep this issue open for additional feedback.

@moul moul added the ❓ question Questions about Gno label Sep 14, 2022
@moul moul added this to the 💡Someday/Maybe milestone Oct 20, 2022
@moul moul moved this to 🔵 Not Needed for Launch in 🚀 The Launch [DEPRECATED] Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Questions about Gno
Projects
Status: 🔵 Not Needed for Launch
Development

No branches or pull requests

2 participants