Skip to content

Commit

Permalink
Adding simulationId to hello world simulation. (#2615)
Browse files Browse the repository at this point in the history
* Adding simulationId to hello world simulation.

* Adding simulationId import.
  • Loading branch information
merivale committed Jan 18, 2021
1 parent a8be036 commit 60391c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plutus-playground-server/usecases/HelloWorldSimulations.hs
Expand Up @@ -6,7 +6,7 @@ module HelloWorldSimulations where

import HelloWorld (registeredKnownCurrencies)
import Playground.Types (ContractCall (AddBlocks), Simulation (Simulation), simulationActions,
simulationName, simulationWallets)
simulationId, simulationName, simulationWallets)
import SimulationUtils (simulatorWallet)
import Wallet.Emulator.Types (Wallet (Wallet), getWallet)

Expand All @@ -21,6 +21,7 @@ simulations = [helloWorld]
helloWorld =
Simulation
{ simulationName = "Hello, world"
, simulationId = 1
, simulationWallets
, simulationActions = [ AddBlocks 1 ]
}

0 comments on commit 60391c0

Please sign in to comment.