Skip to content

Commit 94da27a

Browse files
committed
fix(protocol/localstatequery): Added changes for comments for changing ProtocolParams to GenesisConfigResultProtocolParameters
Signed-off-by: Akhil Repala <[email protected]>
1 parent ce84501 commit 94da27a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

protocol/localstatequery/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func TestGenesisConfigJSON(t *testing.T) {
304304
SlotLength: 1,
305305
UpdateQuorum: 5,
306306
MaxLovelaceSupply: 45000000000000000,
307-
ProtocolParams: localstatequery.ProtocolParams{
307+
ProtocolParams: localstatequery.GenesisConfigResultProtocolParameters{
308308
MinFeeA: 44,
309309
MinFeeB: 155381,
310310
MaxBlockBodySize: 65536,

protocol/localstatequery/queries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,14 @@ type GenesisConfigResult struct {
585585
SlotLength int
586586
UpdateQuorum int
587587
MaxLovelaceSupply int64
588-
ProtocolParams ProtocolParams
588+
ProtocolParams GenesisConfigResultProtocolParameters
589589
// This value contains maps with bytestring keys, which we can't parse yet
590590
GenDelegs cbor.RawMessage
591591
Unknown1 interface{}
592592
Unknown2 interface{}
593593
}
594594

595-
type ProtocolParams struct {
595+
type GenesisConfigResultProtocolParameters struct {
596596
_ struct{} `cbor:",toarray"`
597597
MinFeeA int
598598
MinFeeB int

0 commit comments

Comments
 (0)