Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Conway support, Replace Plutip with cardano-testnet #1624

Merged
merged 159 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
9b24f11
Merge pull request #1591 from Plutonomicon/develop
klntsky Jan 25, 2024
a5f9947
Merge pull request #1614 from Plutonomicon/develop
klntsky May 5, 2024
5989ccf
Make Testnet.Server module
May 30, 2024
a37b10b
Add cardano-testnet executable in the psProject env
May 30, 2024
3bd8314
Implement Testnet.Types
May 30, 2024
e0bc8d1
Update testnet types
May 30, 2024
75cdb38
Cleanup import list
May 30, 2024
b6a2039
Implement placeholders
May 30, 2024
28395eb
Implement startCardanoTestnet
May 30, 2024
2b64db9
Explain function
May 30, 2024
de4d635
Implement defaultStartupParams
May 30, 2024
d8f7b13
Get rid of stopChildProcessWithPort
May 30, 2024
7310e10
Make placeholder lazy
May 30, 2024
b94800c
Implement waitForSignal
May 30, 2024
14ca676
Implement mkDirIfNotExists
May 30, 2024
1758c96
Provide custom workidr to the node process
May 30, 2024
9b286cc
Implement startCardanoTestnet
May 30, 2024
a8a8b41
Extract utils in Plutip.Utils
May 31, 2024
41c08fe
Make proper logging and cleanup for cardano-testnet
May 31, 2024
e310907
Make sure cardano-node operate strictly inside the workdir
May 31, 2024
b37540c
Export ogmios with little deps
May 31, 2024
97e72c8
Make event emitters and handlers
May 31, 2024
1120051
Make testnet utils
May 31, 2024
1b1608c
Refine testnet events
May 31, 2024
e236d9f
Try starting ogmios along with the testnet
May 31, 2024
843f26e
Generalize event sources so can create childs
May 31, 2024
460e688
Do not create extra node event handlers for additional event streams
May 31, 2024
c1642f6
Return processes stderr and stdout event sources
May 31, 2024
07ca15c
Use testnet's dir as working dir to shorten path for ogmios
Jun 1, 2024
7aefb9b
Do not forward ogmios stdout to console
Jun 1, 2024
ade034c
Do not schedule any cleanups outside cleanupRef
Jun 1, 2024
b76b52d
Implement killProcessWithPort using fuser
Jun 1, 2024
adaad20
Keep track of testnet cardano-node instances
Jun 1, 2024
7ba9dbb
Implement additional utils
Jun 1, 2024
fa85302
Start kupo, cleanup cardano-node instances on close
Jun 1, 2024
9fa737b
Make TestnetClusterConfig as alt to PlutipConfig
Jun 1, 2024
a95274a
Generalize mkClusterContractEnv in a way it works for testnet too
Jun 1, 2024
d7306eb
Make Testnet.Contract module for running contracts
Jun 1, 2024
df9e1f5
Purify logging suppression
Jun 1, 2024
dab1b7f
Extract makeClusterContractEnv
Jun 1, 2024
3e0b685
Kill processes using Plutip.Spawn.stop
Jun 1, 2024
934ed39
Decouple port checking from Plutip
Jun 1, 2024
a605cde
Move whenError in Utils
Jun 3, 2024
9b1bf20
Fix module naming
Jun 3, 2024
44afd97
Store extended info about nodes
Jun 3, 2024
52128d4
Return fiber results
Jun 3, 2024
fd67164
Return useful info from cluster launch
Jun 3, 2024
1adf988
Control Aff's and events carefully
Jun 3, 2024
7f2f5ec
Throw on waitForSignal cancelation, don't fail silently
Jun 3, 2024
a4deda3
Cleanup cancelers
Jun 3, 2024
f21cd12
Set onClose handlers to cleanup after spawned processes exit
Jun 3, 2024
04931e0
Format code
Jun 3, 2024
79511c9
Implement runContract
Jun 3, 2024
4a795c8
Base cancelation on unsubscription, not on boolean refs
Jun 3, 2024
3050ca3
Fix stack overflow
Jun 3, 2024
7a6f65c
Handle any errors and make sure no nodejs handler trigger twice
Jun 3, 2024
71db862
Adopt to cardano-testnet 8.1.1
Jun 3, 2024
06e600e
Add necessary cardano-node execs in the dev env
Jun 3, 2024
7b0b186
Format code
Jun 3, 2024
d12563b
Tests debug WIP [to revert]
Jun 3, 2024
84f6709
Use TestnetId in ContractEnv
Jun 3, 2024
30fa2bc
Add forgotten import
Jun 3, 2024
c3858f2
Pass env manually instead of using local .envrc
Jun 3, 2024
23b8408
Do not wait for the second working dir
Jun 5, 2024
afdf892
Merge plutip and startup config
Jun 5, 2024
eb47b39
Implement askAddressFunds that queries address funds via cardano-cli
Jun 5, 2024
ae7d00b
Search for funds on all the addresses
Jun 5, 2024
eb0e727
Export redirectChannels from Testnet.Server
Jun 5, 2024
fdce5f8
Log cardano-cli commands
Jun 5, 2024
6b03403
Log addresses being checked by walletBalance
Jun 5, 2024
26555b3
Update cardano-node input to 8.7.2
Jun 9, 2024
5c9a973
Change server runner in a way it works with 8.7.2
Jun 9, 2024
45658c3
Resend initial funds to make Kupo see it
Jun 9, 2024
16fa520
Refactor
Jun 9, 2024
e322861
Explain testing scenario
Jun 9, 2024
64cf389
Update hacked key reading fns
Jun 9, 2024
05eabdd
Depend on node-streams-aff
Jun 11, 2024
5c396cb
Complete utxosAt with cardanoCli to see genesis utxos
Jun 11, 2024
1a84153
Implement newWallet for making initial distribution
Jun 11, 2024
b29deca
Extract withCardanoCliCompletion to CardanoCli.QueryHandler
Jun 11, 2024
3753a33
Improve queryUtxosViaCardanoCli to parse all the utxo assets
Jun 12, 2024
60d75e4
Simplify parser
Jun 12, 2024
1092364
Make TODO for the next task
Jun 12, 2024
828f39a
Add genesis utxo wallet parsing to the api
Renegatto Jun 12, 2024
69c4c00
Bump purs-cardano-types and purs-csl, Fix errors
errfrom Jun 13, 2024
5f5f32a
Implement and test core logic for distributing funds
Renegatto Jun 13, 2024
4821410
Bump cardano-node, ogmios, and kupo; Fix warnings
errfrom Jun 13, 2024
f7ee1d1
Use newtypes and leans to improve type inference
Renegatto Jun 13, 2024
0476d2d
Bump cardano-serialization-lib-gc
errfrom Jun 13, 2024
f4a4fbd
Fix ctl-runtime, Use cardano-node v8.10.1-pre with patched config
errfrom Jun 13, 2024
954e686
Fix formatting
errfrom Jun 13, 2024
919f3ea
Regenerate Ogmios fixtures
errfrom Jun 13, 2024
61b29dd
Fix most unit tests (only one fails)
errfrom Jun 18, 2024
0215ff1
Bump ogmios to v6.0.3, Switch to cardano.nix
errfrom Jun 19, 2024
7c6dbe2
Use ogmios nixos module from cardano.nix
errfrom Jun 19, 2024
5a14522
Update CHANGELOG.md
errfrom Jun 19, 2024
acc3afa
Attempt to fix nixos config
errfrom Jun 19, 2024
8fd2509
Fix staking tests
errfrom Jun 19, 2024
3279526
Fix Makefile
errfrom Jun 19, 2024
2fd380b
Fix Blockfrost RedeemerPointer decoding
errfrom Jun 20, 2024
3ce5a00
Merge branch 'dshuiski/ogmios' into dshuiski/conway
errfrom Jun 20, 2024
aff8e30
Fix nixos config (wip)
errfrom Jun 20, 2024
9e55bb9
Attempt to re-enable plutip tests using older cardano-node
errfrom Jun 20, 2024
5c3c6ee
Revert "Attempt to re-enable plutip tests using older cardano-node"
errfrom Jun 20, 2024
dca2e47
Fix unit tests
errfrom Jun 20, 2024
4563ef9
Use nightly version of Kupo compatible with sancho node
errfrom Jun 21, 2024
497131a
Re-enable plutip and staking tests
errfrom Jun 21, 2024
cec2ada
Merge branch 'alexey/cardano-testnet-8.7.2' into dshuiski/conway
errfrom Jun 25, 2024
a70dad5
Merge branch 'alexey/cardano-testnet-8.7.2' into dshuiski/conway
errfrom Jun 25, 2024
eb7a0b2
Add simple funds distr logic, Replace plutip with cardano-testnet
errfrom Jun 26, 2024
93eefe8
Fix formatting
errfrom Jun 26, 2024
7c829b4
Fix cardano-testnet output in runPursTest
errfrom Jun 26, 2024
cf0f205
Make killByPort not throw if port is available
errfrom Jun 26, 2024
ad83321
Fix most of the cardano-testnet (formerly plutip) tests
errfrom Jun 28, 2024
bdd2e4a
Fix staking tests, Configure slot and epoch length
errfrom Jun 28, 2024
5be22b6
Rename ctl-testnet-test check to ctl-local-testnet-test
errfrom Jun 28, 2024
aec43ad
Remove plutip-server
errfrom Jun 28, 2024
2f08e0e
Attempt to fix e2e tests
errfrom Jun 28, 2024
6e86fb9
Fix build inputs for runE2ETest
errfrom Jun 28, 2024
4522591
Attempt to fix e2e tests
errfrom Jun 28, 2024
461ab02
Bump cardano-node to v8.12.1 and ogmios to v6.4.0, Fix cardano-testnet
errfrom Jun 28, 2024
5bea296
Fix min fee calculation
errfrom Jul 1, 2024
b7be940
Upgrade getTxMetadata to getTxAuxiliaryData in QueryHandle
errfrom Jul 1, 2024
dc47aa3
Fix localnet tests
errfrom Jul 1, 2024
095f5be
Fix startTestnetContractEnv - do not import from Ctl.Examples
errfrom Jul 1, 2024
f4c731f
Fix ctl-scaffold template
errfrom Jul 1, 2024
705386a
Re-generate spago-packages.nix in ctl-scaffold
errfrom Jul 1, 2024
7c70de2
Remove dead link in doc/plutip-testing.md
errfrom Jul 1, 2024
41f96ec
Do not add datums to witness set for mustPayTo* constraints
errfrom Jul 2, 2024
fefcb0d
Provide datum lookups in examples and tests
errfrom Jul 3, 2024
66d5799
Add IncludeDatum example to ByUrl
errfrom Jul 3, 2024
1a0fe88
Revise cardano-testnet funds distribution logic (wip)
errfrom Jul 4, 2024
43103b8
Remove `Ctl.Internal.Plutip` module
marcusbfs Jul 10, 2024
7c865c2
Deprecate `doc/plutip-testing`
marcusbfs Jul 10, 2024
416d5d1
Remove Plutip code
marcusbfs Jul 11, 2024
64028db
Fix broken links
marcusbfs Jul 11, 2024
e2ada41
Remove `Contract.Test.Plutip`
marcusbfs Jul 11, 2024
b4d7f4e
Partially update documentation
marcusbfs Jul 12, 2024
9aeeb04
Merge branch 'develop' into dshuiski/conway
marcusbfs Jul 12, 2024
44fd4a0
Fix `develop` merge
marcusbfs Jul 12, 2024
6eb9ba2
Complete implementation of Blockfrost's `getTxAuxiliaryData`
marcusbfs Jul 17, 2024
f72387c
Implement `getTxMetadata` via `getTxAuxiliaryData` and deprecate it
marcusbfs Jul 17, 2024
8faceb1
Fix formatting
marcusbfs Jul 17, 2024
87db9a0
Update uplc-apply-args
klntsky Jul 19, 2024
e4d540a
Override kupo version
klntsky Jul 19, 2024
4781fd5
Bump cardano-node to v9.0.0, Fix arion
errfrom Jul 20, 2024
57f331b
Fix unit tests
errfrom Jul 20, 2024
178dda5
Migrate eslint configuration, Fix formatting-check
errfrom Jul 20, 2024
6fbe8ad
Disable plutip-dependent nix checks
errfrom Jul 20, 2024
ff59fee
Merge pull request #1635 from Plutonomicon/marcusbfs/1631-getTxAuxili…
klntsky Jul 23, 2024
b7e009a
Merge pull request #1636 from Plutonomicon/klntsky/update-uplc-apply-…
klntsky Jul 23, 2024
d446e1c
Merge branch 'develop' into dshuiski/conway
errfrom Jul 25, 2024
69db7ba
Merge branch 'dshuiski/cardano-node-v9.0.0' into dshuiski/conway
errfrom Jul 25, 2024
057262e
Fix template
errfrom Jul 25, 2024
f9f2ab6
Bump cardano-node to v9.1.0
errfrom Jul 25, 2024
a5ee44a
- update the docs for cardano-testnet integration
klntsky Jul 30, 2024
70ab312
Update the changelog
klntsky Jul 30, 2024
c3fe752
Update the template
klntsky Jul 30, 2024
1961c3a
Fix uplc link
klntsky Jul 30, 2024
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
24 changes: 0 additions & 24 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ node_modules
plutip-server/dist-newstyle/
plutip-server/dist/
plutip-server/.stack-work/
nixos.qcow2
80 changes: 56 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,67 +7,98 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [[v9.0.0]](#v900)
- [Deprecated](#deprecated)
- [[v9.1.0]](#v910)
- [Added](#added)
- [Removed](#removed)
- [Changed](#changed)
- [Removed](#removed)
- [Fixed](#fixed)
- [[v8.0.0]](#v800)
- [[v9.0.0]](#v900)
- [Deprecated](#deprecated)
- [Added](#added-1)
- [Removed](#removed-1)
- [Changed](#changed-1)
- [Fixed](#fixed-1)
- [Removed](#removed-1)
- [[v7.0.0]](#v700)
- [[v8.0.0]](#v800)
- [Added](#added-2)
- [Changed](#changed-2)
- [Fixed](#fixed-2)
- [Removed](#removed-2)
- [[v6.0.0]](#v600)
- [[v7.0.0]](#v700)
- [Added](#added-3)
- [Changed](#changed-3)
- [Fixed](#fixed-3)
- [Removed](#removed-3)
- [[v5.0.0]](#v500)
- [[v6.0.0]](#v600)
- [Added](#added-4)
- [Changed](#changed-4)
- [Removed](#removed-4)
- [Fixed](#fixed-4)
- [Runtime Dependencies](#runtime-dependencies)
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
- [Fixed](#fixed-5)
- [[v4.0.1] - 2022-12-20](#v401---2022-12-20)
- [Removed](#removed-4)
- [[v5.0.0]](#v500)
- [Added](#added-5)
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
- [Added](#added-6)
- [Changed](#changed-5)
- [Removed](#removed-5)
- [Fixed](#fixed-5)
- [Runtime Dependencies](#runtime-dependencies)
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
- [Fixed](#fixed-6)
- [Runtime Dependencies](#runtime-dependencies-1)
- [[3.0.0] - 2022-11-21](#300---2022-11-21)
- [[v4.0.1] - 2022-12-20](#v401---2022-12-20)
- [Added](#added-6)
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
- [Added](#added-7)
- [Changed](#changed-6)
- [Removed](#removed-6)
- [Fixed](#fixed-7)
- [Runtime Dependencies](#runtime-dependencies-2)
- [[2.0.0] - 2022-09-12](#200---2022-09-12)
- [Runtime Dependencies](#runtime-dependencies-1)
- [[3.0.0] - 2022-11-21](#300---2022-11-21)
- [Added](#added-8)
- [Changed](#changed-7)
- [Removed](#removed-7)
- [Fixed](#fixed-8)
- [[2.0.0-alpha] - 2022-07-05](#200-alpha---2022-07-05)
- [Runtime Dependencies](#runtime-dependencies-2)
- [[2.0.0] - 2022-09-12](#200---2022-09-12)
- [Added](#added-9)
- [Removed](#removed-8)
- [Changed](#changed-8)
- [Removed](#removed-8)
- [Fixed](#fixed-9)
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
- [[2.0.0-alpha] - 2022-07-05](#200-alpha---2022-07-05)
- [Added](#added-10)
- [Removed](#removed-9)
- [Changed](#changed-9)
- [Fixed](#fixed-10)
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
- [Fixed](#fixed-11)
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
- [Fixed](#fixed-12)
- [[1.0.0] - 2022-06-10](#100---2022-06-10)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## [v9.1.0]

This version provides basic Conway support and replaces Plutip with `cardano-testnet`.

- `cardano-node`: 9.1.0
- `ogmios`: 6.5.0
- `kupo`: 2.9.0
- `@mlabs-haskell/cardano-serialization-lib-gc`: `12.0.0-alpha.31` (wraps the same version of [CSL](https://github.com/Emurgo/cardano-serialization-lib/))
- `@mlabs-haskell/uplc-apply-args`: `1.0.29-alpha` (wraps the same version of the [`uplc` crate](https://github.com/aiken-lang/aiken/tree/main/crates/uplc))

### Added

- `Contract.Transaction.getTxAuxiliaryData` for querying transaction data ([#1624](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1624)).

### Changed

- `Contract.Test.Plutip` is replaced with `Contract.Test.Testnet` that uses `cardano-testnet` instead of Plutip. As a result, we reduced the dependency footprint (`cardano-testnet` is distributed with `cardano-node`, so there are no internal Haskell components anymore in CTL) ([#1624](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1624))

### Removed

- `Contract.Transaction.getTxMetadata` - use `getTxAuxiliaryData` ([#1624](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1624))

### Fixed

- Non-deterministic `ClientHttpError` raised during tests on rare occasions ([#1624](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1624)).

## [v9.0.0]

### Deprecated
Expand All @@ -94,6 +125,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

### Changed

- Bumped Ogmios to version 6.0.3 ([#1626](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1626))
- `Contract.Transaction.mkUnbalancedTx` now returns a tuple: a transaction and the UTxOs it used.
- `Contract.Transaction.balanceTx` accepts two extra argument: a list of used UTxOs (set to `Data.Map.empty` if none of them are coming from the outside of the wallet) and balancer constraints (set to `mempty` if not needed)
- Default synchronization parameters: all [wallet <-> query layer synchronization primitives](./doc/query-layers.md) are now off by default. The reason is that the runtime overhead made the users unhappy and it was not worth it for most of the users. If your dApp sends transactions in quick succession, consider enabling the synchronization again by using `softSynchronizationParams` (old behavior) or `strictSynchronizationParams`.
Expand Down Expand Up @@ -129,7 +161,7 @@ Starting from this version, CTL does not use Plutus-domain types anymore. This c
- Sharing wallets between Plutip tests - see [the docs for this feature](./doc/plutip-testing.md#sharing-wallet-state-between-tests) ([#1585](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1585))
- `runPlutipTestPlan` is a new function that executes a `ContractTestPlan`.
- `sameWallets` is a new function that creates a `ContractTestPlan` from a `UtxoDistribution` and a `TestPlanM` of the same wallets running different `Contract`s.
- new `onClusterStartup` hook that allows to get cluster startup parameters (private keys, `cardano-node` socket and config paths). See [`Test.Ctl.Plutip.Contract.ClusterParameters`](./test/Plutip/Contract/ClusterParameters.purs). ([#1610](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1610))
- new `onClusterStartup` hook that allows to get cluster startup parameters (private keys, `cardano-node` socket and config paths). See [`Test.Ctl.Plutip.Contract.ClusterParameters`](https://github.com/Plutonomicon/cardano-transaction-lib/blob/a5f9947/test/Plutip/Contract/ClusterParameters.purs). ([#1610](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1610))


### Changed
Expand Down
27 changes: 14 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
SHELL := bash
.ONESHELL:
.PHONY: esbuild-bundle esbuild-serve webpack-bundle webpack-serve check-format format query-testnet-tip clean check-explicit-exports spago-build create-bundle-entrypoint create-html-entrypoint delete-bundle-entrypoint run-template-checks
.PHONY: esbuild-bundle esbuild-serve webpack-bundle webpack-serve check-format \
format query-preview-testnet-tip query-preprod-testnet-tip \
clean check-explicit-exports build create-bundle-entrypoint \
create-html-entrypoint delete-bundle-entrypoint
.SHELLFLAGS := -eu -o pipefail -c

ps-sources := $(shell fd --no-ignore-parent -epurs)
nix-sources := $(shell fd --no-ignore-parent -enix --exclude='spago*')
js-sources := $(shell fd --no-ignore-parent -ejs -ecjs)
purs-args := "--stash --censor-lib --censor-codes=UserDefinedWarning,ImplicitImport,ImplicitQualifiedImport,ImplicitQualifiedImportReExport"

### Bundler setup

Expand All @@ -21,8 +25,8 @@ preview-node-ipc = $(shell docker volume inspect store_node-preview-ipc | jq -r
preprod-node-ipc = $(shell docker volume inspect store_node-preprod-ipc | jq -r '.[0].Mountpoint')
serve-port := 4008

spago-build:
@spago build
build:
@spago build --purs-args ${purs-args}

create-bundle-entrypoint:
@mkdir -p dist/
Expand All @@ -40,20 +44,20 @@ create-html-entrypoint:
</html>
EOF

esbuild-bundle: spago-build create-bundle-entrypoint
esbuild-bundle: build create-bundle-entrypoint
@mkdir -p dist/
BROWSER_RUNTIME=${browser-runtime} node esbuild/bundle.js ./dist/entrypoint.js dist/index.js
@make delete-bundle-entrypoint

esbuild-serve: spago-build create-bundle-entrypoint create-html-entrypoint
esbuild-serve: build create-bundle-entrypoint create-html-entrypoint
BROWSER_RUNTIME=1 node esbuild/serve.js ./dist/entrypoint.js dist/index.js dist/ ${serve-port}

webpack-bundle: spago-build create-bundle-entrypoint
webpack-bundle: build create-bundle-entrypoint
BROWSER_RUNTIME=${browser-runtime} webpack --mode=production \
-o dist/ --env entry=./dist/entrypoint.js
@make delete-bundle-entrypoint

webpack-serve: spago-build create-bundle-entrypoint create-html-entrypoint
webpack-serve: build create-bundle-entrypoint create-html-entrypoint
BROWSER_RUNTIME=1 webpack-dev-server --progress \
--port ${serve-port} \
-o dist/ --env entry=./dist/entrypoint.js
Expand All @@ -78,7 +82,7 @@ check-format: check-explicit-exports check-examples-imports check-whitespace
@purs-tidy check ${ps-sources}
@nixpkgs-fmt --check ${nix-sources}
@prettier --log-level warn -c ${js-sources}
@eslint --quiet ${js-sources} --parser-options 'sourceType: module'
@eslint --quiet ${js-sources}

format:
@purs-tidy format-in-place ${ps-sources}
Expand All @@ -97,14 +101,11 @@ query-preprod-testnet-tip:
CARDANO_NODE_SOCKET_PATH=${preprod-node-ipc}/node.socket cardano-cli query tip \
--testnet-magic 1

run-ci-actions:
run-ci-actions: run-template-checks
nix build -L .#checks.x86_64-linux.formatting-check
nix build -L .#checks.x86_64-linux.template-deps-json
nix build -L .#checks.x86_64-linux.template-dhall-diff
nix build -L .#checks.x86_64-linux.template-version
nix build -L .#checks.x86_64-linux.ctl-unit-test
nix build -L .#checks.x86_64-linux.ctl-e2e-test
nix build -L .#checks.x86_64-linux.ctl-plutip-test
nix build -L .#checks.x86_64-linux.ctl-local-testnet-test
nix build -L .#checks.x86_64-linux.ctl-staking-test
nix build -L .#checks.x86_64-linux.examples-imports-check

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Please explore our documentation to discover how to use CTL, how to set up its r
- [Importing Plutus Scripts](./doc/importing-scripts.md)
- [Migrating from Plutus Application Backend to CTL](./doc/plutus-comparison.md)
- [Overview of testing approaches](./doc/testing.md)
- [Testing on local testnets with Plutip](./doc/plutip-testing.md)
- [Testing on local Cardano testnets](./doc/cardano-testnet-testing.md)
- [End-to-end dApp testing with headless browsers](./doc/e2e-testing.md)
- [Assertion utilities for testing](./doc/test-utils.md)
- [Using a directory with private keys to run tests](./doc/keydir.md)
Expand Down
Loading