Skip to content

Commit

Permalink
Small fixes for the API benchmark (#4216)
Browse files Browse the repository at this point in the history
Addresses @HeinrichApfelmus 's comments here
#4212
  • Loading branch information
Unisay authored Nov 8, 2023
2 parents 29a0f33 + 3b4b5e3 commit de578bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/wallet/bench/api-bench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ import Cardano.Wallet.Primitive.Types
import Cardano.Wallet.Primitive.Types.Coin
( Coin (..)
)
import Cardano.Wallet.Primitive.Types.Hash
( Hash (..)
)
import Cardano.Wallet.Primitive.Types.UTxOStatistics
( HistogramBar (..)
, UTxOStatistics (..)
Expand Down Expand Up @@ -176,9 +179,6 @@ import qualified Cardano.Wallet as W
import qualified Cardano.Wallet.DB as DB
import qualified Cardano.Wallet.DB.Layer as DB
import qualified Cardano.Wallet.DB.Layer as Sqlite
import Cardano.Wallet.Primitive.Types.Hash
( Hash (..)
)
import qualified Cardano.Wallet.Primitive.Types.UTxOStatistics as UTxOStatistics
import qualified Cardano.Wallet.Read as Read
import qualified Cardano.Wallet.Transaction as Tx
Expand Down Expand Up @@ -535,8 +535,8 @@ mockNetworkLayer = dummyNetworkLayer
, currentProtocolParameters = pure dummyProtocolParameters
, currentNodeEra = pure $ Cardano.anyCardanoEra Cardano.BabbageEra
, currentNodeTip = pure BlockHeader
{ slotNo = SlotNo 8888
, blockHeight = Quantity 9999
{ slotNo = SlotNo 123456789
, blockHeight = Quantity 12345
, headerHash = Hash (B8.replicate 32 'a')
, parentHeaderHash = Just (Hash (B8.replicate 32 'b'))
}
Expand Down

0 comments on commit de578bd

Please sign in to comment.