From d4b04d9f3638f75fa30dd31e2da64a7ff6a9240f Mon Sep 17 00:00:00 2001 From: KtorZ Date: Tue, 10 Sep 2024 08:28:01 +0000 Subject: [PATCH] deploy: 46ec09c0662416eff9dae4f9d72a67ce6e984b25 --- 404.html | 2 +- api/index.html | 6 +- api/v5.6/index.html | 6 +- api/v6.0/index.html | 6 +- api/v6.1/index.html | 6 +- api/v6.2/index.html | 6 +- api/v6.3/index.html | 6 +- api/v6.4/index.html | 6 +- api/v6.5/index.html | 6 +- categories/index.html | 6 +- changelog/index.html | 24 ++-- clients/index.html | 6 +- faq/index.html | 6 +- getting-started/basics/index.html | 6 +- getting-started/building/index.html | 6 +- getting-started/configuring/index.html | 6 +- getting-started/docker/index.html | 6 +- getting-started/index.html | 6 +- getting-started/monitoring/index.html | 6 +- http-api/index.html | 6 +- index.html | 4 +- index.json | 2 +- mini-protocols/index.html | 6 +- mini-protocols/local-chain-sync/index.html | 6 +- mini-protocols/local-state-query/index.html | 6 +- mini-protocols/local-tx-monitor/index.html | 6 +- mini-protocols/local-tx-submission/index.html | 6 +- tags/index.html | 6 +- ...ChainSynchronization.TipIsOriginError.html | 2 +- .../_cardano_ogmios_client.JSONRPCError.html | 10 +- ..._cardano_ogmios_client.ServerNotReady.html | 2 +- ...ronization.ChainSynchronizationClient.html | 6 +- ...n.ChainSynchronizationMessageHandlers.html | 4 +- .../_cardano_ogmios_client.Connection.html | 10 +- ...ardano_ogmios_client.ConnectionConfig.html | 8 +- ...dano_ogmios_client.InteractionContext.html | 4 +- ...dgerStateQuery.LedgerStateQueryClient.html | 48 +++---- ...oolMonitoring.MempoolMonitoringClient.html | 16 +-- .../_cardano_ogmios_client.ServerHealth.html | 16 +-- ...ubmission.TransactionSubmissionClient.html | 8 +- ...dano_ogmios_schema.AcquireLedgerState.html | 8 +- ...mios_schema.AcquireLedgerStateFailure.html | 8 +- ...mios_schema.AcquireLedgerStateSuccess.html | 8 +- ..._cardano_ogmios_schema.AcquireMempool.html | 6 +- ..._ogmios_schema.AcquireMempoolResponse.html | 8 +- .../_cardano_ogmios_schema.Anchor.html | 4 +- ...ano_ogmios_schema.ArrayDetailedSchema.html | 2 +- .../_cardano_ogmios_schema.BlockBFT.html | 24 ++-- .../_cardano_ogmios_schema.BlockEBB.html | 10 +- .../_cardano_ogmios_schema.BlockPraos.html | 22 +-- ...chema.BootstrapOperationalCertificate.html | 4 +- ...os_schema.BootstrapProtocolParameters.html | 34 ++--- ...ogmios_schema.BootstrapProtocolUpdate.html | 4 +- .../_cardano_ogmios_schema.BootstrapVote.html | 4 +- .../_cardano_ogmios_schema.Bound.html | 6 +- ...ano_ogmios_schema.BytesDetailedSchema.html | 2 +- .../_cardano_ogmios_schema.CertifiedVrf.html | 4 +- .../_cardano_ogmios_schema.ClauseAfter.html | 4 +- .../_cardano_ogmios_schema.ClauseAll.html | 4 +- .../_cardano_ogmios_schema.ClauseAny.html | 4 +- .../_cardano_ogmios_schema.ClauseBefore.html | 4 +- ...cardano_ogmios_schema.ClauseSignature.html | 4 +- .../_cardano_ogmios_schema.ClauseSome.html | 6 +- .../_cardano_ogmios_schema.Constitution.html | 4 +- ...ema.ConstitutionalCommitteeDelegation.html | 6 +- ..._schema.ConstitutionalCommitteeMember.html | 12 +- ....ConstitutionalCommitteeMemberSummary.html | 6 +- ...ema.ConstitutionalCommitteeRetirement.html | 6 +- ..._schema.DelegateRepresentativeAbstain.html | 2 +- ...ma.DelegateRepresentativeNoConfidence.html | 2 +- ...hema.DelegateRepresentativeRegistered.html | 6 +- ...ma.DelegateRepresentativeRegistration.html | 8 +- ...hema.DelegateRepresentativeRetirement.html | 6 +- ...s_schema.DelegateRepresentativeUpdate.html | 6 +- ...elegateRepresentativeVotingThresholds.html | 12 +- ..._ogmios_schema.DeserialisationFailure.html | 6 +- .../_cardano_ogmios_schema.EraMismatch.html | 4 +- .../_cardano_ogmios_schema.EraParameters.html | 6 +- .../_cardano_ogmios_schema.EraSummary.html | 6 +- ...ano_ogmios_schema.EvaluateTransaction.html | 8 +- ...aluateTransactionDeserialisationError.html | 8 +- ...gmios_schema.EvaluateTransactionError.html | 8 +- ...nFailureCannotCreateEvaluationContext.html | 6 +- ...uateTransactionFailureIncompatibleEra.html | 6 +- ...aluateTransactionFailureNodeTipTooOld.html | 6 +- ...ctionFailureOverlappingAdditionalUtxo.html | 6 +- ...nsactionFailureScriptExecutionFailure.html | 6 +- ...luateTransactionFailureUnsupportedEra.html | 6 +- ...ios_schema.EvaluateTransactionSuccess.html | 8 +- ..._cardano_ogmios_schema.ExecutionUnits.html | 4 +- ...ardano_ogmios_schema.FindIntersection.html | 8 +- .../_cardano_ogmios_schema.GenesisAlonzo.html | 4 +- .../_cardano_ogmios_schema.GenesisByron.html | 18 +-- .../_cardano_ogmios_schema.GenesisConway.html | 8 +- ...cardano_ogmios_schema.GenesisDelegate.html | 4 +- ...rdano_ogmios_schema.GenesisDelegation.html | 6 +- ..._cardano_ogmios_schema.GenesisShelley.html | 32 ++--- ...rdano_ogmios_schema.GenesisStakePools.html | 4 +- ...s_schema.GovernanceActionConstitution.html | 8 +- ...vernanceActionConstitutionalCommittee.html | 8 +- ...ma.GovernanceActionHardForkInitiation.html | 6 +- ...os_schema.GovernanceActionInformation.html | 2 +- ...s_schema.GovernanceActionNoConfidence.html | 4 +- ...ernanceActionProtocolParametersUpdate.html | 8 +- ...hema.GovernanceActionTreasuryTransfer.html | 8 +- ...a.GovernanceActionTreasuryWithdrawals.html | 6 +- ...dano_ogmios_schema.GovernanceProposal.html | 8 +- ...os_schema.GovernanceProposalReference.html | 4 +- ..._cardano_ogmios_schema.GovernanceVote.html | 8 +- ..._cardano_ogmios_schema.HasTransaction.html | 8 +- ..._ogmios_schema.HasTransactionResponse.html | 8 +- ...o_ogmios_schema.IntegerDetailedSchema.html | 2 +- ...rdano_ogmios_schema.IntersectionFound.html | 8 +- ...ogmios_schema.IntersectionInterleaved.html | 8 +- ...no_ogmios_schema.IntersectionNotFound.html | 8 +- .../_cardano_ogmios_schema.Mandate.html | 2 +- ..._ogmios_schema.MempoolSizeAndCapacity.html | 6 +- .../_cardano_ogmios_schema.Metadata.html | 4 +- .../_cardano_ogmios_schema.MetadatumMap.html | 4 +- ...ogmios_schema.MustAcquireMempoolFirst.html | 8 +- .../_cardano_ogmios_schema.Native.html | 6 +- .../_cardano_ogmios_schema.NextBlock.html | 6 +- ...rdano_ogmios_schema.NextBlockResponse.html | 8 +- ...cardano_ogmios_schema.NextTransaction.html | 8 +- ...ogmios_schema.NextTransactionResponse.html | 8 +- ...no_ogmios_schema.ObjectDetailedSchema.html | 2 +- .../_cardano_ogmios_schema.Ogmios.html | 134 +++++++++--------- ..._ogmios_schema.OperationalCertificate.html | 6 +- .../_cardano_ogmios_schema.Plutus.html | 4 +- .../_cardano_ogmios_schema.Point.html | 4 +- ...ios_schema.ProposedProtocolParameters.html | 70 ++++----- ...dano_ogmios_schema.ProtocolParameters.html | 70 ++++----- ...cardano_ogmios_schema.ProtocolVersion.html | 6 +- ...chema.QueryLedgerStateAcquiredExpired.html | 8 +- ...s_schema.QueryLedgerStateConstitution.html | 6 +- ....QueryLedgerStateConstitutionResponse.html | 8 +- ...eryLedgerStateConstitutionalCommittee.html | 6 +- ...rStateConstitutionalCommitteeResponse.html | 8 +- ...o_ogmios_schema.QueryLedgerStateEpoch.html | 6 +- ..._schema.QueryLedgerStateEpochResponse.html | 8 +- ...os_schema.QueryLedgerStateEraMismatch.html | 8 +- ...gmios_schema.QueryLedgerStateEraStart.html | 6 +- ...hema.QueryLedgerStateEraStartResponse.html | 8 +- ...s_schema.QueryLedgerStateEraSummaries.html | 6 +- ....QueryLedgerStateEraSummariesResponse.html | 8 +- ...QueryLedgerStateLiveStakeDistribution.html | 6 +- ...gerStateLiveStakeDistributionResponse.html | 8 +- ...hema.QueryLedgerStateProjectedRewards.html | 8 +- ...ryLedgerStateProjectedRewardsResponse.html | 8 +- ...LedgerStateProposedProtocolParameters.html | 6 +- ...ateProposedProtocolParametersResponse.html | 8 +- ...ma.QueryLedgerStateProtocolParameters.html | 6 +- ...LedgerStateProtocolParametersResponse.html | 8 +- ...ueryLedgerStateRewardAccountSummaries.html | 8 +- ...erStateRewardAccountSummariesResponse.html | 8 +- ...ema.QueryLedgerStateRewardsProvenance.html | 6 +- ...yLedgerStateRewardsProvenanceResponse.html | 8 +- ...ios_schema.QueryLedgerStateStakePools.html | 8 +- ...ma.QueryLedgerStateStakePoolsResponse.html | 8 +- ...ano_ogmios_schema.QueryLedgerStateTip.html | 6 +- ...os_schema.QueryLedgerStateTipResponse.html | 8 +- ...a.QueryLedgerStateTreasuryAndReserves.html | 6 +- ...edgerStateTreasuryAndReservesResponse.html | 8 +- ...eryLedgerStateUnavailableInCurrentEra.html | 8 +- ...no_ogmios_schema.QueryLedgerStateUtxo.html | 8 +- ...s_schema.QueryLedgerStateUtxoResponse.html | 8 +- ...ogmios_schema.QueryNetworkBlockHeight.html | 6 +- ...chema.QueryNetworkBlockHeightResponse.html | 8 +- ...hema.QueryNetworkGenesisConfiguration.html | 8 +- ...ryNetworkGenesisConfigurationResponse.html | 8 +- ...ios_schema.QueryNetworkInvalidGenesis.html | 8 +- ...o_ogmios_schema.QueryNetworkStartTime.html | 6 +- ..._schema.QueryNetworkStartTimeResponse.html | 8 +- ...cardano_ogmios_schema.QueryNetworkTip.html | 6 +- ...ogmios_schema.QueryNetworkTipResponse.html | 8 +- .../_cardano_ogmios_schema.Redeemer.html | 6 +- ...cardano_ogmios_schema.RedeemerPointer.html | 4 +- .../_cardano_ogmios_schema.RelativeTime.html | 2 +- ..._cardano_ogmios_schema.RelayByAddress.html | 8 +- .../_cardano_ogmios_schema.RelayByName.html | 6 +- ...dano_ogmios_schema.ReleaseLedgerState.html | 6 +- ...ios_schema.ReleaseLedgerStateResponse.html | 8 +- ..._cardano_ogmios_schema.ReleaseMempool.html | 6 +- ..._ogmios_schema.ReleaseMempoolResponse.html | 8 +- ...no_ogmios_schema.RewardAccountSummary.html | 6 +- ...rdano_ogmios_schema.RewardsProvenance.html | 12 +- .../_cardano_ogmios_schema.RollBackward.html | 6 +- .../_cardano_ogmios_schema.RollForward.html | 6 +- .../_cardano_ogmios_schema.RpcError.html | 6 +- ...ecutionFailureInvalidRedeemerPointers.html | 6 +- ...utionFailureUnsuitableOutputReference.html | 6 +- ...riptExecutionFailureValidationFailure.html | 6 +- ...o_ogmios_schema.ScriptExecutionPrices.html | 4 +- ...rdano_ogmios_schema.ScriptPurposeMint.html | 4 +- ...no_ogmios_schema.ScriptPurposePropose.html | 4 +- ...no_ogmios_schema.ScriptPurposePublish.html | 4 +- ...dano_ogmios_schema.ScriptPurposeSpend.html | 4 +- ...rdano_ogmios_schema.ScriptPurposeVote.html | 4 +- ...o_ogmios_schema.ScriptPurposeWithdraw.html | 4 +- .../_cardano_ogmios_schema.Signatory.html | 8 +- .../_cardano_ogmios_schema.SizeOfMempool.html | 6 +- ...o_ogmios_schema.SizeOfMempoolResponse.html | 8 +- .../_cardano_ogmios_schema.SlotLength.html | 2 +- ...cardano_ogmios_schema.SoftwareVersion.html | 4 +- ..._schema.StakeCredentialDeregistration.html | 8 +- ...os_schema.StakeCredentialRegistration.html | 8 +- ...cardano_ogmios_schema.StakeDelegation.html | 10 +- .../_cardano_ogmios_schema.StakePool.html | 18 +-- ...o_ogmios_schema.StakePoolRegistration.html | 4 +- ...ano_ogmios_schema.StakePoolRetirement.html | 4 +- ...ardano_ogmios_schema.StakePoolSummary.html | 10 +- ...mios_schema.StakePoolVotingThresholds.html | 8 +- ...no_ogmios_schema.StringDetailedSchema.html | 2 +- ...rdano_ogmios_schema.SubmitTransaction.html | 8 +- ...SubmitTransactionDeserialisationError.html | 8 +- ..._ogmios_schema.SubmitTransactionError.html | 8 +- ...ionFailureBootstrapAttributesTooLarge.html | 6 +- ...actionFailureCollateralLockedByScript.html | 6 +- ...tionFailureConflictingCommitteeUpdate.html | 6 +- ...FailureConflictingInputsAndReferences.html | 6 +- ...ureConstitutionGuardrailsHashMismatch.html | 6 +- ...ionFailureCredentialAlreadyRegistered.html | 6 +- ...ctionFailureCredentialDepositMismatch.html | 6 +- ...ansactionFailureDRepAlreadyRegistered.html | 6 +- ...itTransactionFailureDRepNotRegistered.html | 6 +- ...SubmitTransactionFailureEmptyInputSet.html | 4 +- ...a.SubmitTransactionFailureEraMismatch.html | 6 +- ...tionFailureExecutionBudgetOutOfBounds.html | 6 +- ...nsactionFailureExecutionUnitsTooLarge.html | 6 +- ...mitTransactionFailureExtraneousDatums.html | 6 +- ...TransactionFailureExtraneousRedeemers.html | 6 +- ...itTransactionFailureExtraneousScripts.html | 6 +- ...TransactionFailureFailingNativeScript.html | 6 +- ...TransactionFailureForbiddenWithdrawal.html | 6 +- ...lureGovernanceProposalDepositMismatch.html | 6 +- ...ansactionFailureIncompleteWithdrawals.html | 6 +- ...nsactionFailureInsufficientCollateral.html | 6 +- ...ionFailureInsufficientlyFundedOutputs.html | 6 +- ...nsactionFailureInvalidCommitteeUpdate.html | 6 +- ...actionFailureInvalidGenesisDelegation.html | 4 +- ...tionFailureInvalidHardForkVersionBump.html | 6 +- ...tTransactionFailureInvalidMIRTransfer.html | 4 +- ...bmitTransactionFailureInvalidMetadata.html | 4 +- ...lureInvalidOrMissingPreviousProposals.html | 6 +- ...ailureInvalidProtocolParametersUpdate.html | 4 +- ...tTransactionFailureInvalidSignatories.html | 6 +- ...mitTransactionFailureMalformedScripts.html | 6 +- ...ransactionFailureMetadataHashMismatch.html | 6 +- ...ransactionFailureMetadataHashTooLarge.html | 6 +- ...TransactionFailureMintingOrBurningAda.html | 4 +- ...sactionFailureMissingCollateralInputs.html | 4 +- ...itTransactionFailureMissingCostModels.html | 6 +- ...SubmitTransactionFailureMissingDatums.html | 6 +- ...bmitTransactionFailureMissingMetadata.html | 6 +- ...TransactionFailureMissingMetadataHash.html | 6 +- ...mitTransactionFailureMissingRedeemers.html | 6 +- ...ubmitTransactionFailureMissingScripts.html | 6 +- ...tTransactionFailureMissingSignatories.html | 6 +- ...bmitTransactionFailureNetworkMismatch.html | 6 +- ...mitTransactionFailureNonAdaCollateral.html | 6 +- ...ansactionFailureNonEmptyRewardAccount.html | 6 +- ...tTransactionFailureOrphanScriptInputs.html | 6 +- ...ctionFailureOutsideOfValidityInterval.html | 6 +- ...actionFailureReferenceScriptsTooLarge.html | 6 +- ...itTransactionFailureRetirementTooLate.html | 6 +- ...ionFailureScriptIntegrityHashMismatch.html | 6 +- ...ubmitTransactionFailureSpendsMismatch.html | 6 +- ...TransactionFailureStakePoolCostTooLow.html | 6 +- ...sactionFailureTooManyCollateralInputs.html | 6 +- ...sactionFailureTotalCollateralMismatch.html | 6 +- ...nsactionFailureTransactionFeeTooSmall.html | 6 +- ...TransactionFailureTransactionTooLarge.html | 6 +- ...tionFailureTreasuryWithdrawalMismatch.html | 6 +- ...onFailureUnauthorizedGovernanceAction.html | 4 +- ...itTransactionFailureUnauthorizedVotes.html | 6 +- ...itTransactionFailureUnforeseeableSlot.html | 6 +- ...eUnknownConstitutionalCommitteeMember.html | 6 +- ...itTransactionFailureUnknownCredential.html | 6 +- ...tionFailureUnknownGovernanceProposals.html | 6 +- ...sactionFailureUnknownOutputReferences.html | 6 +- ...mitTransactionFailureUnknownStakePool.html | 6 +- ...SubmitTransactionFailureUnknownVoters.html | 6 +- ...ionFailureUnrecognizedCertificateType.html | 4 +- ...itTransactionFailureValueNotConserved.html | 6 +- ...SubmitTransactionFailureValueTooLarge.html | 6 +- ...nsactionFailureVotingOnExpiredActions.html | 6 +- ...gmios_schema.SubmitTransactionSuccess.html | 8 +- .../_cardano_ogmios_schema.Tip.html | 6 +- .../_cardano_ogmios_schema.Transaction.html | 52 +++---- ...rdano_ogmios_schema.TransactionOutput.html | 10 +- ...ios_schema.TransactionOutputReference.html | 4 +- ...cardano_ogmios_schema.UtxoByAddresses.html | 2 +- ..._ogmios_schema.UtxoByOutputReferences.html | 2 +- ...ardano_ogmios_schema.ValidityInterval.html | 4 +- .../_cardano_ogmios_schema.Value.html | 2 +- .../_cardano_ogmios_schema.ValueAdaOnly.html | 2 +- .../_cardano_ogmios_schema.ValueDelta.html | 2 +- ...s_schema.VoterConstitutionalCommittee.html | 6 +- ...os_schema.VoterDelegateRepresentative.html | 6 +- ...no_ogmios_schema.VoterGenesisDelegate.html | 6 +- ..._ogmios_schema.VoterStakePoolOperator.html | 4 +- ...no_ogmios_client.ChainSynchronization.html | 6 +- ...ardano_ogmios_client.LedgerStateQuery.html | 40 +++--- ...rdano_ogmios_client.MempoolMonitoring.html | 12 +- ...o_ogmios_client.TransactionSubmission.html | 6 +- .../api/modules/_cardano_ogmios_client.html | 32 ++--- .../api/modules/_cardano_ogmios_schema.html | 134 +++++++++--------- 307 files changed, 1266 insertions(+), 1266 deletions(-) diff --git a/404.html b/404.html index c3fc92b66..43f3ceaac 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404 Page not found

