Skip to content

Commit

Permalink
Remove unused Context._feeEstimator field
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed May 26, 2023
1 parent af82118 commit 2e099d9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/wallet/bench/latency-bench.hs
Expand Up @@ -471,7 +471,6 @@ withShelleyServer tracers action = do
, _manager = manager
, _walletPort = Port . fromIntegral $ portFromURL baseUrl
, _faucet = faucet
, _feeEstimator = \_ -> error "feeEstimator not available"
, _networkParameters = np
, _poolGarbageCollectionEvents =
error "poolGarbageCollectionEvents not available"
Expand Down
Expand Up @@ -33,8 +33,6 @@ import Network.HTTP.Client
( Manager )
import Network.URI
( URI )
import Numeric.Natural
( Natural )
import Test.Integration.Faucet
( Faucet )

Expand All @@ -57,8 +55,6 @@ data Context = Context
:: (ByteString, Coin)
-> IO ()
-- ^ A function to inject rewards into some stake address.
, _feeEstimator :: TxDescription -> (Natural, Natural)
-- ^ A fee estimator.
, _networkParameters :: NetworkParameters
-- ^ Blockchain parameters for the underlying chain.
, _poolGarbageCollectionEvents
Expand Down
1 change: 0 additions & 1 deletion lib/wallet/test/integration/shelley-integration-test.hs
Expand Up @@ -272,7 +272,6 @@ specWithServer testDir (tr, tracers) = aroundAll withContext
, _manager = (baseUrl, manager)
, _walletPort = Port . fromIntegral $ portFromURL baseUrl
, _faucet = faucet
, _feeEstimator = error "feeEstimator: unused in shelley specs"
, _networkParameters = np
, _poolGarbageCollectionEvents = poolGarbageCollectionEvents
, _mainEra = clusterToApiEra era
Expand Down

0 comments on commit 2e099d9

Please sign in to comment.