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

thread 'tokio-runtime-worker' panicked at src/decode_call.rs:119:14: #33

Open
witimdoti opened this issue Nov 29, 2024 · 1 comment
Open

Comments

@witimdoti
Copy link

witimdoti commented Nov 29, 2024

for this on avalanche
i'm working on python

  • function signature 0x38ed1739
  • tx_hash : 0xabeff83ff28f8b9369febdd196ade470181dc2527b84844e8456e57e82f13756

decoded_input = await CallDecoder([
"swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline)"
]).decode_transactions_input([res.data.transactions])

i have this one

[ERROR] Failed to decode input for transaction 0xabeff83ff28f8b9369febdd196ade470181dc2527b84844e8456e57e82f13756: rust future panicked: unknown error

thread 'tokio-runtime-worker' panicked at src/decode_call.rs:119:14:
called Result::unwrap() on an Err value: decode log

Caused by:
0: decoding input data
1: buffer overrun while deserializing
2: buffer overrun while deserializing
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at src/decode_call.rs:61:14:
called Result::unwrap() on an Err value: JoinError::Panic(Id(19), ...)

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
@witimdoti and others