[BUG] - Inconsistent handling of Babbage-only features in older Tx eras #4424
Open
Labels
bug
Something isn't working
comp: cardano-cli
era: babbage
release: 1.35.3
cardano node release 1.35.3
Stale
type: bug
Something is not working
user type: internal
Created by an IOG employee
Internal
Area
Plutus Related to Plutus Scripts (Alonzo).
Summary
Inline datum, reference script and read-only reference are features supported only in Babbage Tx era. When trying to use these in older era transactions (e.g. Allegra), the behavior is inconsistent.
Inline datum:
Attempt to build Alonzo era transaction fails with
Error: Inline datums cannot be used for Alonzo era transactions.
Building Mary era transaction succeeds, and inline datum is ignored.
Reference script:
Building any old era transaction (transaction era < Babbage) with reference script succeeds and reference script is ignored.
Read-only reference input:
Attempt to build any old era transaction (transaction era < Babbage) with read-only reference input fails with error like
Expected behavior
Attempt to use Babbage features in older era transactions should fail with
Error: <feature> cannot be used for <old era name> era transactions
System info (please complete the following information):
The text was updated successfully, but these errors were encountered: