File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3643,8 +3643,11 @@ pub mod test {
36433643 signer. sign_origin ( & privk_origin) . unwrap ( ) ;
36443644 let contract_call_tx = signer. get_tx ( ) . unwrap ( ) ;
36453645
3646- let mut chainstate =
3647- instantiate_chainstate ( false , 0x80000000 , "process-post-conditions-tokens-deny" ) ;
3646+ let mut chainstate = instantiate_chainstate (
3647+ false ,
3648+ 0x80000000 ,
3649+ "process-post-conditions-tokens-deny-2097" ,
3650+ ) ;
36483651 let mut conn = chainstate. block_begin (
36493652 & NULL_BURN_STATE_DB ,
36503653 & FIRST_BURNCHAIN_CONSENSUS_HASH ,
@@ -3657,9 +3660,12 @@ pub mod test {
36573660 let _ =
36583661 StacksChainState :: process_transaction ( & mut conn, & signed_contract_tx, false ) . unwrap ( ) ;
36593662
3660- let ( _fee, _ ) =
3663+ let ( _fee, receipt ) =
36613664 StacksChainState :: process_transaction ( & mut conn, & contract_call_tx, false ) . unwrap ( ) ;
36623665
3666+ assert_eq ! ( receipt. post_condition_aborted, true ) ;
3667+ assert_eq ! ( receipt. result. to_string( ) , "(ok (err u1))" ) ;
3668+
36633669 conn. commit_block ( ) ;
36643670 }
36653671
You can’t perform that action at this time.
0 commit comments