From d9faf48372d5ebc752dcbc8716ffe05f0620e947 Mon Sep 17 00:00:00 2001 From: Aurora Gaffney Date: Mon, 3 Feb 2025 16:50:49 -0500 Subject: [PATCH] chore: update TODO comments with issues Signed-off-by: Aurora Gaffney --- connection.go | 2 +- ledger/alonzo/pparams.go | 2 +- ledger/block.go | 3 +- ledger/byron/byron.go | 4 +-- ledger/common/address.go | 4 +-- ledger/common/certs.go | 24 +++++++-------- ledger/error.go | 6 ++-- ledger/shelley/pparams.go | 2 -- ledger/tx.go | 4 +-- ledger/verify_kes.go | 2 +- protocol/blockfetch/messages_test.go | 7 +++-- protocol/chainsync/messages.go | 3 +- protocol/chainsync/messages_test.go | 30 ++++--------------- protocol/chainsync/server.go | 2 +- ...4a353188f2d5500f4c6354cc1ad27a36a7ea91.hex | 1 - protocol/chainsync/wrappers.go | 5 ++-- protocol/handshake/messages_test.go | 2 +- protocol/localstatequery/client.go | 16 ++++------ protocol/localstatequery/queries.go | 28 ++++++++--------- 19 files changed, 61 insertions(+), 86 deletions(-) delete mode 100644 protocol/chainsync/testdata/rollforward_ntn_byron_main_block_testnet_388a82f053603f3552717d61644a353188f2d5500f4c6354cc1ad27a36a7ea91.hex diff --git a/connection.go b/connection.go index b6519134..25fdbcf1 100644 --- a/connection.go +++ b/connection.go @@ -314,7 +314,7 @@ func (c *Connection) setupConnection() error { c.networkMagic, handshakeDiffusionMode, c.peerSharingEnabled, - // TODO: make this configurable + // TODO: make this configurable (#373) protocol.QueryModeDisabled, ) // Perform handshake diff --git a/ledger/alonzo/pparams.go b/ledger/alonzo/pparams.go index b0c3d556..38bdfdf8 100644 --- a/ledger/alonzo/pparams.go +++ b/ledger/alonzo/pparams.go @@ -92,7 +92,7 @@ func (p *AlonzoProtocolParameters) UpdateFromGenesis(genesis *AlonzoGenesis) { StepPrice: &cbor.Rat{Rat: genesis.ExecutionPrices.Steps.Rat}, } } - // TODO: cost models + // TODO: cost models (#852) // We have 150+ string values to map to array indexes // CostModels map[string]map[string]int } diff --git a/ledger/block.go b/ledger/block.go index 800edb39..3c80fa26 100644 --- a/ledger/block.go +++ b/ledger/block.go @@ -46,14 +46,13 @@ func NewBlockFromCbor(blockType uint, data []byte) (Block, error) { return nil, fmt.Errorf("unknown node-to-client block type: %d", blockType) } -// XXX: should this take the block header type instead? func NewBlockHeaderFromCbor(blockType uint, data []byte) (BlockHeader, error) { switch blockType { case BlockTypeByronEbb: return NewByronEpochBoundaryBlockHeaderFromCbor(data) case BlockTypeByronMain: return NewByronMainBlockHeaderFromCbor(data) - // TODO: break into separate cases and parse as specific block header types + // TODO: break into separate cases and parse as specific block header types (#844) case BlockTypeShelley, BlockTypeAllegra, BlockTypeMary, BlockTypeAlonzo: return NewShelleyBlockHeaderFromCbor(data) case BlockTypeBabbage, BlockTypeConway: diff --git a/ledger/byron/byron.go b/ledger/byron/byron.go index 8ccb0311..be60a9d1 100644 --- a/ledger/byron/byron.go +++ b/ledger/byron/byron.go @@ -473,11 +473,11 @@ type ByronUpdateProposalBlockVersionMod struct { type ByronMainBlockBody struct { cbor.StructAsArray cbor.DecodeStoreCbor - // TODO: split this to its own type + // TODO: split this to its own type (#853) TxPayload []struct { cbor.StructAsArray Transaction ByronTransaction - // TODO: figure out what this field actually is + // TODO: properly decode TX witnesses (#853) Twit []cbor.Value } SscPayload cbor.Value diff --git a/ledger/common/address.go b/ledger/common/address.go index 335c906a..cdd76ee1 100644 --- a/ledger/common/address.go +++ b/ledger/common/address.go @@ -362,7 +362,7 @@ func (a Address) Bytes() []byte { } rawPayload, err := cbor.Encode(tmpPayload) if err != nil { - // TODO: handle error + // TODO: handle error (#851) return nil } tmpData := []any{ @@ -374,7 +374,7 @@ func (a Address) Bytes() []byte { } ret, err := cbor.Encode(tmpData) if err != nil { - // TODO: handle error + // TODO: handle error (#851) return nil } return ret diff --git a/ledger/common/certs.go b/ledger/common/certs.go index 1a6f9107..b11a152a 100644 --- a/ledger/common/certs.go +++ b/ledger/common/certs.go @@ -516,7 +516,7 @@ func (c *RegistrationCertificate) UnmarshalCBOR( } func (c *RegistrationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -537,7 +537,7 @@ func (c *DeregistrationCertificate) UnmarshalCBOR( } func (c *DeregistrationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -558,7 +558,7 @@ func (c *VoteDelegationCertificate) UnmarshalCBOR( } func (c *VoteDelegationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -580,7 +580,7 @@ func (c *StakeVoteDelegationCertificate) UnmarshalCBOR( } func (c *StakeVoteDelegationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -602,7 +602,7 @@ func (c *StakeRegistrationDelegationCertificate) UnmarshalCBOR( } func (c *StakeRegistrationDelegationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -624,7 +624,7 @@ func (c *VoteRegistrationDelegationCertificate) UnmarshalCBOR( } func (c *VoteRegistrationDelegationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -647,7 +647,7 @@ func (c *StakeVoteRegistrationDelegationCertificate) UnmarshalCBOR( } func (c *StakeVoteRegistrationDelegationCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -668,7 +668,7 @@ func (c *AuthCommitteeHotCertificate) UnmarshalCBOR( } func (c *AuthCommitteeHotCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -689,7 +689,7 @@ func (c *ResignCommitteeColdCertificate) UnmarshalCBOR( } func (c *ResignCommitteeColdCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -711,7 +711,7 @@ func (c *RegistrationDrepCertificate) UnmarshalCBOR( } func (c *RegistrationDrepCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -732,7 +732,7 @@ func (c *DeregistrationDrepCertificate) UnmarshalCBOR( } func (c *DeregistrationDrepCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } @@ -753,6 +753,6 @@ func (c *UpdateDrepCertificate) UnmarshalCBOR( } func (c *UpdateDrepCertificate) Utxorpc() *utxorpc.Certificate { - // TODO + // TODO (#850) return nil } diff --git a/ledger/error.go b/ledger/error.go index f3845549..9f568bd3 100644 --- a/ledger/error.go +++ b/ledger/error.go @@ -295,7 +295,7 @@ func (e *UtxoFailure) UnmarshalCBOR(data []byte) error { } func (e *UtxoFailure) Error() string { - // TODO: lookup era name programmatically + // TODO: lookup era name programmatically (#846) return fmt.Sprintf("UtxoFailure (FromAlonzoUtxoFail (%s))", e.Err) } @@ -528,7 +528,7 @@ func (e *InsufficientCollateral) Error() string { type ScriptsNotPaidUtxo struct { UtxoFailureErrorBase - // TODO: determine content/structure of this value + // TODO: determine content/structure of this value (#847) Value cbor.Value } @@ -552,7 +552,7 @@ func (e *ExUnitsTooBigUtxo) Error() string { type CollateralContainsNonADA struct { UtxoFailureErrorBase - // TODO: determine content/structure of this value + // TODO: determine content/structure of this value (#848) Value cbor.Value } diff --git a/ledger/shelley/pparams.go b/ledger/shelley/pparams.go index 73e2d9be..5ab2e03e 100644 --- a/ledger/shelley/pparams.go +++ b/ledger/shelley/pparams.go @@ -129,8 +129,6 @@ func (p *ShelleyProtocolParameters) UpdateFromGenesis(genesis *ShelleyGenesis) { p.ProtocolMajor = genesisParams.ProtocolVersion.Major p.ProtocolMinor = genesisParams.ProtocolVersion.Minor p.MinUtxoValue = genesisParams.MinUtxoValue - // TODO: - //p.Nonce *cbor.Rat } type ShelleyProtocolParameterUpdate struct { diff --git a/ledger/tx.go b/ledger/tx.go index b706cdcd..a9f77c8a 100644 --- a/ledger/tx.go +++ b/ledger/tx.go @@ -73,7 +73,7 @@ func NewTransactionBodyFromCbor( // NewTransactionOutputFromCbor attempts to parse the provided arbitrary CBOR data as a transaction output from // each of the eras, returning the first one that we can successfully decode func NewTransactionOutputFromCbor(data []byte) (TransactionOutput, error) { - // TODO: add Byron transaction output support + // TODO: add Byron transaction output support (#849) if txOut, err := NewShelleyTransactionOutputFromCbor(data); err == nil { return txOut, nil } @@ -90,7 +90,7 @@ func NewTransactionOutputFromCbor(data []byte) (TransactionOutput, error) { } func DetermineTransactionType(data []byte) (uint, error) { - // TODO: uncomment this once the following issue is resolved: + // TODO: uncomment this once the following issue is resolved: (#849) // https://github.com/blinklabs-io/gouroboros/issues/206 /* if _, err := NewByronTransactionFromCbor(data); err == nil { diff --git a/ledger/verify_kes.go b/ledger/verify_kes.go index f285d97f..a13c0be1 100644 --- a/ledger/verify_kes.go +++ b/ledger/verify_kes.go @@ -123,7 +123,7 @@ func (s Sum0KesSig) Verify( return ed25519.Verify(pubKey, msg, s) } -// TODO: make this work on anything from Shelley onward +// TODO: make this work on anything from Shelley onward (#845) func VerifyKes( header *BabbageBlockHeader, slotsPerKesPeriod uint64, diff --git a/protocol/blockfetch/messages_test.go b/protocol/blockfetch/messages_test.go index 17b883e9..5698445c 100644 --- a/protocol/blockfetch/messages_test.go +++ b/protocol/blockfetch/messages_test.go @@ -16,10 +16,11 @@ package blockfetch import ( "encoding/hex" - "github.com/blinklabs-io/gouroboros/cbor" - "github.com/blinklabs-io/gouroboros/protocol" "reflect" "testing" + + "github.com/blinklabs-io/gouroboros/cbor" + "github.com/blinklabs-io/gouroboros/protocol" ) type testDefinition struct { @@ -28,7 +29,7 @@ type testDefinition struct { MessageType uint } -// TODO: implement tests for more messages +// TODO: implement tests for more messages (#871) var tests = []testDefinition{ { CborHex: "8105", diff --git a/protocol/chainsync/messages.go b/protocol/chainsync/messages.go index ddc0dca5..761cf5cd 100644 --- a/protocol/chainsync/messages.go +++ b/protocol/chainsync/messages.go @@ -16,6 +16,7 @@ package chainsync import ( "fmt" + "github.com/blinklabs-io/gouroboros/cbor" "github.com/blinklabs-io/gouroboros/protocol" "github.com/blinklabs-io/gouroboros/protocol/common" @@ -134,7 +135,7 @@ func NewMsgRollForwardNtC( copy(m.blockCbor, blockCbor) wb := NewWrappedBlock(blockType, blockCbor) content, err := cbor.Encode(wb) - // TODO: figure out better way to handle error + // TODO: figure out better way to handle error (#855) if err != nil { return nil } diff --git a/protocol/chainsync/messages_test.go b/protocol/chainsync/messages_test.go index f5fb8f41..d0da8c7c 100644 --- a/protocol/chainsync/messages_test.go +++ b/protocol/chainsync/messages_test.go @@ -17,14 +17,15 @@ package chainsync import ( "encoding/hex" "fmt" - "github.com/blinklabs-io/gouroboros/cbor" - "github.com/blinklabs-io/gouroboros/ledger" - "github.com/blinklabs-io/gouroboros/protocol" - "github.com/blinklabs-io/gouroboros/protocol/common" "os" "reflect" "strings" "testing" + + "github.com/blinklabs-io/gouroboros/cbor" + "github.com/blinklabs-io/gouroboros/ledger" + "github.com/blinklabs-io/gouroboros/protocol" + "github.com/blinklabs-io/gouroboros/protocol/common" ) type testDefinition struct { @@ -157,27 +158,6 @@ func TestMsgRollForwardNodeToNode(t *testing.T) { MessageType: MessageTypeRollForward, ProtocolMode: protocol.ProtocolModeNodeToNode, }, - // TODO: fetch full block content and enable test - /* - // Byron main block (NtN) - { - CborHex: string(readFile("testdata/rollforward_ntn_byron_main_block_testnet_388a82f053603f3552717d61644a353188f2d5500f4c6354cc1ad27a36a7ea91.hex")), - Message: NewMsgRollForwardNtN( - ledger.BlockHeaderTypeByron, - 1, - hexDecode(string(readFile("testdata/byron_main_block_testnet_xxxx.hex"))), - Tip{ - Point: common.Point{ - Slot: 55740899, - Hash: hexDecode("C89E652408EC269379751C8B2BF0137297BF9F5D0FB2E76E19ACF63D783C3A66"), - }, - BlockNumber: 3479284, - }, - ), - MessageType: MessageTypeRollForward, - ProtocolMode: protocol.ProtocolModeNodeToNode, - }, - */ // Shelley block (NtN) { CborHex: string( diff --git a/protocol/chainsync/server.go b/protocol/chainsync/server.go index 54957f05..311a81a0 100644 --- a/protocol/chainsync/server.go +++ b/protocol/chainsync/server.go @@ -171,7 +171,7 @@ func (s *Server) messageHandler(msg protocol.Message) error { func (s *Server) handleRequestNext() error { // TODO: figure out why this one log message causes a panic (and only this one) - // during tests + // during tests (#857) //s.Protocol.Logger(). // Debug("request next", // "component", "network", diff --git a/protocol/chainsync/testdata/rollforward_ntn_byron_main_block_testnet_388a82f053603f3552717d61644a353188f2d5500f4c6354cc1ad27a36a7ea91.hex b/protocol/chainsync/testdata/rollforward_ntn_byron_main_block_testnet_388a82f053603f3552717d61644a353188f2d5500f4c6354cc1ad27a36a7ea91.hex deleted file mode 100644 index 0a3533eb..00000000 --- a/protocol/chainsync/testdata/rollforward_ntn_byron_main_block_testnet_388a82f053603f3552717d61644a353188f2d5500f4c6354cc1ad27a36a7ea91.hex +++ /dev/null @@ -1 +0,0 @@ -830282008282011907a0d818590285851a4170cb1758208f8602837f7c6f8b8867dd1cbc1842cf51a27eaed2c70ef48325d00f8efb320f84830058200e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a85820afc0da64183bf2664f3d4eec7238d524ba607faeeab24fc100eb861dba69971b8300582022e2e7a984e1e0ac38c309419d1e6ab24cb8c63fc368c1f0ed8c4fc01ce351215820d36a2619a672494604e11bb447cbcf5231e9f2ba25c2169177edc941bd50ad6c5820afc0da64183bf2664f3d4eec7238d524ba607faeeab24fc100eb861dba69971b58204e66280cd94d591072349bec0a3090a53aa945562efb6d08d56e53654b0e409884820019040758406cef56d6af8845f317949bcdff92358f1394fe11b45c02b28e1d5854c0fa13f8e079644dfc5041afb0fcbd1f47ec7ce064f37b7ec5c070c784a5619ebae2aa608101820282840058406cef56d6af8845f317949bcdff92358f1394fe11b45c02b28e1d5854c0fa13f8e079644dfc5041afb0fcbd1f47ec7ce064f37b7ec5c070c784a5619ebae2aa605840dfb615a61568d6867f45a85c32227f27025180d738a8a3d7fd3c929f624d723929801b343641f148087b117e87e9695f215dbcf830ff0d58a066682c7603f6415840a9c6e4abf95755084a86625a98e185de75d4d33d557284d3aa67ecff3dcfd8e77994fc8b3fc4c2762879ca0c15458ade936db0977ae10dd01291cf3241b9530e584003a38f3ea6e5e154fc7a92e6d14930143a18cc4613c9a045418fec9059bda47ce000f3abd837b8f09c4d9d2ba3d7cd4a6aeea4cf93e55e2980479c619ac1220b8483000000826a63617264616e6f2d736c00a058204ba92aa320c60acc9ad7b9a64f2eda55c4d2ec28e604faf186708b4f0c4e8edf82821a035289e35820c89e652408ec269379751c8b2bf0137297bf9f5d0fb2e76e19acf63d783c3a661a003516f4 diff --git a/protocol/chainsync/wrappers.go b/protocol/chainsync/wrappers.go index d401780c..d0f4058c 100644 --- a/protocol/chainsync/wrappers.go +++ b/protocol/chainsync/wrappers.go @@ -58,12 +58,13 @@ func NewWrappedHeader( } // Record the original block size for Byron blocks if era == ledger.BlockHeaderTypeByron { - // TODO: figure out why we have to add 2 to the length to match official message CBOR + // NOTE: we add 2 to the length to account for the extra CBOR bytes that need to be added + // when calculating the hash w.byronSize = uint(len(blockCbor)) + 2 } // Parse block and extract header tmp := []cbor.RawMessage{} - // TODO: figure out a better way to handle an error + // TODO: figure out a better way to handle an error (#856) if _, err := cbor.Decode(blockCbor, &tmp); err != nil { return nil } diff --git a/protocol/handshake/messages_test.go b/protocol/handshake/messages_test.go index e1a6109a..2afcdf83 100644 --- a/protocol/handshake/messages_test.go +++ b/protocol/handshake/messages_test.go @@ -80,7 +80,7 @@ var tests = []testDefinition{ }, ), }, - // TODO: add more tests for other refusal types + // TODO: add more tests for other refusal types (#854) } func TestDecode(t *testing.T) { diff --git a/protocol/localstatequery/client.go b/protocol/localstatequery/client.go index 9565080a..6a4858ef 100644 --- a/protocol/localstatequery/client.go +++ b/protocol/localstatequery/client.go @@ -304,7 +304,7 @@ func (c *Client) GetEpochNo() (int, error) { return result[0], nil } -// TODO +// TODO (#860) /* query [2 #6.258([*[0 int]]) int is the stake the user intends to delegate, the array must be sorted */ @@ -502,7 +502,6 @@ func (c *Client) GetUTxOWhole() (*UTxOWholeResult, error) { return &result, nil } -// TODO func (c *Client) DebugEpochState() (*DebugEpochStateResult, error) { c.Protocol.Logger(). Debug("calling DebugEpochState()", @@ -528,7 +527,7 @@ func (c *Client) DebugEpochState() (*DebugEpochStateResult, error) { return &result, nil } -// TODO +// TODO (#858) /* query [10 #6.258([ *rwdr ])] */ @@ -551,7 +550,7 @@ func (c *Client) GetFilteredDelegationsAndRewardAccounts( query := buildShelleyQuery( currentEra, QueryTypeShelleyFilteredDelegationAndRewardAccounts, - // TODO: add params + // TODO: add params (#858) ) var result FilteredDelegationsAndRewardAccountsResult if err := c.runQuery(query, &result); err != nil { @@ -585,7 +584,6 @@ func (c *Client) GetGenesisConfig() (*GenesisConfigResult, error) { return &result[0], nil } -// TODO func (c *Client) DebugNewEpochState() (*DebugNewEpochStateResult, error) { c.Protocol.Logger(). Debug("calling DebugNewEpochState()", @@ -611,7 +609,6 @@ func (c *Client) DebugNewEpochState() (*DebugNewEpochStateResult, error) { return &result, nil } -// TODO func (c *Client) DebugChainDepState() (*DebugChainDepStateResult, error) { c.Protocol.Logger(). Debug("calling DebugChainDepState()", @@ -746,7 +743,6 @@ func (c *Client) GetStakePoolParams( return &result, nil } -// TODO func (c *Client) GetRewardInfoPools() (*RewardInfoPoolsResult, error) { c.Protocol.Logger(). Debug("calling GetRewardInfoPools()", @@ -772,7 +768,6 @@ func (c *Client) GetRewardInfoPools() (*RewardInfoPoolsResult, error) { return &result, nil } -// TODO func (c *Client) GetPoolState(poolIds []interface{}) (*PoolStateResult, error) { c.Protocol.Logger(). Debug(fmt.Sprintf("calling GetPoolState(poolIds: %+v)", poolIds), @@ -790,6 +785,7 @@ func (c *Client) GetPoolState(poolIds []interface{}) (*PoolStateResult, error) { query := buildShelleyQuery( currentEra, QueryTypeShelleyPoolState, + // TODO: add args (#868) ) var result PoolStateResult if err := c.runQuery(query, &result); err != nil { @@ -798,7 +794,6 @@ func (c *Client) GetPoolState(poolIds []interface{}) (*PoolStateResult, error) { return &result, nil } -// TODO func (c *Client) GetStakeSnapshots( poolId interface{}, ) (*StakeSnapshotsResult, error) { @@ -818,6 +813,7 @@ func (c *Client) GetStakeSnapshots( query := buildShelleyQuery( currentEra, QueryTypeShelleyStakeSnapshots, + // TODO: add args (#869) ) var result StakeSnapshotsResult if err := c.runQuery(query, &result); err != nil { @@ -826,7 +822,6 @@ func (c *Client) GetStakeSnapshots( return &result, nil } -// TODO func (c *Client) GetPoolDistr(poolIds []interface{}) (*PoolDistrResult, error) { c.Protocol.Logger(). Debug(fmt.Sprintf("calling GetPoolDistr(poolIds: %+v)", poolIds), @@ -844,6 +839,7 @@ func (c *Client) GetPoolDistr(poolIds []interface{}) (*PoolDistrResult, error) { query := buildShelleyQuery( currentEra, QueryTypeShelleyPoolDistr, + // TODO: add args (#870) ) var result PoolDistrResult if err := c.runQuery(query, &result); err != nil { diff --git a/protocol/localstatequery/queries.go b/protocol/localstatequery/queries.go index 36eb40cb..1b589672 100644 --- a/protocol/localstatequery/queries.go +++ b/protocol/localstatequery/queries.go @@ -285,7 +285,7 @@ type ShelleyCborQuery struct { type ShelleyFilteredDelegationAndRewardAccountsQuery struct { simpleQueryBase - // TODO: add params + // TODO: add params (#858) } type ShelleyGenesisConfigQuery struct { @@ -316,7 +316,7 @@ type ShelleyStakePoolsQuery struct { type ShelleyStakePoolParamsQuery struct { simpleQueryBase - // TODO: add params + // TODO: add params (#859) } type ShelleyRewardInfoPoolsQuery struct { @@ -468,7 +468,7 @@ type eraHistoryResultParams struct { Unknown int } -// TODO +// TODO (#860) /* result [{ *[0 int] => non_myopic_rewards }] for each stake display reward non_myopic_rewards { *poolid => int } int is the amount of lovelaces each pool would reward @@ -485,7 +485,7 @@ type CurrentProtocolParamsResult interface { any } -// TODO +// TODO (#861) type ProposedProtocolParamsUpdatesResult interface{} type StakeDistributionResult struct { @@ -551,16 +551,16 @@ func (u *UtxoId) MarshalCBOR() ([]byte, error) { return cbor.Encode(tmpData) } -// TODO +// TODO (#862) /* result [{* utxo => value }] */ type UTxOWholeResult interface{} -// TODO +// TODO (#863) type DebugEpochStateResult interface{} -// TODO +// TODO (#858) /* rwdr [flag bytestring] bytestring is the keyhash of the staking vkey flag 0/1 0=keyhash 1=scripthash @@ -613,13 +613,13 @@ type GenesisConfigResult struct { Unknown2 interface{} } -// TODO +// TODO (#864) type DebugNewEpochStateResult interface{} -// TODO +// TODO (#865) type DebugChainDepStateResult interface{} -// TODO +// TODO (#866) /* result [ *Element ] Expanded in order on the next rows. Element CDDL Comment @@ -672,14 +672,14 @@ type StakePoolParamsResult struct { } } -// TODO +// TODO (#867) type RewardInfoPoolsResult interface{} -// TODO +// TODO (#868) type PoolStateResult interface{} -// TODO +// TODO (#869) type StakeSnapshotsResult interface{} -// TODO +// TODO (#870) type PoolDistrResult interface{}