Commit Graph

702 Commits

Author SHA1 Message Date
Francisco Gindre 4607e2cd37
Merge pull request #332 from zcash/change-cargo-deps
Fix Issue #331 Reference librustzcash from a branch on that repo
2022-01-20 18:38:04 -03:00
Francisco Gindre eba37f6c77 Fix Issues #334 and #331
Issue #334 Update to MnemonicSwift 2.1.0
Issue #331 Reference librustzcash from a branch on that repo

FIX: Don't use nightly on Intel macs. don't build ARM Simulator either

clean up podfile for sample app

pod install

Update MnemonicSwift to 2.1.0

remove "test" comment

Fix: CI builds fail because arm64 is always required regardless of current architecture

move to stable

fix travis build

add else statement for release buidls
2022-01-20 17:01:20 -03:00
Francisco Gindre f12775c12e
Merge pull request #327 from zcash/release/0.12.0-beta.5
Release/0.12.0 beta.5  (Beta 4 + new checkpoints)
2021-12-03 18:44:43 -03:00
Francisco Gindre f3f49fd911 Fix compile error 2021-12-03 17:28:25 -03:00
Francisco Gindre d3948a60a1 Merge branch 'master' into release/0.12.0-beta.5 2021-12-02 16:41:49 -03:00
Francisco Gindre 582030ff59 Point to same librustzcash fork as android sdk 2021-11-29 13:34:26 -03:00
Francisco Gindre 115762bf7b Update Podspec. Bump to beta.5. Pod install on Demo App
Revert "cargo update"

This reverts commit 5eac956ad7.
2021-11-22 18:29:19 -03:00
Francisco Gindre b14eca3ede Mainnet checkpoints
spacing fix

add default case

Testnet checkpoints

fix range on Mainnet checkpoints
2021-11-19 17:06:25 -03:00
Francisco Gindre 5eac956ad7 cargo update 2021-11-19 16:45:22 -03:00
Francisco Gindre 1c5779b8e9
Merge pull request #325 from zcash/fresh-checkpoints
Fresh checkpoints
2021-11-19 15:41:48 -03:00
Francisco Gindre 3b42c0b868 Mainnet checkpoints
spacing fix

add default case

Testnet checkpoints

