Skip to content

readProtocolParametersSourceSpec should be able to retrieve the ProtocolParameters by querying local node #5052

Open
@carbolymer

Description

@carbolymer

readProtocolParametersSourceSpec is supposed to derive a ProtocolParameters value from either JSON encoded ProtocolParameters file or a ShelleyGenesis file. The problem is the ProtocolParameters has had fields deprecated and added as we've transitioned between the eras. The scope of the change:

  1. Deprecate the option to derive the ProtocolParameters from the ShelleyGenesis as this is incorrect for the reason I gave above.
  2. In all instances where readProtocolParametersSourceSpec is used to generate a ProtocolParameters value, include the option to use the local state query protocol (i.e query the local node) to retrieve the current ProtocolParameters value.

Additional tasks:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions