-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor local account directory. Add proxy account in db * Add migration for proxy accounts * Minor changes * Proxies syncing in progress * Implemented proxies sync * Run ktlint * Update RealProxySyncService.kt * Minor changes * Minor changes * Clean code * Select wallet screen + logic * Fixed migration * Run ktlint * Delegated accounts updates * Update MetaAccountWithBalanceListingMixin.kt * Update MetaAccountGroupingInteractorImpl.kt * Update MetaAccount.kt * Added sort for delegated accounts * Increase susbtrate library version * Fixed pr notes * Fixed pr notes * Added run catching * Add failure handling * Add run catching * Proxied signer implementation + fee signer * Run ktlint * Clean code * Update AccountFeatureModule.kt * Fixed bugs * Fixed pr notes * Fixed pr notes * Update ProxiedSigner.kt * Fixed dependencies * Save proxieds in transaction * Filter delayed proxies * Feature/proxied signer (#1270) * Proxied signer implementation + fee signer * Run ktlint * Clean code * Update AccountFeatureModule.kt * Fixed bugs * Fixed pr notes * Update ProxiedSigner.kt * Fixed dependencies * Fix merge conflicts * Fixed delegated updates item subtitle * Fix signing * Fix - exotic nonce structures * Code style * Fix/staking paged exposures (#1267) * Paged exposures * Payouts * Fixes * Fixes * Update tags * Code style * Remove unused class * Remove unused logs * Fix tests * Update NftUniquesIntegrationTest.kt (#1278) * Wallet details refactoring and Proxied wallet details implementation * Clean code * Fixed wildcard import * Realtime proxy updates * Fixes * Code style * Fixes * Implemented proxy fee validation * Code style * Refactor extrinsic service * Fix - send title is not visible until xcm config is synced (#1281) * Code style * Fixes * Fixed proxied deactivated state * Removed Parity sugner wallet details mixin * Fixed imports * Update ProxiedWalletDetailsMixin.kt * Add proxy fee validation * Update MetaAccountDao.kt * Run ktlint * Remove dependency in account build module * Disable removing proxieds * Fixed pr notes * Update ProxyHaveEnoughFeeValidation.kt * Update ProxyExtrinsicValidationRequestBusHandler.kt * Update ProxyExtrinsicValidationRequestBusHandler.kt * Add dwellir secret (#1295) * Remove redundant code * Fix/sync added accounts (#1291) * Refactoring adding meta accounts * Fix DI * Refactor proxySyncService * Removing deactivated proxieds * Run ktlint * Clean code * Merge conflicts --------- Co-authored-by: Valentun <[email protected]> * Proxy/fee validation (#1294) * Add support for non-requested account fee payment in validations * Code style * Remove debug logs * Improve comments * Fix conflicts * per chain proxy sync (#1303) * Fix/setup staking state transitions (#1302) * Fix bugs in start staking state transitions * Code style * Fix - crash for proxied receive (#1304) * Fix - proxy icon opacity (#1305) * Fixed proxy types matching * Fixed pr notes * Selecting first meta account in case when selected proxied is removed due to deactivation * Use on chain balance for proxy fee validation (#1310) * Use on chain balance for proxy fee validation * Rename variables * Proxy bugs and improvements Update proxy wiki link Replace text in Settings account title Update proxy type title formatting Fixed bug when after revoke access no wallet is selected in bottom-sheet * Update ProxyFormatter.kt * Update ProxyFormatter.kt * Improve account switching logic * Fix/proxy ledger (#1313) * Fix proxy signing with ledger * Code style * Do not sync WO proxies in production (#1315) * Localization (#1316) * Localization * Fixes * Fix - robonomics demoracy unlock call encoding (#1317) * Revisit usages of all accounts (#1318) * Fixes (#1324) * Fix - first proxy sync after update does not detect proxy chains in config * Fix - not enough permissions with no proxies case * Non proxy fixes (#1325) * Update github update link * Fix crash when failed to retrieve metadata * Fix tests * Fix/staking reactive updates for relaychain staking (#1320) * Fix reactive updates for relaychain unbondings * Fix reactive updates for relaychain stake summary * Fix/tests (#1319) * Fix integration tests * Increase timeout back * Use wrapped payload for fee validation (#1327) * Fixed res names and values: stacking to staking and unstacking to unstaking (#1328) * Apply localization changes to localize * Bump version --------- Co-authored-by: antonijzelinskij <[email protected]> Co-authored-by: antonijzelinskij <[email protected]>
- Loading branch information
1 parent
47e9628
commit f8bf93d
Showing
542 changed files
with
9,629 additions
and
3,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,7 +126,7 @@ jobs: | |
fileName: ${{ inputs.keystore-file-name }} | ||
fileDir: './app/' | ||
encodedString: ${{ env.CI_GITHUB_KEYSTORE_KEY_FILE }} | ||
|
||
- name: 🔐 Getting market sign key | ||
if: ${{ startsWith(inputs.keystore-file-name, 'market_key.jks') }} | ||
uses: timheuer/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
app/src/main/java/io/novafoundation/nova/app/root/di/busHandler/RequestBusHandlerModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package io.novafoundation.nova.app.root.di.busHandler | ||
|
||
import dagger.Module | ||
import dagger.Provides | ||
import dagger.multibindings.IntoSet | ||
import io.novafoundation.nova.app.root.presentation.requestBusHandler.CompoundRequestBusHandler | ||
import io.novafoundation.nova.app.root.presentation.requestBusHandler.ProxyExtrinsicValidationRequestBusHandler | ||
import io.novafoundation.nova.app.root.presentation.requestBusHandler.RequestBusHandler | ||
import io.novafoundation.nova.common.di.scope.FeatureScope | ||
import io.novafoundation.nova.common.resources.ResourceManager | ||
import io.novafoundation.nova.common.utils.coroutines.RootScope | ||
import io.novafoundation.nova.feature_account_api.data.proxy.validation.ProxyExtrinsicValidationRequestBus | ||
import io.novafoundation.nova.feature_wallet_api.domain.validation.ProxyHaveEnoughFeeValidationFactory | ||
|
||
@Module | ||
class RequestBusHandlerModule { | ||
|
||
@Provides | ||
@FeatureScope | ||
@IntoSet | ||
fun provideProxyExtrinsicValidationRequestBusHandler( | ||
scope: RootScope, | ||
proxyProxyExtrinsicValidationRequestBus: ProxyExtrinsicValidationRequestBus, | ||
proxyHaveEnoughFeeValidationFactory: ProxyHaveEnoughFeeValidationFactory, | ||
resourceManager: ResourceManager | ||
): RequestBusHandler { | ||
return ProxyExtrinsicValidationRequestBusHandler( | ||
scope, | ||
proxyProxyExtrinsicValidationRequestBus, | ||
proxyHaveEnoughFeeValidationFactory, | ||
resourceManager | ||
) | ||
} | ||
|
||
@Provides | ||
@FeatureScope | ||
fun provideCompoundRequestBusHandler( | ||
handlers: Set<@JvmSuppressWildcards RequestBusHandler> | ||
): CompoundRequestBusHandler { | ||
return CompoundRequestBusHandler(handlers) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.