Skip to content

Commit

Permalink
Merge pull request #1569 from Plutonomicon/klntsky/prepare-v6
Browse files Browse the repository at this point in the history
Prepare v6
  • Loading branch information
klntsky authored Dec 13, 2023
2 parents aad4b64 + f0f47e3 commit 406c2c0
Show file tree
Hide file tree
Showing 15 changed files with 4,415 additions and 9,124 deletions.
47 changes: 31 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,47 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [Changed](#changed)
- [Fixed](#fixed)
- [Removed](#removed)
- [[v5.0.0]](#v500)
- [[v6.0.0]](#v600)
- [Added](#added-1)
- [Changed](#changed-1)
- [Removed](#removed-1)
- [Fixed](#fixed-1)
- [Runtime Dependencies](#runtime-dependencies)
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
- [Fixed](#fixed-2)
- [[v4.0.1] - 2022-12-20](#v401---2022-12-20)
- [Removed](#removed-1)
- [[v5.0.0]](#v500)
- [Added](#added-2)
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
- [Added](#added-3)
- [Changed](#changed-2)
- [Removed](#removed-2)
- [Fixed](#fixed-2)
- [Runtime Dependencies](#runtime-dependencies)
- [[v4.0.2] - 2023-01-17](#v402---2023-01-17)
- [Fixed](#fixed-3)
- [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-3)
- [[v4.0.0] - 2022-12-15](#v400---2022-12-15)
- [Added](#added-4)
- [Changed](#changed-3)
- [Removed](#removed-3)
- [Fixed](#fixed-4)
- [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-5)
- [Changed](#changed-4)
- [Removed](#removed-4)
- [Fixed](#fixed-5)
- [[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-6)
- [Removed](#removed-5)
- [Changed](#changed-5)
- [Removed](#removed-5)
- [Fixed](#fixed-6)
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
- [[2.0.0-alpha] - 2022-07-05](#200-alpha---2022-07-05)
- [Added](#added-7)
- [Removed](#removed-6)
- [Changed](#changed-6)
- [Fixed](#fixed-7)
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
- [[1.1.0] - 2022-06-30](#110---2022-06-30)
- [Fixed](#fixed-8)
- [[1.0.1] - 2022-06-17](#101---2022-06-17)
- [Fixed](#fixed-9)
- [[1.0.0] - 2022-06-10](#100---2022-06-10)

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

### Added

### Changed

### Fixed

### Removed

## [v6.0.0]

### Added

- `mkUnbalancedTxE`, `balanceTxE` and `balanceTxWithConstraintsE` as
non-throwing versions of `mkUnbalancedTx`, `balanceTx` and
`balanceTxWithConstraints` ([#1545](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1545)
Expand Down
2 changes: 1 addition & 1 deletion doc/query-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Thus, the goal of the developers is to ensure that the set of UTxOs available to
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:

- **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`.
- **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*.
- **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*.
- **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.

The rules are implemented as 3 callable functions, which we call *synchronization primitives*:
Expand Down
76 changes: 47 additions & 29 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@
};

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

# Plutip server related inputs
plutip = {
url = "github:mlabs-haskell/plutip/1bf0b547cd3689c727586abb8385c008fb2a3d1c";
url = "github:mlabs-haskell/plutip?ref=gergely/version-bump";
# TODO(bladyjoker): Why are we overriding inputs here?
inputs = {
nixpkgs.follows = "nixpkgs";
iohk-nix.follows = "iohk-nix";
Expand Down Expand Up @@ -324,8 +326,8 @@
# it (i.e. `nix develop`)
default = (psProjectFor (nixpkgsFor system)).devShell;

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

packages = perSystem (system:
Expand Down
Loading

0 comments on commit 406c2c0

Please sign in to comment.