diff --git a/src/tracing/writer.rs b/src/tracing/writer.rs index 9b721825..c68ed91d 100644 --- a/src/tracing/writer.rs +++ b/src/tracing/writer.rs @@ -5,10 +5,13 @@ use super::{ }, CallTraceArena, }; -use alloy_primitives::{address, hex, Address}; +use alloy_primitives::{address, hex, Address, B256, U256}; use anstyle::{AnsiColor, Color, Style}; use colorchoice::ColorChoice; -use std::io::{self, Write}; +use std::{ + collections::HashMap, + io::{self, Write}, +}; const CHEATCODE_ADDRESS: Address = address!("7109709ECfa91a80626fF3989D68f67F5b1DD12D"); @@ -28,6 +31,7 @@ pub struct TraceWriterConfig { use_colors: bool, color_cheatcodes: bool, write_bytecodes: bool, + write_storage_changes: bool, } impl Default for TraceWriterConfig { @@ -43,6 +47,7 @@ impl TraceWriterConfig { use_colors: use_colors(ColorChoice::Auto), color_cheatcodes: false, write_bytecodes: false, + write_storage_changes: false, } } @@ -79,6 +84,17 @@ impl TraceWriterConfig { pub fn get_write_bytecodes(&self) -> bool { self.write_bytecodes } + + /// Sets whether to write storage changes. + pub fn write_storage_changes(mut self, yes: bool) -> Self { + self.write_storage_changes = yes; + self + } + + /// Returns `true` if storage changes are written to the writer. + pub fn get_write_storage_changes(&self) -> bool { + self.write_storage_changes + } } /// Formats [call traces](CallTraceArena) to an [`Write`] writer. @@ -131,6 +147,13 @@ impl TraceWriter { self } + /// Sets whether to write storage changes. + #[inline] + pub fn with_storage_changes(mut self, yes: bool) -> Self { + self.config.write_storage_changes = yes; + self + } + /// Returns a reference to the inner writer. #[inline] pub const fn writer(&self) -> &W { @@ -218,6 +241,10 @@ impl TraceWriter { self.indentation_level += 1; self.write_items(nodes, idx)?; + if self.config.write_storage_changes { + self.write_storage_changes(node)?; + } + // Write return data. self.write_edge()?; self.write_trace_footer(&node.trace)?; @@ -348,6 +375,7 @@ impl TraceWriter { match decoded { DecodedTraceStep::InternalCall(call, end_idx) => { let gas_used = node.trace.steps[*end_idx].gas_used.saturating_sub(step.gas_used); + self.write_branch()?; self.indentation_level += 1; @@ -463,6 +491,48 @@ impl TraceWriter { } LOG_STYLE } + + fn write_storage_changes(&mut self, node: &CallTraceNode) -> io::Result<()> { + let mut changes_map = HashMap::new(); + + // For each call trace, compact the results so we do not write the intermediate storage + // writes + for step in &node.trace.steps { + if let Some(change) = &step.storage_change { + let (_first, last) = changes_map.entry(&change.key).or_insert((change, change)); + *last = change; + } + } + + let changes = changes_map + .iter() + .filter_map(|(&&key, &(first, last))| { + let value_before = first.had_value.unwrap_or_default(); + let value_after = last.value; + if value_before == value_after { + return None; + } + Some((key, value_before, value_after)) + }) + .collect::>(); + + if !changes.is_empty() { + self.write_branch()?; + writeln!(self.writer, " storage changes:")?; + for (key, value_before, value_after) in changes { + self.write_pipes()?; + writeln!( + self.writer, + " @ {key}: {value_before} → {value_after}", + key = num_or_hex(key), + value_before = num_or_hex(value_before), + value_after = num_or_hex(value_after), + )?; + } + } + + Ok(()) + } } fn use_colors(choice: ColorChoice) -> bool { @@ -473,3 +543,13 @@ fn use_colors(choice: ColorChoice) -> bool { ColorChoice::Never => false, } } + +/// Formats the given U256 as a decimal number if it is short, otherwise as a hexadecimal +/// byte-array. +fn num_or_hex(x: U256) -> String { + if x < U256::from(1e6 as u128) { + x.to_string() + } else { + B256::from(x).to_string() + } +} diff --git a/tests/it/writer.rs b/tests/it/writer.rs index 37bccb3b..d2b96914 100644 --- a/tests/it/writer.rs +++ b/tests/it/writer.rs @@ -26,7 +26,7 @@ fn test_trace_printing() { let mut index = 0; - assert_traces(base_path, None, Some(index), true, &mut tracer); + assert_traces(base_path, None, Some(index), &mut tracer); index += 1; let mut call = |data: Vec| { @@ -34,7 +34,7 @@ fn test_trace_printing() { let r = evm.call(address, data.into(), &mut tracer).unwrap(); assert!(r.is_success(), "evm.call reverted: {r:#?}"); - assert_traces(base_path, None, Some(index), true, &mut tracer); + assert_traces(base_path, None, Some(index), &mut tracer); index += 1; }; @@ -72,13 +72,13 @@ fn deploy_fail() { let mut tracer = TracingInspector::new(TracingInspectorConfig::all()); let _ = evm.try_deploy(bytes!("604260005260206000fd"), &mut tracer).unwrap(); - assert_traces(base_path, Some("raw"), None, true, &mut tracer); + assert_traces(base_path, Some("raw"), None, &mut tracer); let node = &mut tracer.traces_mut().nodes_mut()[0]; node.trace.decoded.label = Some("RevertingConstructor".to_string()); node.trace.decoded.return_data = Some("42".to_string()); - assert_traces(base_path, Some("decoded"), None, true, &mut tracer); + assert_traces(base_path, Some("decoded"), None, &mut tracer); } // (name, address) @@ -205,33 +205,41 @@ fn assert_traces( base_path: &Path, name: Option<&str>, patch_index: Option, - write_bytecodes: bool, tracer: &mut TracingInspector, ) { let name = name.map_or_else( || patch_index.expect("at least one of name or patch_index must be provided").to_string(), ToString::to_string, ); - let bytecodes = if write_bytecodes { &[false, true][..] } else { &[false][..] }; let do_assert = |config: TraceWriterConfig, extra: &str, tracer: &TracingInspector| { let color = config.get_use_colors(); let bytecodes = config.get_write_bytecodes(); + let write_storage_changes = config.get_write_storage_changes(); let file_kind = if color { DataFormat::TermSvg } else { DataFormat::Text }; let extension = if color { "svg" } else { "txt" }; - let bytecodes_extra = if bytecodes { ".write_bytecodes" } else { "" }; + let bytecodes_extra = if bytecodes { ".bytecodes" } else { "" }; + let storage_changes_extra = if write_storage_changes { ".storage" } else { "" }; let s = write_traces_with(tracer, config); - let path = base_path.join(format!("{name}{bytecodes_extra}{extra}.{extension}")); + let path = base_path + .join(format!("{name}{bytecodes_extra}{storage_changes_extra}{extra}.{extension}")); let data = snapbox::Data::read_from(&path, Some(file_kind)); assert_data_eq!(s, data); }; let mut configs = vec![]; for color in [ColorChoice::Never, ColorChoice::Always] { - for &bytecodes in bytecodes { - configs.push(TraceWriterConfig::new().color_choice(color).write_bytecodes(bytecodes)); + for bytecodes in [false, true] { + for write_storage_changes in [false, true] { + configs.push( + TraceWriterConfig::new() + .color_choice(color) + .write_bytecodes(bytecodes) + .write_storage_changes(write_storage_changes), + ); + } } } diff --git a/tests/it/writer/deploy_fail/decoded.write_bytecodes.svg b/tests/it/writer/deploy_fail/decoded.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/deploy_fail/decoded.write_bytecodes.svg rename to tests/it/writer/deploy_fail/decoded.bytecodes.storage.svg diff --git a/tests/it/writer/deploy_fail/decoded.write_bytecodes.txt b/tests/it/writer/deploy_fail/decoded.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/deploy_fail/decoded.write_bytecodes.txt rename to tests/it/writer/deploy_fail/decoded.bytecodes.storage.txt diff --git a/tests/it/writer/deploy_fail/decoded.bytecodes.svg b/tests/it/writer/deploy_fail/decoded.bytecodes.svg new file mode 100644 index 00000000..c688d96b --- /dev/null +++ b/tests/it/writer/deploy_fail/decoded.bytecodes.svg @@ -0,0 +1,29 @@ + + + + + + + [18] → new RevertingConstructor@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x604260005260206000fd) + + └─ ← [Revert] 42 + + + + + + diff --git a/tests/it/writer/deploy_fail/decoded.bytecodes.txt b/tests/it/writer/deploy_fail/decoded.bytecodes.txt new file mode 100644 index 00000000..bb2aa725 --- /dev/null +++ b/tests/it/writer/deploy_fail/decoded.bytecodes.txt @@ -0,0 +1,2 @@ + [18] → new RevertingConstructor@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x604260005260206000fd) + └─ ← [Revert] 42 diff --git a/tests/it/writer/deploy_fail/decoded.storage.svg b/tests/it/writer/deploy_fail/decoded.storage.svg new file mode 100644 index 00000000..ea9b7fcf --- /dev/null +++ b/tests/it/writer/deploy_fail/decoded.storage.svg @@ -0,0 +1,29 @@ + + + + + + + [18] → new RevertingConstructor@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + + └─ ← [Revert] 42 + + + + + + diff --git a/tests/it/writer/deploy_fail/decoded.storage.txt b/tests/it/writer/deploy_fail/decoded.storage.txt new file mode 100644 index 00000000..b94ed26f --- /dev/null +++ b/tests/it/writer/deploy_fail/decoded.storage.txt @@ -0,0 +1,2 @@ + [18] → new RevertingConstructor@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + └─ ← [Revert] 42 diff --git a/tests/it/writer/deploy_fail/raw.write_bytecodes.svg b/tests/it/writer/deploy_fail/raw.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/deploy_fail/raw.write_bytecodes.svg rename to tests/it/writer/deploy_fail/raw.bytecodes.storage.svg diff --git a/tests/it/writer/deploy_fail/raw.write_bytecodes.txt b/tests/it/writer/deploy_fail/raw.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/deploy_fail/raw.write_bytecodes.txt rename to tests/it/writer/deploy_fail/raw.bytecodes.storage.txt diff --git a/tests/it/writer/deploy_fail/raw.bytecodes.svg b/tests/it/writer/deploy_fail/raw.bytecodes.svg new file mode 100644 index 00000000..ac214e0a --- /dev/null +++ b/tests/it/writer/deploy_fail/raw.bytecodes.svg @@ -0,0 +1,29 @@ + + + + + + + [18] → new <unknown>@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x604260005260206000fd) + + └─ ← [Revert] 0x0000000000000000000000000000000000000000000000000000000000000042 + + + + + + diff --git a/tests/it/writer/deploy_fail/raw.bytecodes.txt b/tests/it/writer/deploy_fail/raw.bytecodes.txt new file mode 100644 index 00000000..8b38c58b --- /dev/null +++ b/tests/it/writer/deploy_fail/raw.bytecodes.txt @@ -0,0 +1,2 @@ + [18] → new @0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x604260005260206000fd) + └─ ← [Revert] 0x0000000000000000000000000000000000000000000000000000000000000042 diff --git a/tests/it/writer/deploy_fail/raw.storage.svg b/tests/it/writer/deploy_fail/raw.storage.svg new file mode 100644 index 00000000..4917d092 --- /dev/null +++ b/tests/it/writer/deploy_fail/raw.storage.svg @@ -0,0 +1,29 @@ + + + + + + + [18] → new <unknown>@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + + └─ ← [Revert] 0x0000000000000000000000000000000000000000000000000000000000000042 + + + + + + diff --git a/tests/it/writer/deploy_fail/raw.storage.txt b/tests/it/writer/deploy_fail/raw.storage.txt new file mode 100644 index 00000000..c3901649 --- /dev/null +++ b/tests/it/writer/deploy_fail/raw.storage.txt @@ -0,0 +1,2 @@ + [18] → new @0xBd770416a3345F91E4B34576cb804a576fa48EB1 + └─ ← [Revert] 0x0000000000000000000000000000000000000000000000000000000000000042 diff --git a/tests/it/writer/test_trace_printing/0.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/0.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/0.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/0.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/0.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/0.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/0.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/0.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..3df48ae1 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.svg @@ -0,0 +1,29 @@ + + + + + + + [209257] → new Counter@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x60808060405234601557610415908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033) + + └─ ← [Return] 0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033 + + + + + + diff --git a/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..723a38d4 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.bytecodes.storage.decoded.txt @@ -0,0 +1,2 @@ + [209257] → new Counter@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x60808060405234601557610415908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033) + └─ ← [Return] 0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033 diff --git a/tests/it/writer/test_trace_printing/0.write_bytecodes.svg b/tests/it/writer/test_trace_printing/0.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/0.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/0.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/0.write_bytecodes.txt b/tests/it/writer/test_trace_printing/0.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/0.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/0.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/0.bytecodes.svg b/tests/it/writer/test_trace_printing/0.bytecodes.svg new file mode 100644 index 00000000..3e9f2626 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.bytecodes.svg @@ -0,0 +1,29 @@ + + + + + + + [209257] → new <unknown>@0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x60808060405234601557610415908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033) + + └─ ← [Return] 0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033 + + + + + + diff --git a/tests/it/writer/test_trace_printing/0.bytecodes.txt b/tests/it/writer/test_trace_printing/0.bytecodes.txt new file mode 100644 index 00000000..016aff88 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.bytecodes.txt @@ -0,0 +1,2 @@ + [209257] → new @0xBd770416a3345F91E4B34576cb804a576fa48EB1(0x60808060405234601557610415908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033) + └─ ← [Return] 0x6080806040526004361015610012575f80fd5b5f905f3560e01c9081630aa7318514610347575080633fb5c1cb14610326578063526f6fc5146102cb57806377fa5d9e1461026e5780638381f58a14610252578063943ee48c146101a85780639db265eb1461014e578063d09de08a146101325763f267ce9e14610081575f80fd5b346101245780600319360112610124576100996103ba565b303b1561012457604051639db265eb60e01b81528190818160048183305af180156101275761010f575b50607b90547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d766060604051602081526009602082015268343490333937b6901960b91b6040820152a380f35b8161011991610384565b61012457805f6100c3565b80fd5b6040513d84823e3d90fd5b503461012457806003193601126101245761014b6103ba565b80f35b503461012457806003193601126101245780547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203360b81b6040820152a280f35b503461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600960208201526868692066726f6d203160b81b6040820152a2303b1561024e57604051637933e74f60e11b81525f8160048183305af1801561024357610230575b5061014b6103ba565b61023c91505f90610384565b5f80610227565b6040513d5f823e3d90fd5b5f80fd5b3461024e575f36600319011261024e5760205f54604051908152f35b3461024e575f36600319011261024e57607b5f547f5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76606060405160208152600c60208201526b343490333937b6903637b39960a11b6040820152a3005b3461024e575f36600319011261024e575f547f9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca606060405160208152600c60208201526b68692066726f6d206c6f673160a01b6040820152a2005b3461024e57602036600319011261024e576004355f55602060405160018152f35b3461024e575f36600319011261024e576080905f54815260406020820152600c60408201526b068692066726f6d206c6f67360a41b6060820152a0005b90601f8019910116810190811067ffffffffffffffff8211176103a657604052565b634e487b7160e01b5f52604160045260245ffd5b5f545f1981146103cb576001015f55565b634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d26cb46e1b195f4ef2e419f8dc457a622eb5066ea0a97b4ab2619d684fe597f764736f6c634300081a0033 diff --git a/tests/it/writer/test_trace_printing/0.storage.decoded.svg b/tests/it/writer/test_trace_printing/0.storage.decoded.svg new file mode 100644 index 00000000..dcfc30c8 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.storage.decoded.svg @@ -0,0 +1,29 @@ + + + + + + + [209257] → new Counter@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + + └─ ← [Return] 1045 bytes of code + + + + + + diff --git a/tests/it/writer/test_trace_printing/0.storage.decoded.txt b/tests/it/writer/test_trace_printing/0.storage.decoded.txt new file mode 100644 index 00000000..59ae30ed --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.storage.decoded.txt @@ -0,0 +1,2 @@ + [209257] → new Counter@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + └─ ← [Return] 1045 bytes of code diff --git a/tests/it/writer/test_trace_printing/0.storage.svg b/tests/it/writer/test_trace_printing/0.storage.svg new file mode 100644 index 00000000..29c379e3 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.storage.svg @@ -0,0 +1,29 @@ + + + + + + + [209257] → new <unknown>@0xBd770416a3345F91E4B34576cb804a576fa48EB1 + + └─ ← [Return] 1045 bytes of code + + + + + + diff --git a/tests/it/writer/test_trace_printing/0.storage.txt b/tests/it/writer/test_trace_printing/0.storage.txt new file mode 100644 index 00000000..2a2ddea8 --- /dev/null +++ b/tests/it/writer/test_trace_printing/0.storage.txt @@ -0,0 +1,2 @@ + [209257] → new @0xBd770416a3345F91E4B34576cb804a576fa48EB1 + └─ ← [Return] 1045 bytes of code diff --git a/tests/it/writer/test_trace_printing/1.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/1.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/1.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/1.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/1.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/1.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/1.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/1.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..53072032 --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 0 + + + + + + diff --git a/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..7b2c1edb --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.bytecodes.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 0 diff --git a/tests/it/writer/test_trace_printing/1.write_bytecodes.svg b/tests/it/writer/test_trace_printing/1.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/1.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/1.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/1.write_bytecodes.txt b/tests/it/writer/test_trace_printing/1.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/1.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/1.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/1.bytecodes.svg b/tests/it/writer/test_trace_printing/1.bytecodes.svg new file mode 100644 index 00000000..f632c7d7 --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.bytecodes.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000000 + + + + + + diff --git a/tests/it/writer/test_trace_printing/1.bytecodes.txt b/tests/it/writer/test_trace_printing/1.bytecodes.txt new file mode 100644 index 00000000..05f3123b --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.bytecodes.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000000 diff --git a/tests/it/writer/test_trace_printing/1.storage.decoded.svg b/tests/it/writer/test_trace_printing/1.storage.decoded.svg new file mode 100644 index 00000000..53072032 --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 0 + + + + + + diff --git a/tests/it/writer/test_trace_printing/1.storage.decoded.txt b/tests/it/writer/test_trace_printing/1.storage.decoded.txt new file mode 100644 index 00000000..7b2c1edb --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 0 diff --git a/tests/it/writer/test_trace_printing/1.storage.svg b/tests/it/writer/test_trace_printing/1.storage.svg new file mode 100644 index 00000000..f632c7d7 --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.storage.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000000 + + + + + + diff --git a/tests/it/writer/test_trace_printing/1.storage.txt b/tests/it/writer/test_trace_printing/1.storage.txt new file mode 100644 index 00000000..05f3123b --- /dev/null +++ b/tests/it/writer/test_trace_printing/1.storage.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000000 diff --git a/tests/it/writer/test_trace_printing/10.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/10.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/10.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/10.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/10.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/10.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/10.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/10.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..8449f61f --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [3711] Counter::log0() + + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..d1ccaf17 --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.bytecodes.storage.decoded.txt @@ -0,0 +1,3 @@ + [3711] Counter::log0() + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/10.write_bytecodes.svg b/tests/it/writer/test_trace_printing/10.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/10.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/10.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/10.write_bytecodes.txt b/tests/it/writer/test_trace_printing/10.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/10.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/10.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/10.bytecodes.svg b/tests/it/writer/test_trace_printing/10.bytecodes.svg new file mode 100644 index 00000000..ac10d029 --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.bytecodes.svg @@ -0,0 +1,31 @@ + + + + + + + [3711] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::0aa73185() + + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/10.bytecodes.txt b/tests/it/writer/test_trace_printing/10.bytecodes.txt new file mode 100644 index 00000000..4fd8a4db --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.bytecodes.txt @@ -0,0 +1,3 @@ + [3711] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::0aa73185() + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/10.storage.decoded.svg b/tests/it/writer/test_trace_printing/10.storage.decoded.svg new file mode 100644 index 00000000..8449f61f --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [3711] Counter::log0() + + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/10.storage.decoded.txt b/tests/it/writer/test_trace_printing/10.storage.decoded.txt new file mode 100644 index 00000000..d1ccaf17 --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.storage.decoded.txt @@ -0,0 +1,3 @@ + [3711] Counter::log0() + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/10.storage.svg b/tests/it/writer/test_trace_printing/10.storage.svg new file mode 100644 index 00000000..ac10d029 --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.storage.svg @@ -0,0 +1,31 @@ + + + + + + + [3711] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::0aa73185() + + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/10.storage.txt b/tests/it/writer/test_trace_printing/10.storage.txt new file mode 100644 index 00000000..4fd8a4db --- /dev/null +++ b/tests/it/writer/test_trace_printing/10.storage.txt @@ -0,0 +1,3 @@ + [3711] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::0aa73185() + ├─ data: 0x00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67300000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/11.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/11.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/11.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/11.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/11.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/11.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/11.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/11.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..df26b98a --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4242] Counter::log1() + + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..149a8add --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.bytecodes.storage.decoded.txt @@ -0,0 +1,3 @@ + [4242] Counter::log1() + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/11.write_bytecodes.svg b/tests/it/writer/test_trace_printing/11.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/11.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/11.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/11.write_bytecodes.txt b/tests/it/writer/test_trace_printing/11.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/11.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/11.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/11.bytecodes.svg b/tests/it/writer/test_trace_printing/11.bytecodes.svg new file mode 100644 index 00000000..9f5fc119 --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.bytecodes.svg @@ -0,0 +1,35 @@ + + + + + + + [4242] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::526f6fc5() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67310000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/11.bytecodes.txt b/tests/it/writer/test_trace_printing/11.bytecodes.txt new file mode 100644 index 00000000..3956d94a --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.bytecodes.txt @@ -0,0 +1,5 @@ + [4242] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::526f6fc5() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67310000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/11.storage.decoded.svg b/tests/it/writer/test_trace_printing/11.storage.decoded.svg new file mode 100644 index 00000000..df26b98a --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4242] Counter::log1() + + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/11.storage.decoded.txt b/tests/it/writer/test_trace_printing/11.storage.decoded.txt new file mode 100644 index 00000000..149a8add --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.storage.decoded.txt @@ -0,0 +1,3 @@ + [4242] Counter::log1() + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/11.storage.svg b/tests/it/writer/test_trace_printing/11.storage.svg new file mode 100644 index 00000000..9f5fc119 --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.storage.svg @@ -0,0 +1,35 @@ + + + + + + + [4242] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::526f6fc5() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67310000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/11.storage.txt b/tests/it/writer/test_trace_printing/11.storage.txt new file mode 100644 index 00000000..3956d94a --- /dev/null +++ b/tests/it/writer/test_trace_printing/11.storage.txt @@ -0,0 +1,5 @@ + [4242] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::526f6fc5() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67310000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/12.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/12.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/12.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/12.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/12.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/12.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/12.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/12.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..2e9823fa --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4642] Counter::log2() + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..df26ad1a --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.bytecodes.storage.decoded.txt @@ -0,0 +1,3 @@ + [4642] Counter::log2() + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/12.write_bytecodes.svg b/tests/it/writer/test_trace_printing/12.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/12.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/12.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/12.write_bytecodes.txt b/tests/it/writer/test_trace_printing/12.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/12.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/12.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/12.bytecodes.svg b/tests/it/writer/test_trace_printing/12.bytecodes.svg new file mode 100644 index 00000000..06bdc33b --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.bytecodes.svg @@ -0,0 +1,37 @@ + + + + + + + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/12.bytecodes.txt b/tests/it/writer/test_trace_printing/12.bytecodes.txt new file mode 100644 index 00000000..c648e4de --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.bytecodes.txt @@ -0,0 +1,6 @@ + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/12.storage.decoded.svg b/tests/it/writer/test_trace_printing/12.storage.decoded.svg new file mode 100644 index 00000000..2e9823fa --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4642] Counter::log2() + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/12.storage.decoded.txt b/tests/it/writer/test_trace_printing/12.storage.decoded.txt new file mode 100644 index 00000000..df26ad1a --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.storage.decoded.txt @@ -0,0 +1,3 @@ + [4642] Counter::log2() + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/12.storage.svg b/tests/it/writer/test_trace_printing/12.storage.svg new file mode 100644 index 00000000..06bdc33b --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.storage.svg @@ -0,0 +1,37 @@ + + + + + + + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/12.storage.txt b/tests/it/writer/test_trace_printing/12.storage.txt new file mode 100644 index 00000000..c648e4de --- /dev/null +++ b/tests/it/writer/test_trace_printing/12.storage.txt @@ -0,0 +1,6 @@ + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/2.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/2.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/2.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/2.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/2.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/2.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/2.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/2.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..2bc7ce68 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.svg @@ -0,0 +1,32 @@ + + + + + + + [22452] Counter::increment() + + ├─ storage changes: + + │ @ 0: 0 → 1 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..c201e905 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.bytecodes.storage.decoded.txt @@ -0,0 +1,4 @@ + [22452] Counter::increment() + ├─ storage changes: + │ @ 0: 0 → 1 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/2.bytecodes.storage.svg b/tests/it/writer/test_trace_printing/2.bytecodes.storage.svg new file mode 100644 index 00000000..c7ebc834 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.bytecodes.storage.svg @@ -0,0 +1,32 @@ + + + + + + + [22452] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::d09de08a() + + ├─ storage changes: + + │ @ 0: 0 → 1 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/2.bytecodes.storage.txt b/tests/it/writer/test_trace_printing/2.bytecodes.storage.txt new file mode 100644 index 00000000..51b43462 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.bytecodes.storage.txt @@ -0,0 +1,4 @@ + [22452] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::d09de08a() + ├─ storage changes: + │ @ 0: 0 → 1 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/2.write_bytecodes.svg b/tests/it/writer/test_trace_printing/2.bytecodes.svg similarity index 100% rename from tests/it/writer/test_trace_printing/2.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/2.bytecodes.svg diff --git a/tests/it/writer/test_trace_printing/2.write_bytecodes.txt b/tests/it/writer/test_trace_printing/2.bytecodes.txt similarity index 100% rename from tests/it/writer/test_trace_printing/2.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/2.bytecodes.txt diff --git a/tests/it/writer/test_trace_printing/2.storage.decoded.svg b/tests/it/writer/test_trace_printing/2.storage.decoded.svg new file mode 100644 index 00000000..2bc7ce68 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.storage.decoded.svg @@ -0,0 +1,32 @@ + + + + + + + [22452] Counter::increment() + + ├─ storage changes: + + │ @ 0: 0 → 1 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/2.storage.decoded.txt b/tests/it/writer/test_trace_printing/2.storage.decoded.txt new file mode 100644 index 00000000..c201e905 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.storage.decoded.txt @@ -0,0 +1,4 @@ + [22452] Counter::increment() + ├─ storage changes: + │ @ 0: 0 → 1 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/2.storage.svg b/tests/it/writer/test_trace_printing/2.storage.svg new file mode 100644 index 00000000..c7ebc834 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.storage.svg @@ -0,0 +1,32 @@ + + + + + + + [22452] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::d09de08a() + + ├─ storage changes: + + │ @ 0: 0 → 1 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/2.storage.txt b/tests/it/writer/test_trace_printing/2.storage.txt new file mode 100644 index 00000000..51b43462 --- /dev/null +++ b/tests/it/writer/test_trace_printing/2.storage.txt @@ -0,0 +1,4 @@ + [22452] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::d09de08a() + ├─ storage changes: + │ @ 0: 0 → 1 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/3.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/3.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/3.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/3.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/3.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/3.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/3.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/3.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..22d53abd --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 1 + + + + + + diff --git a/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..46c141cd --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.bytecodes.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 1 diff --git a/tests/it/writer/test_trace_printing/3.write_bytecodes.svg b/tests/it/writer/test_trace_printing/3.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/3.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/3.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/3.write_bytecodes.txt b/tests/it/writer/test_trace_printing/3.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/3.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/3.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/3.bytecodes.svg b/tests/it/writer/test_trace_printing/3.bytecodes.svg new file mode 100644 index 00000000..171b464b --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.bytecodes.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 + + + + + + diff --git a/tests/it/writer/test_trace_printing/3.bytecodes.txt b/tests/it/writer/test_trace_printing/3.bytecodes.txt new file mode 100644 index 00000000..3599a067 --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.bytecodes.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 diff --git a/tests/it/writer/test_trace_printing/3.storage.decoded.svg b/tests/it/writer/test_trace_printing/3.storage.decoded.svg new file mode 100644 index 00000000..22d53abd --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 1 + + + + + + diff --git a/tests/it/writer/test_trace_printing/3.storage.decoded.txt b/tests/it/writer/test_trace_printing/3.storage.decoded.txt new file mode 100644 index 00000000..46c141cd --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 1 diff --git a/tests/it/writer/test_trace_printing/3.storage.svg b/tests/it/writer/test_trace_printing/3.storage.svg new file mode 100644 index 00000000..171b464b --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.storage.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 + + + + + + diff --git a/tests/it/writer/test_trace_printing/3.storage.txt b/tests/it/writer/test_trace_printing/3.storage.txt new file mode 100644 index 00000000..3599a067 --- /dev/null +++ b/tests/it/writer/test_trace_printing/3.storage.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 diff --git a/tests/it/writer/test_trace_printing/4.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/4.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/4.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/4.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/4.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/4.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/4.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/4.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..cf7679de --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.svg @@ -0,0 +1,32 @@ + + + + + + + [5189] Counter::setNumber(69) + + ├─ storage changes: + + │ @ 0: 1 → 69 + + └─ ← [Return] 1 + + + + + + diff --git a/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..79a46445 --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.bytecodes.storage.decoded.txt @@ -0,0 +1,4 @@ + [5189] Counter::setNumber(69) + ├─ storage changes: + │ @ 0: 1 → 69 + └─ ← [Return] 1 diff --git a/tests/it/writer/test_trace_printing/4.bytecodes.storage.svg b/tests/it/writer/test_trace_printing/4.bytecodes.storage.svg new file mode 100644 index 00000000..9670fbee --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.bytecodes.storage.svg @@ -0,0 +1,32 @@ + + + + + + + [5189] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::3fb5c1cb(0000000000000000000000000000000000000000000000000000000000000045) + + ├─ storage changes: + + │ @ 0: 1 → 69 + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 + + + + + + diff --git a/tests/it/writer/test_trace_printing/4.bytecodes.storage.txt b/tests/it/writer/test_trace_printing/4.bytecodes.storage.txt new file mode 100644 index 00000000..9c4627cc --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.bytecodes.storage.txt @@ -0,0 +1,4 @@ + [5189] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::3fb5c1cb(0000000000000000000000000000000000000000000000000000000000000045) + ├─ storage changes: + │ @ 0: 1 → 69 + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 diff --git a/tests/it/writer/test_trace_printing/4.write_bytecodes.svg b/tests/it/writer/test_trace_printing/4.bytecodes.svg similarity index 100% rename from tests/it/writer/test_trace_printing/4.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/4.bytecodes.svg diff --git a/tests/it/writer/test_trace_printing/4.write_bytecodes.txt b/tests/it/writer/test_trace_printing/4.bytecodes.txt similarity index 100% rename from tests/it/writer/test_trace_printing/4.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/4.bytecodes.txt diff --git a/tests/it/writer/test_trace_printing/4.storage.decoded.svg b/tests/it/writer/test_trace_printing/4.storage.decoded.svg new file mode 100644 index 00000000..cf7679de --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.storage.decoded.svg @@ -0,0 +1,32 @@ + + + + + + + [5189] Counter::setNumber(69) + + ├─ storage changes: + + │ @ 0: 1 → 69 + + └─ ← [Return] 1 + + + + + + diff --git a/tests/it/writer/test_trace_printing/4.storage.decoded.txt b/tests/it/writer/test_trace_printing/4.storage.decoded.txt new file mode 100644 index 00000000..79a46445 --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.storage.decoded.txt @@ -0,0 +1,4 @@ + [5189] Counter::setNumber(69) + ├─ storage changes: + │ @ 0: 1 → 69 + └─ ← [Return] 1 diff --git a/tests/it/writer/test_trace_printing/4.storage.svg b/tests/it/writer/test_trace_printing/4.storage.svg new file mode 100644 index 00000000..9670fbee --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.storage.svg @@ -0,0 +1,32 @@ + + + + + + + [5189] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::3fb5c1cb(0000000000000000000000000000000000000000000000000000000000000045) + + ├─ storage changes: + + │ @ 0: 1 → 69 + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 + + + + + + diff --git a/tests/it/writer/test_trace_printing/4.storage.txt b/tests/it/writer/test_trace_printing/4.storage.txt new file mode 100644 index 00000000..9c4627cc --- /dev/null +++ b/tests/it/writer/test_trace_printing/4.storage.txt @@ -0,0 +1,4 @@ + [5189] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::3fb5c1cb(0000000000000000000000000000000000000000000000000000000000000045) + ├─ storage changes: + │ @ 0: 1 → 69 + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000001 diff --git a/tests/it/writer/test_trace_printing/5.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/5.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/5.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/5.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/5.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/5.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/5.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/5.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..33ab0cd6 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 69 + + + + + + diff --git a/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..42ca6a23 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.bytecodes.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 69 diff --git a/tests/it/writer/test_trace_printing/5.write_bytecodes.svg b/tests/it/writer/test_trace_printing/5.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/5.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/5.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/5.write_bytecodes.txt b/tests/it/writer/test_trace_printing/5.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/5.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/5.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/5.bytecodes.svg b/tests/it/writer/test_trace_printing/5.bytecodes.svg new file mode 100644 index 00000000..93115508 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.bytecodes.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000045 + + + + + + diff --git a/tests/it/writer/test_trace_printing/5.bytecodes.txt b/tests/it/writer/test_trace_printing/5.bytecodes.txt new file mode 100644 index 00000000..c40bf9b5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.bytecodes.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000045 diff --git a/tests/it/writer/test_trace_printing/5.storage.decoded.svg b/tests/it/writer/test_trace_printing/5.storage.decoded.svg new file mode 100644 index 00000000..33ab0cd6 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.storage.decoded.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] Counter::number() + + └─ ← [Return] 69 + + + + + + diff --git a/tests/it/writer/test_trace_printing/5.storage.decoded.txt b/tests/it/writer/test_trace_printing/5.storage.decoded.txt new file mode 100644 index 00000000..42ca6a23 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.storage.decoded.txt @@ -0,0 +1,2 @@ + [2348] Counter::number() + └─ ← [Return] 69 diff --git a/tests/it/writer/test_trace_printing/5.storage.svg b/tests/it/writer/test_trace_printing/5.storage.svg new file mode 100644 index 00000000..93115508 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.storage.svg @@ -0,0 +1,28 @@ + + + + + + + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000045 + + + + + + diff --git a/tests/it/writer/test_trace_printing/5.storage.txt b/tests/it/writer/test_trace_printing/5.storage.txt new file mode 100644 index 00000000..c40bf9b5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/5.storage.txt @@ -0,0 +1,2 @@ + [2348] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::8381f58a() + └─ ← [Return] 0x0000000000000000000000000000000000000000000000000000000000000045 diff --git a/tests/it/writer/test_trace_printing/6.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/6.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/6.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/6.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/6.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/6.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/6.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/6.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..fc5a8eba --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.svg @@ -0,0 +1,33 @@ + + + + + + + [4642] Counter::log2() + + ├─ [sload] 0x0000000000000000000000000000000000000000000000000000000000000045 + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000045, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..75933cdc --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.bytecodes.storage.decoded.txt @@ -0,0 +1,4 @@ + [4642] Counter::log2() + ├─ [sload] 0x0000000000000000000000000000000000000000000000000000000000000045 + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000045, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/6.write_bytecodes.svg b/tests/it/writer/test_trace_printing/6.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/6.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/6.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/6.write_bytecodes.txt b/tests/it/writer/test_trace_printing/6.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/6.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/6.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/6.bytecodes.svg b/tests/it/writer/test_trace_printing/6.bytecodes.svg new file mode 100644 index 00000000..cf19df8b --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.bytecodes.svg @@ -0,0 +1,37 @@ + + + + + + + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/6.bytecodes.txt b/tests/it/writer/test_trace_printing/6.bytecodes.txt new file mode 100644 index 00000000..1713c54c --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.bytecodes.txt @@ -0,0 +1,6 @@ + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/6.storage.decoded.svg b/tests/it/writer/test_trace_printing/6.storage.decoded.svg new file mode 100644 index 00000000..fc5a8eba --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.storage.decoded.svg @@ -0,0 +1,33 @@ + + + + + + + [4642] Counter::log2() + + ├─ [sload] 0x0000000000000000000000000000000000000000000000000000000000000045 + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000045, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/6.storage.decoded.txt b/tests/it/writer/test_trace_printing/6.storage.decoded.txt new file mode 100644 index 00000000..75933cdc --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.storage.decoded.txt @@ -0,0 +1,4 @@ + [4642] Counter::log2() + ├─ [sload] 0x0000000000000000000000000000000000000000000000000000000000000045 + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000045, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/6.storage.svg b/tests/it/writer/test_trace_printing/6.storage.svg new file mode 100644 index 00000000..cf19df8b --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.storage.svg @@ -0,0 +1,37 @@ + + + + + + + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + + └─ ← [Stop] + + + + + + diff --git a/tests/it/writer/test_trace_printing/6.storage.txt b/tests/it/writer/test_trace_printing/6.storage.txt new file mode 100644 index 00000000..1713c54c --- /dev/null +++ b/tests/it/writer/test_trace_printing/6.storage.txt @@ -0,0 +1,6 @@ + [4642] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::77fa5d9e() + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c68692066726f6d206c6f67320000000000000000000000000000000000000000 + └─ ← [Stop] diff --git a/tests/it/writer/test_trace_printing/7.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/7.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/7.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/7.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/7.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/7.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/7.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/7.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..ea988df4 --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.svg @@ -0,0 +1,63 @@ + + + + + + + [13556] Counter::nest1() + + ├─ [13264] Counter::_nest1() + + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000045) + + │ ├─ [8575] Counter::nest2() + + │ │ ├─ [2337] Counter::nest3() + + │ │ │ ├─ [2220] Counter::_nest3Internal(arg1, arg2, 3) + + │ │ │ │ ├─ [mstore] + + │ │ │ │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000046) + + │ │ │ │ └─ ← ret1 + + │ │ │ ├─ [before_return] + + │ │ │ └─ ← [Return] + + │ │ ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000046, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + │ │ ├─ storage changes: + + │ │ │ @ 0: 69 → 70 + + │ │ └─ ← [Return] + + │ └─ ← ret1, ret2 + + ├─ storage changes: + + │ @ 0: 70 → 71 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..610f7d61 --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.bytecodes.storage.decoded.txt @@ -0,0 +1,19 @@ + [13556] Counter::nest1() + ├─ [13264] Counter::_nest1() + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000045) + │ ├─ [8575] Counter::nest2() + │ │ ├─ [2337] Counter::nest3() + │ │ │ ├─ [2220] Counter::_nest3Internal(arg1, arg2, 3) + │ │ │ │ ├─ [mstore] + │ │ │ │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000046) + │ │ │ │ └─ ← ret1 + │ │ │ ├─ [before_return] + │ │ │ └─ ← [Return] + │ │ ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000046, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + │ │ ├─ storage changes: + │ │ │ @ 0: 69 → 70 + │ │ └─ ← [Return] + │ └─ ← ret1, ret2 + ├─ storage changes: + │ @ 0: 70 → 71 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/7.bytecodes.storage.svg b/tests/it/writer/test_trace_printing/7.bytecodes.storage.svg new file mode 100644 index 00000000..dfbb1cbb --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.bytecodes.storage.svg @@ -0,0 +1,65 @@ + + + + + + + [13556] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::943ee48c() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20310000000000000000000000000000000000000000000000 + + ├─ [8575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + + │ ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + │ │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + + │ │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + │ │ └─ ← [Return] + + │ ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + + │ │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + + │ ├─ storage changes: + + │ │ @ 0: 69 → 70 + + │ └─ ← [Return] + + ├─ storage changes: + + │ @ 0: 70 → 71 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/7.bytecodes.storage.txt b/tests/it/writer/test_trace_printing/7.bytecodes.storage.txt new file mode 100644 index 00000000..c8a3428d --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.bytecodes.storage.txt @@ -0,0 +1,20 @@ + [13556] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::943ee48c() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20310000000000000000000000000000000000000000000000 + ├─ [8575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + │ ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + │ │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + │ │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + │ │ └─ ← [Return] + │ ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + │ │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + │ ├─ storage changes: + │ │ @ 0: 69 → 70 + │ └─ ← [Return] + ├─ storage changes: + │ @ 0: 70 → 71 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/7.write_bytecodes.svg b/tests/it/writer/test_trace_printing/7.bytecodes.svg similarity index 100% rename from tests/it/writer/test_trace_printing/7.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/7.bytecodes.svg diff --git a/tests/it/writer/test_trace_printing/7.write_bytecodes.txt b/tests/it/writer/test_trace_printing/7.bytecodes.txt similarity index 100% rename from tests/it/writer/test_trace_printing/7.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/7.bytecodes.txt diff --git a/tests/it/writer/test_trace_printing/7.storage.decoded.svg b/tests/it/writer/test_trace_printing/7.storage.decoded.svg new file mode 100644 index 00000000..ea988df4 --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.storage.decoded.svg @@ -0,0 +1,63 @@ + + + + + + + [13556] Counter::nest1() + + ├─ [13264] Counter::_nest1() + + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000045) + + │ ├─ [8575] Counter::nest2() + + │ │ ├─ [2337] Counter::nest3() + + │ │ │ ├─ [2220] Counter::_nest3Internal(arg1, arg2, 3) + + │ │ │ │ ├─ [mstore] + + │ │ │ │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000046) + + │ │ │ │ └─ ← ret1 + + │ │ │ ├─ [before_return] + + │ │ │ └─ ← [Return] + + │ │ ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000046, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + │ │ ├─ storage changes: + + │ │ │ @ 0: 69 → 70 + + │ │ └─ ← [Return] + + │ └─ ← ret1, ret2 + + ├─ storage changes: + + │ @ 0: 70 → 71 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/7.storage.decoded.txt b/tests/it/writer/test_trace_printing/7.storage.decoded.txt new file mode 100644 index 00000000..610f7d61 --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.storage.decoded.txt @@ -0,0 +1,19 @@ + [13556] Counter::nest1() + ├─ [13264] Counter::_nest1() + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000045) + │ ├─ [8575] Counter::nest2() + │ │ ├─ [2337] Counter::nest3() + │ │ │ ├─ [2220] Counter::_nest3Internal(arg1, arg2, 3) + │ │ │ │ ├─ [mstore] + │ │ │ │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000046) + │ │ │ │ └─ ← ret1 + │ │ │ ├─ [before_return] + │ │ │ └─ ← [Return] + │ │ ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000046, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + │ │ ├─ storage changes: + │ │ │ @ 0: 69 → 70 + │ │ └─ ← [Return] + │ └─ ← ret1, ret2 + ├─ storage changes: + │ @ 0: 70 → 71 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/7.storage.svg b/tests/it/writer/test_trace_printing/7.storage.svg new file mode 100644 index 00000000..dfbb1cbb --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.storage.svg @@ -0,0 +1,65 @@ + + + + + + + [13556] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::943ee48c() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20310000000000000000000000000000000000000000000000 + + ├─ [8575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + + │ ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + │ │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + + │ │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + │ │ └─ ← [Return] + + │ ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + + │ │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + + │ ├─ storage changes: + + │ │ @ 0: 69 → 70 + + │ └─ ← [Return] + + ├─ storage changes: + + │ @ 0: 70 → 71 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/7.storage.txt b/tests/it/writer/test_trace_printing/7.storage.txt new file mode 100644 index 00000000..c8a3428d --- /dev/null +++ b/tests/it/writer/test_trace_printing/7.storage.txt @@ -0,0 +1,20 @@ + [13556] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::943ee48c() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000045 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20310000000000000000000000000000000000000000000000 + ├─ [8575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + │ ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + │ │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + │ │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + │ │ └─ ← [Return] + │ ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000046 + │ │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + │ ├─ storage changes: + │ │ @ 0: 69 → 70 + │ └─ ← [Return] + ├─ storage changes: + │ @ 0: 70 → 71 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/8.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/8.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/8.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/8.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/8.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/8.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/8.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/8.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..c09892f6 --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.svg @@ -0,0 +1,41 @@ + + + + + + + [10575] Counter::nest2() + + ├─ [2337] Counter::nest3() + + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + │ └─ ← [Return] + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + ├─ storage changes: + + │ @ 0: 71 → 72 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..c4729d6b --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.bytecodes.storage.decoded.txt @@ -0,0 +1,8 @@ + [10575] Counter::nest2() + ├─ [2337] Counter::nest3() + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + │ └─ ← [Return] + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + ├─ storage changes: + │ @ 0: 71 → 72 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/8.bytecodes.storage.svg b/tests/it/writer/test_trace_printing/8.bytecodes.storage.svg new file mode 100644 index 00000000..fb606fee --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.bytecodes.storage.svg @@ -0,0 +1,51 @@ + + + + + + + [10575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + + ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + │ └─ ← [Return] + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + + ├─ storage changes: + + │ @ 0: 71 → 72 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/8.bytecodes.storage.txt b/tests/it/writer/test_trace_printing/8.bytecodes.storage.txt new file mode 100644 index 00000000..861685b5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.bytecodes.storage.txt @@ -0,0 +1,13 @@ + [10575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + │ └─ ← [Return] + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + ├─ storage changes: + │ @ 0: 71 → 72 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/8.write_bytecodes.svg b/tests/it/writer/test_trace_printing/8.bytecodes.svg similarity index 100% rename from tests/it/writer/test_trace_printing/8.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/8.bytecodes.svg diff --git a/tests/it/writer/test_trace_printing/8.write_bytecodes.txt b/tests/it/writer/test_trace_printing/8.bytecodes.txt similarity index 100% rename from tests/it/writer/test_trace_printing/8.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/8.bytecodes.txt diff --git a/tests/it/writer/test_trace_printing/8.storage.decoded.svg b/tests/it/writer/test_trace_printing/8.storage.decoded.svg new file mode 100644 index 00000000..c09892f6 --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.storage.decoded.svg @@ -0,0 +1,41 @@ + + + + + + + [10575] Counter::nest2() + + ├─ [2337] Counter::nest3() + + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + │ └─ ← [Return] + + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + + ├─ storage changes: + + │ @ 0: 71 → 72 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/8.storage.decoded.txt b/tests/it/writer/test_trace_printing/8.storage.decoded.txt new file mode 100644 index 00000000..c4729d6b --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.storage.decoded.txt @@ -0,0 +1,8 @@ + [10575] Counter::nest2() + ├─ [2337] Counter::nest3() + │ ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + │ └─ ← [Return] + ├─ emit Log2(foo: 0x0000000000000000000000000000000000000000000000000000000000000048, bar: 0x000000000000000000000000000000000000000000000000000000000000007b) + ├─ storage changes: + │ @ 0: 71 → 72 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/8.storage.svg b/tests/it/writer/test_trace_printing/8.storage.svg new file mode 100644 index 00000000..fb606fee --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.storage.svg @@ -0,0 +1,51 @@ + + + + + + + [10575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + + ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + │ └─ ← [Return] + + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + + ├─ storage changes: + + │ @ 0: 71 → 72 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/8.storage.txt b/tests/it/writer/test_trace_printing/8.storage.txt new file mode 100644 index 00000000..861685b5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/8.storage.txt @@ -0,0 +1,13 @@ + [10575] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::f267ce9e() + ├─ [2337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + │ ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + │ └─ ← [Return] + ├─ emit topic 0: 0x5ae719eb0250b8686767e291df04bec55e7f45a5997e120be020424da1896d76 + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ topic 2: 0x000000000000000000000000000000000000000000000000000000000000007b + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20320000000000000000000000000000000000000000000000 + ├─ storage changes: + │ @ 0: 71 → 72 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/9.write_bytecodes.decoded.svg b/tests/it/writer/test_trace_printing/9.bytecodes.decoded.svg similarity index 100% rename from tests/it/writer/test_trace_printing/9.write_bytecodes.decoded.svg rename to tests/it/writer/test_trace_printing/9.bytecodes.decoded.svg diff --git a/tests/it/writer/test_trace_printing/9.write_bytecodes.decoded.txt b/tests/it/writer/test_trace_printing/9.bytecodes.decoded.txt similarity index 100% rename from tests/it/writer/test_trace_printing/9.write_bytecodes.decoded.txt rename to tests/it/writer/test_trace_printing/9.bytecodes.decoded.txt diff --git a/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.svg b/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.svg new file mode 100644 index 00000000..d447adee --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4337] Counter::nest3() + + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.txt b/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.txt new file mode 100644 index 00000000..61e97b58 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.bytecodes.storage.decoded.txt @@ -0,0 +1,3 @@ + [4337] Counter::nest3() + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/9.write_bytecodes.svg b/tests/it/writer/test_trace_printing/9.bytecodes.storage.svg similarity index 100% rename from tests/it/writer/test_trace_printing/9.write_bytecodes.svg rename to tests/it/writer/test_trace_printing/9.bytecodes.storage.svg diff --git a/tests/it/writer/test_trace_printing/9.write_bytecodes.txt b/tests/it/writer/test_trace_printing/9.bytecodes.storage.txt similarity index 100% rename from tests/it/writer/test_trace_printing/9.write_bytecodes.txt rename to tests/it/writer/test_trace_printing/9.bytecodes.storage.txt diff --git a/tests/it/writer/test_trace_printing/9.bytecodes.svg b/tests/it/writer/test_trace_printing/9.bytecodes.svg new file mode 100644 index 00000000..31ed31d5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.bytecodes.svg @@ -0,0 +1,35 @@ + + + + + + + [4337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/9.bytecodes.txt b/tests/it/writer/test_trace_printing/9.bytecodes.txt new file mode 100644 index 00000000..19b10483 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.bytecodes.txt @@ -0,0 +1,5 @@ + [4337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/9.storage.decoded.svg b/tests/it/writer/test_trace_printing/9.storage.decoded.svg new file mode 100644 index 00000000..d447adee --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.storage.decoded.svg @@ -0,0 +1,31 @@ + + + + + + + [4337] Counter::nest3() + + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/9.storage.decoded.txt b/tests/it/writer/test_trace_printing/9.storage.decoded.txt new file mode 100644 index 00000000..61e97b58 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.storage.decoded.txt @@ -0,0 +1,3 @@ + [4337] Counter::nest3() + ├─ emit Log1(foo: 0x0000000000000000000000000000000000000000000000000000000000000048) + └─ ← [Return] diff --git a/tests/it/writer/test_trace_printing/9.storage.svg b/tests/it/writer/test_trace_printing/9.storage.svg new file mode 100644 index 00000000..31ed31d5 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.storage.svg @@ -0,0 +1,35 @@ + + + + + + + [4337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + + └─ ← [Return] + + + + + + diff --git a/tests/it/writer/test_trace_printing/9.storage.txt b/tests/it/writer/test_trace_printing/9.storage.txt new file mode 100644 index 00000000..19b10483 --- /dev/null +++ b/tests/it/writer/test_trace_printing/9.storage.txt @@ -0,0 +1,5 @@ + [4337] 0xBd770416a3345F91E4B34576cb804a576fa48EB1::9db265eb() + ├─ emit topic 0: 0x9d39c21a43a4dfcd7857f27f3399f31a24694b6cb361496355ab537d16f745ca + │ topic 1: 0x0000000000000000000000000000000000000000000000000000000000000048 + │ data: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000968692066726f6d20330000000000000000000000000000000000000000000000 + └─ ← [Return]