adds new column family to list of state column families

This commit is contained in:
Arya 2024-11-12 03:24:04 -05:00
parent 3d00b81268
commit 2daf84f6a6
10 changed files with 13 additions and 1 deletions

View File

@ -20,7 +20,10 @@ pub struct AssetState {
}
/// A change to apply to the issued assets map.
// TODO: Reference ZIP
// TODO:
// - Reference ZIP
// - Make this an enum of _either_ a finalization _or_ a supply change
// (applying the finalize flag for each issuance note will cause unexpected panics).
#[derive(Copy, Clone, Default, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct AssetStateChange {
/// Whether the asset should be finalized such that no more of it can be issued.

View File

@ -91,6 +91,7 @@ pub const STATE_COLUMN_FAMILIES_IN_CODE: &[&str] = &[
"orchard_anchors",
"orchard_note_commitment_tree",
"orchard_note_commitment_subtree",
"orchard_issued_assets",
// Chain
"history_tree",
"tip_chain_value_pool",

View File

@ -12,6 +12,7 @@ expression: cf_names
"height_by_hash",
"history_tree",
"orchard_anchors",
"orchard_issued_assets",
"orchard_note_commitment_subtree",
"orchard_note_commitment_tree",
"orchard_nullifiers",

View File

@ -5,6 +5,7 @@ expression: empty_column_families
[
"balance_by_transparent_addr: no entries",
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",

View File

@ -4,6 +4,7 @@ expression: empty_column_families
---
[
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",

View File

@ -4,6 +4,7 @@ expression: empty_column_families
---
[
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",

View File

@ -11,6 +11,7 @@ expression: empty_column_families
"height_by_hash: no entries",
"history_tree: no entries",
"orchard_anchors: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_note_commitment_tree: no entries",
"orchard_nullifiers: no entries",

View File

@ -5,6 +5,7 @@ expression: empty_column_families
[
"balance_by_transparent_addr: no entries",
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",

View File

@ -4,6 +4,7 @@ expression: empty_column_families
---
[
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",

View File

@ -4,6 +4,7 @@ expression: empty_column_families
---
[
"history_tree: no entries",
"orchard_issued_assets: no entries",
"orchard_note_commitment_subtree: no entries",
"orchard_nullifiers: no entries",
"sapling_note_commitment_subtree: no entries",