File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ impl MappingTriggerTrait for MappingTrigger {
78
78
}
79
79
}
80
80
81
- // Logging the block is too verbose, so this strips the block from the trigger for Debug.
81
+ // Logging the block is too verbose, so this strips the block and calls from the trigger for Debug.
82
82
impl std:: fmt:: Debug for MappingTrigger {
83
83
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
84
84
#[ derive( Debug ) ]
@@ -87,6 +87,7 @@ impl std::fmt::Debug for MappingTrigger {
87
87
_transaction : Arc < Transaction > ,
88
88
_log : Arc < Log > ,
89
89
_params : Vec < LogParam > ,
90
+ _receipt : Option < Arc < TransactionReceipt > > ,
90
91
} ,
91
92
Call {
92
93
_transaction : Arc < Transaction > ,
@@ -103,12 +104,13 @@ impl std::fmt::Debug for MappingTrigger {
103
104
transaction,
104
105
log,
105
106
params,
106
- receipt : _ ,
107
+ receipt,
107
108
calls : _,
108
109
} => MappingTriggerWithoutBlock :: Log {
109
110
_transaction : transaction. cheap_clone ( ) ,
110
111
_log : log. cheap_clone ( ) ,
111
112
_params : params. clone ( ) ,
113
+ _receipt : receipt. clone ( ) ,
112
114
} ,
113
115
MappingTrigger :: Call {
114
116
block : _,
You can’t perform that action at this time.
0 commit comments