From ddef61a8551ba89db68e0db7346aae54a9f53839 Mon Sep 17 00:00:00 2001 From: Kasey White Date: Fri, 10 Feb 2023 19:45:44 -0500 Subject: [PATCH] fix: blueprint tests --- .../aiken-project/src/blueprint/validator.rs | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/crates/aiken-project/src/blueprint/validator.rs b/crates/aiken-project/src/blueprint/validator.rs index 587a853b..528a79fe 100644 --- a/crates/aiken-project/src/blueprint/validator.rs +++ b/crates/aiken-project/src/blueprint/validator.rs @@ -311,12 +311,12 @@ mod test { json!({ "title": "test_module", "purpose": "mint", - "hash": "69eb6e27b7098c51cef74d8929553456e0ff6748c50a08c0daae7986", + "hash": "afddc16c18e7d8de379fb9aad39b3d1b5afd27603e5ebac818432a72", "redeemer": { "title": "Data", "description": "Any Plutus data." }, - "compiledCode": "4f010000322253330034a22930b2b9a1" + "compiledCode": "583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881" }), ); } @@ -332,7 +332,7 @@ mod test { json!({ "title": "test_module", "purpose": "mint", - "hash": "90592520b329fe08f0e93946ecd405e49b7480795e27cb618f002d88", + "hash": "a82df717fd39f5b273c4eb89ae5252e11cc272ac59d815419bf2e4c3", "parameters": [{ "title": "utxo_ref", "dataType": "integer" @@ -342,7 +342,7 @@ mod test { "title": "Data", "description": "Any Plutus data." }, - "compiledCode": "500100003222253330044a22930b2b9a01" + "compiledCode": "5840010000323232323232322322253330074a22930b1bad0013001001222533300600214984cc014c004c01c008ccc00c00cc0200080055cd2b9b5573eae855d101" }), ); } @@ -388,7 +388,7 @@ mod test { json!({ "title": "test_module", "purpose": "spend", - "hash": "90592520b329fe08f0e93946ecd405e49b7480795e27cb618f002d88", + "hash": "e37db487fbd58c45d059bcbf5cd6b1604d3bec16cf888f1395a4ebc4", "datum": { "title": "State", "description": "On-chain state", @@ -455,7 +455,7 @@ mod test { } ] }, - "compiledCode": "500100003222253330044a22930b2b9a01" + "compiledCode": "583b0100003232323232323222253330064a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae89" }), ); } @@ -471,7 +471,7 @@ mod test { json!({ "title": "test_module", "purpose": "spend", - "hash": "90592520b329fe08f0e93946ecd405e49b7480795e27cb618f002d88", + "hash": "3c6766e7a36df2aa13c0e9e6e071317ed39d05f405771c4f1a81c6cc", "datum": { "dataType": "#pair", "left": { @@ -484,7 +484,7 @@ mod test { "redeemer": { "dataType": "#string" }, - "compiledCode": "500100003222253330044a22930b2b9a01" + "compiledCode": "585501000032323232323232232232253330084a22930b1b99375c002646466ec0c024008c024004c024004dd6000980080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881" }), ) } @@ -500,7 +500,7 @@ mod test { json!({ "title": "test_module", "purpose": "spend", - "hash": "90592520b329fe08f0e93946ecd405e49b7480795e27cb618f002d88", + "hash": "f335ce0436fd7df56e727a66ada7298534a27b98f887bc3b7947ee48", "datum": { "title": "Tuple", "dataType": "#list", @@ -520,7 +520,7 @@ mod test { "title": "Data", "description": "Any Plutus data." }, - "compiledCode": "500100003222253330044a22930b2b9a01" + "compiledCode": "5840010000323232323232322322253330074a22930b1bac0013001001222533300600214984cc014c004c01c008ccc00c00cc0200080055cd2b9b5573eae855d101" }), ) } @@ -547,7 +547,7 @@ mod test { { "title": "test_module", "purpose": "withdraw", - "hash": "69eb6e27b7098c51cef74d8929553456e0ff6748c50a08c0daae7986", + "hash": "afddc16c18e7d8de379fb9aad39b3d1b5afd27603e5ebac818432a72", "redeemer": { "title": "Either", "anyOf": [ @@ -591,7 +591,7 @@ mod test { } ] }, - "compiledCode": "4f010000322253330034a22930b2b9a1" + "compiledCode": "583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881" } ), ) @@ -615,7 +615,7 @@ mod test { { "title": "test_module", "purpose": "mint", - "hash": "69eb6e27b7098c51cef74d8929553456e0ff6748c50a08c0daae7986", + "hash": "afddc16c18e7d8de379fb9aad39b3d1b5afd27603e5ebac818432a72", "redeemer": { "title": "Dict", "anyOf": [ @@ -638,7 +638,7 @@ mod test { } ] }, - "compiledCode": "4f010000322253330034a22930b2b9a1" + "compiledCode": "583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881" } ), ); @@ -662,7 +662,7 @@ mod test { { "title": "test_module", "purpose": "mint", - "hash": "69eb6e27b7098c51cef74d8929553456e0ff6748c50a08c0daae7986", + "hash": "afddc16c18e7d8de379fb9aad39b3d1b5afd27603e5ebac818432a72", "redeemer": { "title": "Dict", "dataType": "map", @@ -673,7 +673,7 @@ mod test { "dataType": "integer" } }, - "compiledCode": "4f010000322253330034a22930b2b9a1" + "compiledCode": "583b010000323232323232322253330054a22930b180080091129998030010a4c26600a6002600e0046660060066010004002ae695cdaab9f5742ae881" } ), );