Skip to content

Commit c88e383

Browse files
authored
Merge pull request #99 from mlabs-haskell/euonymos/ms4-report
update MS4 report
2 parents 6cea49b + 93f0ba8 commit c88e383

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/catalyst_milestone_reports.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ Understanding state transitions and the overall system flow is critical for ensu
5353

5454
Catalyst Milestone Outputs:
5555

56-
* Plutarch on-chain code generation and optimisation ([PR](https://github.com/mlabs-haskell/cem-script/pull/94))
56+
* Static DSL for constraints and Plutarch on-chain code generation and optimisation ([PR#96](https://github.com/mlabs-haskell/cem-script/pull/96))
5757
* Profiling implementation ([PR](https://github.com/mlabs-haskell/cem-script/pull/95))
5858
* Profiling performed for old (using Plutus) and new (using Plutarch) code generator.
5959
New one showed advantage over first one in all fees measured, and in some cases in order of magntude.
60+
* A [video](https://drive.google.com/file/d/1720CsrdQFnpzA2ODDJuu6WK3thmEnE30/view?usp=sharing) that summarizes the outcomes achieved in the milestone.
6061

6162
## Profiling results
6263

@@ -121,7 +122,7 @@ Voting flow (fails exceeding Tx limits on second vote):
121122

122123
### New (Plutarch with user-defined Plutus logic pieces) backend
123124

124-
Auction:
125+
Auction:
125126

126127
```
127128
[ ( "BuyoutSpine"

test/Auction.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ import PlutusLedgerApi.V1.Value (assetClassValue)
1818
import Test.Hspec (describe, it, shouldBe)
1919

2020
import TestNFT (testNftAssetClass)
21-
import Utils (execClb, mintTestTokens, submitAndCheck)
21+
import Utils (execClb, mintTestTokens, submitAndCheck, perTransitionStats)
22+
import Text.Show.Pretty (ppShow)
2223

2324
auctionSpec = describe "AuctionSpec" $ do
2425
it "Serialise" $ do
@@ -226,3 +227,6 @@ auctionSpec = describe "AuctionSpec" $ do
226227
]
227228
, specSigner = bidder1
228229
}
230+
231+
stats <- perTransitionStats
232+
liftIO $ putStrLn $ ppShow stats

test/Voting.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@ votingSpec = describe "Voting" $ do
7979
, specSigner = creator
8080
}
8181

82+
stats <- perTransitionStats
83+
liftIO $ putStrLn $ ppShow stats
84+
8285
Just state <- queryScriptState params
8386
liftIO $ state `shouldBe` Finalized Abstain

0 commit comments

Comments
 (0)