From ae3114d7a23e49227a0eadd3c2524512267a9448 Mon Sep 17 00:00:00 2001 From: muXxer Date: Fri, 10 Nov 2023 14:04:17 +0100 Subject: [PATCH] Adapt to the metadata refactor --- go.mod | 18 +++++----- go.sum | 36 +++++++++---------- pkg/protocol/engine/utxoledger/output_test.go | 9 +++-- pkg/testsuite/mock/utils.go | 2 +- pkg/utils/rand.go | 1 - tools/gendoc/go.mod | 18 +++++----- tools/gendoc/go.sum | 36 +++++++++---------- tools/genesis-snapshot/go.mod | 18 +++++----- tools/genesis-snapshot/go.sum | 36 +++++++++---------- 9 files changed, 88 insertions(+), 86 deletions(-) diff --git a/go.mod b/go.mod index 8ab3b178f..fc329ef06 100644 --- a/go.mod +++ b/go.mod @@ -12,20 +12,20 @@ require ( github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/iotaledger/hive.go/ads v0.0.0-20231108070813-497ebfef8258 github.com/iotaledger/hive.go/app v0.0.0-20231108070813-497ebfef8258 - github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4 + github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 + github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 - github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 + github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258 - github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 + github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 + github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998 - github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce + github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 github.com/labstack/echo/v4 v4.11.2 github.com/labstack/gommon v0.4.0 github.com/libp2p/go-libp2p v0.32.0 diff --git a/go.sum b/go.sum index aa4b0cea6..16b8fd4a7 100644 --- a/go.sum +++ b/go.sum @@ -279,36 +279,36 @@ github.com/iotaledger/hive.go/ads v0.0.0-20231108070813-497ebfef8258 h1:wPNHVm76 github.com/iotaledger/hive.go/ads v0.0.0-20231108070813-497ebfef8258/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= github.com/iotaledger/hive.go/app v0.0.0-20231108070813-497ebfef8258 h1:akc8HhwdRq8DiRAQQXv/UQm0qbA9ZunT/mVmFX7fYZw= github.com/iotaledger/hive.go/app v0.0.0-20231108070813-497ebfef8258/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= -github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4 h1:v9fYr6bAPzunA1FQwYa0SthpUCc4+b5oFivpLg3quQk= -github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 h1:AaMdcUpeAragQXoiw/JUeqOpoZHF6AwO5SchkDz5/1E= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4 h1:FfzAlmgc+ugZlcE/JWO2TtL/uEFT/V7+h3lz2WAzSWI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 h1:3z31epbYZqwpCR/hL3Cyii7qgvIMewDmzvow6wRTFmY= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 h1:Z1a15SKzbEu1hhLk1xefTYw3zri0vxiLYaSVuS6CdoQ= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 h1:pbxrXM070GXymKySNHdFXnlEnjXzvJMczHRCh4niX9g= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 h1:WASEdf1LmtiUH13xDLDKgDrCjTXbhRSzMaYK7sg5xYY= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 h1:gcDpRANXwAUhMG7mV9+HZ1v+xOAa1JX9iTC1Li6VFI0= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 h1:68ujGKPVftxFYA3yIO1CkmVISFSDx8aPrJb20oWx1nM= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 h1:CmNAIm53EybssTv4zqihNwUbcxm9LQaCK53xPXTsJAk= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 h1:coSKLUOZkhYmdB5ifiYGnYhVnt0oJfLgTWz79kM2hys= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 h1:aYwno4uVrsvJvUMWXQNHavYBclCSNlEtKMvWiWitOiw= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258 h1:FMsVixGSddscSU42/jZGn3T/FC3uK9AZ+hyD8NmaIRs= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258 h1:R95wmni0W5VTYoxFq9nK27Tu68T10J5eZSVtxNqedA4= github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 h1:m5BtU3Qjls+bW3D+3wOwJPqM2AXehbbp3Pc+nkCBvoc= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 h1:KsLHCoGHUA3Gjs8Qh+4cbAJbsO2Bfgm/Hqwx3gJXFfc= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 h1:xl2Og80WiBt90QjKaZxOflXHPcuikV0HVFy/wSB0l6E= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 h1:q4Mywi7KNBEOS5DX9Jkj/8ECWhua7WLHUmgXAP9mLvs= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 h1:5/HJa5W0l/6zTWaI3YvywVDxH4r4Eu0ww20xrk74OUs= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 h1:vni0ehemFi/al5MJgbpgTt5OX8zcXFI5Ms4lGqd5gGQ= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82 h1:FdM1lxUKgENO3oOlF5blVqmjER44mLIHGpavyUOY5JI= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82/go.mod h1:HVxkGPraMDTRudfG9AFN7Ga9gijp6skXB9TKNBc4KgI= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998 h1:KkC0SaWrjSMg897r2DDosJYALFfLadFST3Fvoaxg7hw= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998/go.mod h1:c+lBG3vgt2rgXHeOncK8hMllMwihTAtVbu790NslW2w= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce h1:6CKxw74zE4aKHs3wjbmkLdSUAJgJ5TjMl2111Hl91Zc= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce/go.mod h1:Bg7BOs2wO5gw1KQwD0OedG3C2gG6Xls2VGicK9mpLLg= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 h1:ZMr688yLoO2htAjdIHjRhKGWYlNXyTFzJU+OIQ6PoVs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28/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/engine/utxoledger/output_test.go b/pkg/protocol/engine/utxoledger/output_test.go index 482acf6e1..d51af0013 100644 --- a/pkg/protocol/engine/utxoledger/output_test.go +++ b/pkg/protocol/engine/utxoledger/output_test.go @@ -224,7 +224,9 @@ func TestNFTOutputSerialization(t *testing.T) { Features: iotago.NFTOutputFeatures{}, ImmutableFeatures: iotago.NFTOutputImmFeatures{ &iotago.MetadataFeature{ - Data: utils.RandBytes(12), + Entries: iotago.MetadataFeatureEntries{ + "data": utils.RandBytes(12), + }, }, }, } @@ -266,7 +268,9 @@ func TestNFTOutputWithSpendConstraintsSerialization(t *testing.T) { Features: iotago.NFTOutputFeatures{}, ImmutableFeatures: iotago.NFTOutputImmFeatures{ &iotago.MetadataFeature{ - Data: utils.RandBytes(12), + Entries: iotago.MetadataFeatureEntries{ + "data": utils.RandBytes(12), + }, }, &iotago.IssuerFeature{ Address: issuerAddress, @@ -350,7 +354,6 @@ func TestAnchorOutputSerialization(t *testing.T) { Address: governor, }, }, - StateMetadata: make([]byte, 0), Features: iotago.AnchorOutputFeatures{ &iotago.SenderFeature{ Address: sender.ToAddress(), diff --git a/pkg/testsuite/mock/utils.go b/pkg/testsuite/mock/utils.go index 9689781dc..b2efb6cf7 100644 --- a/pkg/testsuite/mock/utils.go +++ b/pkg/testsuite/mock/utils.go @@ -191,7 +191,7 @@ func WithAccountImmutableFeatures(features iotago.AccountOutputImmFeatures) opti switch feature.Type() { case iotago.FeatureMetadata: //nolint:forcetypeassert - accountBuilder.ImmutableMetadata(feature.(*iotago.MetadataFeature).Data) + accountBuilder.ImmutableMetadata(feature.(*iotago.MetadataFeature).Entries) case iotago.FeatureSender: //nolint:forcetypeassert accountBuilder.ImmutableSender(feature.(*iotago.SenderFeature).Address) diff --git a/pkg/utils/rand.go b/pkg/utils/rand.go index 1036ed64c..c3f8da1b9 100644 --- a/pkg/utils/rand.go +++ b/pkg/utils/rand.go @@ -216,7 +216,6 @@ func RandOutputOnAddressWithAmount(outputType iotago.OutputType, address iotago. Address: address, }, }, - StateMetadata: make([]byte, 0), Features: iotago.AnchorOutputFeatures{}, ImmutableFeatures: iotago.AnchorOutputImmFeatures{}, } diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index e35d5065b..30c9c5444 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -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-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 // indirect github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 // indirect github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 // indirect github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258 // indirect github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 // indirect github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82 // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998 // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 // 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 b2ba2e53e..5a765c976 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -283,36 +283,36 @@ github.com/iotaledger/hive.go/app v0.0.0-20231108070813-497ebfef8258 h1:akc8Hhwd github.com/iotaledger/hive.go/app v0.0.0-20231108070813-497ebfef8258/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-20231108162616-bab25251edc4 h1:v9fYr6bAPzunA1FQwYa0SthpUCc4+b5oFivpLg3quQk= -github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 h1:AaMdcUpeAragQXoiw/JUeqOpoZHF6AwO5SchkDz5/1E= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4 h1:FfzAlmgc+ugZlcE/JWO2TtL/uEFT/V7+h3lz2WAzSWI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 h1:3z31epbYZqwpCR/hL3Cyii7qgvIMewDmzvow6wRTFmY= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 h1:Z1a15SKzbEu1hhLk1xefTYw3zri0vxiLYaSVuS6CdoQ= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 h1:pbxrXM070GXymKySNHdFXnlEnjXzvJMczHRCh4niX9g= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 h1:WASEdf1LmtiUH13xDLDKgDrCjTXbhRSzMaYK7sg5xYY= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 h1:gcDpRANXwAUhMG7mV9+HZ1v+xOAa1JX9iTC1Li6VFI0= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 h1:68ujGKPVftxFYA3yIO1CkmVISFSDx8aPrJb20oWx1nM= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 h1:CmNAIm53EybssTv4zqihNwUbcxm9LQaCK53xPXTsJAk= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 h1:coSKLUOZkhYmdB5ifiYGnYhVnt0oJfLgTWz79kM2hys= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 h1:aYwno4uVrsvJvUMWXQNHavYBclCSNlEtKMvWiWitOiw= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258 h1:FMsVixGSddscSU42/jZGn3T/FC3uK9AZ+hyD8NmaIRs= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258 h1:R95wmni0W5VTYoxFq9nK27Tu68T10J5eZSVtxNqedA4= github.com/iotaledger/hive.go/logger v0.0.0-20231108070813-497ebfef8258/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 h1:m5BtU3Qjls+bW3D+3wOwJPqM2AXehbbp3Pc+nkCBvoc= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 h1:KsLHCoGHUA3Gjs8Qh+4cbAJbsO2Bfgm/Hqwx3gJXFfc= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 h1:xl2Og80WiBt90QjKaZxOflXHPcuikV0HVFy/wSB0l6E= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 h1:q4Mywi7KNBEOS5DX9Jkj/8ECWhua7WLHUmgXAP9mLvs= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 h1:5/HJa5W0l/6zTWaI3YvywVDxH4r4Eu0ww20xrk74OUs= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 h1:vni0ehemFi/al5MJgbpgTt5OX8zcXFI5Ms4lGqd5gGQ= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82 h1:FdM1lxUKgENO3oOlF5blVqmjER44mLIHGpavyUOY5JI= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231108104504-1445f545de82/go.mod h1:HVxkGPraMDTRudfG9AFN7Ga9gijp6skXB9TKNBc4KgI= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998 h1:KkC0SaWrjSMg897r2DDosJYALFfLadFST3Fvoaxg7hw= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231108104322-f301c3573998/go.mod h1:c+lBG3vgt2rgXHeOncK8hMllMwihTAtVbu790NslW2w= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce h1:6CKxw74zE4aKHs3wjbmkLdSUAJgJ5TjMl2111Hl91Zc= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce/go.mod h1:Bg7BOs2wO5gw1KQwD0OedG3C2gG6Xls2VGicK9mpLLg= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 h1:ZMr688yLoO2htAjdIHjRhKGWYlNXyTFzJU+OIQ6PoVs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28/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 1f301a0de..4990fb4f1 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-20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 - github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 + github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 + github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 + github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 - github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce + github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 github.com/mr-tron/base58 v1.2.0 github.com/spf13/pflag v1.0.5 golang.org/x/crypto v0.14.0 @@ -27,13 +27,13 @@ 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-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 // indirect github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 // indirect github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 // indirect github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 // 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 05bcc7b4a..99afd31d1 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -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-20231108070813-497ebfef8258 h1:wPNHVm76dOw/P5KFHrlnMxZDQqrgqUVLrNLhcYbLLko= github.com/iotaledger/hive.go/ads v0.0.0-20231108070813-497ebfef8258/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4 h1:v9fYr6bAPzunA1FQwYa0SthpUCc4+b5oFivpLg3quQk= -github.com/iotaledger/hive.go/constraints v0.0.0-20231108162616-bab25251edc4/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4 h1:AaMdcUpeAragQXoiw/JUeqOpoZHF6AwO5SchkDz5/1E= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231108162616-bab25251edc4/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4 h1:FfzAlmgc+ugZlcE/JWO2TtL/uEFT/V7+h3lz2WAzSWI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231108162616-bab25251edc4/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2 h1:3z31epbYZqwpCR/hL3Cyii7qgvIMewDmzvow6wRTFmY= +github.com/iotaledger/hive.go/constraints v0.0.0-20231110115447-7605386261d2/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2 h1:Z1a15SKzbEu1hhLk1xefTYw3zri0vxiLYaSVuS6CdoQ= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231110115447-7605386261d2/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2 h1:pbxrXM070GXymKySNHdFXnlEnjXzvJMczHRCh4niX9g= +github.com/iotaledger/hive.go/crypto v0.0.0-20231110115447-7605386261d2/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258 h1:WASEdf1LmtiUH13xDLDKgDrCjTXbhRSzMaYK7sg5xYY= github.com/iotaledger/hive.go/ds v0.0.0-20231108070813-497ebfef8258/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4 h1:gcDpRANXwAUhMG7mV9+HZ1v+xOAa1JX9iTC1Li6VFI0= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231108162616-bab25251edc4/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2 h1:68ujGKPVftxFYA3yIO1CkmVISFSDx8aPrJb20oWx1nM= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231110115447-7605386261d2/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258 h1:CmNAIm53EybssTv4zqihNwUbcxm9LQaCK53xPXTsJAk= github.com/iotaledger/hive.go/kvstore v0.0.0-20231108070813-497ebfef8258/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4 h1:coSKLUOZkhYmdB5ifiYGnYhVnt0oJfLgTWz79kM2hys= -github.com/iotaledger/hive.go/lo v0.0.0-20231108162616-bab25251edc4/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2 h1:aYwno4uVrsvJvUMWXQNHavYBclCSNlEtKMvWiWitOiw= +github.com/iotaledger/hive.go/lo v0.0.0-20231110115447-7605386261d2/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258 h1:FMsVixGSddscSU42/jZGn3T/FC3uK9AZ+hyD8NmaIRs= github.com/iotaledger/hive.go/log v0.0.0-20231108070813-497ebfef8258/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4 h1:m5BtU3Qjls+bW3D+3wOwJPqM2AXehbbp3Pc+nkCBvoc= -github.com/iotaledger/hive.go/runtime v0.0.0-20231108162616-bab25251edc4/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4 h1:KsLHCoGHUA3Gjs8Qh+4cbAJbsO2Bfgm/Hqwx3gJXFfc= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231108162616-bab25251edc4/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4 h1:xl2Og80WiBt90QjKaZxOflXHPcuikV0HVFy/wSB0l6E= -github.com/iotaledger/hive.go/stringify v0.0.0-20231108162616-bab25251edc4/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce h1:6CKxw74zE4aKHs3wjbmkLdSUAJgJ5TjMl2111Hl91Zc= -github.com/iotaledger/iota.go/v4 v4.0.0-20231108163058-11a75294e3ce/go.mod h1:Bg7BOs2wO5gw1KQwD0OedG3C2gG6Xls2VGicK9mpLLg= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2 h1:q4Mywi7KNBEOS5DX9Jkj/8ECWhua7WLHUmgXAP9mLvs= +github.com/iotaledger/hive.go/runtime v0.0.0-20231110115447-7605386261d2/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2 h1:5/HJa5W0l/6zTWaI3YvywVDxH4r4Eu0ww20xrk74OUs= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231110115447-7605386261d2/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2 h1:vni0ehemFi/al5MJgbpgTt5OX8zcXFI5Ms4lGqd5gGQ= +github.com/iotaledger/hive.go/stringify v0.0.0-20231110115447-7605386261d2/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28 h1:ZMr688yLoO2htAjdIHjRhKGWYlNXyTFzJU+OIQ6PoVs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231110124122-614b46af3d28/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=