Error

Woops. Looks like this page doesn't exist ¯\_(ツ)_/¯.

Go to homepage

Page not found!

\ No newline at end of file +404 Page not found

Error

Woops. Looks like this page doesn't exist ¯\_(ツ)_/¯.

Go to homepage

Page not found!

\ No newline at end of file diff --git a/api/index.html b/api/index.html index b9c2f6970..8df8c7571 100644 --- a/api/index.html +++ b/api/index.html @@ -1,4 +1,4 @@ -WebSocket API Reference (v6.6.*) - Ogmios

WebSocket API Reference (v6.6.*)

\ No newline at end of file diff --git a/api/v5.6/index.html b/api/v5.6/index.html index 2a290a9f5..4241872fa 100644 --- a/api/v5.6/index.html +++ b/api/v5.6/index.html @@ -1,3 +1,3 @@ -Archive (v5.6.*) - Ogmios

Archive (v5.6.*)

\ No newline at end of file +Archive (v5.6.*) - Ogmios

Archive (v5.6.*)

\ No newline at end of file diff --git a/api/v6.0/index.html b/api/v6.0/index.html index 00c422df6..6a655417f 100644 --- a/api/v6.0/index.html +++ b/api/v6.0/index.html @@ -1,3 +1,3 @@ -Archive (v6.0.*) - Ogmios

Archive (v6.0.*)

\ No newline at end of file +Archive (v6.0.*) - Ogmios

Archive (v6.0.*)

\ No newline at end of file diff --git a/api/v6.1/index.html b/api/v6.1/index.html index 5d6b2c3c8..19f659981 100644 --- a/api/v6.1/index.html +++ b/api/v6.1/index.html @@ -1,3 +1,3 @@ -Archive (v6.1.*) - Ogmios

Archive (v6.1.*)

\ No newline at end of file +Archive (v6.1.*) - Ogmios

Archive (v6.1.*)

\ No newline at end of file diff --git a/api/v6.2/index.html b/api/v6.2/index.html index dace30f26..3fdf3195b 100644 --- a/api/v6.2/index.html +++ b/api/v6.2/index.html @@ -1,3 +1,3 @@ -Archive (v6.2.*) - Ogmios

Archive (v6.2.*)

\ No newline at end of file +Archive (v6.2.*) - Ogmios

Archive (v6.2.*)

\ No newline at end of file diff --git a/api/v6.3/index.html b/api/v6.3/index.html index 199f11cbe..c567d71ec 100644 --- a/api/v6.3/index.html +++ b/api/v6.3/index.html @@ -1,3 +1,3 @@ -Archive (v6.3.*) - Ogmios

Archive (v6.3.*)

\ No newline at end of file +Archive (v6.3.*) - Ogmios

Archive (v6.3.*)

\ No newline at end of file diff --git a/api/v6.4/index.html b/api/v6.4/index.html index 79827e3b7..1d06f8772 100644 --- a/api/v6.4/index.html +++ b/api/v6.4/index.html @@ -1,3 +1,3 @@ -Archive (v6.4.*) - Ogmios

Archive (v6.4.*)

\ No newline at end of file +Archive (v6.4.*) - Ogmios

Archive (v6.4.*)

\ No newline at end of file diff --git a/api/v6.5/index.html b/api/v6.5/index.html index 27093a7f1..0034f41b4 100644 --- a/api/v6.5/index.html +++ b/api/v6.5/index.html @@ -1,3 +1,3 @@ -Archive (v6.5.*) - Ogmios

Archive (v6.5.*)

\ No newline at end of file +Archive (v6.5.*) - Ogmios

Archive (v6.5.*)

\ No newline at end of file diff --git a/categories/index.html b/categories/index.html index b32d4860b..ab135a105 100644 --- a/categories/index.html +++ b/categories/index.html @@ -1,3 +1,3 @@ -Categories - Ogmios

