Skip to content

LB: CPMM address is a smart-contract

Mehdi Bouaziz requested to merge mehdi@lb_contract_address into master

Context

This MR uses !5222 (merged) to specialize the storage of the CPMM contract address, from Contract_repr.t to Contract_hash.t.

Why? In a following MR, the contract cache will be specialized to originated contracts, some types were blocking here...

Manually testing the MR

Migration fails if we're not using the contract-compatible encoding: https://gitlab.com/tezos/tezos/-/jobs/2440058855

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Mehdi Bouaziz

Merge request reports