Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Backport changes from main to next-node branch #576

Merged
merged 18 commits into from
Jul 8, 2022

Conversation

koslambrou
Copy link
Contributor

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Formatting, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reference the ADR in the PR and reference the PR in the ADR (if revelant)
    • Reviewer requested

koslambrou and others added 17 commits June 29, 2022 13:04
…tAddress and utxoSetWithCurrency chain-index queries. (#547)

* Syncing until slot 40M in testnet, before this commit, takes 1h. Now, it takes 1h15m.

* Querying the utxo of a given address took, before this commit, 2min. Now it takes around 15ms.

* Tested the query: `curl -H "Content-Type: application/json" -d '{ "credential": { "tag": "PubKeyCredential", "contents": { "getPubKeyHash": "88ff402b0522f27649ac742238c697c579beeb344eb723099d1f16ce" } } }' http://localhost:9083/txo-at-address` which is available in slot 40M of testnet.

Co-authored-by: etiennjf <[email protected]>
- Move Ledger.Typed.Scripts.Validators (plutus-ledger) into Plutus.Script.Utils.V1.Typed.Scripts.Validators (plutus-script-utils)

- Move Ledger.Typed.Tx (plutus-ledger) into Plutus.Script.Utils.V1.Typed.Scripts (plutus-script-utils)

- Move Ledger.Typed.TypeUtils (plutus-ledger) into Plutus.Script.Utils.V1.Typed.TypeUtils (plutus-script-utils)

- Add deprecation notices to Ledger.Typed.Tx, Ledger.Typed.TypeUtils and Ledger.Typed.Scripts.Validators

- Hide the constructors TypedScriptTx{In,Out,OutRef}

  Otherwise library users can circumvent the validation.

- Run pab-nami-demo-generate-purs

- Run plutus-playground-generate-purs

- Remove ocsTxOut from OnChainState

  Given TypedScriptTxOutRef includes the TxOut, including TypedScriptTxOut is redundant.

- Update docs, plutus-contract, plutus-ledger-constraints and plutus-use-cases

- Introduce getStateData

  Most uses of ocsTxOut where to extract the data associated to the
  state machine state.
…wnPaymentPubKeyHash. (#544)

* `ownPaymentPubKeyHash` is marked as deprecated

* All plutus-use-cases examples replace usage of `ownPaymentPubKeyHash` with `ownAddresses`

* Fix plutus-pab-local-cluster which wasn't working because the chain-index wasn't in sync with the PAB
- Fix memory consumption in `appendBlocks` by checking if blocks have transactions 
- Remove log messages from scheduler to reduce the memory usage
* Make quickcheck-dynamic an external dependency

* Remove quickcheck-dynamic direct hsobj reference in the docs
* Remove reference to non-existing CHANGELOG for `plutus-streaming`

Fixes haskell.nix build when depending on plutus-apps.

* Fix cabal-fmt
* Added sphinx-autobuild for a live reload dev server

* WIP
Enable all tests except vmTests in GHA
…d` (#564)

- Added plutus-apps/doc/adr/0002-repository-standardization.rst
- Made little edits to plutus-apps/doc/adr/0001-record-architecture-decisions.rst
* WIP

* Remove FeeConfig

* Move move globals to Ledger.Params

* Refactor cardano-api based code

* Implement MustSpendPubKeyOutput

* WIP

* Add testcase

* Accept changed test outputs

* Adopt balancing algorithm from marlowe-cardano

* Fix build

* Rename evaluateTransactionFee to estimateTransactionFee

* PR feedback
* added nixConfig to flake
* added flake for marconi executable
* [plutus-ledger]: show CekError in CekEvaluationFailure error.

* Fix checkEvent in checkErrorWhitelistWithOptions

Co-authored-by: Stanislav Zhdanovich <[email protected]>
@koslambrou koslambrou force-pushed the kll/merge-main-into-next-node branch from 602212b to 7e23c67 Compare July 8, 2022 12:28
@ghost
Copy link

ghost commented Jul 8, 2022

👍

Should fix #568.

@ghost ghost linked an issue Jul 8, 2022 that may be closed by this pull request
@koslambrou koslambrou force-pushed the kll/merge-main-into-next-node branch from 7e23c67 to 2e755d6 Compare July 8, 2022 14:45
@koslambrou koslambrou marked this pull request as ready for review July 8, 2022 17:54
@koslambrou koslambrou merged commit 194022c into next-node Jul 8, 2022
@koslambrou koslambrou deleted the kll/merge-main-into-next-node branch July 8, 2022 17:55
koslambrou added a commit that referenced this pull request Apr 6, 2023
…-node

Backport changes from main to next-node branch and fixed conflicts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

next-node branch doesn't sdist
6 participants