Skip to content

Commit 406c2c0

Browse files
authored
Merge pull request #1569 from Plutonomicon/klntsky/prepare-v6
Prepare v6
2 parents aad4b64 + f0f47e3 commit 406c2c0

File tree

15 files changed

+4415
-9124
lines changed

15 files changed

+4415
-9124
lines changed

CHANGELOG.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,47 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1212
- [Changed](#changed)
1313
- [Fixed](#fixed)
1414
- [Removed](#removed)
15-
- [[v5.0.0]](#v500)
15+
- [[v6.0.0]](#v600)
1616
- [Added](#added-1)
1717
- [Changed](#changed-1)
18-
- [Removed](#removed-1)
1918
- [Fixed](#fixed-1)
20-
- [Runtime Dependencies](#runtime-dependencies)
21-
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
22-
- [Fixed](#fixed-2)
23-
- [[v4.0.1] - 2022-12-20](#v401---2022-12-20)
19+
- [Removed](#removed-1)
20+
- [[v5.0.0]](#v500)
2421
- [Added](#added-2)
25-
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
26-
- [Added](#added-3)
2722
- [Changed](#changed-2)
2823
- [Removed](#removed-2)
24+
- [Fixed](#fixed-2)
25+
- [Runtime Dependencies](#runtime-dependencies)
26+
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
2927
- [Fixed](#fixed-3)
30-
- [Runtime Dependencies](#runtime-dependencies-1)
31-
- [[3.0.0] - 2022-11-21](#300---2022-11-21)
28+
- [[v4.0.1] - 2022-12-20](#v401---2022-12-20)
29+
- [Added](#added-3)
30+
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
3231
- [Added](#added-4)
3332
- [Changed](#changed-3)
3433
- [Removed](#removed-3)
3534
- [Fixed](#fixed-4)
36-
- [Runtime Dependencies](#runtime-dependencies-2)
37-
- [[2.0.0] - 2022-09-12](#200---2022-09-12)
35+
- [Runtime Dependencies](#runtime-dependencies-1)
36+
- [[3.0.0] - 2022-11-21](#300---2022-11-21)
3837
- [Added](#added-5)
3938
- [Changed](#changed-4)
4039
- [Removed](#removed-4)
4140
- [Fixed](#fixed-5)
42-
- [[2.0.0-alpha] - 2022-07-05](#200-alpha---2022-07-05)
41+
- [Runtime Dependencies](#runtime-dependencies-2)
42+
- [[2.0.0] - 2022-09-12](#200---2022-09-12)
4343
- [Added](#added-6)
44-
- [Removed](#removed-5)
4544
- [Changed](#changed-5)
45+
- [Removed](#removed-5)
4646
- [Fixed](#fixed-6)
47-
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
47+
- [[2.0.0-alpha] - 2022-07-05](#200-alpha---2022-07-05)
48+
- [Added](#added-7)
49+
- [Removed](#removed-6)
50+
- [Changed](#changed-6)
4851
- [Fixed](#fixed-7)
49-
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
52+
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
5053
- [Fixed](#fixed-8)
54+
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
55+
- [Fixed](#fixed-9)
5156
- [[1.0.0] - 2022-06-10](#100---2022-06-10)
5257

5358
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -56,6 +61,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5661

5762
### Added
5863

64+
### Changed
65+
66+
### Fixed
67+
68+
### Removed
69+
70+
## [v6.0.0]
71+
72+
### Added
73+
5974
- `mkUnbalancedTxE`, `balanceTxE` and `balanceTxWithConstraintsE` as
6075
non-throwing versions of `mkUnbalancedTx`, `balanceTx` and
6176
`balanceTxWithConstraints` ([#1545](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1545)

doc/query-layers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Thus, the goal of the developers is to ensure that the set of UTxOs available to
3636
CTL tries to be smart when dealing with the issue, and it aims to let the user work with both query layers as if it was one. To achieve this guarantee, CTL follows three simple rules:
3737

3838
- **Rule 1** Whenever there is a *wallet operation* the result of which depends on the set of available UTxOs, CTL delays the execution until it reaches a state where *all wallet UTxOs are known to the backend*. These operations are assumed to be `getWalletUtxos`, `getWalletCollateral` and `getWalletBalance`.
39-
- **Rule 2** Whenever there is a transaction *`signTx`* [CIP-30](https://cips.cardano.org/cip/CIP-0030) call, the execution is delayed until all transaction inputs that come from one of the addresses controlled by the wallet *are known to the wallet*.
39+
- **Rule 2** Whenever there is a transaction *`signTx`* [CIP-30](https://cips.cardano.org/cip/CIP-0030/) call, the execution is delayed until all transaction inputs that come from one of the addresses controlled by the wallet *are known to the wallet*.
4040
- **Rule 3** Whenever CTL is asked to await for *transaction confirmation*, the execution is delayed until the *UTxOs that the transaction creates at wallet addresses* are visible to the wallet.
4141

4242
The rules are implemented as 3 callable functions, which we call *synchronization primitives*:

flake.lock

Lines changed: 47 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@
6161
};
6262

6363
# Repository with network parameters
64+
# NOTE(bladyjoker): Cardano configurations (yaml/json) often change format and break, that's why we pin to a specific known version.
6465
cardano-configurations = {
6566
# Override with "path:/path/to/cardano-configurations";
66-
url = "github:input-output-hk/cardano-configurations";
67+
url = "github:input-output-hk/cardano-configurations?rev=d952529afdfdf6d53ce190b1bf8af990a7ae9590";
6768
flake = false;
6869
};
6970
easy-purescript-nix = {
@@ -76,7 +77,8 @@
7677

7778
# Plutip server related inputs
7879
plutip = {
79-
url = "github:mlabs-haskell/plutip/1bf0b547cd3689c727586abb8385c008fb2a3d1c";
80+
url = "github:mlabs-haskell/plutip?ref=gergely/version-bump";
81+
# TODO(bladyjoker): Why are we overriding inputs here?
8082
inputs = {
8183
nixpkgs.follows = "nixpkgs";
8284
iohk-nix.follows = "iohk-nix";
@@ -324,8 +326,8 @@
324326
# it (i.e. `nix develop`)
325327
default = (psProjectFor (nixpkgsFor system)).devShell;
326328

327-
# This can be used with `nix develop .#hsDevShell
328-
hsDevShell = self.hsFlake.${system}.devShell;
329+
# This can be used with `nix develop .#devPlutipServer` to work with `./plutip-server`
330+
devPlutipServer = ((plutipServerFor system).flake { }).devShell;
329331
});
330332

331333
packages = perSystem (system:

0 commit comments

Comments
 (0)