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

Version the Taylor interpreter contract #43

Open
loredanacirstea opened this issue Jun 6, 2020 · 0 comments
Open

Version the Taylor interpreter contract #43

loredanacirstea opened this issue Jun 6, 2020 · 0 comments

Comments

@loredanacirstea
Copy link
Owner

loredanacirstea commented Jun 6, 2020

Two versions per contract:

  1. Deploy version - static during the lifetime of the contract.
  2. Runtime version - incremented at each def!; functions have the same version as the contract version, at the time they were defined.

For the runtime version:

  • functions defined at deployment time (native & possibly stored) have version 1
  • add a function with def! -> runtime_ver = 2 -> function version = 2 (version is logged at creation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant