Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgradeable families #3596

Merged
merged 6 commits into from
Aug 9, 2023
Merged

Upgradeable families #3596

merged 6 commits into from
Aug 9, 2023

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    fbb118d View commit details
    Browse the repository at this point in the history
  2. Introduce upgradeTxAuxData

    lehins committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    495c902 View commit details
    Browse the repository at this point in the history
  3. Add eraName

    Consensus already defines a similar function. There is no need for it to
    live there especially since it can be used in other downstream
    applications and testing
    lehins committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    d1ac3eb View commit details
    Browse the repository at this point in the history
  4. Add a set of tests that check upgradeability

    The idea behind tests is to serialize a type in the previous era and
    deserialize it in the current era, while checking that upgrading
    functionality produces the same result.
    
    Noteable type family that does not translate through serialization is
    the Script on the Allegra/Alonzo boundary, hence it is treated
    specially in tests.
    lehins committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    ed3a25b View commit details
    Browse the repository at this point in the history
  5. Introduce upgradeTxCert and TxCertUpgradeFailure

    * Upgrade of TxCerts can fail on Babbage/Conway boundary, hence slightly
      different interface than other upgrade functions.
    * Includes upgradeability test for TxCert
    lehins committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    2cfbfd1 View commit details
    Browse the repository at this point in the history
  6. Add HIE targets

    lehins committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    c43a997 View commit details
    Browse the repository at this point in the history