Skip to content

Commit

Permalink
fix: log check (#26)
Browse files Browse the repository at this point in the history
* fix: log check

* fix command
  • Loading branch information
nadim-az authored Nov 8, 2024
1 parent 82eeb6b commit 23172cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This only supports transferring USDC from EVM -> Osmosis, as any pre/post transf

```shell
make build-cli
./solver ./build/solvercli submit-transfer \
./build/solvercli submit-transfer \
--config <configFilePath> \ # e.g ./config/local/config.yml
--token <usdc address for source chain> \ # e.g. 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
--recipient <recipient address on destination chain> \ # e.g. osmo13c9seh3vgvtfvdufz4eh2zhp0cepq4wj0egc02
Expand All @@ -88,7 +88,7 @@ relay: manually relay a hyperlane transaction
```shell
make build-cli # build cli tool
# manually relay a transaction
./solvercli relay \
./build/solvercli relay \
--config <configFilePath> \ # e.g ./config/local/config.yml
--keys <keysFilePath> \ # e.g ./config/local/keys.json
--key-store-type <plaintext-file|encrypted-file|env> \
Expand Down
2 changes: 1 addition & 1 deletion hyperlane/relayer_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (r *RelayerRunner) Run(ctx context.Context) error {
destinationTxHash, destinationChainID, err := r.relayHandler.Relay(ctx, transfer.SourceChainID, transfer.MessageSentTx)
if err != nil {
// Unrecoverable error
if strings.Contains("execution reverted", err.Error()) {
if strings.Contains(err.Error(), "execution reverted") {
lmt.Logger(ctx).Warn(
"abandoning hyperlane transfer",
zap.Int64("transferId", transfer.ID),
Expand Down

0 comments on commit 23172cf

Please sign in to comment.