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

extension builder #240

Open
cymqqqq opened this issue Jul 26, 2024 · 1 comment
Open

extension builder #240

cymqqqq opened this issue Jul 26, 2024 · 1 comment

Comments

@cymqqqq
Copy link
Contributor

cymqqqq commented Jul 26, 2024

I noticed that now there are GenesisIface, TransitionIface, and ExtensionIface, related to ContractBuilder, and TransitionBuilder. But there is no ExtensionBuilder, so do we also need an ExtensionBuilder?

I also noticed that for the ExtensionIface, there is a redeem structure(It's not a state, but a valency type), maybe related to the input in the TransitionIface, so if there is an ExtensionBuilder with a redeem parameter, then what does the redeem actually work for?

@dr-orlovsky
Copy link
Member

Yes, extension builder will be needed.

Extension doesn't close any single-use seals though; its inputs are redeems. Redeems do redeem valencies, defined by other operations; it is the way how one link them into the contract history graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants