Skip to content

Commit

Permalink
Remove WalletKey from TransactionNew module.
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed May 24, 2023
1 parent 5f1483a commit 8783926
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module Test.Integration.Scenario.API.Shelley.TransactionsNew (spec) where

import Prelude


import Cardano.Address.Derivation
( XPub, xpubPublicKey )
import Cardano.Address.Script
Expand All @@ -36,12 +37,9 @@ import Cardano.Pool.Metadata.Types
import Cardano.Pool.Types
( PoolId (..), PoolOwner (..), decodePoolIdBech32 )
import Cardano.Wallet.Address.Derivation
( DerivationIndex (..)
, HardDerivation (..)
, Role (..)
, WalletKey (..)
, hex
)
( DerivationIndex (..), HardDerivation (..), Role (..), hex )
import Cardano.Wallet.Address.Keys.WalletKey
( getRawKeyNew, publicKeyNew )
import Cardano.Wallet.Api.Hex
( fromHexText )
import Cardano.Wallet.Api.Types
Expand Down Expand Up @@ -81,6 +79,8 @@ import Cardano.Wallet.Api.Types.Certificate
( ApiRewardAccount (..) )
import Cardano.Wallet.Api.Types.Transaction
( ApiAddress (..), ApiValidityIntervalExplicit (..), mkApiWitnessCount )
import Cardano.Wallet.Flavor
( KeyFlavorS (..) )
import Cardano.Wallet.Pools
( StakePool )
import Cardano.Wallet.Primitive.Types
Expand Down Expand Up @@ -2378,7 +2378,7 @@ spec = describe "NEW_SHELLEY_TRANSACTIONS" $ do
let rootSk = Shelley.generateKeyFromSeed (SomeMnemonic mw, Nothing) mempty
acctSk = deriveAccountPrivateKey mempty rootSk minBound
addrSk = deriveAddressPrivateKey mempty acctSk UtxoExternal (toEnum 14)
addrVk = getRawKey $ publicKey addrSk
addrVk = getRawKeyNew ShelleyKeyS $ publicKeyNew ShelleyKeyS addrSk
let apiTx' = ApiT (apiTx `addRequiredSigners` [addrVk])

-- Sign Tx
Expand Down

0 comments on commit 8783926

Please sign in to comment.