Commit Graph

132 Commits

Author SHA1 Message Date
Alfredo Garcia ef2a7fdd5d
cargo release execute output for v0.16 (#149)
* chore: Release zcash_script version 0.1.16

* fix the date
2024-04-26 09:45:10 -03:00
Alfredo Garcia 06de015788
Bump v0.1.16 (#147)
* remove zcashd depend

* Squashed 'depend/zcash/' content from commit 1408e23f0

git-subtree-dir: depend/zcash
git-subtree-split: 1408e23f00fa49ca5f86d2c7ebeb5d120603aa4c

* delete cargo, update and apply patch

* update dependencies

* fix compiling issue by updating lib.rs

* update `cc`

* update `cxx-gen`

* add changeloig entry

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2024-04-26 11:51:51 +02:00
Alfredo Garcia faed93224e
Bump the release v0.1.15 (#146)
* chore: Release zcash_script version 0.1.15

* update date
2024-04-19 11:48:41 -03:00
Alfredo Garcia 084da225db
Release v0.1.15 (#141)
* remove current zcash

* Squashed 'depend/zcash/' content from commit 889162ccf

git-subtree-dir: depend/zcash
git-subtree-split: 889162ccf3e0c2de4fda7aceec35dc3769c19131

* apply patch

* update dependencies
2024-04-17 15:41:59 -03:00
Conrado Gouvea cf9e0d26cf
Restore Windows support with MSVC (#108)
* switch to MSVC, fixes to support it

* fix linking errors

* document how to patch zcash source

* update hash due to nightly breakage; don't use deprecated bindgen function

* update patch with str4d's upstream suggestion

---------

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-04-11 07:56:54 -03:00
Alfredo Garcia 6c2eb13d9f
Create the v0.1.14 release - 2nd attempt (#110)
* update the changelog

* chore: Release zcash_script version 0.1.14

* remove duplicated
2023-10-18 15:39:20 -03:00
dependabot[bot] 4f678c97f5
Bump cxx-gen from 0.7.107 to 0.7.109 (#105)
Bumps [cxx-gen](https://github.com/dtolnay/cxx) from 0.7.107 to 0.7.109.
- [Release notes](https://github.com/dtolnay/cxx/releases)
- [Commits](https://github.com/dtolnay/cxx/commits)

---
updated-dependencies:
- dependency-name: cxx-gen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-10-17 17:29:05 -03:00
Alfredo Garcia 3fdf588c23
v0.1.14 release (#102)
* rm zcash

* Squashed 'depend/zcash/' content from commit e08571476

git-subtree-dir: depend/zcash
git-subtree-split: e08571476d8a59d0a624da7b118ab8d8ad2a6246

* delete zcash/Cargo.toml

* update versions

* update build

* make sapling.rs work by renaming it and copying it to OUT_DIR

* cargo fmt

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-10-17 16:03:37 -03:00
Alfredo Garcia 36de9309bf
Allow clippy lint (#103)
* allow clippy lint

* Revert "allow clippy lint"

This reverts commit 6744ff1ca4.

* move allow clippy rule to lib.rs

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-10-17 09:26:34 -03:00
Alfredo Garcia 4b8643723a
Add Cargo.lock to the project (#96) 2023-09-18 10:51:36 +10:00
dependabot[bot] 5541e58d34
Bump actions/checkout from 3 to 4 (#92)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 12:02:38 -03:00
Arya b900ff4261
v0.1.13 release (#91)
* rm depend/zcash

* Squashed 'depend/zcash/' content from commit 00c2a2434

git-subtree-dir: depend/zcash
git-subtree-split: 00c2a2434e655d275c26986c8751793f4c98bb01

* rm depends/zcash/Cargo.toml

* updates Cargo.toml

* Updates Changelog

* add tl_expected.hpp

* Fix build

* add test-dependencies features to ecc deps

* add missing .c files from secp256k1

* chore: Release zcash_script version 0.1.13

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-07-07 14:06:27 -04:00
teor 62c83941ed Remove duplicate release instructions 2023-05-08 17:26:23 -04:00
teor 258900639b (cargo-release) version 0.1.12 2023-05-08 07:16:28 +10:00
teor 5cfaef7bbd
Upgrade zcash_script to zcashd v5.5.0 (#84)
* Update dependencies to match zcashd v5.5.0

* Update dependencies to match Zebra main branch

* Update release instructions

* Add module docs for the build script to avoid warnings

* Update bridge file list to match the latest zcashd

* Ignore some emacs temporary files

* Standardise directory include paths in Cargo.toml

* Add extra info to cxx_gen errors

* Add additional Rust dependencies needed to compile

* Ignore some expected clippy lints

* Silence a C compiler macro redefinition warning

* Standardise directory paths in build.rs

* fix cxxbridge code generation

* Update Cargo.lock

* Use include!() for bridge.rs

* Add a changelog entry for the next release

* Fix a warning by adding docs for the crate

* Remove previous depend/zcash

* Squashed 'depend/zcash/' content from commit eb80047476

git-subtree-dir: depend/zcash
git-subtree-split: eb80047476e9c0db3524f647d412faf8d4a584ee

* Update depend/zcash to v5.5.0

```sh
git subtree add -P depend/zcash https://github.com/zcash/zcash.git v5.5.0 --squash
git rm depend/zcash/Cargo.toml
```

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-05-05 09:55:41 -03:00
dependabot[bot] 27f9e77549
Bump actions/checkout from 1 to 3 (#44)
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 10:15:13 +10:00
teor b7ec9532e7
Add CI passing and PR review to the release instructions (#70) 2023-04-17 10:14:37 +10:00
Arya ed7b95b6da
v0.1.11 release (#69)
* Updates changelog

* chore: Release zcash_script version 0.1.11

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

---------

Co-authored-by: teor <teor@riseup.net>
2023-02-23 19:24:18 -05:00
teor 5cbddbdac8
Update dependencies to match Zebra (#67) 2023-02-24 10:05:55 +10:00
teor 2b2c666c04
Add extra dependency update steps to the README (#63)
* Add extra dependency update steps to the README

* Use correct dependency steps from Cargo.toml

* Explain how to make new dependencies work

* Simplify instructions

* Add "check all open PRs before releasing"

* Add "run cargo-release" to the release instructions

Co-authored-by: Arya <aryasolhi@gmail.com>

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
2023-02-24 09:08:01 +10:00
teor fb997ccf3f
Check if we still need the rustc_serialize dependency (#68) 2023-02-24 09:07:06 +10:00
teor e04ad0fd88
Upgrade to Rust 2021 edition (#64) 2023-02-24 07:55:45 +10:00
teor 07a39e32e6
Make dependencies automatically upgrade to match Zebra dependency versions (#66) 2023-02-24 07:47:27 +10:00
Arya 96a9b9026c
chore: Release zcash_script version 0.1.9 (cargo-release) (#62) 2023-02-23 16:08:17 -05:00
Arya b5a8622e6c
update changelog (#61) 2023-02-23 14:20:56 -05:00
Arya 76c0aa5dae
Update depends/zcash to 5.4.0 release (#60)
* delete previous version

* Squashed 'depend/zcash/' content from commit 774f2d8ed

git-subtree-dir: depend/zcash
git-subtree-split: 774f2d8eda62cc51990e0aa154f92f09ffba3873

* updates Cargo.toml
2023-02-17 13:36:49 -05:00
teor d352b0c971
Check for duplicate dependencies (#48) 2022-12-14 14:43:58 -03:00
teor ccd7185489
Activate dependabot on zcash_script (#43) 2022-12-06 14:20:45 -03:00
Marek b4a8aa2b82
Bump dependencies and release v0.1.8 (#41)
* Bump dependencies

* Bump `bindgen`

* Remove zcashd subtree

* Squashed 'depend/zcash/' content from commit 35186b009

git-subtree-dir: depend/zcash
git-subtree-split: 35186b00928f3ba994f0e66bb234c412cbffc7b6

* Update to zcashd v5.3.0

* Make dependency versions match zcashd v5.3.0

* Update README for Orchard, and make dependency bumps clearer

* Add release 0.1.8 to the CHANGELOG

Co-authored-by: teor <teor@riseup.net>
2022-10-31 08:53:25 +10:00
Conrado Gouvea 5266ac19b7
v0.1.7 release (#39)
* update changelog for v0.1.7

* (cargo-release) version 0.1.7
2022-08-31 19:16:10 -03:00
Conrado Gouvea bef75ee7bb
Update to zcash 5.2.0 (#37)
* delete previous version

* Squashed 'depend/zcash/' content from commit f98166f7f5

git-subtree-dir: depend/zcash
git-subtree-split: f98166f7f556ee9b9f597d45275c32843a87b0b6

* update to zcash 5.2.0

* remove Windows support for now, see #38
2022-08-23 05:40:55 +10:00
Conrado Gouvea c9fbc441ef
Use subtree again to allow publishing the crate (#34)
* change: update Cargo.toml, lib.rs, CHANGELOG.md for 0.1.6 release.

* Squashed 'depend/zcash/' content from commit 9af3bce26

git-subtree-dir: depend/zcash
git-subtree-split: 9af3bce265ba428382006b0940678418d65f505f

* fix: delete depend/zcash/Cargo.toml to prevent cargo from ignoring it

* ci: add cargo package test

* change(doc): explain the subtree / squash issue in README.md
2022-05-17 19:31:56 -03:00
Conrado Gouvea 2be4323142
change(doc): update CHANGELOG for 0.1.6 release (#33) 2022-05-16 19:17:44 -03:00
Conrado Gouvea 7704c1ee42
change: update dependencies for NU5 mainnet (matching zcashd 5.0.0) (#32) 2022-05-13 20:18:46 +02:00
Conrado Gouvea 98c74180ff
Update zcash to new V5 API; add tests (#30)
* update zcash to new V5 API; add tests

* try using x86_64-pc-windows-gnu on windows

* Expand README

* update zcash

* retrigger build

* update zcash to current nu5-consensus branch

* use Zcash v4.7.0
2022-04-18 15:28:54 -03:00
Conrado Gouvea 8c9bdb3a35 Revert "Add support for zcash_script_transparent_output_address() (#29)"
This reverts commit b7801e4027.
2022-03-03 12:04:47 -05:00
Conrado Gouvea b7801e4027
Add support for zcash_script_transparent_output_address() (#29)
* add support for zcash_script_transparent_output_address()

* try using x86_64-pc-windows-gnu on windows

* update zcash to version which returns address type
2022-03-03 10:52:35 -03:00
Alfredo Garcia 270d32d192
update bindgen (#28) 2022-01-18 11:58:04 -03:00
teor 5fdb9c76f7 depend/zcash submodule changes for script sigops 2021-11-15 09:03:09 +10:00
teor 4dfb28b679 Update error logs and README for submodules 2021-11-15 09:03:09 +10:00
Janito Vaqueiro Ferreira Filho 1caa29e975
Merge pull request #22 from jvff/update-zcash-to-support-v5-transactions
Update `libzcash_script` to include support for V5 transactions
2021-10-05 21:18:47 -03:00
Janito Vaqueiro Ferreira Filho 47d5d2c1bc Replace symbolic links with file inclusion
Update `depend/zcash` so that the `orchard_ffi` module has a root
`mod.rs` module file to fix an issue where Cargo can't find any
sub-modules.
2021-10-05 23:21:40 +00:00
Janito Vaqueiro Ferreira Filho 2e4cd75b0f Use a forked version of Zcash to build on Windows
Don't compile the `CurrentTxVersionInfo` function, because it requires
including some other code that won't be used by `zcash_script`.
2021-10-05 22:32:40 +00:00
Janito Vaqueiro Ferreira Filho 92d9c36c31 Ignore some more C++ warnings
Fix the compilation of the C++ files.
2021-10-05 15:28:44 +00:00
Janito Vaqueiro Ferreira Filho f5f4ab3c57 Include `memory_cleanse` helper function in build
Including the transaction FFI code requires this helper function to be
linked in.
2021-10-05 03:38:54 +00:00
Janito Vaqueiro Ferreira Filho 337f5eb182 Add missing FFI modules
New FFI modules required for `libzcash_script`.
2021-10-05 03:38:54 +00:00
Janito Vaqueiro Ferreira Filho 1765456794 Add `depend/zcash` as a submodule
Keep track of the remote with the changes and allow the directory to be
handled more easily as a separate repository.
2021-10-05 00:56:15 +00:00
Janito Vaqueiro Ferreira Filho 96e74e9e99 Remove depend/zcash entirely
`git subtree` wasn't working because it was missing commit `d94fe7678'.
Looking at the history, it seems like that commit became `fa1a57867`.
2021-10-05 00:52:10 +00:00
Janito Vaqueiro Ferreira Filho ffb4c0cb76
Merge pull request #23 from jvff/split-off-secp256k1-build
Build the `secp256k1` C files separately
2021-07-15 16:15:50 -03:00
Janito Vaqueiro Ferreira Filho ba8beb2dc0
Add comment to describe `/wd4100`
Make it easy to understand what it is without having the reader to look
it up.

Co-authored-by: teor <teor@riseup.net>
2021-07-15 08:43:46 -03:00