Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 4, 2024. It is now read-only.

Comments

[RFC] [abi] implemented a abi for structs using serde-reflection#1055

Open
runtian-zhou wants to merge 3 commits intomove-language:aptos-main from
runtian-zhou:runtianz/struct-abi-gen
Open

[RFC] [abi] implemented a abi for structs using serde-reflection #1055
runtian-zhou wants to merge 3 commits intomove-language:aptos-main from
runtian-zhou:runtianz/struct-abi-gen

Conversation

@runtian-zhou
Copy link
Member

@runtian-zhou runtian-zhou commented May 24, 2023

Motivation

Compile struct layout into serde-reflection format that could be codegened using serde-generate crate.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Tests added.

jolestar reacted with heart emoji
@runtian-zhou runtian-zhou changed the base branch from main to aptos-main May 24, 2023 23:21
Copy link
Member

Always love seeing more serde-generate integration! But could you help me understand the difference between this and the existing layout generation functionality? https://github.com/move-language/move/blob/main/language/tools/move-bytecode-utils/src/layout.rs is the layout generator, and is exposed via the CLI https://github.com/move-language/move/blob/main/language/tools/move-cli/src/sandbox/commands/generate.rs#L14 with move sandbox generate struct-layouts. This was the PR that added this #652

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@vgao1996 vgao1996 Awaiting requested review from vgao1996

@wrwg wrwg Awaiting requested review from wrwg

@meng-xu-cs meng-xu-cs Awaiting requested review from meng-xu-cs

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /