pub fn commit(&mut self) -> &mut WasmTestBuilder {
        let prestate_hash = self
            .post_state_hash
            .clone()
            .expect("Should have genesis hash");

        let effects = self
            .transforms
            .last()
            .cloned()
            .expect("Should have transforms to commit.");

        self.commit_effects(prestate_hash, effects)
    }
/// Commit effects of previous exec call on the latest post-state hash.
Commit effects of previous exec call on the latest post-state hash.
Commit effects of previous exec call on the latest post - state hash .
pub fn commit(&mut self) -> &mut WasmTestBuilder {
        let prestate_hash = self
            .post_state_hash
            .clone()
            .expect("Should have genesis hash");
        let effects = self
            .transforms
            .last()
            .cloned()
            .expect("Should have transforms to commit.");
        self.commit_effects(prestate_hash, effects)
    }
pub fn commit ( & mut self ) -> & mut WasmTestBuilder { let prestate_hash = self . post_state_hash . clone ( ) . expect ( " " ) ; let effects = self . transforms . last ( ) . cloned ( ) . expect ( " " ) ; self . commit_effects ( prestate_hash , effects ) }
Commit effects of previous exec call on the latest post-state hash.
Commit effects of previous exec call on the latest post - state hash .
&mut self
&mut self