pub fn new(context: Context, block: HeaderParams) -> Self {
        println!("生成虚拟机序列sputnikvm/src/lib.rs:166");
        let mut machines = Vec::new();
        machines.push(Machine::new(context, 1));
        ContextVM {
            machines,
            runtime: Runtime::new(block),
            fresh_account_state: AccountState::default(),
        }
    }
/// Create a new VM using the given context, block header and patch.
Create a new VM using the given context, block header and patch.
Create a new VM using the given context block header and patch .
pub fn new(context: Context, block: HeaderParams) -> Self {
        println!("生成虚拟机序列sputnikvm/src/lib.rs:166");
        let mut machines = Vec::new();
        machines.push(Machine::new(context, 1));
        ContextVM {
            machines,
            runtime: Runtime::new(block),
            fresh_account_state: AccountState::default(),
        }
    }
pub fn new ( context : Context , block : HeaderParams ) -> Self { println ! ( " let mut machines = Vec :: new ( ) ; machines . push ( Machine :: new ( context , 1 ) ) ; ContextVM { machines , runtime : Runtime :: new ( block ) , fresh_account_state : AccountState :: default ( ) , } }
Create a new VM using the given context, block header and patch.
Create a new VM using the given context block header and patch .
context
Context
block
HeaderParams
context
Context
block
HeaderParams