Skip to content

Commit 5b281c4

Browse files
authored
Merge branch 'staging' into szg251/voting-builder
2 parents e549220 + eb3e119 commit 5b281c4

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plutus-context-builder/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
This format is based on [Keep A Changelog](https://keepachangelog.com/en/1.0.0).
44

5+
## 4.2.0 - 2025-03-24
6+
7+
### Fixed
8+
9+
* Construct V3 fields of `TxInfo`
10+
* Do not add zero ADA entry to mint value
11+
512
## 4.1.0 - 2025-03-24
613

714
### Added

plutus-context-builder/plutus-context-builder.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: plutus-context-builder
3-
version: 4.1.0
3+
version: 4.2.0
44
synopsis: A builder for ScriptContexts
55
description:
66
Defines a builder for ScriptContexts, with helpers for commonly-needed uses.

plutus-context-builder/src/Plutus/ContextBuilder/Base.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ withValue val = set #value val (mempty :: UTXO)
462462

463463
{- | Specify `Credential` to a UTXO.
464464
465-
@since WIP
465+
@since 4.2.0
466466
-}
467467
withCredential :: Credential -> UTXO
468468
withCredential cred =
@@ -1124,7 +1124,7 @@ yieldMint = foldMap mintToValue . toList
11241124
-}
11251125
mintToValue :: Mint -> Value
11261126
mintToValue m =
1127-
foldMap f (view #tokens m) <> Value.singleton adaSymbol adaToken 0
1127+
foldMap f (view #tokens m)
11281128
where
11291129
f :: (TokenName, Integer) -> Value
11301130
f = uncurry $ Value.singleton $ view #symbol m

0 commit comments

Comments
 (0)