trustless-generic-relayer/relayer_engine
derpy-duck f7de3d649d
Code cleanup (#109)
* DRY: Remove duplicate structs

* Move encode/decode/convert-request-to-instruction related files to CoreRelayerMessages

* remove rolloverchain; now it is just the chain of the first request

* forge test fix to accomdoate for removing two getters

* DRY: Remove repeated error messages

* Remove miscellaneous comments

* DRY send and forward

* replace relayprovider interface with address to match the IWormholeRelayer interface

* forge fmt

* Remove byteslib from CoreRelayer

* Remove the encoding and decoding of the delivery request -> just store the struct itself!

* forge fmt

* Rewriting of checks in send/resend/forward

* test passes

* DRY - Emit only one event

* DRY

* forge fmt

* Fix typescript error

* using IWormholeRelayer

* Consistent naming

* call wormhole.messageFee() once

* Remove unnecessary line

* Compute the length once, not every iteration

* forge tests pass
2023-02-27 14:32:57 -05:00
..
deploy Switches config back to memoryDB 2023-02-07 10:16:46 -07:00
engine_config update tilt wormhole rpc 2023-02-09 15:48:57 -07:00
pkgs/sdk Code cleanup (#109) 2023-02-27 14:32:57 -05:00
src Code cleanup (#109) 2023-02-27 14:32:57 -05:00
.gitignore
Dockerfile improve deployment 2023-01-18 13:28:53 -07:00
README.md
package-lock.json save 2023-02-09 15:48:57 -07:00
package.json Update package.json 2023-02-09 15:48:57 -07:00
tsconfig.json

README.md

This directory represents the plugin intended to be used with the relayer engine.

The implementation of the plugin is in the /plugin directory, where the main.ts file is intended to start an engine with the plugin loaded.

To run: npm run tilt or npm run testnet or npm run mainnet