Skip to content

Commit

Permalink
Merge pull request Plutonomicon#542 from Plutonomicon/viet/upgrade-odc-1
Browse files Browse the repository at this point in the history
Upgrade ODC for more stable datum gets from datum hash
  • Loading branch information
ngua authored Jun 15, 2022
2 parents 0d58204 + 8663273 commit 1d38952
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

- Single `Plutus.Conversion` module exposing all `(Type <-> Plutus Type)` conversion functions.
- Support for using a `PrivateKey` as a `Wallet`.
- Upgraded `ogmios-datum-cache` to `54ad2964af07ea0370bf95c0fed71f60a778ead5` for more stable datum from datum hash (see [here](https://github.com/Plutonomicon/cardano-transaction-lib/issues/526) for more details).

### Removed

- `FromPlutusType` / `ToPlutusType` type classes.


## [1.0.0] - 2022-06-10

CTL's initial release!
25 changes: 21 additions & 4 deletions flake.lock

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

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# for the purescript project
ogmios.url = "github:mlabs-haskell/ogmios";
ogmios-datum-cache.url = "github:mlabs-haskell/ogmios-datum-cache";
ogmios-datum-cache.url = "github:mlabs-haskell/ogmios-datum-cache/54ad2964af07ea0370bf95c0fed71f60a778ead5";
# so named because we also need a different version of the repo below
# in the server inputs and we use this one just for the `cardano-cli`
# executables
Expand Down Expand Up @@ -196,6 +196,7 @@
"dbname=${postgres.db}"
"password=${postgres.password}"
];
controlApiToken = "";
blockFetcher = {
firstBlock = {
slot = 54066900;
Expand Down Expand Up @@ -318,6 +319,7 @@
datumCache.blockFetcher.filter;
configFile = ''
dbConnectionString = "${datumCache.dbConnectionString}"
server.controlApiToken = "${toString datumCache.controlApiToken}"
server.port = ${toString datumCache.port}
ogmios.address = "ogmios"
ogmios.port = ${toString ogmios.port}
Expand Down

0 comments on commit 1d38952

Please sign in to comment.