Update zano_native_lib to a523871 for HF6 support#14
Open
peachbits wants to merge 2 commits into
Open
Conversation
The v0.3.0 release bumped package.json but committed a stale package-lock.json still recording 0.2.8. npm install resyncs the lockfile version fields. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The HF6 release of zano_native_lib removed the raw _libs_ios OpenSSL and Boost archives that the iOS build linked against, and now ships prebuilt xcframeworks instead. Rework the iOS path to compile the wrapper and link it against the prebuilt libzano-plain-wallet xcframework (which bundles Zano, Boost, and OpenSSL), preserving the symbol-localization that exports only zanoMethods and zanoMethodCount. Android still links the raw _libs_android archives, unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Zano HF6 support: upgrade
zano_native_libtoa523871.Asana: https://app.asana.com/1/9976422036640/project/1213843652804305/task/1215784489950972
The HF6 release of
zano_native_libremoved the raw_libs_iosOpenSSL and Boost archives the iOS build used to link against, and now ships prebuilt xcframeworks instead. This reworks the iOS path inupdate-sources.tsto compile the wrapper and link it against the prebuiltlibzano-plain-walletxcframework (which bundles Zano, Boost, and OpenSSL), while preserving the partial-link plusobjcopysymbol localization so onlyzanoMethodsandzanoMethodCountstay exported. Android is unchanged, sincezano_native_libstill ships the raw_libs_androidarchives that path builds from.The branch also carries a package-lock.json version sync (0.2.8 to 0.3.0) that the 0.3.0 release left stale.
Changes
zano_native_libtoa523871for HF6.libzano-plain-wallet.xcframework.Testing
librnzano.sofor arm64-v8a, armeabi-v7a, x86, x86_64) with no errors.ZanoModule.xcframework(device slice plus fat simulator slice). Verified withnmthat only_zanoMethodsand_zanoMethodCountare exported and every other global symbol is localized.node_modules/react-native-zanoand built the iOS app (Release, simulator). Result was** BUILD SUCCEEDED **with the zano symbols present in the app binary and no link errors attributable to this module.Note
Medium Risk
iOS native linking and dependency packaging changed in a security-sensitive crypto wallet module; Android is untouched but HF6 upgrades affect shipped binaries.
Overview
Bumps
zano_native_libtoa523871for Zano HF6 and documents the change in the changelog.Reworks the iOS path in
update-sources.ts: instead of CMake-building Zano and linking_libs_iosBoost/OpenSSL archives, the script compiles the wrapper with headers from the prebuiltlibzano-plain-wallet.xcframework, partial-links againstlibzano-plain-wallet.a, and still runsobjcopyso only_zanoMethodsand_zanoMethodCountstay exported. Android sourcing and build flow are unchanged.Also syncs
package-lock.jsonto version0.3.0(was still0.2.8).Reviewed by Cursor Bugbot for commit 893c48f. Bugbot is set up for automated code reviews on this repo. Configure here.