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

Show bytes size and gas usage for sway unit tests as an LSP inlay hint #6737

Open
JoshuaBatty opened this issue Nov 19, 2024 · 0 comments
Open
Assignees
Labels
forc-test Everything related to the `forc-test` lib and `forc test` command. language server LSP server

Comments

@JoshuaBatty
Copy link
Member

This concept was originally raised very early on #513. Since then #4178 enabled this information at the unit test level. We should be able to just extract this information from forc-test and display the byte code a gas used as an inlay hint next to the unit test.

Should provide a nice interactive way to golf byte size and gas costs for devs.

@JoshuaBatty JoshuaBatty added language server LSP server forc-test Everything related to the `forc-test` lib and `forc test` command. labels Nov 19, 2024
@JoshuaBatty JoshuaBatty self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forc-test Everything related to the `forc-test` lib and `forc test` command. language server LSP server
Projects
None yet
Development

No branches or pull requests

1 participant