Skip to content

docs: improve eip712 docs and discoverability #940

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

Merged
merged 2 commits into from
Apr 26, 2025
Merged

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Apr 26, 2025

@DaniPopes DaniPopes requested review from Copilot and removed request for mattsse and yash-atreya April 26, 2025 18:38
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the discoverability and clarity of the EIP-712 documentation by updating hyperlinks and descriptions for type hash, hash struct, and signing hash computations.

  • Updated documentation in the SolStruct trait to accurately describe the computation of EIP-712 values.
  • Enhanced documentation for the TypedData struct in dyn-abi to improve clarity and consistency with EIP-712 specifications.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
crates/sol-types/src/types/struct.rs Improved documentation for EIP-712 type hash and signing hash functions.
crates/dyn-abi/src/eip712/typed_data.rs Enhanced clarity and updated hyperlinks for EIP-712 type and signing hash computations.

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Apr 26, 2025
@mattsse mattsse merged commit d4f7d02 into main Apr 26, 2025
30 checks passed
@mattsse mattsse deleted the dani/eip712-docs branch April 26, 2025 19:21
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants