@@ -21,7 +21,7 @@ module ol_framework::test_filo_migration {
2121 assert ! (account::exists_at (b_addr), 735701 );
2222 assert ! (!vouch::is_init (b_addr), 735701 );
2323 assert ! (!founder::is_founder (b_addr), 735702 );
24- assert ! (!activity::has_ever_been_touched (b_addr), 735703 );
24+ assert ! (!activity::is_initialized (b_addr), 735703 );
2525 // setup a v7 account without slow wallet.
2626 assert ! (!slow_wallet::is_slow (b_addr), 735704 );
2727 }
@@ -38,7 +38,7 @@ module ol_framework::test_filo_migration {
3838 /// error out
3939 fun v7_accept_tx_validation (framework: &signer , bob: &signer ) {
4040 setup_one_v7_account (framework, bob);
41- mock::simulate_transaction_validation (bob);
41+ mock::simulate_v8_migration (bob);
4242
4343 }
4444
@@ -48,16 +48,16 @@ module ol_framework::test_filo_migration {
4848 setup_one_v7_account (framework, bob);
4949
5050 //////// user sends migration tx ////////
51- mock::simulate_transaction_validation (bob);
51+ mock::simulate_v8_migration (bob);
5252 // safety check: should not error if called again, lazy init
53- mock::simulate_transaction_validation (bob);
53+ mock::simulate_v8_migration (bob);
5454 //////// end migration tx ////////
5555
5656 let b_addr = signer ::address_of (bob);
5757 // now the post-migration state should exist
5858 assert ! (vouch::is_init (b_addr), 735706 );
5959 assert ! (founder::is_founder (b_addr), 735707 );
60- assert ! (activity::has_ever_been_touched (b_addr), 735708 );
60+ assert ! (activity::is_initialized (b_addr), 735708 );
6161 assert ! (slow_wallet::is_slow (b_addr), 735709 );
6262 // however the vouch is not sufficient
6363 assert ! (!founder::has_friends (b_addr), 7357010 );
@@ -82,7 +82,7 @@ module ol_framework::test_filo_migration {
8282 //////// user sends migration tx ////////
8383 // The first time the user touches the account with a transaction
8484 // the migration should happen
85- mock::simulate_transaction_validation (bob);
85+ mock::simulate_v8_migration (bob);
8686 //////// end migration tx ////////
8787
8888 let (unlocked, total) = ol_account::balance (b_addr);
@@ -150,7 +150,7 @@ module ol_framework::test_filo_migration {
150150 assert ! (unlocked == 0 , 735705 );
151151 assert ! (total == 1000 , 735706 );
152152
153- assert ! (!activity::has_ever_been_touched (b_addr), 735707 );
153+ assert ! (!activity::is_initialized (b_addr), 735707 );
154154 // uses transfer entry function
155155 ol_account::transfer (bob, marlon, 33 );
156156 }
@@ -169,12 +169,12 @@ module ol_framework::test_filo_migration {
169169 assert ! (unlocked == 0 , 735705 );
170170 assert ! (total == 1000 , 735706 );
171171
172- assert ! (!activity::has_ever_been_touched (b_addr), 735707 );
172+ assert ! (!activity::is_initialized (b_addr), 735707 );
173173
174174 //////// user sends migration tx ////////
175175 // The first time the user touches the account with a transaction
176176 // the migration should happen
177- mock::simulate_transaction_validation (bob);
177+ mock::simulate_v8_migration (bob);
178178 founder::test_mock_friendly (framework, bob);
179179 //////// end migration tx ////////
180180
@@ -196,18 +196,18 @@ module ol_framework::test_filo_migration {
196196 assert ! (unlocked == 0 , 735705 );
197197 assert ! (total == 1000 , 735706 );
198198
199- assert ! (!activity::has_ever_been_touched (b_addr), 735707 );
199+ assert ! (!activity::is_initialized (b_addr), 735707 );
200200 assert ! (!reauthorization::is_v8_authorized (b_addr), 735708 );
201201
202202 //////// user sends migration tx ////////
203203 // The first time the user touches the account with a transaction
204204 // the migration should happen
205- mock::simulate_transaction_validation (bob);
205+ mock::simulate_v8_migration (bob);
206206 //////// end migration tx ////////
207207
208208 assert ! (vouch::is_init (b_addr), 735706 );
209209 assert ! (founder::is_founder (b_addr), 735707 );
210- assert ! (activity::has_ever_been_touched (b_addr), 735708 );
210+ assert ! (activity::is_initialized (b_addr), 735708 );
211211 assert ! (slow_wallet::is_slow (b_addr), 735709 );
212212 // however the vouch is not sufficient
213213 assert ! (!founder::has_friends (b_addr), 7357010 );
@@ -234,13 +234,13 @@ module ol_framework::test_filo_migration {
234234 assert ! (unlocked == 0 , 735705 );
235235 assert ! (total == 1000 , 735706 );
236236
237- assert ! (!activity::has_ever_been_touched (b_addr), 735707 );
237+ assert ! (!activity::is_initialized (b_addr), 735707 );
238238 assert ! (!reauthorization::is_v8_authorized (b_addr), 735708 );
239239
240240 //////// user sends migration tx ////////
241241 // The first time the user touches the account with a transaction
242242 // the migration should happen
243- mock::simulate_transaction_validation (bob);
243+ mock::simulate_v8_migration (bob);
244244 //////// end migration tx ////////
245245 slow_wallet::test_epoch_drip (framework, 100 );
246246
@@ -261,13 +261,13 @@ module ol_framework::test_filo_migration {
261261 assert ! (unlocked == 0 , 735705 );
262262 assert ! (total == 1000 , 735706 );
263263
264- assert ! (!activity::has_ever_been_touched (b_addr), 735707 );
264+ assert ! (!activity::is_initialized (b_addr), 735707 );
265265 assert ! (!reauthorization::is_v8_authorized (b_addr), 735708 );
266266
267267 //////// user sends migration tx ////////
268268 // The first time the user touches the account with a transaction
269269 // the migration should happen
270- mock::simulate_transaction_validation (bob);
270+ mock::simulate_v8_migration (bob);
271271 //////// end migration tx ////////
272272
273273 founder::test_mock_friendly (framework, bob);
0 commit comments