category :: -Categories

    \ No newline at end of file +Categories - Ogmios

    category :: +Categories

      \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 29007006a..c74a14c6a 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -1,7 +1,7 @@ -Changelog - Ogmios

      Changelog

      [6.6.2] - 2024-09-10

      Added

      • N/A

      Changed

      • Compile with cardano-node==9.1.1 / cardano-ledger-shelley==1.12.3.0 carrying an important fix for pointer deserialization.

      Removed

      • N/A

      [6.6.1] - 2024-09-01

      Added

      • N/A

      Changed

      • Fixed "babbage" being reported as the block era for Conway blocks.

      Removed

      • N/A

      [6.6.0] - 2024-08-15

      Added

      • Add missing treasury.value and treasury.donation for Conway transactions.

      • Add missing protocolParametersUpdate.security thresholds to stake pools voting thresholds in Conway governance actions.

      • Add missing ancestor to various governance actions, pointing to the previous action of the same group.

      • Add a new from field to objects referring to stake credential. The field allows to distinguish between verification key and script credentials.

      • TypeScript The stakePools method on the LedgerStateQueryClient now supports an extra filter. The filters were available on th standalone query but not via the client somehow.

      Changed

      • Fix upgradability of Alonzo/Babbage transactions into Conway transactions. Before, Babbage transaction submitted for evaluation that spent Plutus V3 Scripts while using a Babbage serialization format would failed to upgrade into Conway transactions due to incompatibility at the binary level. The translation has been fixed, except for truly incompatible transactions (e.g. those containing MIR or duplicate certificates).

      • Refresh embedded configuration files to match those expected by cardano-node==9.1.0 (in particular, genesis files for mainnet, preview and preprod).

      • Only return OverlappingAdditionalUtxo error during transaction simulation when overlapping utxo differ from the ones fetched from the ledger.

      Removed

      • ø


      [6.5.0] - 2024-07-12

      Added

      • Integrated with cardano-node==9.0.0.

      • New ledger-state query: queryLedgerState/treasuryAndReserves to retrieve the current Ada values of the treasury and reserves.

      • New protocol parameters in Conway:

        • maximumReferenceScriptsSize which indicates the maximum total number of bytes of scripts referenced by a transaction.
        • minFeeReferenceScripts with three sub fields: range, base and multiplier that now intervenes in the minimum fee calculation. Note that, starting in the Conway era, the min fee calculation is given by the following formula:

      $$ minFee = A + B + C $$

      $$ \begin{array}{lll} @@ -9,7 +9,7 @@ $$

      Where $referenceScriptsTierPrice$ is a tier-price depending on the total size of the serialized reference scripts. The total size (in bytes) of reference scripts is priced according to a different, growing tier, given by the following table:

      Size rangeCost
      $[ 0; range[$$\rfloor sizeOf(referenceScripts) \times base\lfloor$
      $[range; 2 \times range[$$\rfloor sizeOf(referenceScripts) \times multiplier \times base\lfloor$
      $[2 \times range; 3 \times range[$$\rfloor sizeOf(referenceScripts) \times {multiplier}^2 \times base\lfloor$
      $[3 \times range; 4 \times range[$$\rfloor sizeOf(referenceScripts) \times {multiplier}^3 \times base\lfloor$
      $[n \times range; (n + 1) \times range [$$\rfloor sizeOf(referenceScripts) \times {multiplier}^n \times base\lfloor$

      Considering $range = 25600$, $multiplier = 1.2$ and $base = 44$, we get:

      Size rangePrice per bytePlot
      $[ 0; 25600[$$44.000$ See online calculator
      $[25600; 51200[$$52.800$
      $[51200; 76800[$$63.360$
      $[76800; 102400[$$76.032$
      ......
      $[179200; 204800[$$157.6599552$

      [!NOTE]

      In Conway, the maximum size of reference scripts is limited to 200KiB.

      Hence, a transaction that carries reference scripts adding up to 80KiB of data would be priced:

      $$ referenceScriptTierPrice_{80KiB} = 25600 \times (44 + 52.8 + 63.36) + 5120 \times 76.032 = 4489379 -$$

      • New transaction submission / evaluation errors:
        • ReferenceScriptsTooLarge (code=3166) now raised when trying to submit a transaction that contains reference scripts whose total size is above 200KB (will become a protocol parameter in the next era).
        • UnknownVoters (code=3167) returned when submitting votes from unregistered pools or credentials.

      Changed

      • Roll back down to GHC-9.4.8 in an attempt to fix #399 possibly caused by a bug in GHC runtime system (possibly patched on 9.4.x).

      • Fixed transaction evaluation internal client not being properly terminated and cleaned up after use; resulting in active connections piling up over time. See #403.

      • Fixed the reported activeStakeInEpoch on the queryLedgerState/rewardsProvenance, which was mistakenly reporting the totalStakeInEpoch. A new value totalStakeInEpoch also now correctly reports that information.

      Removed

      • N/A


      [6.4.0] - 2024-06-06

      Added

      • Integrated with cardano-node==8.11.0-pre.

      • A new transaction submission / evaluation error:

        • UnauthorizedGovernanceAction (code=3165) raised when trying to submit a governance action other than protocol parameters change, hard fork initiation or info during the bootstrapping phase of the Conway era.
      • A new queryNetwork error:

        • InvalidGenesis (code=2004) raised when trying to query a genesis configuration which is invalid or missing (for instance, when there’s a mismatch between the Conway configuration and the underlying ledger library parsing it).

      Changed

      • The data.providedCollateral and data.computedTotalCollateral from submission errors with code 3128 and 3135 can now be negative Ada values.

      • TypeScript Fixed missing conway option in the state query client for the genesisConfiguration query.

      Removed

      • N/A


      [6.3.0] - 2024-05-07

      Added

      Changed

      [!WARNING] +$$

      • New transaction submission / evaluation errors:
        • ReferenceScriptsTooLarge (code=3166) now raised when trying to submit a transaction that contains reference scripts whose total size is above 200KB (will become a protocol parameter in the next era).
        • UnknownVoters (code=3167) returned when submitting votes from unregistered pools or credentials.

      Changed

      • Roll back down to GHC-9.4.8 in an attempt to fix #399 possibly caused by a bug in GHC runtime system (possibly patched on 9.4.x).

      • Fixed transaction evaluation internal client not being properly terminated and cleaned up after use; resulting in active connections piling up over time. See #403.

      • Fixed the reported activeStakeInEpoch on the queryLedgerState/rewardsProvenance, which was mistakenly reporting the totalStakeInEpoch. A new value totalStakeInEpoch also now correctly reports that information.

      Removed

      • N/A


      [6.4.0] - 2024-06-06

      Added

      • Integrated with cardano-node==8.11.0-pre.

      • A new transaction submission / evaluation error:

        • UnauthorizedGovernanceAction (code=3165) raised when trying to submit a governance action other than protocol parameters change, hard fork initiation or info during the bootstrapping phase of the Conway era.
      • A new queryNetwork error:

        • InvalidGenesis (code=2004) raised when trying to query a genesis configuration which is invalid or missing (for instance, when there’s a mismatch between the Conway configuration and the underlying ledger library parsing it).

      Changed

      • The data.providedCollateral and data.computedTotalCollateral from submission errors with code 3128 and 3135 can now be negative Ada values.

      • TypeScript Fixed missing conway option in the state query client for the genesisConfiguration query.

      Removed

      • N/A


      [6.3.0] - 2024-05-07

      Added

      Changed

      [!WARNING] Adjusted the schema of constitutional committee certificates in order to harmonize responses between certificates and the new constitutionalCommittee ledger query.

      beforeafter
       {
         "type": "constitutionalCommitteeHotKeyRegistration",
      @@ -29,16 +29,16 @@
           "id": "000"
         }
       }
      -
      • Fixed integer overflow happening when encoding relative time bounds in era summary, causing times to be shown as negative values.

      • Fixed parsing of the constitution ledger query which now resolves properly.

      Removed

      • N/A


      [6.2.0] - 2024-03-22

      Added

      • Transaction evaluation now automatically UTxO available from processing the mempool. This allows for chaining smart-contract transactions without the need to track the UTxO state on from the client’s side. Ogmios now internally maintains a view of the node’s mempool and ensure a consistent access to it when evaluating transaction. See also #375.

      • More log traces around transaction evaluation and submission.

      Changed

      • Retry HasTx on false with id wrapped in different eras, to cope with the hard-fork combinator inability to compare transaction id across eras. See also #376.

      Removed

      • N/A


      [6.1.0] - 2024-02-21

      Added

      • Two new script purposes (available from the Conway era onward):

        • propose: for proposing new governance actions. When itemized, comes with a proposal field that documents the associated governance proposal.
        • vote: for voting on a proposed governance action. When itemized, comes with an issuer field that documents the associated governance issuer.
      • A new field guardrails is now present on governance proposals of type treasuryWithdrawals and protocolParametersUpdate. It is either null or contains a script hash (blake2b, 28 bytes) that indicates the additional guardrails script that must successfully pass for the governance proposal to be considered valid.

      • The object returned from ledgerState/rewardAccountSummaries now contain an extra deposit field equals to the amount deposited and held by the associated stake credential.

      • A new query queryLedgerState/constitution to obtain the current on-chain constitution. This query is only available when the ledger is in the Conway era onwards.

      Changed

      • Configuration files no longer contain mainnet_p2p, preprod_p2p, preview_p2p and sanchonet_p2p folders. The p2p configs are now replacing the default configurations; so we’re back to configuration folders for mainnet, preprod, preview and sanchonet.

      • The constitution hash is now wrapped in a singleton object guardrails, to better capture its meaning. It isn’t the hash of the constitution script (which is covered by the anchor already), but the hash of the additional script policy which controls governance proposals of certain actions (e.g. treasury withdrawals, protocol parameters).

      • Renamed all fields anchor to metadata in the Conway era objects to be more consistent with other occurences of metadata in previous eras.

      • Fixed a few minor JSON-schema oversights such as TransactionOutputReference’s index now being a UInt64 (instead of UInt32).

      Removed

      • InternalLedgerTypeConversionError which can no longer occur.


      [6.0.3] - 2024-02-02

      Added

      • A new transaction submission / evaluation error (code: 3161) returned when a script evaluation goes beyond its allocated budget.

      Changed

      • Mapped some internal errors to actual predicate failures. Before, Ogmios would simply return an InternalLedgerTypeConversionError with code 3999 in cases where it should have been returning a more meaningful error resulting from either an excessive script evaluation (see new introduced error 3161) or a failed attempt to create a script context for a given transaction.

      • TypeScript Renamed types regarding Metadatum in the TypeScript client to provide more meaningful names.

      Removed

      • N/A


      [6.0.2] - 2024-01-30

      Added

      • N/A

      Changed

      • Fixed ‘preview’ showing as ‘preprod’ (and vice-versa) in error message on start-up when connecting to a wrong test network.
      • Fixed parsing of base16-encoded CBOR transaction on ogmios inspect transaction; would wrongly expect an extra singleton object before that.
      • TypeScript Fixes identification of submit/evaluate transaction responses, now using the method field instead of relying on the mirror. Should fix clashes with other requests.

      Removed

      • N/A


      [6.0.1] - 2024-01-22

      Added

      • Introduced a new runtime configuration flag --strict-rpc to allow removing the extra 'method' field provided in the server response. While the JSON-RPC specification doesn’t explicitly disallow the use of extra fields in the response, some libraries have proven being quite strict in the inputs they accept, resulting in errors when receiving Ogmios' responses. The flag is off by default.

      Changed

      • Fixed various descriptions and oversights in the JSON specifications (and thus documentation). In particular, the Getting Started section on the website has been slightly reworked to be easier to navigate and to include information about configuring Ogmios.

      Removed

      • N/A


      [6.0.0] - 2024-01-10

      Added

      • Integration with cardano-node==8.7.2 and cardano-ledger-conway==1.11.0.0. It adds (preliminary) support for the Conway era. This support only covers what is currently available in the Cardano node / ledger. However, since the implementation of this era isn’t finalized yet it will likely break in the future. New updates will be issued until Conway stabilizes.

      • Ogmios now accept queries via HTTP (POST). Request bodies are the same as those passed to the websocket and so are responses. In fact, most Ogmios queries follow a simple request/response pattern and are therefore well-suited to be run over HTTP. While there’s an obvious performance trade-off (especially for the local-chain-sync protocol), it is a reasonable approach for many queries (e.g. the local-state-query protocol).

        [!NOTE] -The HTTP server and the WebSocket server are both mounted on the same port. So, it suffices to route HTTP requests through /. The JSON payload is the same.

      • Ability to retrieve any genesis configuration (Byron, Shelley, Alonzo or Conway) via the state-query protocol.

      • A new flag --metadata-detailed-schema (disabled by default) to control how the server returns JSON metadata. When set, the server will return a JSON description of the encoded data; when omitted, it’ll attempt to convert CBOR metadata as plain JSON object, and default to hex-encoded cbor otherwise. See also notes in ADR-017.

      • A new command inspect transaction to help with debugging the deserialization of transaction.

      • The health now contains an extra network and version. Also, beware that era names are now returned in lowercase (first letter used to be capitalised!).

      • sanchonet network to the list of well-known networks.

      • arm64 static executables for Linux are now available in the continuous delivery pipeline, and as release artifacts.

      Changed

      • The server now return an internalError when an unexpected error occurs in the communication between Ogmios and the node. Before, Ogmios would simply log an exception and no response would be sent back to client applications. Now, clients correctly receive an unsuccessful response with the same id as present in the request. See #346.

      • TypeScript

        • Add an extra promise handler to cope with unexpected websocket disconnections when submitting messages to the server. See #346.

        • Escape the word ‘constructor’ to constr when present as key in metadata, and when not using --metadata-detailed-schema. JavaScript (and thus TypeScript) forbids using that word as an object key.

      Changed

      • ⚠️ BREAKING-CHANGE ⚠️ Many major changes in the interface. A complete migration guide is available in ADR-017, yet please refer to the API reference for details and exhaustiveness. Many representations have been made easier to parse and field names have been improved (more consistent across the entire API and better self-documented).

        [!NOTE] -There are still many test vectors available for every element of the Ogmios API. Use them!

      • Ogmios will no longer retry connecting to a node that is configured for another network but exit with an non-zero code and a clear error message indicating the network mismatch.

      • The default dashboard on localhost has been greatly rework and simplified. It also better handles errors.

      • Responses from the server no longer includes raw binary cbor by default. This was the case in particular for transactions. This behavior can be restored by configuring the server with --include-cbor to always include binary version of some specific objects such as transactions. This flag can be declined in more fine-grained flags if necessary:

        • --include-transaction-cbor
        • --include-metadata-cbor
        • --include-script-cbor

        where --include-cbor turns all three flags at once.

      Removed

      • ⚠️ BREAKING-CHANGE ⚠️ Compact mode is no more. Responses are more compact by default already and it is no longer possible to ask for a compact mode.

      • ⚠️ BREAKING-CHANGE ⚠️ Ogmios no longer returns null or empty fields. Where a field’s value would be null prior to v6.0.0, Ogmios now simply omit the field altogether. This is also true for most responses that return empty lists as well. All-in-all, please refer to the documentation / JSON-schema in case of doubts (fields that may be omitted are no longer marked as required).



      [5.6.0] - 2023-02-02

      Added

      • TypeScript Add a new helper function unsafeMetatumAsJSON which converts a detailed metadata schema into plain JavaScript, whenever possible. -For example:

        { "list": [ { "string": "foo" }, { "int": 42 } ] }["foo", 42]

        This should work for any CIP-0025 metadata, and a few other formats. Yet it is unsound in the general case since not every on-chain metadata can actually be represented as JavaScript objects.

      Changed

      • TypeScript Now targets ES2020.

      • TypeScript Fixed a bug in the JSON parser where coins quantities from all eras prior to Mary would be parsed as Number instead of BigInt.

      Removed

      N/A



      [5.5.8] - 2023-01-25

      Added

      N/A

      Changed

      • Bump internal packages to match cardano-node@1.35.4 dependencies set.

      • Bundle the docker image with more recent versions of the cardano-configurations.

      • TypeScript Fix TxMonitorClient’s nextTx wrongly throwing an error when called with no argument. The signature of that method has also been reworked slightly to provide better usage at call-site.

      • TypeScript Add missing required constraints in the JSON schema for Byron witness representation that caused TypeScript types to be generated as optional.

      Removed

      N/A



      [5.5.7] - 2022-10-27

      Added

      • delegationAndRewards and nonMyopicMemberRewards queries now both accept credentials in the form of bech32 strings as parameters, with the following expected prefixes and semantic (according to CIP-0005:

        • stake (resp. stake_test on test networks) for stake addresses
        • stake_vkh for stake key hash digests
        • script for stake script hash digests

        See also #277.

      • TypeScript Allow additionalUtxoSet to be passed as argument in the repl.

      Changed

      • TypeScript Fixed additionalUtxoSet being ignored in the TxSubmissionClient of the TypeScript client.

      Removed

      N/A



      [5.5.6] - 2022-10-21

      Added

      • Prometheus metrics exported at /metrics endpoint

      • Schema definitions are now included in the 📘 API reference. This makes it a little easier to find a specific schema without having to drill into a messages definitions.

      Changed

      • Fixed network synchronization reporting 0.99999 even when fully synchronized. There was sometimes a possible discrepancy between the ledger internal clock and Ogmios' clock, causing a few seconds of drift time.

      • TypeScript Fixed a couple of data-types with fields parsed as number instead of bigint. See #274

        [!WARNING] This is technically an internal breaking-change, however it actually comes as a bug fix since this does not change the announced interface in the TypeScript schema (which was correctly indicated ‘bigint’). Still, this may cause issues with those using number where there will now be bigint.

      • TypeScript Fixed browser detection for the IsomorphicWebSocket abstraction. See #273

      Removed

      N/A



      [5.5.5] - 2022-08-19

      Added

      • TypeScript Support for the TxMonitor mini-protocol in the REPL.

      • Link to a new Java client for Ogmios.

      Changed

      • TypeScript Fixed parsing of ScriptFailures coming out of the evaluateTx command. Before this patch, the client would simply throw undefined when such an error was encountered. They are now properly transcribed as EvaluateTxError.

      Removed

      • testnet has been removed from the target networks by the Docker workflow; which means that until further notice, there will be no more Docker images pushed for testnet. However, support for preprod and preview environment has been added.


      [5.5.4] - 2022-08-11

      Added

      • Missing JSON specification (and therefore, documentation) for collectErrors. See #244.

      Changed

      • Slot lengths are now encoded as floating numbers (double precision) instead of integers (still representing a number of seconds). However, to maintain backward-compatibility, integers value are encoded without decimal, as they used to. #245

      • TypeScript Blocks' properties (header, headerHash, body) are no longer marked as optional in the JSON specification (and consequently, in the TypeScript SDK). #238

      Removed

      N/A



      [5.5.3] - 2022-07-31

      Added

      N/A

      Changed

      • Bumped cardano-node’s version (continuous integration & docker image) to 1.35.2.

      • ⚠️ Fixed Plutus' data / datum serialization function. See 3f614c3c for details. As a consequence, some datums (either inline or in the witness set) that have been reported in the past (since v5.5.0) may have been wrong. Note that the datum hashes were however correct, so it is possible to identify the “corrupted” ones by trying to re-hash (blake2b-256) them and see whether they match their associated hash digest.

      • Changed the Docker image tagging’s scheme of cardano-node-ogmios to now include the cardano-node’s version. This allows to more easily bundle more recent version of cardano-node with old versions of Ogmios without the need to make a whole new release. This is in effect from v5.5.2 and onwards.

        imagerepositorytags
        cardano-node-ogmioscardanosolutions/cardano-node-ogmioslatest
        latest-{NETWORK}
        v*.*.*_{CARDANO_NODE_VERSION}
        v*.*.*_{CARDANO_NODE_VERSION}-{NETWORK}
        ogmioscardanosolutions/ogmioslatest
        latest-{NETWORK}
        v*.*.*
        v*.*.*-{NETWORK}
      • Fixed incongruous error message from the command-line when failing to parse protocol parameters from genesis files. The error reporting has been slightly improved to give a more fine-grained error per invalid parameter. See #242.

      Removed

      N/A



      [5.5.2] - 2022-07-11

      Added

      N/A

      Changed

      • Bumped cardano-node’s version (continuous integration & docker image) to 1.35.1.

      • TypeScript Remove superfluous string concatenation in UnknownResultError’s message. See #236.

      Removed

      N/A



      [5.5.1] - 2022-07-05

      Added

      • TypeScript New isBabbageProtocolParameters helper function, and extended support of the existing ones to Babbage. See #234.

      Changed

      • Fixed Health endpoint wrongly reporting ‘Alonzo’ while in the ‘Babbage era’. See #233.

      Removed

      N/A



      [5.5.0] - 2022-06-29

      Added

      • Added Vasil/Babbage support, including:
        • A new block type babbage with:
          • New (optional) transaction fields references, collateralReturn, totalCollateral;
          • New (optional) transaction output’s fields datum and script;
        • A new plutus:v2 script language;
      • New transaction error submission failures in the Babbage era:
        • mirNegativeTransfer: return when attempting to perform a negative MIR transfer from a reward pot to another;
        • totalCollateralMismatch: returned when totalCollateral is set but does not match what is actually computed by the ledger (i.e. sum of collateral inputs minus collateral return);
        • malformedReferenceScripts: returned when the script specified in an output isn’t actually a well-formed Plutus script;
        • malformedScriptWitnesses, occurs when a script witness specified in the transaction does not properly deserialize to a Plutus script.
      • New script evaluation failures in the Babbage era:
        • corruptCostModelForLanguage: An artifact from a distant past. This is unused but somehow still present in the ledger internal definitions. Should be removed eventually.
      • New server evaluation failures:
        • NotEnoughSynced: Happens when attempting to evaluate execution units on a node that isn’t enough synchronized. This is, if the node is still in an era prior to Alonzo, evaluation of execution units won’t be possible.
        • CannotCreateEvaluationContext: Happens when the ledger fails to create an evaluation context from a given transaction. This is mostly due to the transaction being malformed (e.g. wrong redeemer pointer, missing UTxO).

      See the 📘 API reference for more details.

      Changed

      • Updated cardano-configurations to include the vasil-dev network and switch to cardano-world as a source instead of Hydra artifacts – now being deprecated.

      • Partially fixed an issue causing websocket connection to be terminated by the server when p2p is enabled on the underlying node. Ogmios now has a workaround which makes the issue less likely, but the real fix belongs in the upstream networking stack. See #230, #208.

      • The missingRequiredScripts error now contains an extra field resolved that is a map of (pointer → script hash) that have been correctly resolved by said pointers.

      • The introduction of the Babbage era comes with some minor (albeit possibly breaking) changes and deprecations:

        • ⚠️ datums, redeemerData and plutus:v1 scripts are no longer encoded as base64 strings, but are encoded as base16 strings. The data payload remains however identical. +

      • Fixed integer overflow happening when encoding relative time bounds in era summary, causing times to be shown as negative values.

      • Fixed parsing of the constitution ledger query which now resolves properly.

      Removed

      • N/A


      [6.2.0] - 2024-03-22

      Added

      • Transaction evaluation now automatically UTxO available from processing the mempool. This allows for chaining smart-contract transactions without the need to track the UTxO state on from the client’s side. Ogmios now internally maintains a view of the node’s mempool and ensure a consistent access to it when evaluating transaction. See also #375.

      • More log traces around transaction evaluation and submission.

      Changed

      • Retry HasTx on false with id wrapped in different eras, to cope with the hard-fork combinator inability to compare transaction id across eras. See also #376.

      Removed

      • N/A


      [6.1.0] - 2024-02-21

      Added

      • Two new script purposes (available from the Conway era onward):

        • propose: for proposing new governance actions. When itemized, comes with a proposal field that documents the associated governance proposal.
        • vote: for voting on a proposed governance action. When itemized, comes with an issuer field that documents the associated governance issuer.
      • A new field guardrails is now present on governance proposals of type treasuryWithdrawals and protocolParametersUpdate. It is either null or contains a script hash (blake2b, 28 bytes) that indicates the additional guardrails script that must successfully pass for the governance proposal to be considered valid.

      • The object returned from ledgerState/rewardAccountSummaries now contain an extra deposit field equals to the amount deposited and held by the associated stake credential.

      • A new query queryLedgerState/constitution to obtain the current on-chain constitution. This query is only available when the ledger is in the Conway era onwards.

      Changed

      • Configuration files no longer contain mainnet_p2p, preprod_p2p, preview_p2p and sanchonet_p2p folders. The p2p configs are now replacing the default configurations; so we’re back to configuration folders for mainnet, preprod, preview and sanchonet.

      • The constitution hash is now wrapped in a singleton object guardrails, to better capture its meaning. It isn’t the hash of the constitution script (which is covered by the anchor already), but the hash of the additional script policy which controls governance proposals of certain actions (e.g. treasury withdrawals, protocol parameters).

      • Renamed all fields anchor to metadata in the Conway era objects to be more consistent with other occurences of metadata in previous eras.

      • Fixed a few minor JSON-schema oversights such as TransactionOutputReference’s index now being a UInt64 (instead of UInt32).

      Removed

      • InternalLedgerTypeConversionError which can no longer occur.


      [6.0.3] - 2024-02-02

      Added

      • A new transaction submission / evaluation error (code: 3161) returned when a script evaluation goes beyond its allocated budget.

      Changed

      • Mapped some internal errors to actual predicate failures. Before, Ogmios would simply return an InternalLedgerTypeConversionError with code 3999 in cases where it should have been returning a more meaningful error resulting from either an excessive script evaluation (see new introduced error 3161) or a failed attempt to create a script context for a given transaction.

      • TypeScript Renamed types regarding Metadatum in the TypeScript client to provide more meaningful names.

      Removed

      • N/A


      [6.0.2] - 2024-01-30

      Added

      • N/A

      Changed

      • Fixed ‘preview’ showing as ‘preprod’ (and vice-versa) in error message on start-up when connecting to a wrong test network.
      • Fixed parsing of base16-encoded CBOR transaction on ogmios inspect transaction; would wrongly expect an extra singleton object before that.
      • TypeScript Fixes identification of submit/evaluate transaction responses, now using the method field instead of relying on the mirror. Should fix clashes with other requests.

      Removed

      • N/A


      [6.0.1] - 2024-01-22

      Added

      • Introduced a new runtime configuration flag --strict-rpc to allow removing the extra 'method' field provided in the server response. While the JSON-RPC specification doesn’t explicitly disallow the use of extra fields in the response, some libraries have proven being quite strict in the inputs they accept, resulting in errors when receiving Ogmios' responses. The flag is off by default.

      Changed

      • Fixed various descriptions and oversights in the JSON specifications (and thus documentation). In particular, the Getting Started section on the website has been slightly reworked to be easier to navigate and to include information about configuring Ogmios.

      Removed

      • N/A


      [6.0.0] - 2024-01-10

      Added

      • Integration with cardano-node==8.7.2 and cardano-ledger-conway==1.11.0.0. It adds (preliminary) support for the Conway era. This support only covers what is currently available in the Cardano node / ledger. However, since the implementation of this era isn’t finalized yet it will likely break in the future. New updates will be issued until Conway stabilizes.

      • Ogmios now accept queries via HTTP (POST). Request bodies are the same as those passed to the websocket and so are responses. In fact, most Ogmios queries follow a simple request/response pattern and are therefore well-suited to be run over HTTP. While there’s an obvious performance trade-off (especially for the local-chain-sync protocol), it is a reasonable approach for many queries (e.g. the local-state-query protocol).

        [!NOTE] +The HTTP server and the WebSocket server are both mounted on the same port. So, it suffices to route HTTP requests through /. The JSON payload is the same.

      • Ability to retrieve any genesis configuration (Byron, Shelley, Alonzo or Conway) via the state-query protocol.

      • A new flag --metadata-detailed-schema (disabled by default) to control how the server returns JSON metadata. When set, the server will return a JSON description of the encoded data; when omitted, it’ll attempt to convert CBOR metadata as plain JSON object, and default to hex-encoded cbor otherwise. See also notes in ADR-017.

      • A new command inspect transaction to help with debugging the deserialization of transaction.

      • The health now contains an extra network and version. Also, beware that era names are now returned in lowercase (first letter used to be capitalised!).

      • sanchonet network to the list of well-known networks.

      • arm64 static executables for Linux are now available in the continuous delivery pipeline, and as release artifacts.

      Changed

      • The server now return an internalError when an unexpected error occurs in the communication between Ogmios and the node. Before, Ogmios would simply log an exception and no response would be sent back to client applications. Now, clients correctly receive an unsuccessful response with the same id as present in the request. See #346.

      • TypeScript

        • Add an extra promise handler to cope with unexpected websocket disconnections when submitting messages to the server. See #346.

        • Escape the word ‘constructor’ to constr when present as key in metadata, and when not using --metadata-detailed-schema. JavaScript (and thus TypeScript) forbids using that word as an object key.

      Changed

      • ⚠️ BREAKING-CHANGE ⚠️ Many major changes in the interface. A complete migration guide is available in ADR-017, yet please refer to the API reference for details and exhaustiveness. Many representations have been made easier to parse and field names have been improved (more consistent across the entire API and better self-documented).

        [!NOTE] +There are still many test vectors available for every element of the Ogmios API. Use them!

      • Ogmios will no longer retry connecting to a node that is configured for another network but exit with an non-zero code and a clear error message indicating the network mismatch.

      • The default dashboard on localhost has been greatly rework and simplified. It also better handles errors.

      • Responses from the server no longer includes raw binary cbor by default. This was the case in particular for transactions. This behavior can be restored by configuring the server with --include-cbor to always include binary version of some specific objects such as transactions. This flag can be declined in more fine-grained flags if necessary:

        • --include-transaction-cbor
        • --include-metadata-cbor
        • --include-script-cbor

        where --include-cbor turns all three flags at once.

      Removed

      • ⚠️ BREAKING-CHANGE ⚠️ Compact mode is no more. Responses are more compact by default already and it is no longer possible to ask for a compact mode.

      • ⚠️ BREAKING-CHANGE ⚠️ Ogmios no longer returns null or empty fields. Where a field’s value would be null prior to v6.0.0, Ogmios now simply omit the field altogether. This is also true for most responses that return empty lists as well. All-in-all, please refer to the documentation / JSON-schema in case of doubts (fields that may be omitted are no longer marked as required).



      [5.6.0] - 2023-02-02

      Added

      • TypeScript Add a new helper function unsafeMetatumAsJSON which converts a detailed metadata schema into plain JavaScript, whenever possible. +For example:

        { "list": [ { "string": "foo" }, { "int": 42 } ] }["foo", 42]

        This should work for any CIP-0025 metadata, and a few other formats. Yet it is unsound in the general case since not every on-chain metadata can actually be represented as JavaScript objects.

      Changed

      • TypeScript Now targets ES2020.

      • TypeScript Fixed a bug in the JSON parser where coins quantities from all eras prior to Mary would be parsed as Number instead of BigInt.

      Removed

      N/A



      [5.5.8] - 2023-01-25

      Added

      N/A

      Changed

      • Bump internal packages to match cardano-node@1.35.4 dependencies set.

      • Bundle the docker image with more recent versions of the cardano-configurations.

      • TypeScript Fix TxMonitorClient’s nextTx wrongly throwing an error when called with no argument. The signature of that method has also been reworked slightly to provide better usage at call-site.

      • TypeScript Add missing required constraints in the JSON schema for Byron witness representation that caused TypeScript types to be generated as optional.

      Removed

      N/A



      [5.5.7] - 2022-10-27

      Added

      • delegationAndRewards and nonMyopicMemberRewards queries now both accept credentials in the form of bech32 strings as parameters, with the following expected prefixes and semantic (according to CIP-0005:

        • stake (resp. stake_test on test networks) for stake addresses
        • stake_vkh for stake key hash digests
        • script for stake script hash digests

        See also #277.

      • TypeScript Allow additionalUtxoSet to be passed as argument in the repl.

      Changed

      • TypeScript Fixed additionalUtxoSet being ignored in the TxSubmissionClient of the TypeScript client.

      Removed

      N/A



      [5.5.6] - 2022-10-21

      Added

      • Prometheus metrics exported at /metrics endpoint

      • Schema definitions are now included in the 📘 API reference. This makes it a little easier to find a specific schema without having to drill into a messages definitions.

      Changed

      • Fixed network synchronization reporting 0.99999 even when fully synchronized. There was sometimes a possible discrepancy between the ledger internal clock and Ogmios' clock, causing a few seconds of drift time.

      • TypeScript Fixed a couple of data-types with fields parsed as number instead of bigint. See #274

        [!WARNING] This is technically an internal breaking-change, however it actually comes as a bug fix since this does not change the announced interface in the TypeScript schema (which was correctly indicated ‘bigint’). Still, this may cause issues with those using number where there will now be bigint.

      • TypeScript Fixed browser detection for the IsomorphicWebSocket abstraction. See #273

      Removed

      N/A



      [5.5.5] - 2022-08-19

      Added

      • TypeScript Support for the TxMonitor mini-protocol in the REPL.

      • Link to a new Java client for Ogmios.

      Changed

      • TypeScript Fixed parsing of ScriptFailures coming out of the evaluateTx command. Before this patch, the client would simply throw undefined when such an error was encountered. They are now properly transcribed as EvaluateTxError.

      Removed

      • testnet has been removed from the target networks by the Docker workflow; which means that until further notice, there will be no more Docker images pushed for testnet. However, support for preprod and preview environment has been added.


      [5.5.4] - 2022-08-11

      Added

      • Missing JSON specification (and therefore, documentation) for collectErrors. See #244.

      Changed

      • Slot lengths are now encoded as floating numbers (double precision) instead of integers (still representing a number of seconds). However, to maintain backward-compatibility, integers value are encoded without decimal, as they used to. #245

      • TypeScript Blocks' properties (header, headerHash, body) are no longer marked as optional in the JSON specification (and consequently, in the TypeScript SDK). #238

      Removed

      N/A



      [5.5.3] - 2022-07-31

      Added

      N/A

      Changed

      • Bumped cardano-node’s version (continuous integration & docker image) to 1.35.2.

      • ⚠️ Fixed Plutus' data / datum serialization function. See 3f614c3c for details. As a consequence, some datums (either inline or in the witness set) that have been reported in the past (since v5.5.0) may have been wrong. Note that the datum hashes were however correct, so it is possible to identify the “corrupted” ones by trying to re-hash (blake2b-256) them and see whether they match their associated hash digest.

      • Changed the Docker image tagging’s scheme of cardano-node-ogmios to now include the cardano-node’s version. This allows to more easily bundle more recent version of cardano-node with old versions of Ogmios without the need to make a whole new release. This is in effect from v5.5.2 and onwards.

        imagerepositorytags
        cardano-node-ogmioscardanosolutions/cardano-node-ogmioslatest
        latest-{NETWORK}
        v*.*.*_{CARDANO_NODE_VERSION}
        v*.*.*_{CARDANO_NODE_VERSION}-{NETWORK}
        ogmioscardanosolutions/ogmioslatest
        latest-{NETWORK}
        v*.*.*
        v*.*.*-{NETWORK}
      • Fixed incongruous error message from the command-line when failing to parse protocol parameters from genesis files. The error reporting has been slightly improved to give a more fine-grained error per invalid parameter. See #242.

      Removed

      N/A



      [5.5.2] - 2022-07-11

      Added

      N/A

      Changed

      • Bumped cardano-node’s version (continuous integration & docker image) to 1.35.1.

      • TypeScript Remove superfluous string concatenation in UnknownResultError’s message. See #236.

      Removed

      N/A



      [5.5.1] - 2022-07-05

      Added

      • TypeScript New isBabbageProtocolParameters helper function, and extended support of the existing ones to Babbage. See #234.

      Changed

      • Fixed Health endpoint wrongly reporting ‘Alonzo’ while in the ‘Babbage era’. See #233.

      Removed

      N/A



      [5.5.0] - 2022-06-29

      Added

      • Added Vasil/Babbage support, including:
        • A new block type babbage with:
          • New (optional) transaction fields references, collateralReturn, totalCollateral;
          • New (optional) transaction output’s fields datum and script;
        • A new plutus:v2 script language;
      • New transaction error submission failures in the Babbage era:
        • mirNegativeTransfer: return when attempting to perform a negative MIR transfer from a reward pot to another;
        • totalCollateralMismatch: returned when totalCollateral is set but does not match what is actually computed by the ledger (i.e. sum of collateral inputs minus collateral return);
        • malformedReferenceScripts: returned when the script specified in an output isn’t actually a well-formed Plutus script;
        • malformedScriptWitnesses, occurs when a script witness specified in the transaction does not properly deserialize to a Plutus script.
      • New script evaluation failures in the Babbage era:
        • corruptCostModelForLanguage: An artifact from a distant past. This is unused but somehow still present in the ledger internal definitions. Should be removed eventually.
      • New server evaluation failures:
        • NotEnoughSynced: Happens when attempting to evaluate execution units on a node that isn’t enough synchronized. This is, if the node is still in an era prior to Alonzo, evaluation of execution units won’t be possible.
        • CannotCreateEvaluationContext: Happens when the ledger fails to create an evaluation context from a given transaction. This is mostly due to the transaction being malformed (e.g. wrong redeemer pointer, missing UTxO).

      See the 📘 API reference for more details.

      Changed

      • Updated cardano-configurations to include the vasil-dev network and switch to cardano-world as a source instead of Hydra artifacts – now being deprecated.

      • Partially fixed an issue causing websocket connection to be terminated by the server when p2p is enabled on the underlying node. Ogmios now has a workaround which makes the issue less likely, but the real fix belongs in the upstream networking stack. See #230, #208.

      • The missingRequiredScripts error now contains an extra field resolved that is a map of (pointer → script hash) that have been correctly resolved by said pointers.

      • The introduction of the Babbage era comes with some minor (albeit possibly breaking) changes and deprecations:

        • ⚠️ datums, redeemerData and plutus:v1 scripts are no longer encoded as base64 strings, but are encoded as base16 strings. The data payload remains however identical. This change is meant for more compatibility across the API since those data-types can now also be submitted to the server when evaluating execution units for transactions. Using base64 for input data here is a bit awkward since most existing interfaces in the ecosystem favor base16;

        • ⚠️ When passing transaction outputs to the server (e.g. when providing an additional UTxO for script evaluation), datum hashes in output must now be specified as datumHash (instead of datum). However, the server does a best-effort for the sake of backward compatibility and should still work if provided with a valid hash under datum. However, after the Vasil hard-fork, it’ll be possible to also pass inline-datums using datum, while datum hash digest are expected to be specified as datumHash. Said differently, existing applications relying on this functionality will keep working without a change on this release, but applications willing to make use of the new inline-datum functionality coming in Vasil must abide by the new notation;

        • ⚠️ Similarly, Alonzo transaction outputs will now contain a datumHash field, carrying the datum hash digest. However, they will also contain a datum field with the exact same value for backward compatibility reason. In Babbage however, transaction outputs will carry either datum or datumHash depending on the case; and datum will only contain inline datums;

        • ⚠️ The outputTooSmall errors from transaction submission will slightly change format for transactions submitted during the Babbage era. Instead of an array of outputs, it is an array of objects with output and minimumRequiredValue fields;

        • ⚠️ A slightly modified block header: leaderValue and nounce fields are gone and replaced by a single inputVrf field;

        • ⚠️ Few protocol parameters changes:

          • A new protocol parameter coinsPerUTxOByte comes to replace coinsPerUtxoWord with a slightly different semantic. coinsPerUTxOByte is meant to compute the minimum Lovelace requirement on transaction outputs, and is simply a coefficient in a linear function of the serialized (CBOR) output:

            minUTxOValue(output) =  |serialise(output)| * coinsPerUTxOByte
            -
          • The decentralizationParameter no longer exists.
            The block production is forever decentralized :tada:!

          • The extraEntropy no longer exists.

      See the 📘 API reference for more details.

      Removed

      • UnknownInputs and UncomputableSlotArithmetic errors have been removed from the top-level possible cases of EvaluationFailure. Instead, those errors are now comprised in the CannotCreateEvaluationContext case.

      • The corruptCostModelForLanguage error has been removed from the top-level possible cases of ScriptFailure. This one was effectively dead-code that couldn’t be reached and was there for completeness. The code has now been removed upstream.



      [5.4.0] - 2022-05-22

      Added

      Changed

      • The server now returns slightly better faults when detecting a misuse of the TxMonitor protocol (e.g. when sending a HasTx before an AwaitAcquire).

      • The server now fails with an explicit error when given a Request containing a reflection field; reflection are only used in responses, while requests use mirror. See #217.



      [5.3.0] - 2022-05-07

      Added

      • In the Local-Tx-Monitor protocol, NextTx can now take an (optional) extra argument { "fields": "all" } to instrument the server in returning not only a transaction id in NextTxResponse, but a full transaction object. See #190.

      • Transaction JSON objects from all eras now contains an extra field raw, which represents the raw serialized transaction (CBOR) as a base64-encoded text string. This is the case of the chain-sync protocol, but also for the tx-monitor protocol. The field is however absent in the ogmios.v1:compact mode. See #190.

      • Transaction JSON objects from the Alonzo era now contains an extra field inputSource which a string set to either inputs or collaterals. This captures the fact that since the introduction of Plutus scripts in Alonzo, some transactions may be recorded as failed transactions in the ledger. Those transactions do not successfully spend their inputs but instead, consume their collaterals as an input source to compensate block validators for their work.

      Changed

      • The complete API reference for the server is available in a new form at: https://ogmios.dev/api/. This should make the various protocol messages easier to explore and provide a less awkward visualization of the server API than the previous TypeScript documentation. The old TypeScript documentation remains however available at: https://ogmios.dev/typescript/api/.

      • Upgrade internal dependencies to cardano-node@1.34.1

      • Fixed the supervisor script for the cardano-node-ogmios Docker image, which would wrongly ignore signals sent from the Docker daemon (e.g. docker container stop ...). See #168

      • TypeScript The tx-submission client now only creates a single event listener to interact with the server. This solves the Node.js warning “possible memory leak detected” when firing many submission requests at once (and going beyond the internal default maxNumberOfListeners set by node.js on event emitters). See #197.

      • TypeScript The options passed to the WebSocket constructors are now ignored on the browser, since they aren’t supported and were causing the constructor to “crash”. See #194.

      • TypeScript ⚠️ Some schema type interface renaming:

        • TxTxByron
        • BlockBodyShelleyTxShelley
        • BlockBodyAllegraTxAllegra
        • BlockBodyMaryTxMary
        • BlockBodyAlonzoTxAlonzo

      Removed

      N/A



      [5.2.0] - 2022-02-15

      Added

      • Extended the local-tx-submission protocol with a new EvaluateTx query which evaluates execution units of scripts present in a transaction. This effectively piggybacks on the Alonzo’s tools from the cardano-ledger while providing a more user-friendly interface regarding network parameters. The API offers well-detailed errors and an interface similar to the SubmitTx. See discussion on #172.
      • New rewardsProvenance' query coming as a replacement for the now-deprecated rewardsProvenance query. See discussion on #171.
      • TypeScript Support for the new evaluateTx query in the TxSubmissionClient & repl.

      • TypeScript Support for the new rewardsProvenance' query as rewardsProvenanceNew in the StateQueryClient & repl.

      Changed

      • Added transaction id as part of the successful response to a SubmitTx. While this is technically a breaking-change, it was introduced in a backward-compatible way. Existing applications using the existing SubmitTx query will see no change and will keep receiving successes as "SubmitSuccessful" text responses. However, queries which pass transactions using the submit field (instead of the currently expected bytes field) will receive, on success, an augmented response which contains a transaction id "SubmitSuccessful": { "txId": "..." }. See discussion on #174.
      • Improved error reporting for the SubmitTx protocol which should gives a little clearer errors for ill-formed transactions.
      • TypeScript ⚠️ Renamed client’s TxSubmission/errors.ts into TxSubmission/submissionErrors.ts. Similarly, the submission are also now nested under a submissionErrors field in the TxSubmission top-level object.

      Removed

      N/A



      [5.1.0] - 2022-01-24

      Added

      • New LocalTxMonitor support in Ogmios. See The user guide for more details.

      ⚠️ This new protocol is NOT enabled in cardano-node@1.33.*. Until its inclusion in a next release, a custom build of cardano-node is required to include a more recent version of ouroboros-network which adds support for that protocol to the Ouroboros' mini-protocols; namely: 32af9168.

      A version of cardano-node@1.33.0 patched with the necessary commits can be found at CardanoSolutions/cardano-node@1.33.0+local-tx-monitor.

      • New fields in the health object:
        • connectionStatus"connected" or "disconnected", to reflect status with the node. #154
        • currentEpoch → which returns the current known epoch of the linked node #164
        • slotInEpoch → which returns the relative number of slots elapsed in the current epoch #164
      • New ogmios health-check command, useful to perform simple health check on a running server. For example, to monitor a container via Docker health check mechanism:
        HEALTHCHECK --interval=10s --timeout=5s --retries=1 CMD /bin/ogmios health-check
        -
      • Bumped internal dependencies to Cardano’s 1.33.* eco-system.

      Changed

      • networkSynchronization and currentEra can be null when the server isn’t connected to a node. #154
      • The Metrics trace is now correctly tagged with MetricsRuntimeStatsDisabled.
      • Fixed an issue with the Docker monitoring scripts of cardano-node-ogmios, causing issues on restart. #159
      • TypeScript Relax upper-bound constraint on required node.js engine. This should make it possible to install the TypeScript packages on more recent versions on node.js than the one specified on the repository.

      Removed

      N/A



      [5.0.0] - 2021-12-20

      Added

      • New state-query systemStart to access the blockchain start time (UTC).

      • New state-query chainTip to access the blockchain current tip (may slightly differ from the ledgerTip which may be behind catching up).

      • New state-query blockHeight to access the blockchain current highest block number (or "origin" if the chain is just starting).
      • New state-query eraSummaries to access all era bounds and slotting parameters details, required for proper slot arithmetic.
      • Log-levels can now be configured per-component. For example, one can decrease the min severity for the health component while keeping the state-query logs at another.
      • Logs can now be shutdown completely via the special keyword off.
      • Static binaries for Linux are now produced by the Nix build and uploaded as build artifacts for the corresponding Github workflow (i.e. Nix).
      • TypeScript Add support for systemStart, chainTip, blockHeight & eraSummaries in the client and repl.

      Changed

      🏢 Server
      • ⚠️ RelativeTime is no-longer serialised as a string (with s as suffix) but, as an integer representing the number of seconds.
      • ⚠️ Serialised Plutus scripts are now labelled either plutus:v1 or plutus:v2 (instead of plutus).

      • ⚠️ Some breaking changes in the SubmitTx errors returned by the server for the sake of consistency. All submission errors are now returned as singleton objects within an array. The key of each object indicates the type of error and the value gives additional details about the errors. This is also true for era-mismatch errors. Some errors used to be returned as plain strings, they are now wrapped as singleton object with null as a value; this is the case for:

        • invalidMetadata
        • mirNegativeTransferNotCurrentlyAllowed
        • mirProducesNegativeUpdate
        • mirTransferNotCurrentlyAllowed
        • missingAtLeastOneInputUtxo
        • missingCollateralInputs
        • triesToForgeAda
        • validationTagMismatch
        • wrongCertificateType
      • Upgraded internal dependencies to Cardano eco-system 1.31.0

      • ⚠️ TypeScript Lovelace is now a native BigInt.

      • ⚠️ TypeScript getServerHealth’s connection argument is now wrapped into an object, mapped to the field connection. (see #135)

      • ⚠️ TypeScript Replaced schema definitions for Hash16 and Hash64 with more precise type definitions. For hashes, definitions now follows a convention Digest[ALGORITHM]::PRE-IMAGE where ALGORITHM and PRE-IMAGE points to the corresponding has algorithm used to hash the PRE-IMAGE. The length of the digest is given by minLength and maxLength JSON-schema constraints. Consequently, TypeScript types / interfaces generated from the JSON-schema definitions have been altered.

      Removed

      • ⚠️ Log level severities critical, alert and emergency have been removed. error is now the highest severity.

      • ⚠️ The Nix setup has been highly simplified, resulting in removal of the NixOS services configuration and probably some other stuff.



      [4.2.1] - 2021-11-16

      Added

      N / A

      Changed

      • Fixed configuration parsing which would wrongly use Shelley’s slots per epoch instead of Byron’s. This had an impact on the reported slot number in the chain-sync protocol, where slot numbers would be wrongly offset by 432000 per epoch after the first epoch.

      Removed

      N/A

      [4.2.0] - 2021-11-05

      Added

      • Enabled Alonzo transaction in the submission protocol (oversight from previous releases). Doing so, explicit compiler warnings have been added to the relevant code to avoid overseeing this in the next upgrade.

      • Added query response and requests to logs trace, large responses are truncated (e.g. querying the entire UTXO or, informations about all stake pools).

      • Gracefully handled shutdown and process cleanup on SIGTERM.

      • Documented Mary last point to the points of interests for the chain-sync protocol.

      • Bumped cardano-node’s integration to 1.31.0

      • TypeScript The State-Query client can now release acquired points to perform queries against the most recent tip (which was also the default when creating a client with no point).

      Changed

      • TypeScript Some internal rework and cleanup; mostly chasing dangling promises by avoiding attaching even handlers when not needed.

      Removed

      N/A



      [4.1.0] - 2021-09-08

      Added

      • Generate and store test vectors for various JSON requests and responses. This should ease integration for many clients who seek for good coverage of the server inputs/outputs.

      • Documented example state queries in the user-guide.

      • TypeScript The ConnectionConfig has an additional, optional, configuration parameter maxPayload to configure the maximum allowed message size in bytes. The default is chosen quite large as the utxo query can result in large payloads.

      • TypeScript New helpers isByronEpochBoundaryBlock and isByronStandardBlock.

      Changed

      • TypeScript The StateQueryClient now wraps every query in a try/catch to cope with malformed queries leading to client fault results from the server.
      • TypeScript Type definitions for QueryResponse[poolIds] and QueryResponse[poolParameters] are no longer marked as “optional”.
      • TypeScript Fixed bug #125 where empty results of delegationAndRewards would cause the client to throw an exception.
      • TypeScript Handled some floating promises.

      Removed

      N/A



      [4.0.0] - 2021-09-06

      Added

      • Integrated with the Cardano eco-system corresponding to cardano-node@1.29.0 (Alonzo!) & latest testnet(s).
      • New alonzo block type, with various additions related to Alonzo.
      • New state-queries:

        QueryDescription
        poolIdsThe list of all pool identifiers currently registered and active.
        poolParametersStake pool parameters submitted with registration certificates.
        poolsRankingRetrieve stake pools ranking (a.k.a desirabilities).
        rewardsProvenanceGet details about rewards calculation for the ongoing epoch.
      • Added missing properties in Byron’s protocol parameters update. Somehow, an additionalProperties: true had slipped through and caused the tests to pass with an incomplete schema.

      • Nested logs are now also structured, in particular those coming from the Handshake or TxSubmission protocols. Before, any message from these layers where actually plain strings with unintelligible gibberish. Now, the submitted transaction payload is shown encoded as hexadecimals and errors are also serialized to json using the same model / codec as the one used for websockets. The handshake is also more verbose now clearly showing what version is being requested and what the node replies / select. All in all, better logs.

      • The Dockerfile now includes a build definition for building cardano-node and ogmios into the same image, which is the default and suggested mode of operation. To build an image with only Ogmios, use the build --target ogmios. Docker Hub now hosts two image repositories: cardanosolutions/cardano-node-ogmios and cardanosolutions/ogmios.

      • Docker Hub images are now tagged with a network suffix (e.g. -mainnet). In the case of mainnet, the -mainnet suffix is optional, and points to the same build as the defaults.

      • A new repository for hosting Cardano configurations of various services was created and is now used in Ogmios. Configuration for cardano-node (and therefore Ogmios) or, network genesis can be found in input-output-hk/cardano-configurations. Configurations are updated automatically by a nightly job to be always up-to-date. They can be pulled into projects as git submodules.

      • New possible errors from the transaction submission (stemming from the Alonzo integration):

        • collateralHasNonAdaAssets
        • collateralIsScript
        • collateralTooSmall
        • collectErrors
        • datumsMismatch
        • executionUnitsTooLarge
        • extraDataMismatch
        • extraRedeemers
        • mirNegativeTransferNotCurrentlyAllowed
        • mirProducesNegativeUpdate
        • mirTransferNotCurrentlyAllowed
        • missingDatumHashesForInputs
        • missingRequiredDatums
        • missingRequiredRedeemers
        • missingRequiredSignatures
        • outsideForecast
        • poolMetadataHashTooBig
        • tooManyCollateralInputs
        • unspendableDatums
        • unspendableScriptInputs
        • validationTagMismatch
      • TypeScript Compatibility with aforementioned server additions.

      • TypeScript The ChainSyncClient now implements an in-memory queue to ensure requestNext responses are processed sequentially when there are async operations in the message handlers. This behaviour can be bypassed where sequential processsing is not required, by setting the new construction option sequential to false.

      • TypeScript The StateQueryClient can now re-acquire new points at will, useful for long-running clients for which previously acquired points may expire.

      • TypeScript The TypeScript client is now fully documented!

      Changed

      • ⚠️ The utxo query can now accept a list TxIn as argument, and still supports list of Address. Note that lists can’t be heterogeneous and it’s not possible to mix TxIn and Address.

      • ⚠️ Asset quantities and transaction metadata’s integers are now parsed as native BigInt.

      • The memory and steps JSON representations for prices are no longer coins, but ratio (represented as strings in the API).

      • The moveInstantaneousRewards certificates have a new optional field value and not only a rewards map as before. When value is present, it signifies that rewards are moved to the other pot.

      • Auxiliary data’s scriptPreImages in Allegra & Mary has been replaced with a field scripts which has one field native. The value of native corresponds to what used to be the value of scriptPreImages. In Alonzo, scripts may also have another field plutus with a serialized Plutus script.

      • Transactions witnesses' address has been renamed into signatures, and the structure of the object has been changed to be a map from public keys to signatures (instead of an object with two field key & signature).

      • Transactions witnesses' script has been renamed into scripts.

      • Transaction submission errors' networkMismatch now returns an invalidEntities list of object in the form of { "type": ..., "entity": } where type is a text tag designating the type of entity for which there is a network identifier mismatch. Values can be address, rewardAccount and since Alonzo transactionBody. The entity field contains some details specific to the type of entity. Before, it used to be two distinct fields invalidAddresses and invalidRewardAccounts.

      • Empty transaction metadata are no longer materialized by an object with two null fields ({ "hash": null, "body": null }). Empty transaction metadata are now equal to null.

      • map metadatum in transactions' metadata are no longer materialized as a list of list of singleton objects: [[{ "k": ... }, { "v": ... }], ...] but instead, as a list of object with two fields k and v: [{ "k": ..., "v": ...}, ...]. This was an oversight from the encoder which was never intended to end up that way but happened to slip in because the schema for metadatum was not specified / documented (and therefore, also escaped testing). This is now documented properly.

      • The TxOut (and thus Utxo) model definitions have been unified and harmonized across all eras. That is, pre-Mary eras now also wrap Ada values in an object with a field "coins": .... This reduces the discrepancy between eras for there’s now a single TxOut representation valid across all eras. Some fields are however optional and only present in some eras (e.g. datum starting from Alonzo)

      • ⚠️ TypeScript State queries (resp. the StateQueryClient) now automatically runs queries against the last known tip if no explicit point is provided. It used to acquire a point on the first query which would eventually become too old. The behavior is now equivalent to acquiring a new point on every query!

      • ⚠️ TypeScript SubmitTx no-longer returns Byron errors. Consequently, submit errors are no longer scoped under errors.byron or errors.shelley but simply errors.

      • ⚠️ TypeScript Fixed proposedProtocolParameters query. All fields are actually required AND, more importantly, it can now return either Shelley protocol parameters or, Alonzo protocol parameters.

      • TypeScript The ChainSyncClientMessageHandlers methods now must return a promise.

      • TypeScript Various reworks and renaming of the TypeScript types

        • AssetQuantity is now a native bigint
        • Metadatum’s Int are now native bigint
        • Type DelegationsAndRewards renamed into DelegationsAndRewardsByAccounts
        • Type DelegationsAndRewards1 renamed into DelegationsAndRewards
        • Type NonMyopicMemberRewards1 renamed into NonMyopicMemberRewards
        • Type TxTooLarge1 renamed into TxTooLarge
        • Type FeeTooSmall1 renamed into FeeTooSmall
        • Type NetworkMismatch1 renamed into NetworkMismatch
        • Type Proposal renamed into UpdateProposalShelley
        • Types Utxo1, Utxo2, UtxoMary have been unified into a single Utxo type. Refer to server breaking changes for details.
        • Type Tip & Point renamed into TipOrOrigin and PointOrOrigin. As a consequence, Tip1 and Point1 are now simply Tip and Point.
        • Many types NullX merged into a single Null type
        • Query types have been renamed from ledgerTip1 to GetLedgerTip and so forth for all queries.

      Removed

      • datumsMismatch, a previously introduced error from the transaction submission has been removed / replaced.

      • SubmitTx can no longer return SubmitTxError[Byron]. All the child error types have been removed accordingly, namely:

        • UtxoValidationError
        • TxValidationError
        • LovelaceError
      • TypeScript ChainSyncClient no longer exposes a requestNext function. Instead you must invoke the callback provided as the second argument in each of rollBackward and rollForward handlers.

      • TypeScript ChainSyncClient no longer exposes JSON-WSP reflection as there would be unexpected results given the first n messages would all share the same reflected value.



      [3.2.0] - 2021-05-09

      Added

      • New TypeScript client! The client comes in three packages:
        • An interactive REPL to play with Ogmios using the command-line.
        • A generator to derive TypeScript type definitions from the JSON schema.
        • The actual client library providing nice wrapper around the various protocol, in a typed way. +
        • The decentralizationParameter no longer exists.
          The block production is forever decentralized :tada:!

        • The extraEntropy no longer exists.

      See the 📘 API reference for more details.

      Removed

      • UnknownInputs and UncomputableSlotArithmetic errors have been removed from the top-level possible cases of EvaluationFailure. Instead, those errors are now comprised in the CannotCreateEvaluationContext case.

      • The corruptCostModelForLanguage error has been removed from the top-level possible cases of ScriptFailure. This one was effectively dead-code that couldn’t be reached and was there for completeness. The code has now been removed upstream.



      [5.4.0] - 2022-05-22

      Added

      Changed

      • The server now returns slightly better faults when detecting a misuse of the TxMonitor protocol (e.g. when sending a HasTx before an AwaitAcquire).

      • The server now fails with an explicit error when given a Request containing a reflection field; reflection are only used in responses, while requests use mirror. See #217.



      [5.3.0] - 2022-05-07

      Added

      • In the Local-Tx-Monitor protocol, NextTx can now take an (optional) extra argument { "fields": "all" } to instrument the server in returning not only a transaction id in NextTxResponse, but a full transaction object. See #190.

      • Transaction JSON objects from all eras now contains an extra field raw, which represents the raw serialized transaction (CBOR) as a base64-encoded text string. This is the case of the chain-sync protocol, but also for the tx-monitor protocol. The field is however absent in the ogmios.v1:compact mode. See #190.

      • Transaction JSON objects from the Alonzo era now contains an extra field inputSource which a string set to either inputs or collaterals. This captures the fact that since the introduction of Plutus scripts in Alonzo, some transactions may be recorded as failed transactions in the ledger. Those transactions do not successfully spend their inputs but instead, consume their collaterals as an input source to compensate block validators for their work.

      Changed

      • The complete API reference for the server is available in a new form at: https://ogmios.dev/api/. This should make the various protocol messages easier to explore and provide a less awkward visualization of the server API than the previous TypeScript documentation. The old TypeScript documentation remains however available at: https://ogmios.dev/typescript/api/.

      • Upgrade internal dependencies to cardano-node@1.34.1

      • Fixed the supervisor script for the cardano-node-ogmios Docker image, which would wrongly ignore signals sent from the Docker daemon (e.g. docker container stop ...). See #168

      • TypeScript The tx-submission client now only creates a single event listener to interact with the server. This solves the Node.js warning “possible memory leak detected” when firing many submission requests at once (and going beyond the internal default maxNumberOfListeners set by node.js on event emitters). See #197.

      • TypeScript The options passed to the WebSocket constructors are now ignored on the browser, since they aren’t supported and were causing the constructor to “crash”. See #194.

      • TypeScript ⚠️ Some schema type interface renaming:

        • TxTxByron
        • BlockBodyShelleyTxShelley
        • BlockBodyAllegraTxAllegra
        • BlockBodyMaryTxMary
        • BlockBodyAlonzoTxAlonzo

      Removed

      N/A



      [5.2.0] - 2022-02-15

      Added

      • Extended the local-tx-submission protocol with a new EvaluateTx query which evaluates execution units of scripts present in a transaction. This effectively piggybacks on the Alonzo’s tools from the cardano-ledger while providing a more user-friendly interface regarding network parameters. The API offers well-detailed errors and an interface similar to the SubmitTx. See discussion on #172.
      • New rewardsProvenance' query coming as a replacement for the now-deprecated rewardsProvenance query. See discussion on #171.
      • TypeScript Support for the new evaluateTx query in the TxSubmissionClient & repl.

      • TypeScript Support for the new rewardsProvenance' query as rewardsProvenanceNew in the StateQueryClient & repl.

      Changed

      • Added transaction id as part of the successful response to a SubmitTx. While this is technically a breaking-change, it was introduced in a backward-compatible way. Existing applications using the existing SubmitTx query will see no change and will keep receiving successes as "SubmitSuccessful" text responses. However, queries which pass transactions using the submit field (instead of the currently expected bytes field) will receive, on success, an augmented response which contains a transaction id "SubmitSuccessful": { "txId": "..." }. See discussion on #174.
      • Improved error reporting for the SubmitTx protocol which should gives a little clearer errors for ill-formed transactions.
      • TypeScript ⚠️ Renamed client’s TxSubmission/errors.ts into TxSubmission/submissionErrors.ts. Similarly, the submission are also now nested under a submissionErrors field in the TxSubmission top-level object.

      Removed

      N/A



      [5.1.0] - 2022-01-24

      Added

      • New LocalTxMonitor support in Ogmios. See The user guide for more details.

      ⚠️ This new protocol is NOT enabled in cardano-node@1.33.*. Until its inclusion in a next release, a custom build of cardano-node is required to include a more recent version of ouroboros-network which adds support for that protocol to the Ouroboros' mini-protocols; namely: 32af9168.

      A version of cardano-node@1.33.0 patched with the necessary commits can be found at CardanoSolutions/cardano-node@1.33.0+local-tx-monitor.

      • New fields in the health object:
        • connectionStatus"connected" or "disconnected", to reflect status with the node. #154
        • currentEpoch → which returns the current known epoch of the linked node #164
        • slotInEpoch → which returns the relative number of slots elapsed in the current epoch #164
      • New ogmios health-check command, useful to perform simple health check on a running server. For example, to monitor a container via Docker health check mechanism:
        HEALTHCHECK --interval=10s --timeout=5s --retries=1 CMD /bin/ogmios health-check
        +
      • Bumped internal dependencies to Cardano’s 1.33.* eco-system.

      Changed

      • networkSynchronization and currentEra can be null when the server isn’t connected to a node. #154
      • The Metrics trace is now correctly tagged with MetricsRuntimeStatsDisabled.
      • Fixed an issue with the Docker monitoring scripts of cardano-node-ogmios, causing issues on restart. #159
      • TypeScript Relax upper-bound constraint on required node.js engine. This should make it possible to install the TypeScript packages on more recent versions on node.js than the one specified on the repository.

      Removed

      N/A



      [5.0.0] - 2021-12-20

      Added

      • New state-query systemStart to access the blockchain start time (UTC).

      • New state-query chainTip to access the blockchain current tip (may slightly differ from the ledgerTip which may be behind catching up).

      • New state-query blockHeight to access the blockchain current highest block number (or "origin" if the chain is just starting).
      • New state-query eraSummaries to access all era bounds and slotting parameters details, required for proper slot arithmetic.
      • Log-levels can now be configured per-component. For example, one can decrease the min severity for the health component while keeping the state-query logs at another.
      • Logs can now be shutdown completely via the special keyword off.
      • Static binaries for Linux are now produced by the Nix build and uploaded as build artifacts for the corresponding Github workflow (i.e. Nix).
      • TypeScript Add support for systemStart, chainTip, blockHeight & eraSummaries in the client and repl.

      Changed

      🏢 Server
      • ⚠️ RelativeTime is no-longer serialised as a string (with s as suffix) but, as an integer representing the number of seconds.
      • ⚠️ Serialised Plutus scripts are now labelled either plutus:v1 or plutus:v2 (instead of plutus).

      • ⚠️ Some breaking changes in the SubmitTx errors returned by the server for the sake of consistency. All submission errors are now returned as singleton objects within an array. The key of each object indicates the type of error and the value gives additional details about the errors. This is also true for era-mismatch errors. Some errors used to be returned as plain strings, they are now wrapped as singleton object with null as a value; this is the case for:

        • invalidMetadata
        • mirNegativeTransferNotCurrentlyAllowed
        • mirProducesNegativeUpdate
        • mirTransferNotCurrentlyAllowed
        • missingAtLeastOneInputUtxo
        • missingCollateralInputs
        • triesToForgeAda
        • validationTagMismatch
        • wrongCertificateType
      • Upgraded internal dependencies to Cardano eco-system 1.31.0

      • ⚠️ TypeScript Lovelace is now a native BigInt.

      • ⚠️ TypeScript getServerHealth’s connection argument is now wrapped into an object, mapped to the field connection. (see #135)

      • ⚠️ TypeScript Replaced schema definitions for Hash16 and Hash64 with more precise type definitions. For hashes, definitions now follows a convention Digest[ALGORITHM]::PRE-IMAGE where ALGORITHM and PRE-IMAGE points to the corresponding has algorithm used to hash the PRE-IMAGE. The length of the digest is given by minLength and maxLength JSON-schema constraints. Consequently, TypeScript types / interfaces generated from the JSON-schema definitions have been altered.

      Removed

      • ⚠️ Log level severities critical, alert and emergency have been removed. error is now the highest severity.

      • ⚠️ The Nix setup has been highly simplified, resulting in removal of the NixOS services configuration and probably some other stuff.



      [4.2.1] - 2021-11-16

      Added

      N / A

      Changed

      • Fixed configuration parsing which would wrongly use Shelley’s slots per epoch instead of Byron’s. This had an impact on the reported slot number in the chain-sync protocol, where slot numbers would be wrongly offset by 432000 per epoch after the first epoch.

      Removed

      N/A

      [4.2.0] - 2021-11-05

      Added

      • Enabled Alonzo transaction in the submission protocol (oversight from previous releases). Doing so, explicit compiler warnings have been added to the relevant code to avoid overseeing this in the next upgrade.

      • Added query response and requests to logs trace, large responses are truncated (e.g. querying the entire UTXO or, informations about all stake pools).

      • Gracefully handled shutdown and process cleanup on SIGTERM.

      • Documented Mary last point to the points of interests for the chain-sync protocol.

      • Bumped cardano-node’s integration to 1.31.0

      • TypeScript The State-Query client can now release acquired points to perform queries against the most recent tip (which was also the default when creating a client with no point).

      Changed

      • TypeScript Some internal rework and cleanup; mostly chasing dangling promises by avoiding attaching even handlers when not needed.

      Removed

      N/A



      [4.1.0] - 2021-09-08

      Added

      • Generate and store test vectors for various JSON requests and responses. This should ease integration for many clients who seek for good coverage of the server inputs/outputs.

      • Documented example state queries in the user-guide.

      • TypeScript The ConnectionConfig has an additional, optional, configuration parameter maxPayload to configure the maximum allowed message size in bytes. The default is chosen quite large as the utxo query can result in large payloads.

      • TypeScript New helpers isByronEpochBoundaryBlock and isByronStandardBlock.

      Changed

      • TypeScript The StateQueryClient now wraps every query in a try/catch to cope with malformed queries leading to client fault results from the server.
      • TypeScript Type definitions for QueryResponse[poolIds] and QueryResponse[poolParameters] are no longer marked as “optional”.
      • TypeScript Fixed bug #125 where empty results of delegationAndRewards would cause the client to throw an exception.
      • TypeScript Handled some floating promises.

      Removed

      N/A



      [4.0.0] - 2021-09-06

      Added

      • Integrated with the Cardano eco-system corresponding to cardano-node@1.29.0 (Alonzo!) & latest testnet(s).
      • New alonzo block type, with various additions related to Alonzo.
      • New state-queries:

        QueryDescription
        poolIdsThe list of all pool identifiers currently registered and active.
        poolParametersStake pool parameters submitted with registration certificates.
        poolsRankingRetrieve stake pools ranking (a.k.a desirabilities).
        rewardsProvenanceGet details about rewards calculation for the ongoing epoch.
      • Added missing properties in Byron’s protocol parameters update. Somehow, an additionalProperties: true had slipped through and caused the tests to pass with an incomplete schema.

      • Nested logs are now also structured, in particular those coming from the Handshake or TxSubmission protocols. Before, any message from these layers where actually plain strings with unintelligible gibberish. Now, the submitted transaction payload is shown encoded as hexadecimals and errors are also serialized to json using the same model / codec as the one used for websockets. The handshake is also more verbose now clearly showing what version is being requested and what the node replies / select. All in all, better logs.

      • The Dockerfile now includes a build definition for building cardano-node and ogmios into the same image, which is the default and suggested mode of operation. To build an image with only Ogmios, use the build --target ogmios. Docker Hub now hosts two image repositories: cardanosolutions/cardano-node-ogmios and cardanosolutions/ogmios.

      • Docker Hub images are now tagged with a network suffix (e.g. -mainnet). In the case of mainnet, the -mainnet suffix is optional, and points to the same build as the defaults.

      • A new repository for hosting Cardano configurations of various services was created and is now used in Ogmios. Configuration for cardano-node (and therefore Ogmios) or, network genesis can be found in input-output-hk/cardano-configurations. Configurations are updated automatically by a nightly job to be always up-to-date. They can be pulled into projects as git submodules.

      • New possible errors from the transaction submission (stemming from the Alonzo integration):

        • collateralHasNonAdaAssets
        • collateralIsScript
        • collateralTooSmall
        • collectErrors
        • datumsMismatch
        • executionUnitsTooLarge
        • extraDataMismatch
        • extraRedeemers
        • mirNegativeTransferNotCurrentlyAllowed
        • mirProducesNegativeUpdate
        • mirTransferNotCurrentlyAllowed
        • missingDatumHashesForInputs
        • missingRequiredDatums
        • missingRequiredRedeemers
        • missingRequiredSignatures
        • outsideForecast
        • poolMetadataHashTooBig
        • tooManyCollateralInputs
        • unspendableDatums
        • unspendableScriptInputs
        • validationTagMismatch
      • TypeScript Compatibility with aforementioned server additions.

      • TypeScript The ChainSyncClient now implements an in-memory queue to ensure requestNext responses are processed sequentially when there are async operations in the message handlers. This behaviour can be bypassed where sequential processsing is not required, by setting the new construction option sequential to false.

      • TypeScript The StateQueryClient can now re-acquire new points at will, useful for long-running clients for which previously acquired points may expire.

      • TypeScript The TypeScript client is now fully documented!

      Changed

      • ⚠️ The utxo query can now accept a list TxIn as argument, and still supports list of Address. Note that lists can’t be heterogeneous and it’s not possible to mix TxIn and Address.

      • ⚠️ Asset quantities and transaction metadata’s integers are now parsed as native BigInt.

      • The memory and steps JSON representations for prices are no longer coins, but ratio (represented as strings in the API).

      • The moveInstantaneousRewards certificates have a new optional field value and not only a rewards map as before. When value is present, it signifies that rewards are moved to the other pot.

      • Auxiliary data’s scriptPreImages in Allegra & Mary has been replaced with a field scripts which has one field native. The value of native corresponds to what used to be the value of scriptPreImages. In Alonzo, scripts may also have another field plutus with a serialized Plutus script.

      • Transactions witnesses' address has been renamed into signatures, and the structure of the object has been changed to be a map from public keys to signatures (instead of an object with two field key & signature).

      • Transactions witnesses' script has been renamed into scripts.

      • Transaction submission errors' networkMismatch now returns an invalidEntities list of object in the form of { "type": ..., "entity": } where type is a text tag designating the type of entity for which there is a network identifier mismatch. Values can be address, rewardAccount and since Alonzo transactionBody. The entity field contains some details specific to the type of entity. Before, it used to be two distinct fields invalidAddresses and invalidRewardAccounts.

      • Empty transaction metadata are no longer materialized by an object with two null fields ({ "hash": null, "body": null }). Empty transaction metadata are now equal to null.

      • map metadatum in transactions' metadata are no longer materialized as a list of list of singleton objects: [[{ "k": ... }, { "v": ... }], ...] but instead, as a list of object with two fields k and v: [{ "k": ..., "v": ...}, ...]. This was an oversight from the encoder which was never intended to end up that way but happened to slip in because the schema for metadatum was not specified / documented (and therefore, also escaped testing). This is now documented properly.

      • The TxOut (and thus Utxo) model definitions have been unified and harmonized across all eras. That is, pre-Mary eras now also wrap Ada values in an object with a field "coins": .... This reduces the discrepancy between eras for there’s now a single TxOut representation valid across all eras. Some fields are however optional and only present in some eras (e.g. datum starting from Alonzo)

      • ⚠️ TypeScript State queries (resp. the StateQueryClient) now automatically runs queries against the last known tip if no explicit point is provided. It used to acquire a point on the first query which would eventually become too old. The behavior is now equivalent to acquiring a new point on every query!

      • ⚠️ TypeScript SubmitTx no-longer returns Byron errors. Consequently, submit errors are no longer scoped under errors.byron or errors.shelley but simply errors.

      • ⚠️ TypeScript Fixed proposedProtocolParameters query. All fields are actually required AND, more importantly, it can now return either Shelley protocol parameters or, Alonzo protocol parameters.

      • TypeScript The ChainSyncClientMessageHandlers methods now must return a promise.

      • TypeScript Various reworks and renaming of the TypeScript types

        • AssetQuantity is now a native bigint
        • Metadatum’s Int are now native bigint
        • Type DelegationsAndRewards renamed into DelegationsAndRewardsByAccounts
        • Type DelegationsAndRewards1 renamed into DelegationsAndRewards
        • Type NonMyopicMemberRewards1 renamed into NonMyopicMemberRewards
        • Type TxTooLarge1 renamed into TxTooLarge
        • Type FeeTooSmall1 renamed into FeeTooSmall
        • Type NetworkMismatch1 renamed into NetworkMismatch
        • Type Proposal renamed into UpdateProposalShelley
        • Types Utxo1, Utxo2, UtxoMary have been unified into a single Utxo type. Refer to server breaking changes for details.
        • Type Tip & Point renamed into TipOrOrigin and PointOrOrigin. As a consequence, Tip1 and Point1 are now simply Tip and Point.
        • Many types NullX merged into a single Null type
        • Query types have been renamed from ledgerTip1 to GetLedgerTip and so forth for all queries.

      Removed

      • datumsMismatch, a previously introduced error from the transaction submission has been removed / replaced.

      • SubmitTx can no longer return SubmitTxError[Byron]. All the child error types have been removed accordingly, namely:

        • UtxoValidationError
        • TxValidationError
        • LovelaceError
      • TypeScript ChainSyncClient no longer exposes a requestNext function. Instead you must invoke the callback provided as the second argument in each of rollBackward and rollForward handlers.

      • TypeScript ChainSyncClient no longer exposes JSON-WSP reflection as there would be unexpected results given the first n messages would all share the same reflected value.



      [3.2.0] - 2021-05-09

      Added

      • New TypeScript client! The client comes in three packages:
        • An interactive REPL to play with Ogmios using the command-line.
        • A generator to derive TypeScript type definitions from the JSON schema.
        • The actual client library providing nice wrapper around the various protocol, in a typed way. The TypeScript client also includes a new battery of automated integration tests against the testnet.
      • Support for WebSocket sub-protocols, with currently one support sub-protocol: ogmios.compact.v1. When enabled, -Ogmios will omit fields such as witnesses, proofs and signatures from responses to make responses smaller.
      • Provide missing documentation / JSON-schema for:
        • JSON-WSP faults
        • Allegra & Mary SubmitTx failures:
          • Allegra:

            • expiredUtxo is replaced by outsideOfValidityInterval
            • new error triesToForgeAda

            Mary:

            • valueNotConserved.consumed is now a Value (instead of a DeltaCoin)
            • valueNotConserved.produced is now a Value (instead of a DeltaCoin)
            • outputTooSmall items are now of type TxOut[Mary]
            • new error tooManyAssetsInOutput
      • Continuous integration job checking for code style and lint on the server source code.
      • The /health endpoint now returns two additional pieces of information:
        • A networkSynchronization percentage to indicate how far Ogmios / the node is from the network.
        • A currentEra value to indicate the corresponding Cardano era Ogmios / the node is currently running in.
      • Nix support for building Ogmios (this also include a cabal.project to enable cabal support as well).

      Changed

      • Rework Docker setup to not require an external snapshot image. Everything is now built in a single +Ogmios will omit fields such as witnesses, proofs and signatures from responses to make responses smaller.
      • Provide missing documentation / JSON-schema for:
        • JSON-WSP faults
        • Allegra & Mary SubmitTx failures:
          • Allegra:

            • expiredUtxo is replaced by outsideOfValidityInterval
            • new error triesToForgeAda

            Mary:

            • valueNotConserved.consumed is now a Value (instead of a DeltaCoin)
            • valueNotConserved.produced is now a Value (instead of a DeltaCoin)
            • outputTooSmall items are now of type TxOut[Mary]
            • new error tooManyAssetsInOutput
      • Continuous integration job checking for code style and lint on the server source code.
      • The /health endpoint now returns two additional pieces of information:
        • A networkSynchronization percentage to indicate how far Ogmios / the node is from the network.
        • A currentEra value to indicate the corresponding Cardano era Ogmios / the node is currently running in.
      • Nix support for building Ogmios (this also include a cabal.project to enable cabal support as well).

      Changed

      • Rework Docker setup to not require an external snapshot image. Everything is now built in a single Dockerfile, but cache from DockerHub can be leveraged to reduce overall build time when building from scratch.
      • Fixed typo in the JSON-schema w.r.t to the ‘Acquire’ request (pointspoint), and introduce more automated test -to catch this kind of errors more easily.

      Removed

      ø



      [3.1.0] - 2021-04-04

      Added

      • Extend the local-state query protocol with support for ‘GetCompactGenesis’.
      • Extend the local-state query protocol with support for ‘GetFilteredDelegationsAndRewards’.
      • Add missing mint field to transaction’s body (added since mary).
      • The documentation is now hosted on https://ogmios.dev.

      Changed

      • Use ‘contentEncoding’ over ‘format’ in appropriate part of the JSON schema.
      • Fix various errors in the JSON-schema definition & extend test suite coverage in consequence.
      • Implement a ‘fast-bech32’ encoding library, to speed-up Ogmios serialization of blocks beyond the Shelley era.
      • Use faster (and recommended) JSON encoding techniques to speed up overall JSON serialization.
      • Improve generated documentation from JSON schema by:
        • Providing titles to ‘oneOf’ items
        • Adding descriptions to top-level definitions
        • Adding examples to top-level definitions
      • Customized API reference’s stylesheet to enhance readability.
      • Upgrade dependency and code to work with GHC-8.10.4 (from GHC 8.6.5)
      • Handle more gracefully unknown exceptions (avoid infinite fast loop of retries on errors).
      • Handle more gracefully network mismatches (e.g. connecting Ogmios in testnet mode to a mainnet network)
      • Repository reorganization:
        • ‘ogmios-server’ renamed into ‘server’
        • move Haskell-specific dotfiles and configuration files under ‘server’
        • move ‘modules’ under ‘server’
        • move ‘Dockerfile’ and ‘snapshot.Dockerfile’ under ‘server’

      Removed

      • Support for GHC-8.6.5
      • The docker image no longer shows git revision / version on ‘–version’


      [3.0.0] – 2021-02-26

      Added

      • Support for the Allegra era on the chain-sync, tx submission and state query protocols.
      • Support for the Mary era on the chain-sync, tx submission and state query protocols.
      • Support for multi-era state queries, or said differently, Ogmios can survive a hard-fork without being restarted or re-compiled.
      • Allow clients to also make state queries based on the node’s tip (instead of passing an explicit point to acquire).
      • Interactive dashboard leveraging Ogmios health’s endpoint and local state query protocol to show metrics in real-time.
      • Automated smoke sanity tests executed on a running instance, running queries and chain-syncs across all eras.
      • Various internal optimization, in particular with rewards to the chain-sync protocol (~14.000 blocks/s in Byron, ~2500 block/s in Shelley and beyond).
      • Additional metrics for monitoring: current heap size, total messages, total unrouted messages and start time.
      • Configurable HTTP server timeout from the command-line, with sensible defaults.

      Changed

      • Improve error responses to invalid clients' requests (instead of generic error messages).
      • Fixed various typos and clumsy wording in the user manual.
      • Reworked internal architecture as a Three-Layer Haskell Cake.
      • Changed internal dependencies for base16 and base64 encoding for better performances.
      • Upgraded internal dependencies to the Cardano eco-system working with cardano-node@1.25.1
      • Improved error handling of the Ogmios server, in particular in case of connections lost with the underlying node.
      • The server now returns an explicit client error when interleaving ‘FindIntersect’ messages in-between pipelined ‘RequestNext’.
      • Revised default compilation flags .

      Removed

      N/A



      [2.0.0-beta] – 2020-10-31

      Added

      • Support for the Shelley chain in the local-chain-sync protocol.
      • Support for the local-state-query protocol.
      • Health / Heartbeat endpoint for monitoring.
      • Runtime and application metrics measured and served on endpoint (/health).
      • Ogmios now includes an HTTP static server hosting both the WSP definition and, a /benchmark.html to run some quick benchmark / smoke test.
      • Added additional configuration options via command-line or environment.
      • Revised user manual with detailed step-by-step examples.

      Changed

      • Several JSON fields renamed to increase consistency between Shelley and Byron.
      • Improved logging, more messages and with more context.
      • Improved error handling with regards to connection of websocket clients.

      Removed

      N/A

      Changed

      N/A



      [1.0.0-beta] – 2020-04-04

      Added

      • Initial release and support for:

        • Chain Synchronization (no pipelining between cardano-node & ogmios)
        • Local Transaction Submission
      • JSON-WSP version 1.0, full support with reflection.

      • Full docker stack via docker-compose.

      • Basic command-line and logging.

      Changed

      N/A

      Removed

      N/A

      \ No newline at end of file +to catch this kind of errors more easily.

      Removed

      ø



      [3.1.0] - 2021-04-04

      Added

      Changed

      Removed



      [3.0.0] – 2021-02-26

      Added

      Changed

      Removed

      N/A



      [2.0.0-beta] – 2020-10-31

      Added

      Changed

      Removed

      N/A

      Changed

      N/A



      [1.0.0-beta] – 2020-04-04

      Added

      Changed

      N/A

      Removed

      N/A

      \ No newline at end of file diff --git a/clients/index.html b/clients/index.html index cd9ba4ad1..c15a28540 100644 --- a/clients/index.html +++ b/clients/index.html @@ -1,4 +1,4 @@ -Clients - Ogmios

      Clients

      There exists a variety of clients for Ogmios. Initially, the TypeScript client was developed alongside the server as a proof-of-concept. Over time, amazing community members have developed new clients in their favorite languages:

      Logo:TypeScript
      TypeScript
      Logo:Go
      Go
      Logo:Kotlin
      Kotlin
      Logo:Java
      Java
      Logo:Python
      Python
      Logo:Elixir
      Elixir
      Logo:C++
      C++

      In this manual, we cover some usage of the TypeScript client. For other clients, please refer to their respective projects and maintainers.

      \ No newline at end of file diff --git a/faq/index.html b/faq/index.html index 3e40badfa..b5528a109 100644 --- a/faq/index.html +++ b/faq/index.html @@ -1,4 +1,4 @@ -F.A.Q - Ogmios

      F.A.Q

      Can you explain Ogmios in one three sentences?

      Ogmios is a lightweight bridge interface for cardano-node. It offers a WebSockets API that enables local clients to speak Ouroboros' mini-protocols via JSON/RPC. Ogmios is a fast and lightweight solution that can be deployed alongside relays to create entry points on the Cardano network for various types of applications (e.g. wallets, explorers, chatbots, dashboards…)

      Can you explain Ogmios to me like I’m five?

      To understand what Ogmios is, you must first understand where it fits in Cardano landscape. Cardano is a network of programs (a.k.a nodes) connected to each other and exchanging messages to run the Cardano blockchain. A Cardano node has an interface that allows for other programs to interact with it (very much like buttons on a remote to control the TV). However, that interface relies on novel communication methods, that were designed in-house by the networking team at IOG. To this day, the only tooling that fully implement those unique communication methods is written in Haskell* (as if all the buttons on the remote control were in Chinese, but you only speak French). So to interact with a Cardano node, one has no other choice than to write a Haskell program, which is a bummer for many application developers.

      This is where Ogmios comes into play. Ogmios is written in Haskell, so it can speak with Cardano nodes just fine. But it also translates all the interfaces provided by the node using communication methods that are more common and accessible to the vast majority of developers (namely, WebSockets & JSON). Ogmios is a sort of translator; instead of speaking to a Cardano node directly, applications can speak to Ogmios using a language they know, and Ogmios translates it to the node and back to the applications.

      (*) Since 2022, Pallas now provides most of the primitives also in Rust.

      Where does the name come from?

      Ogmios is a celtic deity of eloquence, language and learning. This relates to the way this project helps users communicate with Cardano. And while it doesn’t translate languages, it translates protocols to protocols.

      Why do I care?

      Well, it depends. In essence, Ogmios doesn’t do much more than what the node itself does. It’s pretty much as low-level as things can get with the Cardano network. For many applications, this is too low in the abstraction layer and they would be better off using higher-level services like cardano-graphql, Rosetta, or Blockfrost.

      However, building such services demands to be able to interact with the blockchain using a more direct interface. This interface can be Ogmios. Currently, the choices given to services like these are limited: talk directly to the node using the Haskell client library, or use cardano-db-sync which is a component that talks to the node and dumps blockchain data in a PostgreSQL database. For those who don’t write Haskell, the choice is even more limited; down to a single option. Plus, like any solution, it comes with trade-offs. Deploying a cardano-db-sync instance can be quite heavy, requires extra space, and already forces applications to operate in some specific ways. Ogmios gives a lightweight alternative that is also much closer to what the node offers. It would be possible for example to re-implement cardano-db-sync in a different programming language using Ogmios.

      So in the end, if you’re writing a DApp or an application that needs to interact with the Cardano blockchain only at a high level using pre-defined abstractions, then you probably don’t care. However, if you’re doing some low-level work, and need to access every bit of the protocol or, if you’re building a service on top of Cardano for which the blockchain itself is the right level of abstraction, then Ogmios is most likely a good fit for you.

      Can I build X using Ogmios?

      The short answer is: if you can build X with a Cardano node, then yes. Ogmios is as capable as the client interface for Cardano nodes. Can I build a wallet with Ogmios? Yes. Can I build an explorer with Ogmios? Yes. Can I build a smart-contract application backend with Ogmios? Yes. Anything available on-chain is available through Ogmios which has so far also transitioned through the 4 eras of Cardano. Ogmios' first release was a bit before the Shelley hard-fork, and its development followed the on-chain upgrades and protocol updates.

      What’s the overhead from running Ogmios?

      Almost none. Ogmios runs within a handful of megabytes of memory and its CPU usage is very much driven by whatever application you’ll be connecting to it. That is if your application is syncing the entire blockchain and sending thousands of messages per second to the underlying node, then of course your CPU will get pretty busy; not from Ogmios itself, however, but mostly from the underlying node and your client. In between, Ogmios acts as a bridge and passes messages around. Once a message has been passed, Ogmios forgets about it. That makes the memory footprint of Ogmios quite low, and its resource usages tightly linked to whatever application consumes data from it.

      We secretly keep a hope that someday, many operators will deploy Ogmios alongside their relays. Enabling many application developers to interact with the Cardano blockchain seamlessly by connecting to a relay close to them.

      Is there any client for Ogmios?

      As a matter of fact, there is. A TypeScript client library and REPL is available on the same repository. This client is also a first-class citizen within this user-guide so make sure to check out the TypeScript Client section.

      Since then, there has been other clients built by the community:

      Besides, it goes without saying that as an open-source project Ogmios welcomes contributions; especially on the client library and/or around tools built on top. Should you be working on a new client, let us know, we’re happy to help.

      Does Ogmios require the PAB (Plutus Application Backend) to work?

      No it does not. The PAB is an application framework which provides DApp developers with an extra interface for running smart-contracts on Cardano; Ogmios is not a DApp, nor does it require any DApp functionality. Ogmios does however require a full cardano-node to work for it is merely an interface on top of it.

      Can I use Ogmios in a remote setup?

      Yes. The easiest way is probably by using a reverse-proxy like NGINX to also promote the WebSocket connection to a secure connection. A more interesting question however is: should you? Ogmios is an interface for the so-called local client protocols which are, by design, intended to be used in a local setup: where Ogmios and cardano-node are on the same host. It would be ill-advised to expose the server to many clients without any restriction as each client can drain a quite large amount of resources from the local node. This is however totally acceptable in a controlled environment, where for example, your own stack would leverage a single Ogmios instance to power few remote services.

      Why do Ogmios returns JSON with integers larger than MAX_SAFE_INTEGER?

      JSON does support large integers by design. The default JavaScript JSON parser does not however. Thus, it is not a problem which lies on the server-side, but rather on “naive” JavaScript clients. For more details, have a look at this architectural decision record which explains how we handle large integers in the TypeScript client.

      Is Ogmios production ready?

      Ogmios is an open-source project which is being worked on in small steps when time allows. Its development started in 2020 and it has undergone several updates and iterations. We’ve got a mad passion for software quality and we put extensive efforts into making Ogmios of the highest quality. The server follows a well-known architecture and abides by battle-tested Haskell coding practices. As it should, Ogmios is of course deeply tested at several levels via continuous integration1.

      Tests for the server include property-based testing of the core protocols2 3, property-based testing of the entire JSON interface validated against a JSON-schema specification4. Note that property tests all use generators which comes directly from the ouroboros-network and cardano-ledger-specs to ensure that Ogmios is always up-to-date with the Cardano eco-system. There are also various5 unit6 tests7 to cover basic functionalities.

      On the other hand, the TypeScript client is used to perform end-to-end tests with tests running against the Cardano testnet8. The tests are executed both in a Node.js and browser context and the synchronization with the network is done via a Github action which leverages Ogmios' server.

      Beside, Ogmios also comes with structured logging and monitoring out of the box. Putting any monitoring solution on top like Prometheus is trivial.

      Finally, if you ventured through this page and user-guide, you have also noticed that the project is well-documented. And this includes the API reference, the ChangeLog as well as the architectural decisions going over rationales for decisions we made along the way.

      Thus, is Ogmios production-ready? Yes. At least, this is as good as it gets for an open-source project. We’ve been incorporating feedback from various users over the past year which has been great so far. For the rest, everything is open-source licensed under MPL-2.0 and you’re the best judge.

      Are there any projects/companies using it?

      We’ve heard of a handful happy users! And it keeps growing!

      (Known) projects/companies using Ogmios
      FiveBinariesSundae LabsInput Output GlobalJpg.storeNEWMMLabsMinswap
      EternlRayNetworkDCSparkSpacebudzCardano FoundationTxPipeKora Labs
      MaestroBlinklabsPool.pmBloxBeanWing RidersLiqwid LabsGimbalabs
      Genius YieldRosen BridgeEMURGOIndigo ProtocolVacuumLabsMutant NFTDex Hunter
      NescrowDanogoVeralidityMultichainTosiDropWayup
      (Known) open source projects using Ogmios
      • Blockfrost: An API service providing abstraction between you and Cardano blockchain data, taking away the burden of complexity, so you can focus on what really matters - developing your applications.
      • Cardano-transaction-lib: A Purescript library for building smart contract transactions on Cardano
      • Lucid: A library for creating Cardano transactions and off-chain code for Plutus contracts in JavaScript, Deno and Node.js.
      • Nebula: A Cardano NFT marketplace contract including chain indexer and event listener for individual projects.
      • Mesh: An open-source library to advance Web3 development on Cardano.
      • PyCardano: A lightweight Cardano SDK in Python.
      • Cardano-js-sdk: JavaScript SDK for interacting with Cardano, providing various key management options, with support for popular hardware wallets.
      • Cardano (Java) client lib: A client library for Cardano in Java. This library simplifies the interaction with Cardano blockchain from a Java application.
      • Yaci DevKit: A set of dev tools for development on Cardano.
      • Lace: A light-wallet for Cardano.
      • Marlowe (marlowe-runner): A smart-contract DSL for Cardano.
      • Naumachia: Naumachia is a framework for writing Smart Contracts on the Cardano Blockchain using Rust!
      • DenoSync: Deno WebSocket Chainsync client on top of Ogmios.
      • NodeRunner: Tooling for setting up stacks of Cardano services.
      • Translucent: A library for creating Cardano transactions and off-chain code for Plutus contracts in JavaScript.

      Are you using Ogmios for a project? Let us know on Github!

      \ No newline at end of file diff --git a/getting-started/basics/index.html b/getting-started/basics/index.html index 75012191a..e0dd4ba75 100644 --- a/getting-started/basics/index.html +++ b/getting-started/basics/index.html @@ -1,5 +1,5 @@ -Using: JSON-RPC basics - Ogmios