contract: WIP implementation of generic test harness for native contracts.

This commit is contained in:
parazyd
2023-06-14 02:32:56 +02:00
parent b36861fa1d
commit a2ddbcd4f8
10 changed files with 871 additions and 0 deletions

20
Cargo.lock generated
View File

@@ -1355,6 +1355,25 @@ dependencies = [
"thiserror",
]
[[package]]
name = "darkfi-contract-test-harness"
version = "0.4.1"
dependencies = [
"blake3",
"bs58",
"darkfi",
"darkfi-consensus-contract",
"darkfi-dao-contract",
"darkfi-deployooor-contract",
"darkfi-money-contract",
"darkfi-sdk",
"darkfi-serial",
"log",
"rand",
"simplelog",
"sled",
]
[[package]]
name = "darkfi-dao-contract"
version = "0.4.1"
@@ -1413,6 +1432,7 @@ dependencies = [
"bs58",
"chacha20poly1305",
"darkfi",
"darkfi-contract-test-harness",
"darkfi-sdk",
"darkfi-serial",
"getrandom",