Skip to content

Conversation

@bigmoonbit
Copy link

github.com/ethereum/go-ethereum and github.com/sirupsen/logrus were imported twice.

Remove the duplicate import to make the code cleaner and more readable.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes duplicate package imports in the Ethereum connection handler to improve code cleanliness and readability.

  • Removed duplicate imports of github.com/ethereum/go-ethereum (aliased as goEthereum) and github.com/sirupsen/logrus (aliased as log)
  • Updated all references to use the non-aliased package names (ethereum and logrus)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bigmoonbit
Copy link
Author

It seems that the CI failure is unrelated to this change

Run actions/labeler@v5
The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api
Warning: The action requires write permission to add labels to pull requests. For more information please refer to the action documentation: https://github.com/actions/labeler#permissions
Error: Resource not accessible by integration

"github.com/snowfork/snowbridge/relayer/config"
"github.com/snowfork/snowbridge/relayer/crypto/secp256k1"

log "github.com/sirupsen/logrus"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please keep this import and remove the "github.com/sirupsen/logrus" one?

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.

2 participants