Commit Graph

17276 Commits

Author SHA1 Message Date
cd54b90ae6 Update Cargo.lock 2022-01-05 16:04:32 -08:00
ab13e39518 Only sum accounts data len from non-zero lamport accounts (#22309) 2022-01-05 23:23:37 +00:00
f2ed6f09ee Skip updating already cached executors if unmodified 2022-01-05 16:08:10 -07:00
959ea26816 Re-enable LTO (#22287)
LTO seems to work fine now. It was possibly fixed by either the LLVM13 upgrade
or by b2ed47a925,
which fixed a LTO issue with tests.
2022-01-06 09:16:50 +11:00
bb3a1b6b31 Add zk_token_sdk_enabled feature to gate Zk Token proof program and sol_zk_token_elgamal_op syscalls 2022-01-05 11:57:37 -08:00
98e7fada15 Bump generic-array from 0.14.4 to 0.14.5 (#22297)
* Bump generic-array from 0.14.4 to 0.14.5

Bumps [generic-array](https://github.com/fizyk20/generic-array) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/fizyk20/generic-array/releases)
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fizyk20/generic-array/commits)

---
updated-dependencies:
- dependency-name: generic-array
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-01-05 12:01:15 -07:00
69e632a337 Adapt zk-token-{sdk,proof-program} for use in the monorepo 2022-01-05 08:51:18 -08:00
e1848ecbcc Cargo.lock 2022-01-05 08:51:18 -08:00
a9b0309c1f Update to Rust 2021 edition 2022-01-05 08:51:18 -08:00
a08e3760d8 Update to Solana 1.9.1 2022-01-05 08:51:18 -08:00
f2e7f0c32b Adapt to changes to native program entrypoint 2022-01-05 08:51:18 -08:00
9c88f8205b Update to Solana 1.9.0 2022-01-05 08:51:18 -08:00
d5196046dd remove UpdateAccountPk instruction 2022-01-05 08:51:18 -08:00
39e0c19b4b Update to Solana 1.7.15 2022-01-05 08:51:18 -08:00
11cac460aa Consume compute units since proof verification is an expensive operation 2022-01-05 08:51:18 -08:00
62b6eafd7c Prevent proof program from being invoked as an inner instruction 2022-01-05 08:51:18 -08:00
af80203522 Merge transfer instructions 2022-01-05 08:51:18 -08:00
6cdb94ccc5 Rename crypto crate to sdk 2022-01-05 08:51:18 -08:00
c38309791b Update to Solana 1.7.13 2022-01-05 08:51:18 -08:00
f1345c7bb3 Merge sdk/ back into crypto/ 2022-01-05 08:51:18 -08:00
d5472faa96 Add demo cli 2022-01-05 08:51:18 -08:00
b902ee6ad5 Adjust crate names 2022-01-05 08:51:18 -08:00
b1be9a7907 Move solana-specific parts of crypto/ into sdk/ 2022-01-05 08:51:18 -08:00
b96e07d161 Drop 'With' from TransferRangeProof/TransferValidityProof 2022-01-05 08:51:18 -08:00
0e8aa331ad Add transfer proof-program instructions 2022-01-05 08:51:18 -08:00
dc52817408 Rework bytemuck dependencies for monorepo compatibility 2022-01-05 08:51:18 -08:00
6ba3f4dc6d Add WithdrawData proof program plumbing 2022-01-05 08:51:18 -08:00
8b15d7bc28 Add CloseAccountData proof program plumbing 2022-01-05 08:51:18 -08:00
00fa5a93b8 Rename some files 2022-01-05 08:51:18 -08:00
1a254ec098 feat: use proper constructor syntax for inner product 2022-01-05 08:51:18 -08:00
5b41d62f8a feat: fix clippy for new error types 2022-01-05 08:51:18 -08:00
0944abc0e2 feat: update error types for sdk 2022-01-05 08:51:18 -08:00
1cbcda71cb feat: add separate error types for sigma proofs 2022-01-05 08:51:18 -08:00
7439d2424b feat: add a separate TranscriptError 2022-01-05 08:51:18 -08:00
a211fe1cf4 feat: add errors for range proof module 2022-01-05 08:51:18 -08:00
e1d3883893 feat: clean up range proof constructor 2022-01-05 08:51:18 -08:00
826c3bee4a feat: add verification for fee proof 2022-01-05 08:51:18 -08:00
e561fbc25a feat: add test for fee proof 2022-01-05 08:51:18 -08:00
bc7ac42f2a feat: proof generation for max and equality proof 2022-01-05 08:51:18 -08:00
601247d958 feat: add zk-proof certifying that a ciphertext encrypts specified max fee value 2022-01-05 08:51:18 -08:00
beb95c4884 Allow publish 2022-01-05 08:51:18 -08:00
08ef612361 refactor: add mod.rs for sigma_proofs 2022-01-05 08:51:18 -08:00
584c63bcc4 refactor: CloseAccount now uses zero-balance-proof 2022-01-05 08:51:18 -08:00
c26fa1d0e9 refactor: create pod struct for ZeroBalanceProof 2022-01-05 08:51:18 -08:00
208621e3cf refactor: create a separate zero-balance-proof for CloseAccount instruction 2022-01-05 08:51:18 -08:00
c6cd0a5591 refactor: group equality and validity proofs in sigma_proofs module 2022-01-05 08:51:18 -08:00
e011502875 Update to Rust 2021 edition 2022-01-05 08:51:18 -08:00
8ee07cd5c6 Update to Solana 1.9.1 2022-01-05 08:51:18 -08:00
31737406da Adapt to changes to native program entrypoint 2022-01-05 08:51:18 -08:00
93860e88d2 Update to Solana 1.9.0 2022-01-05 08:51:18 -08:00