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

[Feature] Add otterscan extension trait of TransactionResponse #1346

Closed
emhane opened this issue Sep 24, 2024 · 0 comments
Closed

[Feature] Add otterscan extension trait of TransactionResponse #1346

emhane opened this issue Sep 24, 2024 · 0 comments
Labels
debt Tech debt which needs to be addressed

Comments

@emhane
Copy link
Contributor

emhane commented Sep 24, 2024

Component

rpc

Describe the feature you would like

Add extension trait OtterscanTxResp: TransactionResponse with trait method

fn otterscan_api_truncate_input(&mut self);

implemented for alloy_rpc_types_eth::Transaction as

fn otterscan_api_truncate_input(&mut self) {
    self.input = self.input.slice(..4)
}

Ref paradigmxyz/reth#9774 (comment)

Additional context

No response

@emhane emhane added the debt Tech debt which needs to be addressed label Sep 24, 2024
@mattsse mattsse closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Tech debt which needs to be addressed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants