Skip to content

Commit

Permalink
docs: Merge #3923 3923: Drop support for balancing transactions in er…
Browse files Browse the repository at this point in the history
…as more recent than the node tip r=Anviking a=Anviking - [x] Always balance transactions in the era of the local node tip ### Comments Previously we used to leverage the conversion between `Cardano.ProtocolParameters` and `Ledger.PParams era` to potentially "upcast" the current protocol parameters to `Ledger.PParams` to a newer era. This may have been useful for testing features in new eras on mainnet before a HF, even if the resulting txs would have been unsubmittable. Instead of doing this one can test on a public testnet, local cluster or on the unit level. ### Issue Number ADP-2990 Co-authored-by: Johannes Lund <johannes.lund@iohk.io> Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io> Source commit: af82118
  • Loading branch information
William King Noel Bot committed May 26, 2023
1 parent eec4f75 commit d2c5483
Show file tree
Hide file tree
Showing 62 changed files with 88 additions and 66 deletions.
2 changes: 1 addition & 1 deletion -/all.html
Expand Up @@ -26,7 +26,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion -/tags.html
Expand Up @@ -26,7 +26,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion -/tasks.html
Expand Up @@ -26,7 +26,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
32 changes: 27 additions & 5 deletions api/edge/swagger.yaml
Expand Up @@ -4737,16 +4737,37 @@ x-errBadRequest: &errBadRequest
type: string
enum: ['bad_request']

x-errBalanceTxEraNotSupported: &errBalanceTxEraNotSupported
x-errNodeNotYetInRecentEra: &errNodeNotYetInRecentEra
<<: *responsesErr
title: balance_tx_era_not_supported
title: node_not_yet_in_recent_era
description: Occurs when the operation requires the node to be in a recent era, but is not.
properties:
message:
type: string
description: Balancing transactions is not supported in this era.
code:
type: string
enum: ["balance_tx_era_not_supported"]
enum: ['node_not_yet_in_recent_era']
info:
type: object
required:
- node_era
- recent_eras
properties:
node_era: *ApiEra
recent_eras:
type: array
items: *ApiEra

x-errTxNotInNodeEra: &errTxNotInNodeEra
<<: *responsesErr
title: tx_not_in_node_era
properties:
message:
type: string
description: The transaction could be deserialised, just not in the era of the local node.
code:
type: string
enum: ["tx_not_in_node_era"]

x-errBalanceTxConflictingNetworks: &errBalanceTxConflictingNetworks
<<: *responsesErr
Expand Down Expand Up @@ -6177,7 +6198,7 @@ x-responsesBalanceTransaction: &responsesBalanceTransaction
schema:
oneOf:
- <<: *errAlreadyWithdrawing
- <<: *errBalanceTxEraNotSupported
- <<: *errNodeNotYetInRecentEra
- <<: *errBalanceTxConflictingNetworks
- <<: *errBalanceTxExistingCollateral
- <<: *errBalanceTxExistingKeyWitnesses
Expand All @@ -6191,6 +6212,7 @@ x-responsesBalanceTransaction: &responsesBalanceTransaction
- <<: *errTransactionAlreadyBalanced
- <<: *errTransactionIsTooBig
- <<: *errUtxoTooSmall
- <<: *errTxNotInNodeEra

<<: *responsesErr404WalletNotFound
<<: *responsesErr406
Expand Down
2 changes: 1 addition & 1 deletion archives.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion archives/jormungandr.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion archives/jormungandr/Docker-jormungandr.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/address-derivation.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/byron-address-format.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/coin-selection.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/hierarchical-deterministic-wallets.html
Expand Up @@ -37,7 +37,7 @@
<script async id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'></script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/master-key-generation.html
Expand Up @@ -30,7 +30,7 @@
<script src='https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/plugins/autoloader/prism-autoloader.min.js'></script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/recovery-phrases.html
Expand Up @@ -31,7 +31,7 @@
<script async id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'></script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/transaction-lifecycle.html
Expand Up @@ -49,7 +49,7 @@
</script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion concepts/utxo.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Logging-Guidelines.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Nix.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Notes-from-upgrading-GHC-version.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Release-Process.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Swagger-Development.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Testing.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion contributing/Updating-Dependencies.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/Eras.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/Notes-about-BIP-44.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/Specifying-exceptions-with-Servant-and-Swagger.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/WalletId.html
Expand Up @@ -41,7 +41,7 @@
<script async id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'></script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/records.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/records/2021-01-17-nix-flake.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/specs.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion design/specs/light-mode.html
Expand Up @@ -49,7 +49,7 @@
</script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion developers.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion developers/Architecture.html
Expand Up @@ -49,7 +49,7 @@
</script>


<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion developers/Building.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down
2 changes: 1 addition & 1 deletion developers/Resources.html
Expand Up @@ -27,7 +27,7 @@



<link href='tailwind.css?instanceId=3012195f-85a8-4c30-883d-5ff425ce9e2a' rel='stylesheet' type='text/css' />
<link href='tailwind.css?instanceId=0992fd65-8ed0-4c98-a4a8-274d1ac5e4be' rel='stylesheet' type='text/css' />

<!-- Heist error element -->
<style type='text/css'>
Expand Down

0 comments on commit d2c5483

Please sign in to comment.