Skip to content

Commit

Permalink
Fmt and last bump
Browse files Browse the repository at this point in the history
  • Loading branch information
connorwstein committed Jan 25, 2022
1 parent 410f9dc commit f35b69c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions core/chains/terra/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (

// DefaultRequestTimeout is the default Terra client timeout.
// Note that while the terra node is processing a heavy block,
// request can be delayed significantly https://github.com/tendermint/tendermint/issues/6899
// but during which time there's nothing we can do but wait until the block is processed,
// which is why we set a fairly high timeout here.
// requests can be delayed significantly (https://github.com/tendermint/tendermint/issues/6899),
// however there's nothing we can do but wait until the block is processed.
// So we set a fairly high timeout here.
const DefaultRequestTimeout = 30 * time.Second

//go:generate mockery --name MsgEnqueuer --srcpkg github.com/smartcontractkit/chainlink-terra/pkg/terra --output ./mocks/ --case=underscore
Expand Down
6 changes: 3 additions & 3 deletions core/services/ocrcommon/peer_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ func (p *SingletonPeerWrapper) Start() error {
V1EndpointConfig: ocrnetworking.EndpointConfigV1{
IncomingMessageBufferSize: p.config.P2PIncomingMessageBufferSize(),
OutgoingMessageBufferSize: p.config.P2POutgoingMessageBufferSize(),
NewStreamTimeout: p.config.P2PNewStreamTimeout(),
DHTLookupInterval: p.config.P2PDHTLookupInterval(),
BootstrapCheckInterval: p.config.P2PBootstrapCheckInterval(),
NewStreamTimeout: p.config.P2PNewStreamTimeout(),
DHTLookupInterval: p.config.P2PDHTLookupInterval(),
BootstrapCheckInterval: p.config.P2PBootstrapCheckInterval(),
},

V2EndpointConfig: ocrnetworking.EndpointConfigV2{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ require (
github.com/scylladb/go-reflectx v1.0.1
github.com/shopspring/decimal v1.3.1
github.com/smartcontractkit/chainlink-solana v0.2.3-0.20220121213958-5b4d7cdb0ba2
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125154855-a28270379c68
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125162319-3452c796b631
github.com/smartcontractkit/helmenv v1.0.25
github.com/smartcontractkit/integrations-framework v1.0.35
github.com/smartcontractkit/libocr v0.0.0-20220121130134-5d2b1d5f424b
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,8 @@ github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125000306-fc590b06833c
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125000306-fc590b06833c/go.mod h1:lnLYd1S6YZV/uGS3V0VCXZQDOegygwa5sqw0pBeJwTw=
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125154855-a28270379c68 h1:/ogdts634bLGT2vMyN5mPt5wL3iJo+RlsNrYXKwQI6U=
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125154855-a28270379c68/go.mod h1:lnLYd1S6YZV/uGS3V0VCXZQDOegygwa5sqw0pBeJwTw=
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125162319-3452c796b631 h1:l4d4fH5c8a3mAHOmF8m7WKPN8Sin2FCYnGfMtfe6gLU=
github.com/smartcontractkit/chainlink-terra v0.0.5-0.20220125162319-3452c796b631/go.mod h1:lnLYd1S6YZV/uGS3V0VCXZQDOegygwa5sqw0pBeJwTw=
github.com/smartcontractkit/helmenv v1.0.25 h1:FxVzDyMa5GjIHAsK9puHbraoSM1Z7IThN6oqEz8cukU=
github.com/smartcontractkit/helmenv v1.0.25/go.mod h1:ef0doolSZf8ckqaWMIK2M+EPXdIKYVzttd6EXaCgCK4=
github.com/smartcontractkit/integrations-framework v1.0.35 h1:P4O6EVqzPByS2s1CRJSDr5TovkwqEHNmKJyrkdDuZiQ=
Expand Down

0 comments on commit f35b69c

Please sign in to comment.