Skip to content

Change switchboard and socket address types to bytes32 #135

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 3 commits into from
May 21, 2025

Conversation

gwalen
Copy link

@gwalen gwalen commented May 14, 2025

  1. Change is applied all places that can touch multiple chains(non EVM also)

  2. Cr fixes:

  • feesPlug - address -> bytes32
  • contractFactiory -> address -> bytes32
  • PluginConf -> separate structs for on-chain evm protocol and for evmx (WatcherPlugin etc)

…that can touch multiple chains(non EVM also)
@gwalen gwalen force-pushed the dev-solana-update-types-bytes32 branch from 2c372c8 to 3ef097d Compare May 16, 2025 13:00
switchboard: watcherPrecompileConfig().switchboards(chainSlug_, sbType),
target: address(0),
switchboard: switchboardAddress,
target: toBytes32Format(address(0)),
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets just do target: bytes32(0) instead of initializing address and then converting to bytes32.

Copy link
Contributor

Choose a reason for hiding this comment

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

missed this one

Copy link
Contributor

Choose a reason for hiding this comment

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

merging anyway since this is small

@gwalen gwalen merged commit e0d7f50 into dev-solana May 21, 2025
@arthcp arthcp deleted the dev-solana-update-types-bytes32 branch May 21, 2025 11:22
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