diff --git a/components/inx/server_node.go b/components/inx/server_node.go index 0039cad2b..959e412ac 100644 --- a/components/inx/server_node.go +++ b/components/inx/server_node.go @@ -7,30 +7,30 @@ import ( "github.com/iotaledger/hive.go/runtime/event" "github.com/iotaledger/hive.go/runtime/workerpool" inx "github.com/iotaledger/inx/go" + "github.com/iotaledger/iota-core/pkg/model" "github.com/iotaledger/iota-core/pkg/protocol/engine/syncmanager" - iotago "github.com/iotaledger/iota.go/v4" ) func inxNodeStatus(status *syncmanager.SyncStatus) *inx.NodeStatus { - finalizedCommitmentID := iotago.EmptyCommitmentID + var finalizedCommitment *model.Commitment // HasPruned is false when a node just started from a snapshot and keeps data of the LastPrunedEpoch, thus still need // to send finalized commitment. if !status.HasPruned || status.LatestFinalizedSlot > deps.Protocol.CommittedAPI().TimeProvider().EpochEnd(status.LastPrunedEpoch) { - finalizedCommitment, err := deps.Protocol.MainEngineInstance().Storage.Commitments().Load(status.LatestFinalizedSlot) + var err error + finalizedCommitment, err = deps.Protocol.MainEngineInstance().Storage.Commitments().Load(status.LatestFinalizedSlot) if err != nil { return nil } - finalizedCommitmentID = finalizedCommitment.ID() } return &inx.NodeStatus{ - IsHealthy: status.NodeSynced, - IsBootstrapped: status.NodeBootstrapped, - LastAcceptedBlockSlot: uint32(status.LastAcceptedBlockSlot), - LastConfirmedBlockSlot: uint32(status.LastConfirmedBlockSlot), - LatestCommitment: inxCommitment(status.LatestCommitment), - LatestFinalizedCommitmentId: inx.NewCommitmentId(finalizedCommitmentID), - PruningEpoch: uint32(status.LastPrunedEpoch), + IsHealthy: status.NodeSynced, + IsBootstrapped: status.NodeBootstrapped, + LastAcceptedBlockSlot: uint32(status.LastAcceptedBlockSlot), + LastConfirmedBlockSlot: uint32(status.LastConfirmedBlockSlot), + LatestCommitment: inxCommitment(status.LatestCommitment), + LatestFinalizedCommitment: inxCommitment(finalizedCommitment), + PruningEpoch: uint32(status.LastPrunedEpoch), } } @@ -112,12 +112,11 @@ func (s *Server) ReadNodeConfiguration(context.Context, *inx.NoParams) (*inx.Nod return &inx.NodeConfiguration{ BaseToken: &inx.BaseToken{ - Name: deps.BaseToken.Name, - TickerSymbol: deps.BaseToken.TickerSymbol, - Unit: deps.BaseToken.Unit, - Subunit: deps.BaseToken.Subunit, - Decimals: deps.BaseToken.Decimals, - UseMetricPrefix: deps.BaseToken.UseMetricPrefix, + Name: deps.BaseToken.Name, + TickerSymbol: deps.BaseToken.TickerSymbol, + Unit: deps.BaseToken.Unit, + Subunit: deps.BaseToken.Subunit, + Decimals: deps.BaseToken.Decimals, }, ProtocolParameters: protoParams, }, nil diff --git a/components/inx/server_utxo.go b/components/inx/server_utxo.go index a5fb5dfc4..4cab44670 100644 --- a/components/inx/server_utxo.go +++ b/components/inx/server_utxo.go @@ -65,11 +65,11 @@ func NewLedgerSpent(s *utxoledger.Spent) (*inx.LedgerSpent, error) { return l, nil } -func NewLedgerUpdateBatchBegin(slot iotago.SlotIndex, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate { +func NewLedgerUpdateBatchBegin(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate { return &inx.LedgerUpdate{ Op: &inx.LedgerUpdate_BatchMarker{ BatchMarker: &inx.LedgerUpdate_Marker{ - Slot: uint32(slot), + CommitmentId: inx.NewCommitmentId(commitmentID), MarkerType: inx.LedgerUpdate_Marker_BEGIN, CreatedCount: uint32(newOutputsCount), ConsumedCount: uint32(newSpentsCount), @@ -78,11 +78,11 @@ func NewLedgerUpdateBatchBegin(slot iotago.SlotIndex, newOutputsCount int, newSp } } -func NewLedgerUpdateBatchEnd(slot iotago.SlotIndex, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate { +func NewLedgerUpdateBatchEnd(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate { return &inx.LedgerUpdate{ Op: &inx.LedgerUpdate_BatchMarker{ BatchMarker: &inx.LedgerUpdate_Marker{ - Slot: uint32(slot), + CommitmentId: inx.NewCommitmentId(commitmentID), MarkerType: inx.LedgerUpdate_Marker_END, CreatedCount: uint32(newOutputsCount), ConsumedCount: uint32(newSpentsCount), @@ -191,8 +191,13 @@ func (s *Server) ReadUnspentOutputs(_ *inx.NoParams, srv inx.INX_ReadUnspentOutp func (s *Server) ListenToLedgerUpdates(req *inx.SlotRangeRequest, srv inx.INX_ListenToLedgerUpdatesServer) error { createLedgerUpdatePayloadAndSend := func(slot iotago.SlotIndex, outputs utxoledger.Outputs, spents utxoledger.Spents) error { + commitment, err := deps.Protocol.MainEngineInstance().Storage.Commitments().Load(slot) + if err != nil { + return status.Errorf(codes.NotFound, "commitment for slot %d not found", slot) + } + // Send Begin - if err := srv.Send(NewLedgerUpdateBatchBegin(slot, len(outputs), len(spents))); err != nil { + if err := srv.Send(NewLedgerUpdateBatchBegin(commitment.ID(), len(outputs), len(spents))); err != nil { return fmt.Errorf("send error: %w", err) } @@ -221,7 +226,7 @@ func (s *Server) ListenToLedgerUpdates(req *inx.SlotRangeRequest, srv inx.INX_Li } // Send End - if err := srv.Send(NewLedgerUpdateBatchEnd(slot, len(outputs), len(spents))); err != nil { + if err := srv.Send(NewLedgerUpdateBatchEnd(commitment.ID(), len(outputs), len(spents))); err != nil { return fmt.Errorf("send error: %w", err) } diff --git a/components/protocol/params.go b/components/protocol/params.go index 596a83a16..36fbc3d5e 100644 --- a/components/protocol/params.go +++ b/components/protocol/params.go @@ -37,8 +37,6 @@ type BaseToken struct { Subunit string `default:"glow" usage:"the base token subunit"` // the base token amount of decimals Decimals uint32 `default:"6" usage:"the base token amount of decimals"` - // the base token uses the metric prefix - UseMetricPrefix bool `default:"false" usage:"the base token uses the metric prefix"` } // ParametersDatabase contains the definition of configuration parameters used by the storage layer. diff --git a/components/restapi/core/accounts.go b/components/restapi/core/accounts.go index 155773f03..381c0105b 100644 --- a/components/restapi/core/accounts.go +++ b/components/restapi/core/accounts.go @@ -117,7 +117,7 @@ func validatorByAccountID(c echo.Context) (*apimodels.ValidatorResponse, error) } return &apimodels.ValidatorResponse{ - AccountID: accountID, + AddressBech32: accountID.ToAddress().Bech32(deps.Protocol.CommittedAPI().ProtocolParameters().Bech32HRP()), PoolStake: accountData.ValidatorStake + accountData.DelegationStake, ValidatorStake: accountData.ValidatorStake, StakingEpochEnd: accountData.StakeEndEpoch, @@ -239,7 +239,7 @@ func selectedCommittee(c echo.Context) (*apimodels.CommitteeResponse, error) { committee := make([]*apimodels.CommitteeMemberResponse, 0, accounts.Size()) accounts.ForEach(func(accountID iotago.AccountID, seat *account.Pool) bool { committee = append(committee, &apimodels.CommitteeMemberResponse{ - AccountID: accountID, + AddressBech32: accountID.ToAddress().Bech32(deps.Protocol.CommittedAPI().ProtocolParameters().Bech32HRP()), PoolStake: seat.PoolStake, ValidatorStake: seat.ValidatorStake, FixedCost: seat.FixedCost, diff --git a/components/restapi/core/blocks.go b/components/restapi/core/blocks.go index 2b58599ea..0764cf329 100644 --- a/components/restapi/core/blocks.go +++ b/components/restapi/core/blocks.go @@ -12,7 +12,7 @@ import ( "github.com/iotaledger/iota.go/v4/nodeclient/apimodels" ) -func blockByID(c echo.Context) (*model.Block, error) { +func blockByID(c echo.Context) (*iotago.Block, error) { blockID, err := httpserver.ParseBlockIDParam(c, restapi.ParameterBlockID) if err != nil { return nil, ierrors.Wrapf(err, "failed to parse block ID %s", c.Param(restapi.ParameterBlockID)) @@ -23,7 +23,7 @@ func blockByID(c echo.Context) (*model.Block, error) { return nil, ierrors.Wrapf(echo.ErrNotFound, "block not found: %s", blockID.ToHex()) } - return block, nil + return block.ProtocolBlock(), nil } func blockMetadataByBlockID(blockID iotago.BlockID) (*apimodels.BlockMetadataResponse, error) { @@ -44,6 +44,28 @@ func blockMetadataByID(c echo.Context) (*apimodels.BlockMetadataResponse, error) return blockMetadataByBlockID(blockID) } +func blockWithMetadataByID(c echo.Context) (*apimodels.BlockWithMetadataResponse, error) { + blockID, err := httpserver.ParseBlockIDParam(c, restapi.ParameterBlockID) + if err != nil { + return nil, ierrors.Wrapf(err, "failed to parse block ID %s", c.Param(restapi.ParameterBlockID)) + } + + block, exists := deps.Protocol.MainEngineInstance().Block(blockID) + if !exists { + return nil, ierrors.Wrapf(echo.ErrNotFound, "block not found: %s", blockID.ToHex()) + } + + blockMetadata, err := blockMetadataByBlockID(blockID) + if err != nil { + return nil, err + } + + return &apimodels.BlockWithMetadataResponse{ + Block: block.ProtocolBlock(), + Metadata: blockMetadata, + }, nil +} + func blockIssuanceBySlot(slotIndex iotago.SlotIndex) (*apimodels.IssuanceBlockHeaderResponse, error) { references := deps.Protocol.MainEngineInstance().TipSelection.SelectTips(iotago.BasicBlockMaxParents) diff --git a/components/restapi/core/commitment.go b/components/restapi/core/commitment.go index 4ff0f581d..48f2598d2 100644 --- a/components/restapi/core/commitment.go +++ b/components/restapi/core/commitment.go @@ -34,6 +34,11 @@ func getUTXOChanges(slot iotago.SlotIndex) (*apimodels.UTXOChangesResponse, erro return nil, ierrors.Wrapf(echo.ErrInternalServerError, "failed to get slot diffs %d: %s", slot, err) } + commitment, err := deps.Protocol.MainEngineInstance().Storage.Commitments().Load(diffs.Slot) + if err != nil { + return nil, ierrors.Wrapf(echo.ErrInternalServerError, "failed to load commitment %d: %s", diffs.Slot, err) + } + createdOutputs := make(iotago.OutputIDs, len(diffs.Outputs)) consumedOutputs := make(iotago.OutputIDs, len(diffs.Spents)) @@ -46,7 +51,7 @@ func getUTXOChanges(slot iotago.SlotIndex) (*apimodels.UTXOChangesResponse, erro } return &apimodels.UTXOChangesResponse{ - Slot: slot, + CommitmentID: commitment.ID(), CreatedOutputs: createdOutputs, ConsumedOutputs: consumedOutputs, }, nil diff --git a/components/restapi/core/component.go b/components/restapi/core/component.go index 8361b8d8f..6785dc462 100644 --- a/components/restapi/core/component.go +++ b/components/restapi/core/component.go @@ -44,6 +44,12 @@ const ( // MIMEApplicationVendorIOTASerializerV2 => bytes. RouteBlockMetadata = "/blocks/:" + restapipkg.ParameterBlockID + "/metadata" + // RouteBlockWithMetadata is the route for getting a block, together with its metadata by its blockID. + // GET returns the block and metadata. + // MIMEApplicationJSON => json. + // MIMEApplicationVendorIOTASerializerV2 => bytes. + RouteBlockWithMetadata = "/blocks/:" + restapipkg.ParameterBlockID + "/full" + // RouteBlocks is the route for sending new blocks. // POST creates a single new block and returns the new block ID. // The block is parsed based on the given type in the request "Content-Type" header. @@ -181,12 +187,12 @@ func configure() error { }) routeGroup.GET(RouteBlock, func(c echo.Context) error { - block, err := blockByID(c) + resp, err := blockByID(c) if err != nil { return err } - return responseByHeader(c, block.ProtocolBlock()) + return responseByHeader(c, resp) }) routeGroup.GET(RouteBlockMetadata, func(c echo.Context) error { @@ -198,6 +204,15 @@ func configure() error { return responseByHeader(c, resp) }, checkNodeSynced()) + routeGroup.GET(RouteBlockWithMetadata, func(c echo.Context) error { + resp, err := blockWithMetadataByID(c) + if err != nil { + return err + } + + return responseByHeader(c, resp) + }, checkNodeSynced()) + routeGroup.POST(RouteBlocks, func(c echo.Context) error { resp, err := sendBlock(c) if err != nil { @@ -276,7 +291,7 @@ func configure() error { }) routeGroup.GET(RouteOutput, func(c echo.Context) error { - resp, err := getOutput(c) + resp, err := outputByID(c) if err != nil { return err } @@ -285,7 +300,7 @@ func configure() error { }) routeGroup.GET(RouteOutputMetadata, func(c echo.Context) error { - resp, err := getOutputMetadata(c) + resp, err := outputMetadataByID(c) if err != nil { return err } @@ -294,7 +309,7 @@ func configure() error { }) routeGroup.GET(RouteOutputWithMetadata, func(c echo.Context) error { - resp, err := getOutputWithMetadata(c) + resp, err := outputWithMetadataByID(c) if err != nil { return err } diff --git a/components/restapi/core/node.go b/components/restapi/core/node.go index 927c58515..c6b829c87 100644 --- a/components/restapi/core/node.go +++ b/components/restapi/core/node.go @@ -49,12 +49,11 @@ func info() *apimodels.InfoResponse { }, ProtocolParameters: protocolParameters(), BaseToken: &apimodels.InfoResBaseToken{ - Name: deps.BaseToken.Name, - TickerSymbol: deps.BaseToken.TickerSymbol, - Unit: deps.BaseToken.Unit, - Subunit: deps.BaseToken.Subunit, - Decimals: deps.BaseToken.Decimals, - UseMetricPrefix: deps.BaseToken.UseMetricPrefix, + Name: deps.BaseToken.Name, + TickerSymbol: deps.BaseToken.TickerSymbol, + Unit: deps.BaseToken.Unit, + Subunit: deps.BaseToken.Subunit, + Decimals: deps.BaseToken.Decimals, }, Features: features, } diff --git a/components/restapi/core/utxo.go b/components/restapi/core/utxo.go index bdf62c89c..2fd9a7fad 100644 --- a/components/restapi/core/utxo.go +++ b/components/restapi/core/utxo.go @@ -10,7 +10,7 @@ import ( "github.com/iotaledger/iota.go/v4/nodeclient/apimodels" ) -func getOutput(c echo.Context) (*apimodels.OutputResponse, error) { +func outputByID(c echo.Context) (*apimodels.OutputResponse, error) { outputID, err := httpserver.ParseOutputIDParam(c, restapipkg.ParameterOutputID) if err != nil { return nil, ierrors.Wrapf(err, "failed to parse output ID %s", c.Param(restapipkg.ParameterOutputID)) @@ -27,7 +27,7 @@ func getOutput(c echo.Context) (*apimodels.OutputResponse, error) { }, nil } -func getOutputMetadata(c echo.Context) (*apimodels.OutputMetadata, error) { +func outputMetadataByID(c echo.Context) (*apimodels.OutputMetadata, error) { outputID, err := httpserver.ParseOutputIDParam(c, restapipkg.ParameterOutputID) if err != nil { return nil, ierrors.Wrapf(err, "failed to parse output ID %s", c.Param(restapipkg.ParameterOutputID)) @@ -45,7 +45,7 @@ func getOutputMetadata(c echo.Context) (*apimodels.OutputMetadata, error) { return newOutputMetadataResponse(output) } -func getOutputWithMetadata(c echo.Context) (*apimodels.OutputWithMetadataResponse, error) { +func outputWithMetadataByID(c echo.Context) (*apimodels.OutputWithMetadataResponse, error) { outputID, err := httpserver.ParseOutputIDParam(c, restapipkg.ParameterOutputID) if err != nil { return nil, ierrors.Wrapf(err, "failed to parse output ID %s", c.Param(restapipkg.ParameterOutputID)) diff --git a/config_defaults.json b/config_defaults.json index f89cc121a..2b6d4e5e1 100644 --- a/config_defaults.json +++ b/config_defaults.json @@ -112,8 +112,7 @@ "tickerSymbol": "SMR", "unit": "SMR", "subunit": "glow", - "decimals": 6, - "useMetricPrefix": false + "decimals": 6 } }, "dashboard": { diff --git a/documentation/docs/references/configuration.md b/documentation/docs/references/configuration.md index b6b3d58e2..08782cf56 100644 --- a/documentation/docs/references/configuration.md +++ b/documentation/docs/references/configuration.md @@ -341,14 +341,13 @@ Example: ### BaseToken -| Name | Description | Type | Default value | -| --------------- | ------------------------------------- | ------- | ------------- | -| name | The base token name | string | "Shimmer" | -| tickerSymbol | The base token ticker symbol | string | "SMR" | -| unit | The base token unit | string | "SMR" | -| subunit | The base token subunit | string | "glow" | -| decimals | The base token amount of decimals | uint | 6 | -| useMetricPrefix | The base token uses the metric prefix | boolean | false | +| Name | Description | Type | Default value | +| ------------ | --------------------------------- | ------ | ------------- | +| name | The base token name | string | "Shimmer" | +| tickerSymbol | The base token ticker symbol | string | "SMR" | +| unit | The base token unit | string | "SMR" | +| subunit | The base token subunit | string | "glow" | +| decimals | The base token amount of decimals | uint | 6 | Example: @@ -368,8 +367,7 @@ Example: "tickerSymbol": "SMR", "unit": "SMR", "subunit": "glow", - "decimals": 6, - "useMetricPrefix": false + "decimals": 6 } } } diff --git a/go.mod b/go.mod index 4e3018cb5..783007690 100644 --- a/go.mod +++ b/go.mod @@ -11,21 +11,21 @@ require ( github.com/gorilla/websocket v1.5.1 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc - github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc + github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc - github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467 - github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43 - github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b + github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072 + github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251 + github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 github.com/labstack/echo/v4 v4.11.3 github.com/labstack/gommon v0.4.1 github.com/libp2p/go-libp2p v0.32.0 @@ -62,7 +62,7 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/eclipse/paho.mqtt.golang v1.4.3 // indirect github.com/elastic/gosigar v0.14.2 // indirect - github.com/ethereum/go-ethereum v1.13.4 // indirect + github.com/ethereum/go-ethereum v1.13.5 // indirect github.com/fatih/structs v1.1.0 // indirect github.com/felixge/fgprof v0.9.3 // indirect github.com/fjl/memsize v0.0.2 // indirect diff --git a/go.sum b/go.sum index eea324bb8..d8a8e6585 100644 --- a/go.sum +++ b/go.sum @@ -98,8 +98,8 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.13.4 h1:25HJnaWVg3q1O7Z62LaaI6S9wVq8QCw3K88g8wEzrcM= -github.com/ethereum/go-ethereum v1.13.4/go.mod h1:I0U5VewuuTzvBtVzKo7b3hJzDhXOUtn9mJW7SsIPB0Q= +github.com/ethereum/go-ethereum v1.13.5 h1:U6TCRciCqZRe4FPXmy1sMGxTfuk8P7u2UoinF3VbaFk= +github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= @@ -277,38 +277,38 @@ github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PT github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc h1:PsArE43UkLymmDy9r7n42Yd1pv1iq4FwSx3iv2Mo+vc= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc h1:jMbElktKULtS8pA8MK5i5BTbOy+dtwAOGmVSZ5x6J2s= -github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc h1:qeE5T8LXGjKaFduWCt06CXsUTkhfHNx6hOD5xYP31QU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc h1:dyguf5k/eVGyv94ISm/FDtInOktce6koo+QtJvAPUT8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc h1:3wT7e5fRdDnnomkM6xPD110BCFz66MaXKxYUvLFuYkc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc h1:YQUKGFcOBGKSrok++Er5SZTtQx0UHTRgH4cvlHVOiwc= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc h1:sNFIiT+gEE6UlftfiBdrsUBIJtnhV6EpwVRw2YpbhUc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42 h1:K6VF23FOqHTRdk5OzsuBkYlGV008SZgKYqNwb0bp3rk= +github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 h1:+PyLPZhRHy+Negjpuj0CSLaObpErEH7yI6HB2z5N6b0= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 h1:3dW4gz0Vr9BogN826HRTp0OFlbngjhWcVPUfDhJ57Yw= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 h1:t6EKe+O7XAmbe07cVHuM/3aBLEbVIY4D6yefANB4PUA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 h1:QZiMlDxmikF64zimWQunTrsEGOK9ydRahUAz2I46JAk= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 h1:gxlZ4zL6EfLyqT0+hIFV3WVE0FrPVgV5cQdyn36vPXQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc h1:3fsqfM2NqfhrewVdlKT3MHcXxVNvUCSP7P32il1ypa0= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc h1:OrQBscQTsAzAJGwVs7qlPgczbvufsbENkOYRmyM+CF4= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 h1:kcHkWyURZDVqO80OmJo5Z+wTJB6H+s52WAnU575vX0o= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc h1:joYrsSZuVG3DfAQR9iS3qjnMExJ0qNp2+369sxb1Y4g= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc h1:p4K5bCNRVmbzVXZUa53Hg8s6gCW+tYjhG1f3C+1F044= -github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc h1:dN9VYzV53oz2TlHHGtRtqaGvMDvFRW0Uh433z13k6+E= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc h1:/DIsAs3PWCNkHoLXR2+uW34VAvZvfiCCJYA/rczfnmw= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc h1:Dp9sOvU2B7xoyX28bYZgUUDAIqMCBhsmK2vWhIgDyWE= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467 h1:2FNiPAUbHOJ+mLI1aU81QaoitbkebxJWUEylPdnC2Lc= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467/go.mod h1:bXOm6f+0zP19Ku/ozcSWZQiJb9ge9X7gg1TEcpRexUQ= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43 h1:Rs1vQypwaWvs+BqQWoGu6ToVl2F8eSErJabd5lmO4Pw= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43/go.mod h1:MvgF3pUPvdH/xIfrgdURFlpTyvnRWgcBMaTQb0GEKf0= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b h1:eU9vrxmXr1rMs67BsIWrfmEK+IjIsOnbl2XTlTtNIls= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= +github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42 h1:uD99UbTtBM5SIP9N3c/3BBLtb0frGYFsZ2lS8Zxtqr4= +github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 h1:hpR++ME3Y3CcxA431Zg0PgcCJUNkbBqjNXxR/bs+NdI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 h1:hepsnGvaS39azq80GV8DT9HlexoO/RqJbyiW5FXZ0HQ= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 h1:9c7NiX2cnNPHR9UNWINDqNkolupXiDF3543pR6KLwIg= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072 h1:xbaW2dnDZy0ThcEcdK7ir3b+ynBXsn0R14lgxiFVuB0= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072/go.mod h1:iFiY6UukYeL8D3N1mtg4jh/9lxTBhzG0QgtD+w0gpps= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251 h1:bYGO8jXNXJNMGPG9etGW7WXfLbRU9ofx1xdd29/sS9M= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251/go.mod h1:chzj8FDIeXHIh3D52QTZ7imADlzdkhg7o7E2Qr85MJ8= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 h1:8zHRYT1KADR9bOLUg7Ia4XA3StBHzV4Tb2Qtp42KLN8= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= github.com/ipfs/boxo v0.13.1 h1:nQ5oQzcMZR3oL41REJDcTbrvDvuZh3J9ckc9+ILeRQI= github.com/ipfs/boxo v0.13.1/go.mod h1:btrtHy0lmO1ODMECbbEY1pxNtrLilvKSYLoGQt1yYCk= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/pkg/protocol/sybilprotection/sybilprotectionv1/sybilprotection.go b/pkg/protocol/sybilprotection/sybilprotectionv1/sybilprotection.go index 48b167aef..f99050243 100644 --- a/pkg/protocol/sybilprotection/sybilprotectionv1/sybilprotection.go +++ b/pkg/protocol/sybilprotection/sybilprotectionv1/sybilprotection.go @@ -353,7 +353,7 @@ func (o *SybilProtection) OrderedRegisteredCandidateValidatorsList(epoch iotago. } active := activeCandidates.Has(candidate) validatorResp = append(validatorResp, &apimodels.ValidatorResponse{ - AccountID: accountData.ID, + AddressBech32: accountData.ID.ToAddress().Bech32(o.apiProvider.CommittedAPI().ProtocolParameters().Bech32HRP()), StakingEpochEnd: accountData.StakeEndEpoch, PoolStake: accountData.ValidatorStake + accountData.DelegationStake, ValidatorStake: accountData.ValidatorStake, diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index 8e346d660..9f913336e 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/iotaledger/iota-core => ../../ require ( - github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc + github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42 github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 ) @@ -25,7 +25,7 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/eclipse/paho.mqtt.golang v1.4.3 // indirect github.com/elastic/gosigar v0.14.2 // indirect - github.com/ethereum/go-ethereum v1.13.4 // indirect + github.com/ethereum/go-ethereum v1.13.5 // indirect github.com/fatih/structs v1.1.0 // indirect github.com/fbiville/markdown-table-formatter v0.3.0 // indirect github.com/felixge/fgprof v0.9.3 // indirect @@ -58,21 +58,21 @@ require ( github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 // indirect github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 // indirect github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 // indirect github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467 // indirect - github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43 // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b // indirect + github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072 // indirect + github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251 // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 // indirect github.com/ipfs/boxo v0.13.1 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index 691e76fe2..4c0a34b99 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -96,8 +96,8 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.13.4 h1:25HJnaWVg3q1O7Z62LaaI6S9wVq8QCw3K88g8wEzrcM= -github.com/ethereum/go-ethereum v1.13.4/go.mod h1:I0U5VewuuTzvBtVzKo7b3hJzDhXOUtn9mJW7SsIPB0Q= +github.com/ethereum/go-ethereum v1.13.5 h1:U6TCRciCqZRe4FPXmy1sMGxTfuk8P7u2UoinF3VbaFk= +github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= @@ -279,40 +279,40 @@ github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PT github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc h1:PsArE43UkLymmDy9r7n42Yd1pv1iq4FwSx3iv2Mo+vc= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc h1:jMbElktKULtS8pA8MK5i5BTbOy+dtwAOGmVSZ5x6J2s= -github.com/iotaledger/hive.go/app v0.0.0-20231110191152-7135670285dc/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= +github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42 h1:K6VF23FOqHTRdk5OzsuBkYlGV008SZgKYqNwb0bp3rk= +github.com/iotaledger/hive.go/app v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 h1:4aVJTc0KS77uEw0Tny4r0n1ORwcbAQDECaCclgf/6lE= github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3/go.mod h1:TZeAqieDu+xDOZp2e9+S+8pZp1PrfgcwLUnxmd8IgLU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc h1:qeE5T8LXGjKaFduWCt06CXsUTkhfHNx6hOD5xYP31QU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc h1:dyguf5k/eVGyv94ISm/FDtInOktce6koo+QtJvAPUT8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc h1:3wT7e5fRdDnnomkM6xPD110BCFz66MaXKxYUvLFuYkc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc h1:YQUKGFcOBGKSrok++Er5SZTtQx0UHTRgH4cvlHVOiwc= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc h1:sNFIiT+gEE6UlftfiBdrsUBIJtnhV6EpwVRw2YpbhUc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 h1:+PyLPZhRHy+Negjpuj0CSLaObpErEH7yI6HB2z5N6b0= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 h1:3dW4gz0Vr9BogN826HRTp0OFlbngjhWcVPUfDhJ57Yw= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 h1:t6EKe+O7XAmbe07cVHuM/3aBLEbVIY4D6yefANB4PUA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 h1:QZiMlDxmikF64zimWQunTrsEGOK9ydRahUAz2I46JAk= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 h1:gxlZ4zL6EfLyqT0+hIFV3WVE0FrPVgV5cQdyn36vPXQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc h1:3fsqfM2NqfhrewVdlKT3MHcXxVNvUCSP7P32il1ypa0= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc h1:OrQBscQTsAzAJGwVs7qlPgczbvufsbENkOYRmyM+CF4= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 h1:kcHkWyURZDVqO80OmJo5Z+wTJB6H+s52WAnU575vX0o= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc h1:joYrsSZuVG3DfAQR9iS3qjnMExJ0qNp2+369sxb1Y4g= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc h1:p4K5bCNRVmbzVXZUa53Hg8s6gCW+tYjhG1f3C+1F044= -github.com/iotaledger/hive.go/logger v0.0.0-20231110191152-7135670285dc/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc h1:dN9VYzV53oz2TlHHGtRtqaGvMDvFRW0Uh433z13k6+E= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc h1:/DIsAs3PWCNkHoLXR2+uW34VAvZvfiCCJYA/rczfnmw= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc h1:Dp9sOvU2B7xoyX28bYZgUUDAIqMCBhsmK2vWhIgDyWE= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467 h1:2FNiPAUbHOJ+mLI1aU81QaoitbkebxJWUEylPdnC2Lc= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231110132801-e38d9fbdd467/go.mod h1:bXOm6f+0zP19Ku/ozcSWZQiJb9ge9X7gg1TEcpRexUQ= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43 h1:Rs1vQypwaWvs+BqQWoGu6ToVl2F8eSErJabd5lmO4Pw= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231110132251-8abdb05cce43/go.mod h1:MvgF3pUPvdH/xIfrgdURFlpTyvnRWgcBMaTQb0GEKf0= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b h1:eU9vrxmXr1rMs67BsIWrfmEK+IjIsOnbl2XTlTtNIls= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= +github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42 h1:uD99UbTtBM5SIP9N3c/3BBLtb0frGYFsZ2lS8Zxtqr4= +github.com/iotaledger/hive.go/logger v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 h1:hpR++ME3Y3CcxA431Zg0PgcCJUNkbBqjNXxR/bs+NdI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 h1:hepsnGvaS39azq80GV8DT9HlexoO/RqJbyiW5FXZ0HQ= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 h1:9c7NiX2cnNPHR9UNWINDqNkolupXiDF3543pR6KLwIg= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072 h1:xbaW2dnDZy0ThcEcdK7ir3b+ynBXsn0R14lgxiFVuB0= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231120094046-1308e2a5e072/go.mod h1:iFiY6UukYeL8D3N1mtg4jh/9lxTBhzG0QgtD+w0gpps= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251 h1:bYGO8jXNXJNMGPG9etGW7WXfLbRU9ofx1xdd29/sS9M= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231120082637-ccd5b8465251/go.mod h1:chzj8FDIeXHIh3D52QTZ7imADlzdkhg7o7E2Qr85MJ8= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 h1:8zHRYT1KADR9bOLUg7Ia4XA3StBHzV4Tb2Qtp42KLN8= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= github.com/ipfs/boxo v0.13.1 h1:nQ5oQzcMZR3oL41REJDcTbrvDvuZh3J9ckc9+ILeRQI= github.com/ipfs/boxo v0.13.1/go.mod h1:btrtHy0lmO1ODMECbbEY1pxNtrLilvKSYLoGQt1yYCk= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/tools/genesis-snapshot/go.mod b/tools/genesis-snapshot/go.mod index 4c1d8b220..0d28ae51d 100644 --- a/tools/genesis-snapshot/go.mod +++ b/tools/genesis-snapshot/go.mod @@ -5,12 +5,12 @@ go 1.21 replace github.com/iotaledger/iota-core => ../../ require ( - github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc - github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc + github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 + github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 - github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b + github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 github.com/mr-tron/base58 v1.2.0 github.com/spf13/pflag v1.0.5 golang.org/x/crypto v0.15.0 @@ -21,19 +21,19 @@ require ( github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect - github.com/ethereum/go-ethereum v1.13.4 // indirect + github.com/ethereum/go-ethereum v1.13.5 // indirect github.com/google/uuid v1.4.0 // indirect github.com/holiman/uint256 v1.2.3 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 // indirect github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 // indirect github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc // indirect github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect github.com/kr/text v0.2.0 // indirect diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index 38eaf1b62..b8d3f0878 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -12,8 +12,8 @@ github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5il github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= -github.com/ethereum/go-ethereum v1.13.4 h1:25HJnaWVg3q1O7Z62LaaI6S9wVq8QCw3K88g8wEzrcM= -github.com/ethereum/go-ethereum v1.13.4/go.mod h1:I0U5VewuuTzvBtVzKo7b3hJzDhXOUtn9mJW7SsIPB0Q= +github.com/ethereum/go-ethereum v1.13.5 h1:U6TCRciCqZRe4FPXmy1sMGxTfuk8P7u2UoinF3VbaFk= +github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= github.com/fjl/memsize v0.0.2 h1:27txuSD9or+NZlnOWdKUxeBzTAUkWCVh+4Gf2dWFOzA= github.com/fjl/memsize v0.0.2/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= @@ -30,30 +30,30 @@ github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PT github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc h1:PsArE43UkLymmDy9r7n42Yd1pv1iq4FwSx3iv2Mo+vc= github.com/iotaledger/hive.go/ads v0.0.0-20231110191152-7135670285dc/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc h1:qeE5T8LXGjKaFduWCt06CXsUTkhfHNx6hOD5xYP31QU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231110191152-7135670285dc/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc h1:dyguf5k/eVGyv94ISm/FDtInOktce6koo+QtJvAPUT8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110191152-7135670285dc/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc h1:3wT7e5fRdDnnomkM6xPD110BCFz66MaXKxYUvLFuYkc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231110191152-7135670285dc/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc h1:YQUKGFcOBGKSrok++Er5SZTtQx0UHTRgH4cvlHVOiwc= -github.com/iotaledger/hive.go/ds v0.0.0-20231110191152-7135670285dc/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc h1:sNFIiT+gEE6UlftfiBdrsUBIJtnhV6EpwVRw2YpbhUc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231110191152-7135670285dc/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42 h1:+PyLPZhRHy+Negjpuj0CSLaObpErEH7yI6HB2z5N6b0= +github.com/iotaledger/hive.go/constraints v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42 h1:3dW4gz0Vr9BogN826HRTp0OFlbngjhWcVPUfDhJ57Yw= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231113110812-4ca2b6cc9a42/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42 h1:t6EKe+O7XAmbe07cVHuM/3aBLEbVIY4D6yefANB4PUA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42 h1:QZiMlDxmikF64zimWQunTrsEGOK9ydRahUAz2I46JAk= +github.com/iotaledger/hive.go/ds v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42 h1:gxlZ4zL6EfLyqT0+hIFV3WVE0FrPVgV5cQdyn36vPXQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc h1:3fsqfM2NqfhrewVdlKT3MHcXxVNvUCSP7P32il1ypa0= github.com/iotaledger/hive.go/kvstore v0.0.0-20231110191152-7135670285dc/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc h1:OrQBscQTsAzAJGwVs7qlPgczbvufsbENkOYRmyM+CF4= -github.com/iotaledger/hive.go/lo v0.0.0-20231110191152-7135670285dc/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42 h1:kcHkWyURZDVqO80OmJo5Z+wTJB6H+s52WAnU575vX0o= +github.com/iotaledger/hive.go/lo v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc h1:joYrsSZuVG3DfAQR9iS3qjnMExJ0qNp2+369sxb1Y4g= github.com/iotaledger/hive.go/log v0.0.0-20231110191152-7135670285dc/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc h1:dN9VYzV53oz2TlHHGtRtqaGvMDvFRW0Uh433z13k6+E= -github.com/iotaledger/hive.go/runtime v0.0.0-20231110191152-7135670285dc/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc h1:/DIsAs3PWCNkHoLXR2+uW34VAvZvfiCCJYA/rczfnmw= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110191152-7135670285dc/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc h1:Dp9sOvU2B7xoyX28bYZgUUDAIqMCBhsmK2vWhIgDyWE= -github.com/iotaledger/hive.go/stringify v0.0.0-20231110191152-7135670285dc/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b h1:eU9vrxmXr1rMs67BsIWrfmEK+IjIsOnbl2XTlTtNIls= -github.com/iotaledger/iota.go/v4 v4.0.0-20231110131407-263d0662856b/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42 h1:hpR++ME3Y3CcxA431Zg0PgcCJUNkbBqjNXxR/bs+NdI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42 h1:hepsnGvaS39azq80GV8DT9HlexoO/RqJbyiW5FXZ0HQ= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231113110812-4ca2b6cc9a42/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42 h1:9c7NiX2cnNPHR9UNWINDqNkolupXiDF3543pR6KLwIg= +github.com/iotaledger/hive.go/stringify v0.0.0-20231113110812-4ca2b6cc9a42/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140 h1:8zHRYT1KADR9bOLUg7Ia4XA3StBHzV4Tb2Qtp42KLN8= +github.com/iotaledger/iota.go/v4 v4.0.0-20231120063545-80c263f28140/go.mod h1:1CUJKGvkOUGXakxFZGAagEQDX9qYyhzIElmUHCHo9RM= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg=