diff --git a/integration_test/migrate_cesium_identity.dart b/integration_test/migrate_cesium_identity.dart index 79cb510d13b4a4cfe5fdf65e808272ce6e643ffa..e57720f30c6dfa7cfb68bc3a5c040dd77859b9d2 100644 --- a/integration_test/migrate_cesium_identity.dart +++ b/integration_test/migrate_cesium_identity.dart @@ -51,8 +51,7 @@ void main() async { await waitFor('3', exactMatch: true); await waitFor('Membre validé !'); - // TODO: fix batch for transfertAll - // await waitFor('100.0 $currencyName'); + await waitFor('99.98 $currencyName'); }, timeout: testTimeout()); } diff --git a/lib/screens/myWallets/wallet_options.dart b/lib/screens/myWallets/wallet_options.dart index 5d6c5eb5934e732b99cccaf3bfd81e8f1ba75dc0..f213449d5d3559ca6169aaf5c2429abdeafe63a4 100644 --- a/lib/screens/myWallets/wallet_options.dart +++ b/lib/screens/myWallets/wallet_options.dart @@ -40,7 +40,7 @@ class WalletOptions extends StatelessWidget { // SubstrateSdk sub = Provider.of<SubstrateSdk>(context, listen: false); // sub.spawnBlock(); - // sub.spawnBlock(0, 25); + // sub.spawnBlock(0, 20); log.d(walletOptions.address.text); diff --git a/lib/screens/myWallets/wallets_home.dart b/lib/screens/myWallets/wallets_home.dart index cdf307ece2e9f3927324a9f37746e4b6b8df56b6..7e452bf49426d80caec0ba4a72c64b52a672a3a3 100644 --- a/lib/screens/myWallets/wallets_home.dart +++ b/lib/screens/myWallets/wallets_home.dart @@ -36,6 +36,7 @@ class WalletsHome extends StatelessWidget { myWalletProvider.listWallets = myWalletProvider.readAllWallets(currentChestNumber); + return WillPopScope( onWillPop: () { // myWalletProvider.pinCode = myWalletProvider.mnemonic = ''; diff --git a/lib/screens/transaction_in_progress.dart b/lib/screens/transaction_in_progress.dart index b00c8056a99e4afa201e15e37bcd655c48d3af88..febc0ede532c302d8eb4acae6efffc69db2c137e 100644 --- a/lib/screens/transaction_in_progress.dart +++ b/lib/screens/transaction_in_progress.dart @@ -1,3 +1,5 @@ +import 'dart:io'; + import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/services.dart'; import 'package:gecko/globals.dart'; @@ -34,6 +36,8 @@ class TransactionInProgress extends StatelessWidget { // Map jsonResult; final result = sub.transactionStatus; + // sub.spawnBlock(); + log.d(walletViewProvider.address!); final from = fromAddress ?? myWalletProvider.getDefaultWallet().name!;