diff --git a/zebra-state/proptest-regressions/service/check/tests/utxo.txt b/zebra-state/proptest-regressions/service/check/tests/utxo.txt new file mode 100644 index 00000000000..c4918636257 --- /dev/null +++ b/zebra-state/proptest-regressions/service/check/tests/utxo.txt @@ -0,0 +1,10 @@ +# Seeds for failure cases proptest has generated in the past. It is +# automatically read and these particular cases re-run before any +# novel cases are generated. +# +# It is recommended to check this file in to source control so that +# everyone who runs the test benefits from these saved cases. +cc e269485ce65fc50f093f8d979c5afb233709e0c18e56ab419afb065c2e0bf854 # shrinks to output = zebra_chain::transparent::Output, mut prevout_input = zebra_chain::transparent::Input, use_finalized_state = false +cc 2639971d2f0cad4354fa6a4b00f8d588e04638c33d884f8d31ca6b09e43a31d9 # shrinks to output = zebra_chain::transparent::Output, mut prevout_input = zebra_chain::transparent::Input, use_finalized_state_output = false, mut use_finalized_state_spend = false +cc 59045504569e389f48e0f8d1b7938e5fdfed84e1ba83af25c18df8300086788c # shrinks to unused_output = zebra_chain::transparent::Output, prevout_input = zebra_chain::transparent::Input +cc 65bbd1a767ce94e046fbab250fc8b9c8f3acc52bf9d032c9f198347052b62775 # shrinks to output = zebra_chain::transparent::Output, mut prevout_input = zebra_chain::transparent::Input diff --git a/zebra-state/proptest-regressions/service/finalized_state/tests/prop.txt b/zebra-state/proptest-regressions/service/finalized_state/tests/prop.txt new file mode 100644 index 00000000000..5339d318d3b --- /dev/null +++ b/zebra-state/proptest-regressions/service/finalized_state/tests/prop.txt @@ -0,0 +1,7 @@ +# Seeds for failure cases proptest has generated in the past. It is +# automatically read and these particular cases re-run before any +# novel cases are generated. +# +# It is recommended to check this file in to source control so that +# everyone who runs the test benefits from these saved cases. +cc 933c998cd42e62c9b80ceae375981200f1039e493262f7d931d973900c75812e # shrinks to (chain, count, network, _history_tree) = (alloc::vec::Vec, len=104, 2, Mainnet, HistoryTree(None)) diff --git a/zebra-state/proptest-regressions/service/tests.txt b/zebra-state/proptest-regressions/service/tests.txt index 2aa3a91ef35..569e8416a92 100644 --- a/zebra-state/proptest-regressions/service/tests.txt +++ b/zebra-state/proptest-regressions/service/tests.txt @@ -5,3 +5,5 @@ # It is recommended to check this file in to source control so that # everyone who runs the test benefits from these saved cases. cc 37aea4b0880d7d9029ea4fad0136bd8553f81eea0435122737ec513f4f6fb73c # shrinks to (network, nu_activation_height, chain) = (Mainnet, Height(1046400), alloc::vec::Vec>>, len=101) +cc 1a833b934966164ec7170c4bbdd7c48723ac0c873203af5f7880539ff1c095bf # shrinks to (network, finalized_blocks, non_finalized_blocks) = (Mainnet, alloc::vec::Vec, len=2, alloc::vec::Vec, len=9) +cc 5fe3b32843194422a1ed411c7187c013d0cfd5c5f4a238643df1d5a7decd12c0 # shrinks to (network, finalized_blocks, non_finalized_blocks) = (Mainnet, alloc::vec::Vec, len=2, alloc::vec::Vec, len=9) diff --git a/zebra-state/src/service/finalized_state/disk_format/transparent.rs b/zebra-state/src/service/finalized_state/disk_format/transparent.rs index 2a8ca45ee39..5766c81c441 100644 --- a/zebra-state/src/service/finalized_state/disk_format/transparent.rs +++ b/zebra-state/src/service/finalized_state/disk_format/transparent.rs @@ -111,7 +111,7 @@ impl FromDisk for OutputIndex { } impl IntoDisk for OutputLocation { - type Bytes = [u8; 8]; + type Bytes = [u8; 36]; fn as_bytes(&self) -> Self::Bytes { let hash_bytes = self.hash.as_bytes().to_vec();