Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log to addr when looping blocklist #28

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

sergerad
Copy link
Collaborator

Summary

Remove dead code.

Add more log info in blocklist loop.

Checklist

  • New features added
  • Bugs fixed
  • Unit tests added or updated
  • E2E tests added or updated
  • CI updated

@@ -324,7 +324,8 @@ func (pool *LegacyPool) FilterWithError(tx *types.Transaction) error {
// Check for every access controllers that this transaction is allowed to go through
for _, accessControl := range pool.accessControllers {
if !accessControl.IsAllowed(from, tx) {
log.Warn("Transaction is not allowed by access control", "from", from, "tx", tx.Hash(), "isBlockList", accessControl.IsBlocklist())
log.Warn("Transaction is not allowed by access control",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you 🙇

@sergerad sergerad merged commit 4012e7c into main Jan 23, 2025
5 checks passed
@sergerad sergerad deleted the sergerad/blocklist-fix branch January 23, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants