Skip to content

Conversation

gwalen
Copy link

@gwalen gwalen commented Jun 19, 2025

summary of conversions
toBytes32
• AppGatewayBase.sol: setAddress, callback of deploy
• DeployForwarder.sol: appg address in deployContract
• Forwarder.sol: getOnChainAddress, old address compatibility (temporary)
• Configurations.sol: appg in verifyConnections — appg can be in address format in plugConfig; watcher-processor should convert it when setting
• Socket.sol: sb in payloadId creation
• Socket.sol: plug, sb in triggerEvent
• SocketUtils.sol: socket, target in digest creation
• WritePrecompile: appg in digest creation

toAddress
• Trigger.sol: appg address — can be handled in watcher-processor

📝 Notes
• Configurations.sol and Trigger.sol can be updated, but there’s no immediate need for action.
• Let’s merge and add comments to revisit these later.

@gwalen gwalen changed the title address <-> bytes32 refactor refactor: adderss <-> bytes32 Jun 19, 2025
@gwalen gwalen force-pushed the dev-solana-v2 branch 2 times, most recently from 7003cd1 to db1038a Compare July 2, 2025 14:52
@gwalen gwalen merged commit 74c0bf8 into dev Jul 3, 2025
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.

3 participants