From 447d658e905cf5ebd28d7c35554a88ce0888b40d Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 13 Feb 2024 07:39:49 +0100 Subject: [PATCH 1/6] Fix test due to increased work score params --- pkg/retainer/retainer/retainer.go | 2 +- pkg/tests/accounts_test.go | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pkg/retainer/retainer/retainer.go b/pkg/retainer/retainer/retainer.go index 6fa8d7ca7..21dde25fa 100644 --- a/pkg/retainer/retainer/retainer.go +++ b/pkg/retainer/retainer/retainer.go @@ -123,7 +123,7 @@ func NewProvider() module.Provider[*engine.Engine, retainer.Retainer] { }) transactionMetadata.OnRejected(func() { - r.RetainTransactionFailure(attachment, iotago.ErrTxConflicting) + r.RetainTransactionFailure(attachment, iotago.ErrTxConflictRejected) }) transactionMetadata.OnAccepted(func() { diff --git a/pkg/tests/accounts_test.go b/pkg/tests/accounts_test.go index 05ea9df7f..8b58299b8 100644 --- a/pkg/tests/accounts_test.go +++ b/pkg/tests/accounts_test.go @@ -472,7 +472,7 @@ func Test_NegativeBIC_BlockIssuerLocked(t *testing.T) { node1 := ts.AddValidatorNode("node1") node2 := ts.AddNode("node2") - wallet1BIC := iotago.BlockIssuanceCredits(100_000) + wallet1BIC := iotago.BlockIssuanceCredits(100_000_000) wallet2BIC := iotago.BlockIssuanceCredits(0) wallet1 := ts.AddGenesisWallet("wallet 1", node2, testsuite.WithWalletBlockIssuanceCredits(wallet1BIC)) @@ -505,6 +505,9 @@ func Test_NegativeBIC_BlockIssuerLocked(t *testing.T) { // MODIFY EXISTING GENESIS ACCOUNT var block1Slot iotago.SlotIndex = 1 var latestParents []iotago.BlockID + // The cost of the block that will make the account go negative. + // We store it so we can allot that amount later to unlock it. + block12ManaCost := iotago.Mana(0) // Issue one block from each of the two block-issuers - one will go negative and the other has enough BICs. { block1Commitment := iotago.NewEmptyCommitment(ts.API) @@ -513,6 +516,10 @@ func Test_NegativeBIC_BlockIssuerLocked(t *testing.T) { block11 := ts.IssueBasicBlockWithOptions("block1.1", wallet1, &iotago.TaggedData{}, mock.WithSlotCommitment(block1Commitment)) block12 := ts.IssueBasicBlockWithOptions("block1.2", wallet2, &iotago.TaggedData{}, mock.WithStrongParents(block11.ID()), mock.WithSlotCommitment(block1Commitment)) + var err error + block12ManaCost, err = block12.ProtocolBlock().ManaCost(block1Commitment.ReferenceManaCost) + require.NoError(t, err) + // Commit BIC burns and check account states. ts.CommitUntilSlot(ts.BlockID("block1.2").Slot(), block12.ID()) @@ -579,7 +586,7 @@ func Test_NegativeBIC_BlockIssuerLocked(t *testing.T) { // Allot some mana to the locked account to unlock it. // The locked wallet 2 is preparing and signs the transaction, but it's issued by wallet 1 whose account is not locked. { - allottedBIC := iotago.BlockIssuanceCredits(10_000) + allottedBIC := iotago.BlockIssuanceCredits(block12ManaCost) tx1 := wallet2.AllotManaFromInputs("TX1", iotago.Allotments{&iotago.Allotment{ AccountID: wallet2.BlockIssuer.AccountID, From 7a10ec92fb20cf0fa4df6c14ed58df24bea9ad59 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 13 Feb 2024 07:44:38 +0100 Subject: [PATCH 2/6] Bump iota.go --- go.mod | 2 +- go.sum | 4 ++-- tools/gendoc/go.mod | 2 +- tools/gendoc/go.sum | 4 ++-- tools/genesis-snapshot/go.mod | 2 +- tools/genesis-snapshot/go.sum | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 390491fb4..fa5d79fc8 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240212172835-f61c6d89d84d github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 - github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 + github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 github.com/labstack/echo/v4 v4.11.4 github.com/labstack/gommon v0.4.2 github.com/libp2p/go-libp2p v0.32.2 diff --git a/go.sum b/go.sum index 7cf2b9335..7a7be4afb 100644 --- a/go.sum +++ b/go.sum @@ -309,8 +309,8 @@ github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 h1:Z7twy8 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506/go.mod h1:x8dn1yT4TtyucfQz1Qb4LrqjdxmOMy7oiRiVedLD2/s= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 h1:BjXmT1Kt4+KM0pN2ctstZRsJ5syfmE/3O/AoZZbghH8= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= github.com/ipfs/boxo v0.17.0 h1:fVXAb12dNbraCX1Cdid5BB6Kl62gVLNVA+e0EYMqAU0= github.com/ipfs/boxo v0.17.0/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index 0d8901aab..d9cd692ed 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -71,7 +71,7 @@ require ( github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240212172835-f61c6d89d84d // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 // indirect github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 // indirect github.com/ipfs/boxo v0.17.0 // 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 9483eb951..d6f5df550 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -313,8 +313,8 @@ github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 h1:Z7twy8 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506/go.mod h1:x8dn1yT4TtyucfQz1Qb4LrqjdxmOMy7oiRiVedLD2/s= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 h1:BjXmT1Kt4+KM0pN2ctstZRsJ5syfmE/3O/AoZZbghH8= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= github.com/ipfs/boxo v0.17.0 h1:fVXAb12dNbraCX1Cdid5BB6Kl62gVLNVA+e0EYMqAU0= github.com/ipfs/boxo v0.17.0/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= 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 231d8dd2e..ffaf3a18c 100644 --- a/tools/genesis-snapshot/go.mod +++ b/tools/genesis-snapshot/go.mod @@ -10,7 +10,7 @@ require ( github.com/iotaledger/hive.go/lo v0.0.0-20240126143305-9caf79103e85 github.com/iotaledger/hive.go/runtime v0.0.0-20240126143305-9caf79103e85 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 - github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 + github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 github.com/mr-tron/base58 v1.2.0 github.com/spf13/pflag v1.0.5 golang.org/x/crypto v0.18.0 diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index 72c72e0b9..33b2b76b8 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -54,8 +54,8 @@ github.com/iotaledger/hive.go/stringify v0.0.0-20240126143305-9caf79103e85 h1:wK github.com/iotaledger/hive.go/stringify v0.0.0-20240126143305-9caf79103e85/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6 h1:BjXmT1Kt4+KM0pN2ctstZRsJ5syfmE/3O/AoZZbghH8= -github.com/iotaledger/iota.go/v4 v4.0.0-20240205135859-2e6b70b484d6/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= 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.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= From 4075973229f7755ea84cd54f9ddcc0db77517909 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 13 Feb 2024 07:53:00 +0100 Subject: [PATCH 3/6] Update account locked error --- .../postsolidblockfilter/post_solid_block_filter.go | 2 +- pkg/tests/accounts_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/protocol/engine/filter/postsolidfilter/postsolidblockfilter/post_solid_block_filter.go b/pkg/protocol/engine/filter/postsolidfilter/postsolidblockfilter/post_solid_block_filter.go index 09d963910..4a03afcb9 100644 --- a/pkg/protocol/engine/filter/postsolidfilter/postsolidblockfilter/post_solid_block_filter.go +++ b/pkg/protocol/engine/filter/postsolidfilter/postsolidblockfilter/post_solid_block_filter.go @@ -136,7 +136,7 @@ func (c *PostSolidBlockFilter) ProcessSolidBlock(block *blocks.Block) { if accountData.Credits.Value < 0 { c.events.BlockFiltered.Trigger(&postsolidfilter.BlockFilteredEvent{ Block: block, - Reason: ierrors.Wrapf(iotago.ErrNegativeBIC, "block issuer account %s is locked due to negative BIC", block.ProtocolBlock().Header.IssuerID), + Reason: ierrors.Wrapf(iotago.ErrAccountLocked, "block issuer account %s", block.ProtocolBlock().Header.IssuerID), }) return diff --git a/pkg/tests/accounts_test.go b/pkg/tests/accounts_test.go index 8b58299b8..cc59b0907 100644 --- a/pkg/tests/accounts_test.go +++ b/pkg/tests/accounts_test.go @@ -556,7 +556,7 @@ func Test_NegativeBIC_BlockIssuerLocked(t *testing.T) { block22 := ts.IssueBasicBlockWithOptions("block2.2", wallet2, &iotago.TaggedData{}, mock.WithStrongParents(ts.BlockID("block2.1")), mock.WithSlotCommitment(block2Commitment)) - ts.AssertBlockFiltered([]*blocks.Block{block22}, iotago.ErrNegativeBIC, wallet2.Node) + ts.AssertBlockFiltered([]*blocks.Block{block22}, iotago.ErrAccountLocked, wallet2.Node) latestParents = ts.CommitUntilSlot(ts.BlockID("block2.1").Slot(), block21.ID()) From b3b93bff5849f0c27a40c8672dc6dd153eec4694 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 13 Feb 2024 08:27:25 +0100 Subject: [PATCH 4/6] Fix other negative BIC test --- less | 0 log.txt | 1 + pkg/tests/accounts_test.go | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 less create mode 100644 log.txt diff --git a/less b/less new file mode 100644 index 000000000..e69de29bb diff --git a/log.txt b/log.txt new file mode 100644 index 000000000..deb95a8c3 --- /dev/null +++ b/log.txt @@ -0,0 +1 @@ +ok github.com/iotaledger/iota-core/pkg/tests 1.449s diff --git a/pkg/tests/accounts_test.go b/pkg/tests/accounts_test.go index cc59b0907..1ada77f92 100644 --- a/pkg/tests/accounts_test.go +++ b/pkg/tests/accounts_test.go @@ -768,7 +768,7 @@ func Test_NegativeBIC_AccountOutput(t *testing.T) { // Allot some mana to the locked account to unlock it. // The locked wallet 1 is preparing and signs the transaction, but it's issued by wallet 2 whose account is not locked. { - allottedBIC := iotago.BlockIssuanceCredits(10001) + allottedBIC := iotago.BlockIssuanceCredits(100_000_000) tx2 := wallet1.AllotManaFromInputs("TX2", iotago.Allotments{&iotago.Allotment{ AccountID: wallet1.BlockIssuer.AccountID, From 9cda1db858abb9f8c06d2ccfd3982c6341654d6b Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 13 Feb 2024 09:16:03 +0100 Subject: [PATCH 5/6] Bump iota.go --- go.mod | 3 +-- go.sum | 4 ++-- log.txt | 1 - tools/gendoc/go.mod | 3 +-- tools/gendoc/go.sum | 4 ++-- tools/genesis-snapshot/go.mod | 3 +-- tools/genesis-snapshot/go.sum | 4 ++-- 7 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 log.txt diff --git a/go.mod b/go.mod index fa5d79fc8..d3854e5c9 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240212172835-f61c6d89d84d github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 - github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 + github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 github.com/labstack/echo/v4 v4.11.4 github.com/labstack/gommon v0.4.2 github.com/libp2p/go-libp2p v0.32.2 @@ -150,7 +150,6 @@ require ( github.com/quic-go/quic-go v0.41.0 // indirect github.com/quic-go/webtransport-go v0.6.0 // indirect github.com/raulk/go-watchdog v1.3.0 // indirect - github.com/samber/lo v1.39.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/spf13/cast v1.6.0 // indirect diff --git a/go.sum b/go.sum index 7a7be4afb..83b98a1dd 100644 --- a/go.sum +++ b/go.sum @@ -309,8 +309,8 @@ github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 h1:Z7twy8 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506/go.mod h1:x8dn1yT4TtyucfQz1Qb4LrqjdxmOMy7oiRiVedLD2/s= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 h1:a1Q/G8kyLdF1LL6odHTKA5y9STXp5jDIlXM5wQcphEE= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= github.com/ipfs/boxo v0.17.0 h1:fVXAb12dNbraCX1Cdid5BB6Kl62gVLNVA+e0EYMqAU0= github.com/ipfs/boxo v0.17.0/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/log.txt b/log.txt deleted file mode 100644 index deb95a8c3..000000000 --- a/log.txt +++ /dev/null @@ -1 +0,0 @@ -ok github.com/iotaledger/iota-core/pkg/tests 1.449s diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index d9cd692ed..172b624de 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -71,7 +71,7 @@ require ( github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240212172835-f61c6d89d84d // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 // indirect github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 // indirect github.com/ipfs/boxo v0.17.0 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect @@ -142,7 +142,6 @@ require ( github.com/quic-go/quic-go v0.41.0 // indirect github.com/quic-go/webtransport-go v0.6.0 // indirect github.com/raulk/go-watchdog v1.3.0 // indirect - github.com/samber/lo v1.39.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/spf13/cast v1.6.0 // indirect diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index d6f5df550..63db7a293 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -313,8 +313,8 @@ github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506 h1:Z7twy8 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240125161426-1846f6320506/go.mod h1:x8dn1yT4TtyucfQz1Qb4LrqjdxmOMy7oiRiVedLD2/s= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 h1:a1Q/G8kyLdF1LL6odHTKA5y9STXp5jDIlXM5wQcphEE= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= github.com/ipfs/boxo v0.17.0 h1:fVXAb12dNbraCX1Cdid5BB6Kl62gVLNVA+e0EYMqAU0= github.com/ipfs/boxo v0.17.0/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= 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 ffaf3a18c..c6c41745d 100644 --- a/tools/genesis-snapshot/go.mod +++ b/tools/genesis-snapshot/go.mod @@ -10,7 +10,7 @@ require ( github.com/iotaledger/hive.go/lo v0.0.0-20240126143305-9caf79103e85 github.com/iotaledger/hive.go/runtime v0.0.0-20240126143305-9caf79103e85 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 - github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 + github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 github.com/mr-tron/base58 v1.2.0 github.com/spf13/pflag v1.0.5 golang.org/x/crypto v0.18.0 @@ -55,7 +55,6 @@ require ( github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pokt-network/smt v0.9.2 // indirect - github.com/samber/lo v1.39.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/stretchr/testify v1.8.4 // indirect diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index 33b2b76b8..7a7080790 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -54,8 +54,8 @@ github.com/iotaledger/hive.go/stringify v0.0.0-20240126143305-9caf79103e85 h1:wK github.com/iotaledger/hive.go/stringify v0.0.0-20240126143305-9caf79103e85/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00 h1:j5udgLtSN6wQgFI9vnhkdJsqsVdJmwtoc0yOmT/Ila4= github.com/iotaledger/iota-crypto-demo v0.0.0-20231208171603-786bb32fdb00/go.mod h1:gt+URx7DZu414nZME7jtGgxR4DVTSnNa1jF2trTUTZ0= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2 h1:dl6bSz28AndJIn02EYx2Q3SdRmOJbhxRMFemGxy+xLc= -github.com/iotaledger/iota.go/v4 v4.0.0-20240213040532-f10be411a6a2/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9 h1:a1Q/G8kyLdF1LL6odHTKA5y9STXp5jDIlXM5wQcphEE= +github.com/iotaledger/iota.go/v4 v4.0.0-20240213081357-427dfc95a1b9/go.mod h1:f7N7GyRbW4B0UWMvCeiXOrYiP9T2HVaQnZqP2zaZSo8= 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.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= From 51f01dcb90c6a8a5bcf0e688fe25198e48572045 Mon Sep 17 00:00:00 2001 From: muXxer Date: Tue, 13 Feb 2024 10:14:18 +0100 Subject: [PATCH 6/6] Delete unused file --- less | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 less diff --git a/less b/less deleted file mode 100644 index e69de29bb..000000000