Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Missing walletPubKey function #104

Closed
jeffhappily opened this issue Nov 12, 2021 · 1 comment · Fixed by #105
Closed

Missing walletPubKey function #104

jeffhappily opened this issue Nov 12, 2021 · 1 comment · Fixed by #105
Labels
enhancement New feature or request

Comments

@jeffhappily
Copy link
Contributor

Area

[] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[x] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[] Marlowe Related to Marlowe
[] Other Any other topic (Playgrounds, etc.)

Describe the feature you'd like

There used to be a function called walletPubKey in Wallet.Emulator.Wallet but it's being removed in this commit due to the change of WalletId type.

But now the definition of walletPubKeyHash is essentially converting the Wallet into a MockWallet and calculate the PubKeyHash, it should be possible to define a walletPubKey function.

https://github.com/input-output-hk/plutus-apps/blob/eabb8c01bea0f6f476c01dde89b408c397de3ed5/plutus-contract/src/Wallet/Emulator/Wallet.hs#L131-L137

@jeffhappily jeffhappily added the enhancement New feature or request label Nov 12, 2021
@jeffhappily
Copy link
Contributor Author

I can open a PR if you'd like

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant