From a0efd331291b69ed229f274659b96b7ac4ce87cf Mon Sep 17 00:00:00 2001 From: colindickson Date: Tue, 3 Sep 2024 14:57:21 -0400 Subject: [PATCH] well known types: update bytes encoding of near to hex --- well-known/chains.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/well-known/chains.go b/well-known/chains.go index 4ccc9c6..96d22d2 100644 --- a/well-known/chains.go +++ b/well-known/chains.go @@ -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",