@@ -26,7 +26,8 @@ use linera_execution::{
2626 committee:: { Committee , ValidatorState } ,
2727 test_utils:: { ExpectedCall , MockApplication } ,
2828 BaseRuntime , ContractRuntime , ExecutionError , ExecutionRuntimeConfig , ExecutionRuntimeContext ,
29- Operation , ResourceControlPolicy , ServiceRuntime , SystemOperation , TestExecutionRuntimeContext ,
29+ Operation , OperationInput , ResourceControlPolicy , ServiceRuntime , SystemOperation ,
30+ TestExecutionRuntimeContext ,
3031} ;
3132use linera_views:: {
3233 context:: { Context as _, MemoryContext , ViewContext } ,
@@ -313,11 +314,11 @@ async fn test_application_permissions() -> anyhow::Result<()> {
313314 application. expect_call ( ExpectedCall :: default_finalize ( ) ) ;
314315 let app_operation = Operation :: User {
315316 application_id,
316- bytes : b"foo" . to_vec ( ) ,
317+ input : OperationInput :: Direct ( b"foo" . to_vec ( ) ) ,
317318 } ;
318319 let another_app_operation = Operation :: User {
319320 application_id : another_app_id,
320- bytes : b"bar" . to_vec ( ) ,
321+ input : OperationInput :: Direct ( b"bar" . to_vec ( ) ) ,
321322 } ;
322323
323324 let valid_block = make_first_block ( chain_id)
@@ -740,7 +741,7 @@ async fn prepare_test_with_dummy_mock_application(
740741
741742 let block = make_first_block ( chain_id) . with_operation ( Operation :: User {
742743 application_id,
743- bytes : vec ! [ ] ,
744+ input : OperationInput :: Direct ( vec ! [ ] ) ,
744745 } ) ;
745746
746747 Ok ( ( application, application_id, chain, block, time) )
0 commit comments