diff --git a/docs/reference/README.md b/docs/reference/README.md index c8009d16..6c7e6baa 100644 --- a/docs/reference/README.md +++ b/docs/reference/README.md @@ -34,4 +34,4 @@ The following sections provide details on how to use the `cosmos-indexer` codeba * [Custom Message Type Registration](./custom_cosmos_module_extensions/custom_message_type_registration.md) - Reference documentation on how to register custom message types in the indexer * [Cosmos Indexer Modules](./custom_cosmos_module_extensions/cosmos_indexer_modules.md) - Reference documentation on the strategy for modules provided by the `cosmos-indexer-modules` package for extending the supported transaction message types -* [Probe Codec Walkthrough](./custom_cosmos_module_extensions/probe_codec_walkthrough.md) - Reference documentation on the probe package and its codec for decoding JSON RPC responses and their Protobuf encoded Transaction Messages \ No newline at end of file +* [Probe Codec Walkthrough](./custom_cosmos_module_extensions/probe_codec_walkthrough.md) - Reference documentation on the probe package and its codec for decoding JSON RPC responses and their Protobuf encoded Transaction Messages diff --git a/docs/reference/custom_cosmos_module_extensions/probe_codec_walkthrough.md b/docs/reference/custom_cosmos_module_extensions/probe_codec_walkthrough.md index e5f6e439..26935bfd 100644 --- a/docs/reference/custom_cosmos_module_extensions/probe_codec_walkthrough.md +++ b/docs/reference/custom_cosmos_module_extensions/probe_codec_walkthrough.md @@ -10,7 +10,7 @@ This allows data to be passed from the blockchain to the `probe` package in a fo ## RPC Client Generation -The `probe` package also provides a client generator that can be used to generate a client for a specific blockchain. The client provides methods for querying the blockchain for data, such as blocks, transactions, and events. +The `probe` package also provides a client generator that can be used to generate a client for a specific blockchain. The client provides methods for querying the blockchain for data, such as blocks, transactions, and events. The `ChainClient` type defined in the [client package client.go file](https://github.com/DefiantLabs/probe/blob/main/client/client.go) is used to generate the client for a specific blockchain. The client is generated using the `NewChainClient` function, which takes a `ChainClientConfig` type as an argument that contains the configuration for the client, such as RPC endpoint, chain ID and others. diff --git a/examples/block-sdk-indexer/demo.sql b/examples/block-sdk-indexer/demo.sql index 058483ca..40836960 100644 --- a/examples/block-sdk-indexer/demo.sql +++ b/examples/block-sdk-indexer/demo.sql @@ -1,4 +1,4 @@ SELECT b.height, tx.hash, met.message_type from txes tx JOIN messages me on me.tx_id = tx.id JOIN blocks b on b.id = tx.block_id - JOIN message_types met on met.id = me.message_type_id; \ No newline at end of file + JOIN message_types met on met.id = me.message_type_id; diff --git a/examples/block-sdk-indexer/filter.json b/examples/block-sdk-indexer/filter.json index 4bf47a30..c0ce9797 100644 --- a/examples/block-sdk-indexer/filter.json +++ b/examples/block-sdk-indexer/filter.json @@ -10,4 +10,4 @@ "message_type": "/sdk.auction.v1.MsgAuctionBid" } ] -} \ No newline at end of file +} diff --git a/examples/gov-voting-patterns/demo.sql b/examples/gov-voting-patterns/demo.sql index 9bf78411..97676b75 100644 --- a/examples/gov-voting-patterns/demo.sql +++ b/examples/gov-voting-patterns/demo.sql @@ -1,5 +1,5 @@ -select b.height, a.address, p.proposal_id, CASE - WHEN vo.option = 1 THEN 'yes' +select b.height, a.address, p.proposal_id, CASE + WHEN vo.option = 1 THEN 'yes' WHEN vo.option = 2 THEN 'abstain' WHEN vo.option = 3 THEN 'no' WHEN vo.option = 4 THEN 'veto' @@ -10,4 +10,4 @@ select b.height, a.address, p.proposal_id, CASE JOIN txes tx on tx.id = me.tx_id JOIN blocks b on b.id = tx.block_id JOIN message_types met on met.id = me.message_type_id - JOIN addresses a on vo.address_id = a.id; \ No newline at end of file + JOIN addresses a on vo.address_id = a.id;