Skip to content

Update Leo syntax for Leo v4.0.0#126

Merged
vicsn merged 1 commit into
arc20_approvalsfrom
arc20_approvals_leov44
Apr 7, 2026
Merged

Update Leo syntax for Leo v4.0.0#126
vicsn merged 1 commit into
arc20_approvalsfrom
arc20_approvals_leov44

Conversation

@vicsn

@vicsn vicsn commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

Tested using Leo commit e1294a8a01 - but couldn't compile yet due to missing ProvableHQ/leo#29233

    Error [ETYC0372005]: Unknown variable `Final`
        --> /Users/victorsintnicolaas/programs/ARCs/arc-0020/dummy_exchange/src/main.leo:47:43
         |
      47 |         let pull: Final = _dynamic_call::[Final](
         |                                           ^^^^^

IMO we can test/finish/merge this PR when Leo is codefrozen

@vicsn vicsn requested a review from d0cd March 27, 2026 13:34
@vicsn vicsn changed the title Update Leo syntax for Leo v4.4.0 Update Leo syntax for Leo v4.0.0 Mar 27, 2026
@vicsn vicsn force-pushed the arc20_approvals_leov44 branch from eefb3b9 to 43cd715 Compare March 27, 2026 13:35

@d0cd d0cd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Option to remove the hard-coded field IDs and use identifiers.

@vicsn

vicsn commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator Author

Good one, we can use identifiers in the next iteration PR, also incorporating other comments on the ARC

@vicsn vicsn merged commit f56210b into arc20_approvals Apr 7, 2026
1 of 2 checks passed
@vicsn vicsn deleted the arc20_approvals_leov44 branch April 7, 2026 10:01
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