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

refactored and extended decoding functionality, added CoreBridgeLib #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nonergodic
Copy link
Collaborator

@nonergodic nonergodic commented Jan 6, 2025

  • added/unified documentation of format libraries
  • added VaaLib and associated structs for efficient decoding of VAAs
  • implemented CoreBridgeLib for more gas efficient VAA verification (~26k gas or 20%)
  • added TokenBridgeMessageLib and associated structs for efficient decoding of TokenBridge payloads
  • updated PermitParsing to new standards and added calldata variants
  • reworked, enhanced, and unified parsing of CCTP messages
  • moved WormholeCctp components into newly created legacy directory
  • added calldata variants to QueryResponseLib
  • QueryResponseLib now uses CoreBridgeLib under the hood
  • added minSigsForQuorum utility function
  • unified function naming (parse -> decode to be in line with abi.decode)
  • unified code style throughout the library
  • added tests for VaaLib and WormholeMessages

@nonergodic nonergodic force-pushed the decoding-unification branch 2 times, most recently from 67ca81c to a359bef Compare January 22, 2025 10:27
@nonergodic nonergodic force-pushed the decoding-unification branch from a359bef to 183ebf4 Compare January 22, 2025 21:20
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.

1 participant