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

chore: Do not log contract ABIs on viem errors #11003

Open
spalladino opened this issue Jan 2, 2025 · 0 comments
Open

chore: Do not log contract ABIs on viem errors #11003

spalladino opened this issue Jan 2, 2025 · 0 comments
Assignees

Comments

@spalladino
Copy link
Collaborator

spalladino commented Jan 2, 2025

Prompted by this request from @aminsammara. ABI definitions not only clutter logs, they are also confusing to users:

Do you know why someone who was not added to the validator set would get the following slash msg?

 | grep -i slash
         
      type: 'event',
      name: 'Slashed',
      inputs: [
        {
          name: 'attester',
          type: 'address',
          indexed: true,
          internalType: 'address'
        },
        {
          name: 'amount',
          type: 'uint256',
          indexed: false,
          internalType: 'uint256'
        }
      ],
      anonymous: false
    },
@spalladino spalladino self-assigned this Jan 2, 2025
@just-mitch just-mitch assigned spypsy and unassigned spalladino Jan 2, 2025
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

No branches or pull requests

2 participants