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

Introduce FileDoesNotExistError and bump to ouroboros-consensus 0.8 #45

Closed
wants to merge 7 commits into from

Conversation

bolt12
Copy link
Contributor

@bolt12 bolt12 commented Jun 12, 2023

Description

This PR is related to IntersectMBO/ouroboros-consensus#140 and is needed in order for IntersectMBO/cardano-node#4024 to compile.

Changelog

- description: |
    Introduce `FileDoesNotExistError`
  # no-changes: the API has not changed
  # compatible: the API has changed but is non-breaking
  # breaking: the API has changed in a breaking way
  compatibility: breaking
  feature: Introduces `FileDoesNotExistError`
  maintenance: Make code type check according to dependency bump changes
  # bugfix: the change fixes a bug in the API
  # test: the change fixes modifies tests
  # maintenance: the change involves something other than the API
  # If more than one is applicable, it may be put into a list.
  type: feature

Copy link
Contributor

@carbolymer carbolymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you reformat changed files, please?

@newhoggy @Jimbo4350 It would be nice if you could have a look too.

@bolt12
Copy link
Contributor Author

bolt12 commented Jun 30, 2023

Bump @carbolymer

cabal.project Outdated Show resolved Hide resolved
cabal.project Outdated Show resolved Hide resolved
cardano-api/internal/Cardano/Api/Error.hs Show resolved Hide resolved
cardano-api/internal/Cardano/Api/Protocol.hs Outdated Show resolved Hide resolved
Copy link
Contributor

@carbolymer carbolymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bolt12 bolt12 requested a review from carbolymer July 6, 2023 09:39
@bolt12 bolt12 force-pushed the bolt/dynamic-block-forging branch from e2ef4a9 to 52c5582 Compare July 6, 2023 12:17
@bolt12 bolt12 force-pushed the bolt/dynamic-block-forging branch from 52c5582 to d7469f4 Compare July 6, 2023 12:40
@bolt12 bolt12 force-pushed the bolt/dynamic-block-forging branch from d7469f4 to 224d7dc Compare July 6, 2023 14:16
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

@bolt12 bolt12 changed the title Accommodate ouroboros-consensus API changes Introduce FileDoesNotExistError Jul 6, 2023
@Jimbo4350 Jimbo4350 changed the title Introduce FileDoesNotExistError Introduce FileDoesNotExistError and Bump to ouroboros-consensus 0.8 Jul 6, 2023
@Jimbo4350 Jimbo4350 changed the title Introduce FileDoesNotExistError and Bump to ouroboros-consensus 0.8 Introduce FileDoesNotExistError and bump to ouroboros-consensus 0.8 Jul 6, 2023
bolt12 and others added 7 commits July 7, 2023 09:11
Improves the error situation when dealing with file paths. Before all IO
related errors where wrapped around the constructor FileIOError. Now the
existence of the file is checked and if it does not exist a
FileDoesNotExistError is thrown.

Added `fileIOExceptT` function that abstracts away this existence check,
so we can get read of all the FileIOError wraps.
@bolt12 bolt12 force-pushed the bolt/dynamic-block-forging branch from 870ba54 to cc7d8b5 Compare July 7, 2023 09:55
@bolt12
Copy link
Contributor Author

bolt12 commented Jul 10, 2023

Closed in favor of #99

@bolt12 bolt12 closed this Jul 10, 2023
newhoggy added a commit that referenced this pull request Mar 11, 2024
…th-voting-and-actions

Update tx build with voting and actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable block production dynamically
5 participants