Skip to content

Commit

Permalink
Merge pull request #447 from polkawallet-io/develop
Browse files Browse the repository at this point in the history
release 3641
  • Loading branch information
RomeroYang authored May 16, 2024
2 parents 96454c0 + 53d3dfe commit aea5d0a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [3.6.4-beta]
20240516
1. acala EVM address binding fix.

# [3.6.3-beta]
20240405
1. statemint tx submit fix.
Expand Down
12 changes: 6 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3631;
CURRENT_PROJECT_VERSION = 3641;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -373,7 +373,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.6.3;
MARKETING_VERSION = 3.6.4;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -502,7 +502,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3631;
CURRENT_PROJECT_VERSION = 3641;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -521,7 +521,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.6.3;
MARKETING_VERSION = 3.6.4;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -543,7 +543,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3631;
CURRENT_PROJECT_VERSION = 3641;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -562,7 +562,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.6.3;
MARKETING_VERSION = 3.6.4;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
15 changes: 9 additions & 6 deletions lib/pages/account/bind/accountBindPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class _AccountBindPageState extends State<AccountBindPage> {
await widget.service.plugin.sdk.api.bridge.connectFromChains([
chain
], nodeList: {
'karura': ['wss://karura-dev.aca-dev.network/rpc/ws'],
'acala': ['wss://acala-dev.aca-dev.network/rpc/ws']
// 'karura': ['wss://karura-dev.aca-dev.network/rpc/ws'],
// 'acala': ['wss://acala-dev.aca-dev.network/rpc/ws']
});
_subscribeBalance();
_queryBindAddress();
Expand All @@ -83,12 +83,15 @@ class _AccountBindPageState extends State<AccountBindPage> {

void _queryBindAddress() async {
final chain = _isAcala ? 'acala' : 'karura';
final subAddress = await widget.service.plugin.sdk.api.bridge.service
.evalJavascript(

final subAddress = _ethWalletData.address == null
? null
: await widget.service.plugin.sdk.api.bridge.service.evalJavascript(
'bridge.getApi("$chain").query.evmAccounts.accounts("${_ethWalletData.address}")');

final evmAddress = await widget.service.plugin.sdk.api.bridge.service
.evalJavascript(
final evmAddress = _keyPairData.address == null
? null
: await widget.service.plugin.sdk.api.bridge.service.evalJavascript(
'bridge.getApi("$chain").query.evmAccounts.evmAddresses("${_keyPairData.address}")');

if (subAddress == null && evmAddress == null) {
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: f2ff2c916faee504f8271afcb487d87268aee182
resolved-ref: f2ff2c916faee504f8271afcb487d87268aee182
ref: "6693774b1c30731c2e09d77707a74edca3c6d0de"
resolved-ref: "6693774b1c30731c2e09d77707a74edca3c6d0de"
url: "https://github.com/polkawallet-io/polkawallet_plugin_kusama.git"
source: git
version: "0.5.2"
Expand All @@ -1100,10 +1100,10 @@ packages:
dependency: "direct main"
description:
name: polkawallet_sdk
sha256: "65278e48fd10db1e8b4f682112ccbfa68dda311546b70dc9206e98d0fd5adf8f"
sha256: c53cd369adf81b12f03dd42df4174da63d77436c107bf262011f9b5e7b2dcd6d
url: "https://pub.dev"
source: hosted
version: "0.5.9+4"
version: "0.6.0+1"
polkawallet_ui:
dependency: "direct main"
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 3.6.3+3631
version: 3.6.4+3641

environment:
sdk: ">=2.10.0 <3.0.0"
Expand Down Expand Up @@ -51,7 +51,7 @@ dependencies:
polkawallet_plugin_kusama:
git:
url: https://github.com/polkawallet-io/polkawallet_plugin_kusama.git
ref: f2ff2c916faee504f8271afcb487d87268aee182
ref: 6693774b1c30731c2e09d77707a74edca3c6d0de
polkawallet_plugin_acala:
git:
url: https://github.com/AcalaNetwork/polkawallet_plugin_acala.git
Expand Down Expand Up @@ -112,7 +112,7 @@ dependency_overrides:
# polkawallet_plugin_evm:
# path: ../../coding/polkawallet/polkawallet_plugin_evm
polkawallet_ui: ^0.5.5+2
polkawallet_sdk: ^0.5.9+4
polkawallet_sdk: ^0.6.0+1
# polkawallet_ui:
# path: ../../coding/polkawallet/ui
# polkawallet_sdk:
Expand Down

0 comments on commit aea5d0a

Please sign in to comment.