Skip to content

[DSP-109] Add permanent entrypoints to upgradeable contract

Konstantin Ivanov requested to merge martoon/more-lorentz-entrypoints into master

Description

Here I add permanent entrypoints to upgradeable contract which are useful for implementing interfaces like FA1.2. This is a breaking change.

This required adding another Lorentz entrypoints derivation way - in order to stay modular.

After this MR I hope to make some other pending changing in that contract which we could not apply without breaking compatibility. Hopefully, it's fine that I update the contract in place, not create a new one; AFAIU two our projects which use it can be updated, and probably no one else uses upgradeable contract in production ATM.

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated the changelog if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Konstantin Ivanov

Merge request reports