File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use crate::{account_actor, syscall_error};
18
18
19
19
/// The default [`CallManager`] implementation.
20
20
#[ repr( transparent) ]
21
- pub struct DefaultCallManager < M > ( Option < InnerDefaultCallManager < M > > ) ;
21
+ pub struct DefaultCallManager < M > ( Option < Box < InnerDefaultCallManager < M > > > ) ;
22
22
23
23
#[ doc( hidden) ]
24
24
#[ derive( Deref , DerefMut ) ]
@@ -64,15 +64,15 @@ where
64
64
type Machine = M ;
65
65
66
66
fn new ( machine : M , gas_limit : i64 , origin : Address , nonce : u64 ) -> Self {
67
- DefaultCallManager ( Some ( InnerDefaultCallManager {
67
+ DefaultCallManager ( Some ( Box :: new ( InnerDefaultCallManager {
68
68
machine,
69
69
gas_tracker : GasTracker :: new ( gas_limit, 0 ) ,
70
70
origin,
71
71
nonce,
72
72
num_actors_created : 0 ,
73
73
call_stack_depth : 0 ,
74
74
backtrace : Backtrace :: default ( ) ,
75
- } ) )
75
+ } ) ) )
76
76
}
77
77
78
78
fn send < K > (
You can’t perform that action at this time.
0 commit comments