-
Notifications
You must be signed in to change notification settings - Fork 307
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
Delete share and TxInclusion
code
#850
Delete share and TxInclusion
code
#850
Conversation
NOTE: This won't work as is because pkg/prove/proof.go relies on types and functions that were deleted.
6d6aaf4
to
4f56734
Compare
469fde2
to
5ed323f
Compare
blockchain/msgs_test.go
Outdated
@@ -98,7 +98,7 @@ func TestBlockchainMessageVectors(t *testing.T) { | |||
BlockRequest: &bcproto.BlockRequest{Height: math.MaxInt64}}}, | |||
"0a0a08ffffffffffffffff7f"}, | |||
{"BlockResponseMessage", &bcproto.Message{Sum: &bcproto.Message_BlockResponse{ | |||
BlockResponse: &bcproto.BlockResponse{Block: bpb}}}, "1a97010a94010a5b0a02080b1803220b088092b8c398feffffff012a0212003a20269ece38583f42aaf53fdd3abe1f570ab9b0d08284d080900966040a29df504c6a20e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85512350a0b48656c6c6f20576f726c641a00220028013220269ece38583f42aaf53fdd3abe1f570ab9b0d08284d080900966040a29df504c"}, | |||
BlockResponse: &bcproto.BlockResponse{Block: bpb}}}, "1a500a4e0a390a02080b1803220b088092b8c398feffffff012a0212006a20e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85512110a0b48656c6c6f20576f726c641a002200"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the expected bytes were updated in this test b/c the data hash in a block was updated
@@ -1039,124 +1027,17 @@ type Data struct { | |||
|
|||
// Hash returns the hash of the data | |||
func (data *Data) Hash() tmbytes.HexBytes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this implementation was updated to conform to https://github.com/tendermint/tendermint/blob/main/types/block.go#L1004-L1013
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! left one blocking comment, but the rest are nits or comments
Converted back to draft because long tests in |
af16e15
to
e77731e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🪓
Description
Closes: #842