Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
---
source: stackslib/src/chainstate/tests/static_analysis_tests.rs
expression: result
---
[
Success(ExpectedBlockOutput(
marf_hash: "4cca742df63dfae2a6082353ebd9528d316f13ae99fb29442bb8e53cc7342565",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-map-type-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: invalid map definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
),
],
total_block_cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "20140d78c081fb88aa6389b2a11c24b3f98e14832df47562e52210c5145d91cb",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-map-type-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: invalid map definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
),
],
total_block_cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "00c123e8a822408dad4879b7e9d4158887a1d2750862ed15d3b34cc4cd7cc70b",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-map-type-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: invalid map definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
),
],
total_block_cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "6feebdbc00848565df5f577460dcf3937f5518e4eb91d228d73d5ed09d3cb8b6",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-map-type-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: invalid map definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
),
],
total_block_cost: ExecutionCost(
write_length: 10,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1372,
),
)),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
---
source: stackslib/src/chainstate/tests/static_analysis_tests.rs
expression: result
---
[
Success(ExpectedBlockOutput(
marf_hash: "4865d7980ca587867066c6e012ef04e079a89b2e97ef78d3a2248b34c38e3f41",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: constructed-list-large-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: reached limit of elements in a sequence) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7437,
),
),
],
total_block_cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7437,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "69fae186776e92cf6946ed6a4a83c28d0024e0390278df6e68a69e09482d16e7",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: constructed-list-large-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: reached limit of elements in a sequence) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
),
],
total_block_cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "535d3cb64b5043bc386984fce0b0e71ad7c2f703b2f4a91bac5865227642b788",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: constructed-list-large-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: reached limit of elements in a sequence) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
),
],
total_block_cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "7b61f5697e66a568a248c80b83cae3df329c6ef279c3076d441c5d833b71c898",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: constructed-list-large-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: reached limit of elements in a sequence) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
),
],
total_block_cost: ExecutionCost(
write_length: 29,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7436,
),
)),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
---
source: stackslib/src/chainstate/tests/static_analysis_tests.rs
expression: result
---
[
Success(ExpectedBlockOutput(
marf_hash: "b3b9782ccbe1bf3a66f1c34fe50c83c418fd9d6265761b0a82ffe9950dc8e30f",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: serialization-type-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: use of unresolved function \'to-consensus-buff?\') [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 7374,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 7374,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "32e8a7c15c537c7cbffb74e28705816f8c607bd37d5b2fe9db78f24c697d506f",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: serialization-type-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: could not determine the input type for the serialization function) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
),
],
total_block_cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "a9b3550d29aff9a7a271ee1cb981e4bb3e1948d49026511cc8183fbe2aaeb8af",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: serialization-type-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: could not determine the input type for the serialization function) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
),
],
total_block_cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "a390adec582f30b5d9b8cb0dec54acb082db7823cd7d55a11992fda3f5f96479",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: serialization-type-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: could not determine the input type for the serialization function) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
),
],
total_block_cost: ExecutionCost(
write_length: 41,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 7759,
),
)),
]
Loading
Loading