Skip to content

Commit

Permalink
Merge branch 'issues/584/refactor/miner-query-params' into issues/584…
Browse files Browse the repository at this point in the history
…/refactor/count-difficulty-bits
  • Loading branch information
bryanchriswhite authored Jul 4, 2024
2 parents 85251bf + 7ce8558 commit fb42972
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pkg/relayer/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ func setupRelayerDependencies(

supplierFuncs := []config.SupplierFn{
config.NewSupplyLoggerFromCtx(ctx),
config.NewSupplyEventsQueryClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyBlockQueryClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyBlockClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyQueryClientContextFn(queryNodeGRPCUrl), // leaf
supplyMiner, // leaf
config.NewSupplyEventsQueryClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyBlockQueryClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyBlockClientFn(queryNodeRPCUrl), // leaf
config.NewSupplyQueryClientContextFn(queryNodeGRPCUrl), // leaf
config.NewSupplyTxClientContextFn(queryNodeGRPCUrl, txNodeRPCUrl), // leaf
config.NewSupplyDelegationClientFn(), // leaf
config.NewSupplySharedQueryClientFn(), // leaf
config.NewSupplyProofQueryClientFn(),
supplyMiner,
config.NewSupplyAccountQuerierFn(),
config.NewSupplyApplicationQuerierFn(),
config.NewSupplySupplierQuerierFn(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/relayer/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var _ relayer.Miner = (*miner)(nil)
// difficulty of each, finally publishing those with sufficient difficulty to
// minedRelayObs as they are applicable for relay volume.
type miner struct {
// proofQueryClient is ...
// proofQueryClient is used to query for the minimum relay difficulty.
proofQueryClient client.ProofQueryClient

// relayDifficultyBits is the minimum difficulty that a relay must have to be
Expand Down

0 comments on commit fb42972

Please sign in to comment.