Skip to content

Conversation

@oclaw
Copy link
Contributor

@oclaw oclaw commented Mar 31, 2025

Short Summary

This PR adds support for debug relayer CLI options

What Changes Were Made

  • Now with l2-debug CLI options salt and faucet service endpoint can be passed to service. It will try to automatically create smart account in nild in that case

Checklist

  • I have read and followed the Contributing Guide
  • I have tested the changes locally
  • I have updated documentation/comments (if applicable)

)
if errors.Is(err, cliservice.ErrSmartAccountExists) {
logger.Info().Str("smart_account_address", addr.Hex()).Msg("smart account already exists")
return addr, nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if config.SmartAccountAddress == "" or addr

Copy link
Contributor Author

@oclaw oclaw Apr 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check was done, but in invalid place. Moved it here and improved code a bit

@oclaw oclaw added this pull request to the merge queue Apr 1, 2025
Merged via the queue into main with commit 0e09f5e Apr 1, 2025
15 checks passed
@oclaw oclaw deleted the feature/relayer-dbg-smart-account branch April 1, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants