Skip to content

Commit 888e350

Browse files
committed
chore: log from+to when tx blocked
1 parent 87e1ff7 commit 888e350

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/state_transition.libevm.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func (st *StateTransition) canExecuteTransaction() error {
2828
if err := rules.Hooks().CanExecuteTransaction(st.msg.From, st.msg.To, st.state); err != nil {
2929
log.Debug(
3030
"Transaction execution blocked by libevm hook",
31+
"From", st.msg.From,
32+
"To", st.msg.To,
3133
"Hooks", log.TypeOf(rules.Hooks()),
3234
"Reason", err,
3335
)

0 commit comments

Comments
 (0)