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

Synchronous contract calls: concordium-std support #71

Closed
4 tasks done
abizjak opened this issue Jan 8, 2022 · 0 comments · Fixed by #72 or #83
Closed
4 tasks done

Synchronous contract calls: concordium-std support #71

abizjak opened this issue Jan 8, 2022 · 0 comments · Fixed by #72 or #83
Assignees
Labels
[Type] Task An additional feature or improvement.

Comments

@abizjak
Copy link
Contributor

abizjak commented Jan 8, 2022

Task description

Synchronous contract calls change the format of the contract entrypoints fairly significantly. These changes must be reflected in concordium-std to enable painless writing of smart contracts.

The next version of concordium-std will not support V0 contracts anymore, only V1.

Some of the similar changes to contracts are going to be needed for the state implemenation. However the changes should be done in two stages to make them more manageable.

Sub-tasks

  • Wrap the new host API into ergonomic high-level wrappers (e.g., invoke_contract, transfer, ...)
  • Introduce a version 2 of the schema that removes support for the state from the schema, but adds support for return values.
  • Revise procedural macros (i.e., the init and receive macros, as well as the schema macro) for the new format of contracts.
  • Update testing infrastructure to allow testing of new contracts.
@abizjak abizjak added the [Type] Task An additional feature or improvement. label Jan 8, 2022
@abizjak abizjak added this to ToDo in Release R3 (Sirius) via automation Jan 8, 2022
@abizjak abizjak moved this from ToDo to In Progress in Release R3 (Sirius) Jan 8, 2022
@abizjak abizjak mentioned this issue Jan 8, 2022
9 tasks
@abizjak abizjak linked a pull request Jan 8, 2022 that will close this issue
9 tasks
@abizjak abizjak moved this from In Progress to Done in Release R3 (Sirius) Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Task An additional feature or improvement.
Projects
No open projects
2 participants