Skip to content
Open
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: "9a7b61f181ef8592a441f9ecc91bbc12f9a1793cfbec3513e4721f18d67d759c",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-let-syntax-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: invalid syntax of \'let\') [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: 396,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 396,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "bd7f849c2ca3f82215077ff231c5b9ab2aabab13ffe6dde893ac874934486e89",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-let-syntax-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: invalid syntax of \'let\') [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: 396,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 396,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "b9892b671586d1a137bce485d61a9413be9835ac270bc2b9d8e012d14148cda6",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-let-syntax-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: invalid syntax of \'let\') [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: 396,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 396,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "88bca3a73fff95a22e4108e03d3e75b391b62baca8ea07fbed2f76889b099110",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-let-syntax-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: invalid syntax of \'let\') [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: 396,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 396,
),
)),
]
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: "5757a72059ef9758e18238aad508b3c505548d4ec91c188b0331abbf516231e2",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-syntax-binding-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: invalid syntax binding: Let-binding item #1 is not a two-element list) [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: 666,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 666,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "23abed8e414c422c7eaaf6981863e16f9e36f83e6588787e3b366d45a476d380",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-syntax-binding-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: invalid syntax binding: Let-binding item #1 is not a two-element list) [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: 666,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 666,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "32a47e26e9953fa3451bfcdf8ba00395b5d574b6e6472f8458774c3b29959ab4",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-syntax-binding-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: invalid syntax binding: Let-binding item #1 is not a two-element list) [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: 666,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 666,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "1cf5ce609cb847dd7558af25d631a1a12549c1ac377527d15fcb2a9db607aa0d",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: bad-syntax-binding-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: invalid syntax binding: Let-binding item #1 is not a two-element list) [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: 666,
),
),
],
total_block_cost: ExecutionCost(
write_length: 0,
write_count: 0,
read_length: 0,
read_count: 0,
runtime: 666,
),
)),
]
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: "f80d8825cf580fda2e36a975d7c02e0c227051a0f56ae0ee50ede8ea2e4266fb",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: def-trait-bad-sign-Epoch3_3-Clarity1, code_body: [..], clarity_version: Some(Clarity1))",
vm_error: "Some(:0:0: invalid trait definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
),
],
total_block_cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "13cfd665a9fdb72caef26e86e8eb3697aa282c89e6aba8a08230aa50d7225dcb",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: def-trait-bad-sign-Epoch3_3-Clarity2, code_body: [..], clarity_version: Some(Clarity2))",
vm_error: "Some(:0:0: invalid trait definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
),
],
total_block_cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "c4f2a04a75fcf53d1e4d31f6d308b026e00eb60f56e3f621536ce9e6754b2c2b",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: def-trait-bad-sign-Epoch3_3-Clarity3, code_body: [..], clarity_version: Some(Clarity3))",
vm_error: "Some(:0:0: invalid trait definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
),
],
total_block_cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
)),
Success(ExpectedBlockOutput(
marf_hash: "345cd8885c37d1ac1c4e261aab67cd0e620d5edc5c13cdaa59948a9d9f21fa07",
evaluated_epoch: Epoch33,
transactions: [
ExpectedTransactionOutput(
tx: "SmartContract(name: def-trait-bad-sign-Epoch3_3-Clarity4, code_body: [..], clarity_version: Some(Clarity4))",
vm_error: "Some(:0:0: invalid trait definition) [NON-CONSENSUS BREAKING]",
return_type: Response(ResponseData(
committed: false,
data: Optional(OptionalData(
data: None,
)),
)),
cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
),
],
total_block_cost: ExecutionCost(
write_length: 9,
write_count: 1,
read_length: 1,
read_count: 1,
runtime: 1397,
),
)),
]
Loading
Loading