Skip to content

Commit

Permalink
adds some missing parts
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Oct 7, 2024
1 parent 3f8320f commit d6ecfd4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions light/rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ type Client struct {
keyPathFn KeyPathFunc
}

func (c *Client) ConsensusTimeoutsInfo(ctx context.Context, heightPtr int64) (*abci.TimeoutsInfo, error) {
//TODO implement me
panic("implement me")
}

var _ rpcclient.Client = (*Client)(nil)

// Option allow you to tweak Client.
Expand Down
6 changes: 6 additions & 0 deletions rpc/client/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"time"

abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log"
cmtpubsub "github.com/tendermint/tendermint/libs/pubsub"
Expand Down Expand Up @@ -43,6 +44,11 @@ type Local struct {
ctx *rpctypes.Context
}

func (c *Local) ConsensusTimeoutsInfo(ctx context.Context, heightPtr int64) (*abci.TimeoutsInfo, error) {
//TODO implement me
panic("implement me")
}

// NewLocal configures a client that calls the Node directly.
//
// Note that given how rpc/core works with package singletons, that
Expand Down

0 comments on commit d6ecfd4

Please sign in to comment.