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

Address type casts #1020

Merged
merged 13 commits into from
Jun 22, 2021
Merged

Address type casts #1020

merged 13 commits into from
Jun 22, 2021

Conversation

jjcnn
Copy link
Contributor

@jjcnn jjcnn commented Jun 18, 2021

Type cast statements for addresses are now available using the syntax

x <-& c as ByStr20 with contract field f : Uint128, field g : Bool end

@jjcnn
Copy link
Contributor Author

jjcnn commented Jun 21, 2021

I have added a mechanism for charging gas for the dynamic typecheck of contract and transition parameters, which was missing from the original address type/remote reads PR.

This fixes #1005 .

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

Successfully merging this pull request may close these issues.

2 participants