Skip to content

bug when debuging transaction #2582

Closed
Closed
@henry-hz

Description

@henry-hz

Component

Cast

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (64fe4ac 2022-07-26T00:04:05.891537523Z)

What command(s) is the bug in?

cast run --debug

Operating System

Linux

Describe the bug

RUST_BACKTRACE=full cast run --debug [my-anvil-transaction]                                                                                                         16:19:09
Executing previous transactions from the block.
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is 0
Location: evm/src/debug.rs:67

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
zsh: IOT instruction  RUST_BACKTRACE=full cast run --debug 

Metadata

Metadata

Assignees

Labels

C-castCommand: castT-bugType: bug

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions