Skip to content

Commit 4b1c1d4

Browse files
authored
Rename the reward redeemer tag to withdrawal (#312)
Ogmios 5 and blockfrost both refer to script redeemers that use the withdrawal redeemer as "withdrawal:{index}". The only place where the name of the redeemer tag is used is for evaluating the execution steps in the transaction builder. Therefore I recommend renaming the redeemer tag to the name used by other cardano tooling. Note that in Ogmios 6, this name changes to "withdraw"
1 parent b2d74cc commit 4b1c1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/plutus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ class RedeemerTag(CBORSerializable, Enum):
932932
SPEND = 0
933933
MINT = 1
934934
CERT = 2
935-
REWARD = 3
935+
WITHDRAWAL = 3
936936

937937
def to_primitive(self) -> int:
938938
return self.value

0 commit comments

Comments
 (0)