@@ -80,28 +80,28 @@ async fn test_ix_commit_single_account_100_bytes_and_undelegate() {
8080// # see the PR #575 for more context.
8181#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
8282async fn test_ix_commit_single_account_800_bytes ( ) {
83- commit_single_account ( 800 , CommitStrategy :: Args , false ) . await ;
83+ commit_single_account ( 800 , CommitStrategy :: FromBuffer , false ) . await ;
8484}
8585
8686// TODO (snawaz): use #[tokio::test] once CommitTask::new() stops using blocking RpcClient
8787// # see the PR #575 for more context.
8888#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
8989async fn test_ix_commit_single_account_800_bytes_and_undelegate ( ) {
90- commit_single_account ( 800 , CommitStrategy :: Args , true ) . await ;
90+ commit_single_account ( 800 , CommitStrategy :: FromBuffer , true ) . await ;
9191}
9292
9393// TODO (snawaz): use #[tokio::test] once CommitTask::new() stops using blocking RpcClient
9494// # see the PR #575 for more context.
9595#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
9696async fn test_ix_commit_single_account_one_kb ( ) {
97- commit_single_account ( 1024 , CommitStrategy :: Args , false ) . await ;
97+ commit_single_account ( 1024 , CommitStrategy :: FromBuffer , false ) . await ;
9898}
9999
100100// TODO (snawaz): use #[tokio::test] once CommitTask::new() stops using blocking RpcClient
101101// # see the PR #575 for more context.
102102#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
103103async fn test_ix_commit_single_account_ten_kb ( ) {
104- commit_single_account ( 10 * 1024 , CommitStrategy :: Args , false ) . await ;
104+ commit_single_account ( 10 * 1024 , CommitStrategy :: FromBuffer , false ) . await ;
105105}
106106
107107async fn commit_single_account (
@@ -265,7 +265,7 @@ async fn test_commit_5_accounts_1kb_bundle_size_3_undelegate_all() {
265265 3 ,
266266 expect_strategies ( & [
267267 // Intent fits in 1 TX only with ALT, see IntentExecutorImpl::try_unite_tasks
268- ( CommitStrategy :: ArgsWithLookupTable , 3 ) ,
268+ ( CommitStrategy :: FromBufferWithLookupTable , 3 ) ,
269269 ( CommitStrategy :: Args , 2 ) ,
270270 ] ) ,
271271 true ,
@@ -309,7 +309,7 @@ async fn test_commit_5_accounts_1kb_bundle_size_4_undelegate_all() {
309309async fn test_commit_5_accounts_1kb_bundle_size_5_undelegate_all ( ) {
310310 commit_5_accounts_1kb (
311311 5 ,
312- expect_strategies ( & [ ( CommitStrategy :: ArgsWithLookupTable , 5 ) ] ) ,
312+ expect_strategies ( & [ ( CommitStrategy :: FromBufferWithLookupTable , 5 ) ] ) ,
313313 true ,
314314 )
315315 . await ;
0 commit comments