-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
C-chiselCommand: chiselCommand: chiselT-bugType: bugType: bugT-to-reproduceType: requires reproductionType: requires reproduction
Description
Component
Chisel
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.4.4-stable
What version of Foundryup are you on?
foundryup: 1.1.0
What command(s) is the bug in?
chisel
Operating System
None
Describe the bug
Welcome to Chisel! Type `!help` to show available commands.
➜ address a = address(123);
➜ bytes32(bytes20(a))
The application panicked (crashed).
Message: range end index 32 out of range for slice of length 0
Location: crates/chisel/src/executor.rs:163
This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 8 frames hidden ⋮
9: core::slice::index::slice_index_fail::do_panic::runtime::hbee3c28697385720
at <unknown source file>:<unknown line>
10: core::slice::index::slice_index_fail::h7c4bced4ab1ab8e2
at <unknown source file>:<unknown line>
11: chisel::executor::<impl chisel::source::SessionSource>::inspect::{{closure}}::h49c906441debae26
at <unknown source file>:<unknown line>
12: chisel::dispatcher::ChiselDispatcher::dispatch::{{closure}}::hee212d34e46a32db
at <unknown source file>:<unknown line>
13: chisel::args::run_command::{{closure}}::hc31c099b246b6a54
at <unknown source file>:<unknown line>
14: chisel::args::run::h517b0563edc6e98c
at <unknown source file>:<unknown line>
15: chisel::main::h36d05d08073d8c9d
at <unknown source file>:<unknown line>
16: std::sys::backtrace::__rust_begin_short_backtrace::h3708230a3f64b525
at <unknown source file>:<unknown line>
17: _main<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
[1] 10410 abort RUST_BACKTRACE=full chiselMetadata
Metadata
Assignees
Labels
C-chiselCommand: chiselCommand: chiselT-bugType: bugType: bugT-to-reproduceType: requires reproductionType: requires reproduction
Type
Projects
Status
Backlog