86ef5bff5a
* Ethereum: Move relayer * JS/SDK: Handle relayer move * More tweaks * ci: fix relayer deploy * Code review rework * Hack to fix tilt * Another hack * ci: revert relayer addresses * Fix sdk tests * Move ethereum-relayer to relayer/ethereum * Yet another fix for tilt * Code review rework --------- Co-authored-by: Evan Gray <battledingo@gmail.com> |
||
---|---|---|
.. | ||
contracts | ||
forge-test/relayer | ||
ts-scripts/relayer | ||
.gitignore | ||
Makefile | ||
README.md | ||
foundry.toml | ||
package-lock.json | ||
package.json |
README.md
Relayer - Ethereum Contracts
These smart contracts allow for relaying on EVM chains.
Dependencies
The relayer contracts are built with Forge. See below for details on installing forge.
For the required version of solc
, the required EVM version and the solidity library dependencies see the config file
Building
To build the contracts do:
wormhole/relayer/ethereum$ make build
Deploying
For details on deploying the relayer contracts see the scripts readme.
Testing
The tests for the relayer contracts reside in forge-test
. To run the tests do:
wormhole/relayer/ethereum$ forge test
Installing Forge
Some tests and scripts use Foundry. It can be installed via the official installer, or by running
wormhole/relayer/ethereum$ ../../scripts/install-foundry
The installer script installs foundry and the appropriate solc version to build the contracts.