Skip to content

Commit

Permalink
Merge pull request #1487 from Renegatto/alexey/pool-pkh-data-instances
Browse files Browse the repository at this point in the history
Derive `ToData` and `FromData` for `PoolPubKeyHash`
  • Loading branch information
klntsky authored Sep 27, 2023
2 parents c2a8b06 + 2bdf399 commit d786ed7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

- Added `extraSources` and `data` features to CTL's Nix build function ([#1516](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1516))
- Added several `Ring`-like numeric instances for `Coin` ([#1485](https://github.com/Plutonomicon/cardano-transaction-lib/issues/1485))
- Added `ToData` and `FromData` instances for `PoolPubKeyHash` ([#1483](https://github.com/Plutonomicon/cardano-transaction-lib/issues/1483))
- **[IMPORTANT]** New machinery to achieve better synchronization between wallets and query layer has been added. This affects all CTL-based apps when light wallet browser extensions are in use. See [here](./doc/query-layers.md) for more info ([#1440](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1440))
- **Local Blockfrost runtime** based on [run-your-own version of Blockfrost](https://github.com/blockfrost/blockfrost-backend-ryo/) - see [here](./doc/blockfrost.md#running-blockfrost-locally) for more info ([#1395](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1395))
- **Lace wallet support** - ([#1477](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1477))
Expand Down
2 changes: 2 additions & 0 deletions src/Internal/Cardano/Types/Transaction.purs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ derive instance Newtype PoolPubKeyHash _
derive instance Eq PoolPubKeyHash
derive instance Ord PoolPubKeyHash
derive instance Generic PoolPubKeyHash _
derive newtype instance ToData PoolPubKeyHash
derive newtype instance FromData PoolPubKeyHash

instance EncodeAeson PoolPubKeyHash where
encodeAeson (PoolPubKeyHash kh) =
Expand Down

0 comments on commit d786ed7

Please sign in to comment.