From 37a1db1803e803fe271d9eeb7f70a7d233f8bdd1 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sat, 22 Jun 2024 19:41:53 -0500 Subject: [PATCH 1/6] Add v1.2.2 upgrade that fixes drops in leaderboard --- app/app.go | 3 +- app/upgrades/v1.2.2/constants.go | 15 +++++++ app/upgrades/v1.2.2/upgrade.go | 73 ++++++++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 4 +- 5 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 app/upgrades/v1.2.2/constants.go create mode 100644 app/upgrades/v1.2.2/upgrade.go diff --git a/app/app.go b/app/app.go index dc4f134..2b5af78 100644 --- a/app/app.go +++ b/app/app.go @@ -123,6 +123,7 @@ import ( v1_1_7 "github.com/onomyprotocol/onex/app/upgrades/v1.1.7" v1_2_0 "github.com/onomyprotocol/onex/app/upgrades/v1.2.0" v1_2_1 "github.com/onomyprotocol/onex/app/upgrades/v1.2.1" + v1_2_2 "github.com/onomyprotocol/onex/app/upgrades/v1.2.2" ) const ( @@ -131,7 +132,7 @@ const ( ) var ( - Upgrades = []upgrades.Upgrade{v1_1_7.Upgrade, v1_2_0.Upgrade, v1_2_1.Upgrade} + Upgrades = []upgrades.Upgrade{v1_1_7.Upgrade, v1_2_0.Upgrade, v1_2_1.Upgrade, v1_2_2.Upgrade} Forks = []upgrades.Fork{v1_1_6.Fork} // DefaultNodeHome default home directories for the application daemon diff --git a/app/upgrades/v1.2.2/constants.go b/app/upgrades/v1.2.2/constants.go new file mode 100644 index 0000000..33f4260 --- /dev/null +++ b/app/upgrades/v1.2.2/constants.go @@ -0,0 +1,15 @@ +package v1_2_2 + +import ( + "github.com/onomyprotocol/onex/app/upgrades" +) + +const ( + // UpgradeName defines the on-chain upgrades name. + UpgradeName = "v1.2.2" +) + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateUpgradeHandler, +} diff --git a/app/upgrades/v1.2.2/upgrade.go b/app/upgrades/v1.2.2/upgrade.go new file mode 100644 index 0000000..2a7baac --- /dev/null +++ b/app/upgrades/v1.2.2/upgrade.go @@ -0,0 +1,73 @@ +// Package v1_2_2 is contains chain upgrade of the corresponding version. +package v1_2_2 //nolint:revive,stylecheck // app version + +import ( + "github.com/onomyprotocol/onex/app/upgrades" + "github.com/pendulum-labs/market/x/market/types" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" +) + +func addUid(s []uint64, r uint64) ([]uint64, bool) { + for _, v := range s { + if v == r { + return s, false + } + } + + return append(s, r), true +} + +func removeUid(s []uint64, r uint64) ([]uint64, bool) { + for i, v := range s { + if v == r { + return append(s[:i], s[i+1:]...), true + } + } + return s, false +} + +func CreateUpgradeHandler( + mm *module.Manager, + configurator module.Configurator, + keepers *upgrades.UpgradeKeepers, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + ctx.Logger().Info("Starting module migrations...") + + var dropOwner types.Drops + var dropp types.Drop + + // For each drop in database + drops := keepers.MarketKeeper.GetAllDrop(ctx) + for _, drop := range drops { + // Get DropsOwner associated with this drop + dropOwner, _ = keepers.MarketKeeper.GetDropsOwnerPair(ctx, drop.Owner, drop.Pair) + // Reset dropOwner.Sum to Zero + dropOwner.Sum = sdk.ZeroInt() + if drop.Active { + dropOwner.Uids, _ = addUid(dropOwner.Uids, drop.Uid) + } else { + dropOwner.Uids, _ = removeUid(dropOwner.Uids, drop.Uid) + } + // Recaculate + for _, uid := range dropOwner.Uids { + dropp, _ = keepers.MarketKeeper.GetDrop(ctx, uid) + if dropp.Active { + dropOwner.Sum = dropOwner.Sum.Add(drop.Drops) + } + } + keepers.MarketKeeper.SetDrops(ctx, dropOwner, drop.Owner, drop.Pair) + } + + vm, err := mm.RunMigrations(ctx, configurator, vm) + if err != nil { + return vm, err + } + + ctx.Logger().Info("Upgrade complete") + return vm, err + } +} diff --git a/go.mod b/go.mod index 06df8c4..3758de5 100644 --- a/go.mod +++ b/go.mod @@ -155,7 +155,7 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.16-ics github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 - github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.1 + github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.3-dev github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28 google.golang.org/grpc => google.golang.org/grpc v1.33.2 ) diff --git a/go.sum b/go.sum index 8c93181..06799f8 100644 --- a/go.sum +++ b/go.sum @@ -2204,8 +2204,8 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:v github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onomyprotocol/market v1.2.1 h1:cYqws4ns0o6C1rLP88JLHH2MAch+z3RtLMuQuK01Rp4= -github.com/onomyprotocol/market v1.2.1/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= +github.com/onomyprotocol/market v1.2.3-dev h1:HIJETx9B4KI1M01FW4hT7us1NytW4QPflVVvY5gXGh4= +github.com/onomyprotocol/market v1.2.3-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= From 582bedf701fb7d2e2d28aadb9a69da53cae5f603 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sat, 22 Jun 2024 22:42:39 -0500 Subject: [PATCH 2/6] Add in updateLeaders to recreate leaderboard --- app/upgrades/v1.2.2/upgrade.go | 65 +++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 4 deletions(-) diff --git a/app/upgrades/v1.2.2/upgrade.go b/app/upgrades/v1.2.2/upgrade.go index 2a7baac..383a866 100644 --- a/app/upgrades/v1.2.2/upgrade.go +++ b/app/upgrades/v1.2.2/upgrade.go @@ -2,6 +2,8 @@ package v1_2_2 //nolint:revive,stylecheck // app version import ( + "strings" + "github.com/onomyprotocol/onex/app/upgrades" "github.com/pendulum-labs/market/x/market/types" @@ -37,8 +39,15 @@ func CreateUpgradeHandler( return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Starting module migrations...") + // Set pool drops to zero and wipe leaders + pools := keepers.MarketKeeper.GetAllPool(ctx) + for _, pool := range pools { + pool.Leaders = []*types.Leader{} + keepers.MarketKeeper.SetPool(ctx, pool) + } + var dropOwner types.Drops - var dropp types.Drop + var dropper types.Drop // For each drop in database drops := keepers.MarketKeeper.GetAllDrop(ctx) @@ -47,18 +56,22 @@ func CreateUpgradeHandler( dropOwner, _ = keepers.MarketKeeper.GetDropsOwnerPair(ctx, drop.Owner, drop.Pair) // Reset dropOwner.Sum to Zero dropOwner.Sum = sdk.ZeroInt() + // Add (active) or remove (inactive) uid if drop.Active { dropOwner.Uids, _ = addUid(dropOwner.Uids, drop.Uid) } else { dropOwner.Uids, _ = removeUid(dropOwner.Uids, drop.Uid) } - // Recaculate + // Recalculate for _, uid := range dropOwner.Uids { - dropp, _ = keepers.MarketKeeper.GetDrop(ctx, uid) - if dropp.Active { + dropper, _ = keepers.MarketKeeper.GetDrop(ctx, uid) + if dropper.Active { dropOwner.Sum = dropOwner.Sum.Add(drop.Drops) } } + pool, _ := keepers.MarketKeeper.GetPool(ctx, drop.Pair) + pool = updateLeaders(ctx, pool, drop.Owner, dropOwner.Sum, keepers) + keepers.MarketKeeper.SetPool(ctx, pool) keepers.MarketKeeper.SetDrops(ctx, dropOwner, drop.Owner, drop.Pair) } @@ -71,3 +84,47 @@ func CreateUpgradeHandler( return vm, err } } + +func updateLeaders(ctx sdk.Context, pool types.Pool, dropCreator string, dropCreatorSum sdk.Int, keepers *upgrades.UpgradeKeepers) types.Pool { + maxLeaders := len(strings.Split(keepers.MarketKeeper.EarnRates(ctx), ",")) + + for i := 0; i < len(pool.Leaders); i++ { + if pool.Leaders[i].Address == dropCreator { + pool.Leaders = pool.Leaders[:i+copy(pool.Leaders[i:], pool.Leaders[i+1:])] + } + } + + if dropCreatorSum.Equal(sdk.ZeroInt()) { + return pool + } + + if len(pool.Leaders) == 0 { + pool.Leaders = append(pool.Leaders, &types.Leader{ + Address: dropCreator, + Drops: dropCreatorSum, + }) + } else { + for i := 0; i < len(pool.Leaders); i++ { + if dropCreatorSum.GT(pool.Leaders[i].Drops) { + if len(pool.Leaders) < maxLeaders { + pool.Leaders = append(pool.Leaders, pool.Leaders[len(pool.Leaders)-1]) + } + copy(pool.Leaders[i+1:], pool.Leaders[i:]) + pool.Leaders[i] = &types.Leader{ + Address: dropCreator, + Drops: dropCreatorSum, + } + break + } else { + if (i == len(pool.Leaders)-1) && len(pool.Leaders) < maxLeaders { + pool.Leaders = append(pool.Leaders, &types.Leader{ + Address: dropCreator, + Drops: dropCreatorSum, + }) + break + } + } + } + } + return pool +} From d5da2dfdaa06b449d856b876d666b1b581fbb653 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sat, 22 Jun 2024 23:38:07 -0500 Subject: [PATCH 3/6] update comment language --- app/upgrades/v1.2.2/upgrade.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/upgrades/v1.2.2/upgrade.go b/app/upgrades/v1.2.2/upgrade.go index 383a866..c67a07a 100644 --- a/app/upgrades/v1.2.2/upgrade.go +++ b/app/upgrades/v1.2.2/upgrade.go @@ -39,7 +39,7 @@ func CreateUpgradeHandler( return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { ctx.Logger().Info("Starting module migrations...") - // Set pool drops to zero and wipe leaders + // Wipe corrupted leaderboards pools := keepers.MarketKeeper.GetAllPool(ctx) for _, pool := range pools { pool.Leaders = []*types.Leader{} @@ -69,8 +69,11 @@ func CreateUpgradeHandler( dropOwner.Sum = dropOwner.Sum.Add(drop.Drops) } } + // Get pool associated with drop pool, _ := keepers.MarketKeeper.GetPool(ctx, drop.Pair) + // Update leaders in pool based on recalculated sum pool = updateLeaders(ctx, pool, drop.Owner, dropOwner.Sum, keepers) + // Set pool and drops keepers.MarketKeeper.SetPool(ctx, pool) keepers.MarketKeeper.SetDrops(ctx, dropOwner, drop.Owner, drop.Pair) } From d1d7ac6d311a568e80e3535d8d6b5244723ddfa0 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sun, 23 Jun 2024 00:48:30 -0500 Subject: [PATCH 4/6] Fix dropper and add in recalculate product --- app/upgrades/v1.2.2/upgrade.go | 34 +++++++++++++++++++++++++++++++--- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/app/upgrades/v1.2.2/upgrade.go b/app/upgrades/v1.2.2/upgrade.go index c67a07a..895dd53 100644 --- a/app/upgrades/v1.2.2/upgrade.go +++ b/app/upgrades/v1.2.2/upgrade.go @@ -54,19 +54,47 @@ func CreateUpgradeHandler( for _, drop := range drops { // Get DropsOwner associated with this drop dropOwner, _ = keepers.MarketKeeper.GetDropsOwnerPair(ctx, drop.Owner, drop.Pair) - // Reset dropOwner.Sum to Zero - dropOwner.Sum = sdk.ZeroInt() // Add (active) or remove (inactive) uid if drop.Active { dropOwner.Uids, _ = addUid(dropOwner.Uids, drop.Uid) + + // Recalculate Product because of potentially missed pool + pair := strings.Split(drop.Pair, ",") + + denom1 := pair[0] + denom2 := pair[1] + + pool, found := keepers.MarketKeeper.GetPool(ctx, drop.Pair) + if !found { + continue + } + + member1, found := keepers.MarketKeeper.GetMember(ctx, denom2, denom1) + if !found { + continue + } + + member2, found := keepers.MarketKeeper.GetMember(ctx, denom1, denom2) + if !found { + continue + } + + // `total1 = (drop.Drops * member1.Balance) / pool.Drops` + total1 := (drop.Drops.Mul(member1.Balance)).Quo(pool.Drops) + total2 := (drop.Drops.Mul(member2.Balance)).Quo(pool.Drops) + + drop.Product = total1.Mul(total2) + keepers.MarketKeeper.SetDrop(ctx, drop) } else { dropOwner.Uids, _ = removeUid(dropOwner.Uids, drop.Uid) } + // Reset dropOwner.Sum to Zero + dropOwner.Sum = sdk.ZeroInt() // Recalculate for _, uid := range dropOwner.Uids { dropper, _ = keepers.MarketKeeper.GetDrop(ctx, uid) if dropper.Active { - dropOwner.Sum = dropOwner.Sum.Add(drop.Drops) + dropOwner.Sum = dropOwner.Sum.Add(dropper.Drops) } } // Get pool associated with drop diff --git a/go.mod b/go.mod index 3758de5..d62b79b 100644 --- a/go.mod +++ b/go.mod @@ -155,7 +155,7 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.16-ics github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 - github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.3-dev + github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.4-dev github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28 google.golang.org/grpc => google.golang.org/grpc v1.33.2 ) diff --git a/go.sum b/go.sum index 06799f8..003cdb0 100644 --- a/go.sum +++ b/go.sum @@ -2204,8 +2204,8 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:v github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onomyprotocol/market v1.2.3-dev h1:HIJETx9B4KI1M01FW4hT7us1NytW4QPflVVvY5gXGh4= -github.com/onomyprotocol/market v1.2.3-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= +github.com/onomyprotocol/market v1.2.4-dev h1:7sPyvpHh20a+JjjJJ7OwDpIjro7CVTMBzXCqbLaVk0M= +github.com/onomyprotocol/market v1.2.4-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= From aa8512691cd24d1230ce1ffae2fe901f68e6476c Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sun, 23 Jun 2024 01:22:24 -0500 Subject: [PATCH 5/6] Update market to v1.2.5-dev --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d62b79b..a6768be 100644 --- a/go.mod +++ b/go.mod @@ -155,7 +155,7 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.16-ics github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 - github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.4-dev + github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.5-dev github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28 google.golang.org/grpc => google.golang.org/grpc v1.33.2 ) diff --git a/go.sum b/go.sum index 003cdb0..ba7e688 100644 --- a/go.sum +++ b/go.sum @@ -2204,8 +2204,8 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:v github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onomyprotocol/market v1.2.4-dev h1:7sPyvpHh20a+JjjJJ7OwDpIjro7CVTMBzXCqbLaVk0M= -github.com/onomyprotocol/market v1.2.4-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= +github.com/onomyprotocol/market v1.2.5-dev h1:xKCBrdoxE3xa1JrZ7XB6+K7eBXnJ7wjXDyhAIger2GI= +github.com/onomyprotocol/market v1.2.5-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= From 61a0e9460184f91420ca76d698aac64854b42b65 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Sun, 23 Jun 2024 01:55:46 -0500 Subject: [PATCH 6/6] Update to Market v1.2.6-dev --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a6768be..fa8d4f3 100644 --- a/go.mod +++ b/go.mod @@ -155,7 +155,7 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.16-ics github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 - github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.5-dev + github.com/pendulum-labs/market => github.com/onomyprotocol/market v1.2.6-dev github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28 google.golang.org/grpc => google.golang.org/grpc v1.33.2 ) diff --git a/go.sum b/go.sum index ba7e688..554ffa5 100644 --- a/go.sum +++ b/go.sum @@ -2204,8 +2204,8 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:v github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onomyprotocol/market v1.2.5-dev h1:xKCBrdoxE3xa1JrZ7XB6+K7eBXnJ7wjXDyhAIger2GI= -github.com/onomyprotocol/market v1.2.5-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= +github.com/onomyprotocol/market v1.2.6-dev h1:/r82kN1lOFudFvgHv7QXQvFsj/nsDYVCqxzMCfxWZpQ= +github.com/onomyprotocol/market v1.2.6-dev/go.mod h1:sBeDReQziVBheY0/RiDrnZUztwdiu1ogWZpRQb3LDWA= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=