Skip to content

Commit

Permalink
well known types: update bytes encoding of near to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Sep 3, 2024
1 parent 5259833 commit a0efd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion well-known/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var WellKnownProtocols = WellKnownProtocolList([]WellKnownProtocol{
Name: "near",
BlockType: "sf.near.type.v1.Block",
BufBuildURL: "buf.build/streamingfast/firehose-near",
BytesEncoding: pbfirehose.InfoResponse_BLOCK_ID_ENCODING_BASE58,
BytesEncoding: pbfirehose.InfoResponse_BLOCK_ID_ENCODING_HEX, // even though the usual encoding is base58, firehose blocks are written with the hex-encoded version
KnownChains: []*Chain{
{
Name: "near-mainnet",
Expand Down

0 comments on commit a0efd33

Please sign in to comment.