Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions zilliqa/src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,7 @@ impl PendingState {
var_name: &str,
indices: &[Vec<u8>],
) -> Result<BTreeMap<Vec<u8>, StorageValue>> {
trace!(%address, var_name, indices_len = indices.len(), "load_storage_by_prefix");
let account = load_account(
&self.pre_state,
&mut self.new_state,
Expand Down
5 changes: 5 additions & 0 deletions zilliqa/src/scilla.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ impl Scilla {
let (request_tx, request_rx) = channel();
let (response_tx, response_rx) = channel();

let dispatch = tracing::dispatcher::Dispatch::default();
thread::spawn(move || {
let _guard = tracing::dispatcher::set_default(&dispatch);
let runtime = runtime::Builder::new_current_thread()
.enable_all()
.build()
Expand All @@ -268,7 +270,9 @@ impl Scilla {
});

let (tx, rx) = channel();
let dispatch = tracing::dispatcher::Dispatch::default();
thread::spawn(move || {
let _guard = tracing::dispatcher::set_default(&dispatch);
let runtime = runtime::Builder::new_current_thread()
.enable_all()
.build()
Expand Down Expand Up @@ -905,6 +909,7 @@ impl ActiveCall {
) -> Result<Option<(ProtoScillaVal, String)>> {
let (ty, depth) = self.state.load_var_info(addr, &name)?;
let ty = ty.to_owned();
trace!(name, ty, depth);

if indices.len() > depth as usize {
return Err(anyhow!("too many indices"));
Expand Down
Loading
Loading