Skip to content

Commit

Permalink
Update proto/vendor/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mikołaj Florkiewicz <[email protected]>
Signed-off-by: Yiannis Marangos <[email protected]>
  • Loading branch information
oblique and fl0rek authored Dec 4, 2024
1 parent bf6fe18 commit bf79497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto/vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Keep in mind that if the type exists in the same file, then full path is not nee

**Step 5:**

Vendor any message type that contains a modified message type. The best example here is the modified `Data`:
Vendor any message type that contains a modified message type, recursively. The best example here is the modified `Data`:

* We need to vendor `tendermint.types.Block` in `tendermint-celestia-mods` because it uses `Data` ([link](https://github.com/eigerco/lumina/blob/82c51f6ac88fd3662a0f91a0cf19a717986e3470/proto/vendor/tendermint-celestia-mods/types/block.proto#L9-L14)).
* Then vendor `tendermint.blockchain.BlockResponse` because it uses `tendermint.types.Block` ([link](https://github.com/eigerco/lumina/blob/82c51f6ac88fd3662a0f91a0cf19a717986e3470/proto/vendor/tendermint-celestia-mods/blockchain/types.proto#L9-L11)). Notice that `BlockResponse.block` now has a type of `tendermint_celestia_mods.types.Block`.
Expand Down

0 comments on commit bf79497

Please sign in to comment.