fix range on Mainnet checkpoints
2021-11-19 12:01:14 -03:00
Francisco Gindre 2b8a63d012
Merge pull request #316 from dh-ecc/m1-fixes
M1 fixes (#309)
2021-10-11 13:24:18 -03:00
Daniel Haight 27cca7979f Update `build_librustzcash_xcode.sh`
Reintroduce `cargo-lipo` as a dependency since bitrise is building for multiple architectures.
2021-10-06 20:10:58 +01:00
Daniel Haight 1e6f899976 Remove unused patch in Cargo.toml 2021-10-06 01:01:41 +01:00
Daniel Haight 7cec43504f Use specific rust toolchain depending on target
We now explicitely pin a nightly toolchain version for building for arm64 iOS simulator and use stable toolchain for any other architecture
2021-10-05 21:08:43 +01:00
Daniel Haight 1e94f01c32 [styling] remove repeated parameter:value pairs 2021-10-05 19:19:29 +01:00
Daniel Haight 876e38687c Update `lib.rs` for new revision of `librustzcash`
The upstream revision for `librustzcash` no longer exists! (It's pointing to a branch that is still being worked on, though should be merged soon)

This change updates the reference in `Cargo.toml` to a compatible one and updates:
- `rust/src/lib.rs`
- `ZcashLightClientKit/zcashlc/zcashlc.h`
- `ZcashLightClientKit/Rust/ZcashRustBackend.swift`

... to account for the updates in the new upstream reference.
2021-10-05 16:40:21 +01:00
Francisco Gindre cf5595ac7e Rename `CONTIBUTING.md' to CONTRIBUTING.md 2021-10-05 09:15:20 -03:00
Daniel Haight 1056907b44 Update rust setup script
This adds the nightly toolchain as well as the required targets
2021-10-04 17:25:30 +01:00
Daniel Haight 43572afe48 Fix orchard release build hanging
For some reason `orchard` builds on revision `d0baa18f` were hanging indefinitely _only_ when building in release mode.

Did a git bisect to find a more recent revision that still builds, (but does not fail due to other upstream requirements)
and found `624a834` to be the first working one!
2021-10-01 10:28:58 +01:00
Daniel Haight 2af7ba5c07 Update podfile.lock on example project 2021-10-01 03:14:07 +01:00
Daniel Haight 12860ea2f6 Add support for M1 macs to cocoapods integration
Previously, the script would build for the `x86_64-apple-ios` whenever building for the `iphonesimulator` platform,
however, M1 macs introduce a new target architecture for the iOS Simulator, `aarch64-apple-ios-sim`.

Luckily the (now three) targets can be uniquely determined by the combination of the $PLATFORM_NAME + the architecture of the host computer.

Unfortunately This new architecture is currently only supported by the nightly toolchain,
so we must update the build command accordingly.

Since a build only requires one target architecture for `librustzcash` we can drop the `cargo-lipo` dependency,
which makes the resulting build command easier.

Using nightly broke some `num-bigint` dependencies, so we update these to a compatible patch version.
2021-10-01 03:14:07 +01:00
Daniel Haight 33a4654208 Remove EXCLUDED_ARCHS setting
We no longer want to exclude arm64 for simulator SDKs as this excludes simulators running on M1 machines
2021-09-28 18:14:47 +01:00
Francisco Gindre 14af5dc24f
Merge pull request #314 from adamstener/Swiftlint-Tests
SwiftLint Enabled on Test Folder
2021-09-28 10:54:31 -03:00
Adam Stener 78b1f937ba SwiftLint Enabled on Test Folder 2021-09-28 05:33:08 -05:00
Francisco Gindre db5f02dbf9
Merge pull request #315 from adamstener/develop/adam/build-settings
Xcode Update to latest settings
2021-09-27 17:44:47 -03:00
Adam Stener 054ab3936a Remove build setting warning 2021-09-27 07:15:34 -05:00
Francisco Gindre 80ee63c17e
Merge pull request #313 from adamstener/develop/adam/swiftlint
SwiftLint Fixes
2021-09-21 12:31:10 -03:00
Adam Stener ae5b3cfc21 SwiftLint Fixes 2021-09-21 06:27:49 -05:00
Francisco Gindre 451ff5143f
Merge pull request #312 from zcash/manual-testing-documentation
Update manual testing steps
2021-09-20 08:47:19 -03:00
Carter Jernigan a63e8d20b6
Update manual testing steps 2021-09-18 08:09:55 -04:00
Francisco Gindre ed409f502b
Merge pull request #304 from adamstener/developer/adam/readme
README Updates
2021-09-16 16:46:39 -03:00
Francisco Gindre 997a265f6e
Merge pull request #308 from zcash/fix-ci
shadowing confuses compiler
2021-09-16 16:45:50 -03:00
Francisco Gindre 147d25d09d shadowing confuses compiler 2021-09-16 10:57:09 -03:00
Francisco Gindre 96151bd7d0
Merge pull request #303 from zcash/enhancements/linting
Initial setup code review, lint and coding guidelines
2021-09-15 10:00:32 -03:00
Francisco Gindre b1a0b01673 Clear SwiftLint on ZcashLightClientKit 2021-09-15 09:21:29 -03:00
Francisco Gindre 185cbb4b91 Tweak swiftlint rules 2021-09-15 09:21:13 -03:00
Francisco Gindre edae717848 PR review changes on MD files 2021-09-15 08:53:37 -03:00
adam b9dede6ff0 README Updates 2021-09-15 06:53:23 -05:00
Francisco Gindre 23000d6306 Initial setup code review, lint and coding guidelines
- bug report template
- feature request template
- ux report template
- Architecture readme
- swiftlint according to secant wallet
- local coverage information
- manual testing documentation
2021-09-14 11:39:14 -03:00
Francisco Gindre 80a30be6df
Merge pull request #299 from zcash/release/0.12.0-beta.4
Release/0.12.0 beta.4
2021-09-13 17:49:54 -03:00
Francisco Gindre bf17bcf004 0.12.0-beta.4 2021-09-01 19:07:56 -03:00
Francisco Gindre c14ec29b0e update cargo references. point to commit 2021-09-01 16:46:22 -03:00
Francisco Gindre ce2933ae35 Fix: add parameter to ensure 10 confs when shielding. 2021-08-30 12:15:00 -03:00
Francisco Gindre 089e5659a2 [WIP] fix autoshielding confirmations 2021-08-27 20:04:23 -03:00
Francisco Gindre 38eb76fece
Merge pull request #294 from zcash/enhancements/syncing
0.12.0-beta.2
2021-08-19 20:12:38 -03:00
Francisco Gindre f5f2661276 Add test to verify z2t transactions are reported in transactions found 2021-08-04 14:14:15 -03:00
Francisco Gindre b13136792a bump version 2021-08-02 20:57:29 -03:00
Francisco Gindre 16c50749c2 Fix: Issue #293 MaxAttemptsReached error surfaces when it's actually dismissable and the wallet is working fine 2021-08-02 20:50:05 -03:00
Francisco Gindre 7d8ed7c71e Add test to verify that a checksum invalid t-address fails to validate. 2021-08-02 13:03:57 -03:00