Skip to content

Commit a1eb1f4

Browse files
ref: move balance monitor
1 parent 608a9e6 commit a1eb1f4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

integration-tests/monitor/balance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/smartcontractkit/chainlink-common/pkg/monitoring/balance"
1818

1919
test_utils "github.com/smartcontractkit/chainlink-ton/deployment/utils"
20-
"github.com/smartcontractkit/chainlink-ton/pkg/relay/monitor"
20+
monitor "github.com/smartcontractkit/chainlink-ton/pkg/relay/monitor/balance"
2121
relayer_utils "github.com/smartcontractkit/chainlink-ton/pkg/relay/testutils"
2222
"github.com/smartcontractkit/chainlink-ton/pkg/ton/tracetracking"
2323
"github.com/smartcontractkit/chainlink-ton/pkg/ton/tvm"

pkg/relay/chain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"github.com/smartcontractkit/chainlink-ton/pkg/logpoller"
3636
txloader "github.com/smartcontractkit/chainlink-ton/pkg/logpoller/loader"
3737
lppgstore "github.com/smartcontractkit/chainlink-ton/pkg/logpoller/store/postgres"
38-
"github.com/smartcontractkit/chainlink-ton/pkg/relay/monitor"
38+
balancemonitor "github.com/smartcontractkit/chainlink-ton/pkg/relay/monitor/balance"
3939
tonchain "github.com/smartcontractkit/chainlink-ton/pkg/ton/chain"
4040
tonconfig "github.com/smartcontractkit/chainlink-ton/pkg/ton/config"
4141
"github.com/smartcontractkit/chainlink-ton/pkg/ton/tracetracking"
@@ -161,7 +161,7 @@ func newChain(cfg *config.TOMLConfig, loopKs loop.Keystore, lggr logger.Logger,
161161
return nil, fmt.Errorf("failed to get chain info for balance monitor: %w", err)
162162
}
163163

164-
ch.bm, err = monitor.NewBalanceMonitor(monitor.BalanceMonitorOpts{
164+
ch.bm, err = balancemonitor.NewBalanceMonitor(balancemonitor.BalanceMonitorOpts{
165165
ChainInfo: balance.ChainInfo{
166166
ChainFamilyName: chainInfo.FamilyName,
167167
ChainID: chainInfo.ChainID,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package monitor
1+
package balance
22

33
import (
44
"context"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package monitor
1+
package balance
22

33
import (
44
"crypto/ed25519"

0 commit comments

Comments
 (0)