Commit Graph

5537 Commits

Author SHA1 Message Date
Arya b365c9d173 adds test for semantic validation 2024-11-15 20:41:23 -05:00
Arya 62bfef3fe0 adds test for issuance check 2024-11-15 19:40:30 -05:00
Arya 3f7e68af69 adds import 2024-11-15 18:13:17 -05:00
Arya e040ae0ee1 Merge remote-tracking branch 'QED-it/zsa-integration-block-test' into zsa-issued-assets-tests 2024-11-15 17:57:43 -05:00
Arya e063729bcd Adds documentation to types and methods in `asset_state` module, fixes several bugs. 2024-11-15 17:52:49 -05:00
Arya 8f26a89151 fixes finalization checks 2024-11-13 22:58:10 -05:00
Arya 9e0e043175 Fixes tests by computing an `IssuedAssetsChange` for conversions to CheckpointVerifiedBlock 2024-11-13 22:17:01 -05:00
Arya c6c099b20c Updates AssetState, AssetStateChange, IssuedAssetsOrChange, & SemanticallyVerifiedBlock types, updates `IssuedAssetsChange::from_transactions()` method return type 2024-11-13 21:45:23 -05:00
Arya 2daf84f6a6 adds new column family to list of state column families 2024-11-12 03:24:04 -05:00
Arya 3d00b81268 Adds issued assets map to non-finalized chains 2024-11-12 02:48:15 -05:00
Arya bb62c67ba0 Adds `issued_assets` fields on `ChainInner` and `ContextuallyValidatedBlock` 2024-11-12 02:07:43 -05:00
Arya c7116f33b1 Validates issuance actions and burns before committing blocks to a non-finalized chain. 2024-11-12 01:56:15 -05:00
Arya cc8bc0da97 Adds issued assets to the finalized state 2024-11-12 01:07:20 -05:00
Arya 1af120ea98 Defines and implements the issued asset state types 2024-11-12 01:07:00 -05:00
Dmitry Demin 4855c25724 Add more checks after deserializing issuance block in issuance_block test 2024-11-11 22:02:36 +01:00
Dmitry Demin c3a8583903 Add a method to return the inner value (IssueBundle) of IssueData wrapper 2024-11-11 21:59:31 +01:00
Dmitry Demin c6a3dd48d2 Add a test vector with an issuance block to orchard_zsa module, also add issuance_block test function there (now it simply deserialized issuance block from the test vector to check if deserialization functions work properly) 2024-11-11 21:34:43 +01:00
Dmitry Demin 408c15531e Add a value for Nu7 to CONSENSUS_BRANCH_IDS (a placeholder values for now - the same as used in librustzcash to make it possible to run tests) 2024-11-11 21:32:03 +01:00
Dmitry Demin 46f81bcf47 Fix TX_V6_VERSION_GROUP_ID constant value to adjust it with the value used in librustzcash 2024-11-11 21:30:12 +01:00
Dmitry Demin 22349e59c4 Add ENABLE_ZSA flag to Flags for the orchard ShieldedData 2024-11-11 21:28:36 +01:00
Dmitry Demin ce6c5c36ff Fix the orchard::ShieldedData serialization/deserialization functions to use the correct order of the asset burn field in V6 transaction as it's defined in ZIP 230 2024-11-11 21:27:27 +01:00
Dmitry Demin 3cce4894d0 Refactor orchard_zsa modules to use IssueBundle serialization functions from librustzcash/zcash_primitives instead of reimplementing them 2024-11-11 21:23:31 +01:00
Dmitry Demin 50680a6868 Merge branch 'zsa-integration-nu7' into zsa-integration-block-test 2024-11-11 20:01:20 +01:00
Dmitry Demin 9ad18a4582 Modify Transaction::orchard_note_commitments method to not use match_orchard_shielded_data macro from the reverted commit 2024-11-04 13:56:23 +01:00
Dmitry Demin c9c79e63d5 Revert "Introduce match_orchard_shielded_data macro in transaction.rs and refactor orchard_shielded_data_iter and orchard_shielded_data_field macros to use it"
This reverts commit 2587b043eb.
2024-11-04 12:50:49 +01:00
Dmitry Demin 714e6314f6 Add IssueData::note_commitments and use it in Transaction::orchard_note_commitments to merge Orchard ZSA issuance note commitments for V6 transactions 2024-11-03 19:59:03 +01:00
Dmitry Demin 7447d452e1 Expose Burn, NoBurn, and IssueData from orchard_zsa module directly 2024-11-03 19:58:47 +01:00
Dmitry Demin 2587b043eb Introduce match_orchard_shielded_data macro in transaction.rs and refactor orchard_shielded_data_iter and orchard_shielded_data_field macros to use it 2024-11-03 19:58:24 +01:00
Dmitry Demin 5076910e3d Merge branch 'zsa-integration-generics' into zsa-integration-proptest 2024-10-30 10:22:34 +01:00
Dmitry Demin c7cd215148 Merge branch 'zsa-integration-txv6' into zsa-integration-generics 2024-10-30 10:22:12 +01:00
Dmitry Demin d0ecf966d0 Merge branch 'zsa-integration-zsadeps' into zsa-integration-nu7 2024-10-30 10:17:27 +01:00
Dmitry Demin 9e5a01cab7 Merge branch 'zsa-integration-zsadeps' into zsa-integration-txv6 2024-10-30 10:16:33 +01:00
Dmitry Demin ab9a2b5460 Add support for processing ZSA orchard_shielded_data in zebra_state 2024-10-30 10:15:30 +01:00
Dmitry Demin 8c76592fa0 Use zsa1 branch for librustzcash crates 2024-10-29 16:21:32 +01:00
Dmitry Demin 1c061e9a95 Update Cargo.lock 2024-10-29 16:07:05 +01:00
Dmitry Demin 0e14637367 Merge branch 'zsa-integration-generics' into zsa-integration-proptest 2024-10-29 15:22:19 +01:00
Dmitry Demin 6b22fba8f3 Merge branch 'zsa-integration-txv6' into zsa-integration-generics 2024-10-29 15:21:28 +01:00
Dmitry Demin f90a10f230 Merge branch 'zsa-integration-zsadeps' into zsa-integration-txv6 2024-10-29 15:19:35 +01:00
Dmitry Demin 24f5e85c47 Merge branch 'zsa-integration-zsadeps' into zsa-integration-nu7 2024-10-29 15:18:16 +01:00
Dmitry Demin c6f8913c0a Restore the names of ci-*.yml files )i.e. non GCP/Firebase/Docker/deploy related workflows (add .disabled suffix to their .yml files) 2024-10-29 15:07:21 +01:00
Dmitry Demin 6b43dd1950 Trigger CI 2024-10-29 15:02:32 +01:00
Dmitry Demin 9f55f355ca Disable GCP/Firebase/Docker/deploy related workflows (add .disabled suffix to their .yml files) 2024-10-29 14:55:15 +01:00
Dmitry Demin e294837071 Set Rust cfg zcash_unstable to nu6 in .cargo/config.toml 2024-10-29 14:52:10 +01:00
Dmitry Demin 77e9d4dd2b Merge branch 'zsa1' into zsa-integration-zsadeps-old 2024-10-29 14:38:50 +01:00
Dmitry Demin 0dce1a4441 Add RUSTDOCFLAGS to ci-basic.yml 2024-10-29 14:36:47 +01:00
Dmitry Demin 2e9c089b10 Adjust the code with librustzcash/zcash_protocol nu6 related changes 2024-10-29 14:36:46 +01:00
Dmitry Demin 61f9f95899 Enable nu6 cfg flag in ci-basic.yml 2024-10-29 14:36:00 +01:00
Dmitry Demin 925e81a79d Run ci-basic.yml on ubuntu-24.04 2024-10-29 14:36:00 +01:00
Dmitry Demin 9a8d37eb0b Try to use librocksdb-dev in ci-basic.yml 2024-10-29 14:36:00 +01:00
Dmitry Demin 769588293a Add installing of build-essential to ci-basic.yml 2024-10-29 14:36:00 +01:00