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

[move][move-2024] Extract macros from precompiled programs for expansion. #18643

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

cgswords
Copy link
Contributor

Description

This extracts macros from the precompiled program so that macro expansion works for them, too.

Test plan

Updated a test to use vector's do!. It failed before the fix, and works now.


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@cgswords cgswords requested a review from tnowacki July 12, 2024 20:35
Copy link

vercel bot commented Jul 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2024 0:28am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jul 13, 2024 0:28am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jul 13, 2024 0:28am
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Jul 13, 2024 0:28am

@cgswords cgswords force-pushed the cgswords/precompiled_macros branch from 60fa856 to fad96b9 Compare July 13, 2024 00:24
@cgswords cgswords merged commit 883b4c0 into main Jul 13, 2024
48 checks passed
@cgswords cgswords deleted the cgswords/precompiled_macros branch July 13, 2024 00:57
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request Jul 29, 2024
…ion. (MystenLabs#18643)

## Description 

This extracts macros from the precompiled program so that macro
expansion works for them, too.

## Test plan 

Updated a test to use `vector`'s `do!`. It failed before the fix, and
works now.

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
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