trustless-generic-relayer/sdk
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
..
scripts include updated_make_ethers_types 2023-01-18 13:05:33 -07:00
src Code cleanup (#109) 2023-02-27 14:32:57 -05:00
.gitignore improve deployment 2023-01-18 13:28:53 -07:00
package-lock.json Install with forge not npm (#84) 2023-02-14 10:42:04 -05:00
package.json Install with forge not npm (#84) 2023-02-14 10:42:04 -05:00
tsconfig.json improve deployment 2023-01-18 13:28:53 -07:00