-
Notifications
You must be signed in to change notification settings - Fork 734
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
Ethereum: Move relayer #3866
Ethereum: Move relayer #3866
Conversation
0975fd6
to
2b97d5b
Compare
5111ff9
to
4cdbbb9
Compare
ff2e971
to
38d62b7
Compare
dbccf92
to
8fc4fe4
Compare
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.
Confirmed the diffs of the copied files are sane
diff ethereum/.gitignore relayer/ethereum/.gitignore
diff ethereum/Makefile relayer/ethereum/Makefile
diff ethereum/contracts/interfaces/IWormhole.sol relayer/ethereum/contracts/interfaces/IWormhole.sol
diff ethereum/contracts/libraries/external/BytesLib.sol relayer/ethereum/contracts/libraries/external/BytesLib.sol
diff ethereum/foundry.toml relayer/ethereum/foundry.toml
diff ethereum/package-lock.json relayer/ethereum/package-lock.json
diff ethereum/package.json relayer/ethereum/package.json
I think the new relayer directory could use a readme with instructions for building and testing :) |
@gator-boi I added a basic readme file. More details would need to be provided by whoever owns the relayer contracts. |
d15a6e4
to
0563bdb
Compare
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.
Reviewed the relayer
directory.
This PR moves the relayer contracts out of the
ethereum
folder intorelayer/ethereum
.This change is necessary as part of the migration from deploying the core and token bridge contracts with truffle to using forge, which is necessary because truffle is deprecated.
The original plan for this PR was to change the relayer to use the
wormhole-solidity-sdk
for theIWormhole
interface so that it is not directly dependent on the old folder. However, this changed the byte code for the contracts, which changed the devnet deploy address for the proxy contract (because it is deployed withcreate2
), breaking various tests. The decision was made to "kick that can down the road" and not make the move to use the sdk. InsteadIWormhole
has been copied into the relayer folder. The same goes for theBytesLib
library, which was also copied into the relayer folder.