From 3092427a3344aba5f926e19d28b4ae773a3ee640 Mon Sep 17 00:00:00 2001 From: "valerii.kabisov" Date: Tue, 15 Oct 2024 21:06:14 +0400 Subject: [PATCH] Merge fix, mock regeneration --- .mockery.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/.mockery.yaml b/.mockery.yaml index 883eb5a2ed..c929d44eca 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -374,6 +374,13 @@ packages: outpkg: mock_contracts interfaces: CommitStoreInterface: + github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/fee_quoter: + config: + dir: core/gethwrappers/ccip/mocks/ + filename: fee_quoter_interface.go + outpkg: mock_contracts + interfaces: + FeeQuoterInterface: github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/price_registry: config: dir: core/gethwrappers/ccip/mocks/ @@ -471,7 +478,7 @@ packages: filename: optimism_portal2_interface.go outpkg: mock_optimism_portal_2 interfaces: - OptimismPortal2Interface: + OptimismPortal2Interface: github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_dispute_game_factory: config: dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_dispute_game_factory/ @@ -498,12 +505,20 @@ packages: PriceRegistryReader: config: filename: price_registry_reader_mock.go + FeeEstimatorConfigReader: + config: + filename: fee_estimator_config_mock.go TokenPoolReader: config: filename: token_pool_reader_mock.go USDCReader: config: filename: usdc_reader_mock.go + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/ccip/estimatorconfig: + interfaces: + GasPriceInterceptor: + config: + filename: gas_price_interceptor_mock.go github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/ccip/internal/ccipdata/batchreader: config: filename: token_pool_batched_reader_mock.go @@ -577,4 +592,38 @@ packages: mockname: "Mock{{ .InterfaceName }}" github.com/smartcontractkit/chainlink/v2/core/services/registrysyncer: interfaces: - ORM: \ No newline at end of file + ORM: + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/liquiditymanager/bridge: + interfaces: + Bridge: + config: + filename: bridge_mock.go + Factory: + config: + filename: bridge_factory_mock.go + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/liquiditymanager/chain/evm: + interfaces: + Factory: + config: + filename: lm_factory_mock.go + dir: "{{ .InterfaceDir }}/../../mocks" + LiquidityManager: + config: + filename: liquidity_manager_mock.go + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/liquiditymanager: + interfaces: + LiquidityManager: + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/liquiditymanager/discoverer: + interfaces: + Discoverer: + config: + filename: discoverer_mock.go + Factory: + config: + filename: factory_mock.go + github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/liquiditymanager/rebalalgo: + config: + dir: "{{ .InterfaceDir }}/../mocks" + filename: rebalancer_mock.go + interfaces: + RebalancingAlgo: \ No newline at end of file