-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
…that can touch multiple chains(non EVM also)
2c372c8
to
3ef097d
Compare
switchboard: watcherPrecompileConfig().switchboards(chainSlug_, sbType), | ||
target: address(0), | ||
switchboard: switchboardAddress, | ||
target: toBytes32Format(address(0)), |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed this one
There was a problem hiding this comment.
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
Change is applied all places that can touch multiple chains(non EVM also)
Cr fixes: