This repository was archived by the owner on Apr 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
bindings/rust/evmc-vm/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,11 +67,7 @@ pub struct ExecutionContext<'a> {
6767
6868impl ExecutionResult {
6969 /// Manually create a result.
70- pub fn new (
71- _status_code : StatusCode ,
72- _gas_left : i64 ,
73- _output : Option < & [ u8 ] > ,
74- ) -> Self {
70+ pub fn new ( _status_code : StatusCode , _gas_left : i64 , _output : Option < & [ u8 ] > ) -> Self {
7571 ExecutionResult {
7672 status_code : _status_code,
7773 gas_left : _gas_left,
@@ -858,7 +854,6 @@ mod tests {
858854 assert ! ( b. output( ) . is_none( ) ) ;
859855 assert ! ( b. create_address( ) . is_some( ) ) ;
860856 assert_eq ! ( b. create_address( ) . unwrap( ) , & Address :: default ( ) ) ;
861-
862857 }
863858
864859 #[ test]
Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ mod tests {
6868
6969 #[ test]
7070 fn message_kind ( ) {
71- // assert_eq!(MessageKind::Call, ffi::evmc_call_kind::EVMC_CALL);
72- // assert_eq!(MessageKind::CallCode, ffi::evmc_call_kind::EVMC_CALLCODE);
73- // assert_eq!(
74- // MessageKind::DelegateCall,
75- // ffi::evmc_call_kind::EVMC_DELEGATECALL
76- // );
77- // assert_eq!(MessageKind::Create, ffi::evmc_call_kind::EVMC_CREATE);
71+ // assert_eq!(MessageKind::Call, ffi::evmc_call_kind::EVMC_CALL);
72+ // assert_eq!(MessageKind::CallCode, ffi::evmc_call_kind::EVMC_CALLCODE);
73+ // assert_eq!(
74+ // MessageKind::DelegateCall,
75+ // ffi::evmc_call_kind::EVMC_DELEGATECALL
76+ // );
77+ // assert_eq!(MessageKind::Create, ffi::evmc_call_kind::EVMC_CREATE);
7878 }
7979
8080 #[ test]
You can’t perform that action at this time.
0 commit comments