Skip to content

Commit

Permalink
feat: add storage module (#18)
Browse files Browse the repository at this point in the history
* add storage module

* fix review tips

* add approval and unique resource id

* add signature check

* fix go line

* add basic test

* fix ci

* add sequence test

* refactor the uint256 id

* rename field name

* Apply suggestions from code review

Co-authored-by: Owen <[email protected]>

* fix buf format and params

* change sha 256 from crypto.Sha256 to sdk.keccak256

* format the code

* format go import

* fix review tips

* refactor keeper

* fix go lint

* fix test

* change Short for all command of cli

* fix rebase and format code

* change gnfd-cosmos-sdk version

---------

Co-authored-by: fynn z <[email protected]>
Co-authored-by: Owen <[email protected]>
  • Loading branch information
3 people authored Feb 9, 2023
1 parent 569f459 commit 7783af4
Show file tree
Hide file tree
Showing 120 changed files with 14,173 additions and 1,685 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ldflags = -X $(REPO)/version.AppVersion=$(VERSION) \
-X $(REPO)/version.GitCommit=$(GIT_COMMIT) \
-X $(REPO)/version.GitCommitDate=$(GIT_COMMIT_DATE)

format:
bash format.sh

tools:
curl https://get.ignite.com/cli! | bash

Expand Down
45 changes: 21 additions & 24 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,16 @@ import (
bridgemodule "github.com/bnb-chain/greenfield/x/bridge"
bridgemodulekeeper "github.com/bnb-chain/greenfield/x/bridge/keeper"
bridgemoduletypes "github.com/bnb-chain/greenfield/x/bridge/types"
greenfieldmodule "github.com/bnb-chain/greenfield/x/greenfield"
greenfieldmodulekeeper "github.com/bnb-chain/greenfield/x/greenfield/keeper"
greenfieldmoduletypes "github.com/bnb-chain/greenfield/x/greenfield/types"
spmodule "github.com/bnb-chain/greenfield/x/sp"
spmodulekeeper "github.com/bnb-chain/greenfield/x/sp/keeper"
spmoduletypes "github.com/bnb-chain/greenfield/x/sp/types"
// this line is used by starport scaffolding # stargate/app/moduleImport

paymentmodule "github.com/bnb-chain/greenfield/x/payment"
paymentmodulekeeper "github.com/bnb-chain/greenfield/x/payment/keeper"
paymentmoduletypes "github.com/bnb-chain/greenfield/x/payment/types"
// this line is used by starport scaffolding # stargate/app/moduleImport
storagemodule "github.com/bnb-chain/greenfield/x/storage"
storagemodulekeeper "github.com/bnb-chain/greenfield/x/storage/keeper"
storagemoduletypes "github.com/bnb-chain/greenfield/x/storage/types"
)

const (
Expand Down Expand Up @@ -150,13 +148,13 @@ var (
slashing.AppModuleBasic{},
feegrantmodule.AppModuleBasic{},
upgrade.AppModuleBasic{},
greenfieldmodule.AppModuleBasic{},
crosschain.AppModuleBasic{},
oracle.AppModuleBasic{},
bridgemodule.AppModuleBasic{},
gashub.AppModuleBasic{},
spmodule.AppModuleBasic{},
paymentmodule.AppModuleBasic{},
storagemodule.AppModuleBasic{},
// this line is used by starport scaffolding # stargate/app/moduleBasic
)

Expand Down Expand Up @@ -222,11 +220,10 @@ type App struct {
OracleKeeper oraclekeeper.Keeper
GashubKeeper gashubkeeper.Keeper

GreenfieldKeeper greenfieldmodulekeeper.Keeper

BridgeKeeper bridgemodulekeeper.Keeper
SpKeeper spmodulekeeper.Keeper
PaymentKeeper paymentmodulekeeper.Keeper
StorageKeeper storagemodulekeeper.Keeper
// this line is used by starport scaffolding # stargate/app/keeperDeclaration

// mm is the module manager
Expand Down Expand Up @@ -275,13 +272,13 @@ func New(
paramstypes.StoreKey, ibchost.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey, evidencetypes.StoreKey,
ibctransfertypes.StoreKey, icahosttypes.StoreKey, capabilitytypes.StoreKey, group.StoreKey,
icacontrollertypes.StoreKey,
greenfieldmoduletypes.StoreKey,
crosschaintypes.StoreKey,
oracletypes.StoreKey,
bridgemoduletypes.StoreKey,
gashubtypes.StoreKey,
spmoduletypes.StoreKey,
paymentmoduletypes.StoreKey,
storagemoduletypes.StoreKey,
// this line is used by starport scaffolding # stargate/app/storeKey
)
tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
Expand Down Expand Up @@ -407,13 +404,6 @@ func New(
govConfig,
)

app.GreenfieldKeeper = *greenfieldmodulekeeper.NewKeeper(
appCodec,
keys[greenfieldmoduletypes.StoreKey],
keys[greenfieldmoduletypes.MemStoreKey],
app.GetSubspace(greenfieldmoduletypes.ModuleName),
)

// Register the upgrade keeper
upgradeInitlizier, upgradeHandler := UpgradeInitializerAndHandler(app.AccountKeeper)
var err error
Expand All @@ -427,8 +417,6 @@ func New(
panic(err)
}

greenfieldModule := greenfieldmodule.NewAppModule(appCodec, app.GreenfieldKeeper, app.AccountKeeper, app.BankKeeper)

app.BridgeKeeper = *bridgemodulekeeper.NewKeeper(
appCodec,
keys[bridgemoduletypes.StoreKey],
Expand Down Expand Up @@ -469,6 +457,15 @@ func New(
)
paymentModule := paymentmodule.NewAppModule(appCodec, app.PaymentKeeper, app.AccountKeeper, app.BankKeeper)

app.StorageKeeper = *storagemodulekeeper.NewKeeper(
appCodec,
keys[storagemoduletypes.StoreKey],
keys[storagemoduletypes.MemStoreKey],
app.GetSubspace(storagemoduletypes.ModuleName),
app.SpKeeper,
)
storageModule := storagemodule.NewAppModule(appCodec, app.StorageKeeper, app.AccountKeeper, app.BankKeeper, app.SpKeeper)

// this line is used by starport scaffolding # stargate/app/keeperDefinition

/**** Module Options ****/
Expand Down Expand Up @@ -496,11 +493,11 @@ func New(
params.NewAppModule(app.ParamsKeeper),
crosschain.NewAppModule(app.CrossChainKeeper, app.BankKeeper, app.StakingKeeper),
oracle.NewAppModule(app.OracleKeeper),
greenfieldModule,
bridgeModule,
gashubModule,
spModule,
paymentModule,
storageModule,
// this line is used by starport scaffolding # stargate/app/appModule
)

Expand All @@ -521,13 +518,13 @@ func New(
authz.ModuleName,
feegrant.ModuleName,
paramstypes.ModuleName,
greenfieldmoduletypes.ModuleName,
crosschaintypes.ModuleName,
oracletypes.ModuleName,
bridgemoduletypes.ModuleName,
gashubtypes.ModuleName,
spmoduletypes.ModuleName,
paymentmoduletypes.ModuleName,
storagemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/beginBlockers
)

Expand All @@ -543,13 +540,13 @@ func New(
feegrant.ModuleName,
paramstypes.ModuleName,
upgradetypes.ModuleName,
greenfieldmoduletypes.ModuleName,
crosschaintypes.ModuleName,
oracletypes.ModuleName,
bridgemoduletypes.ModuleName,
gashubtypes.ModuleName,
spmoduletypes.ModuleName,
paymentmoduletypes.ModuleName,
storagemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
)

Expand All @@ -571,12 +568,12 @@ func New(
feegrant.ModuleName,
paramstypes.ModuleName,
upgradetypes.ModuleName,
greenfieldmoduletypes.ModuleName,
crosschaintypes.ModuleName,
oracletypes.ModuleName,
bridgemoduletypes.ModuleName,
spmoduletypes.ModuleName,
paymentmoduletypes.ModuleName,
storagemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
)

Expand All @@ -601,11 +598,11 @@ func New(
params.NewAppModule(app.ParamsKeeper),
crosschain.NewAppModule(app.CrossChainKeeper, app.BankKeeper, app.StakingKeeper),
oracle.NewAppModule(app.OracleKeeper),
greenfieldModule,
bridgeModule,
gashubModule,
spModule,
paymentModule,
storageModule,
// this line is used by starport scaffolding # stargate/app/appModule
)
app.sm.RegisterStoreDecoders()
Expand Down Expand Up @@ -830,13 +827,13 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
paramsKeeper.Subspace(distrtypes.ModuleName)
paramsKeeper.Subspace(slashingtypes.ModuleName)
paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(govv1.ParamKeyTable())
paramsKeeper.Subspace(greenfieldmoduletypes.ModuleName)
paramsKeeper.Subspace(crosschaintypes.ModuleName)
paramsKeeper.Subspace(oracletypes.ModuleName)
paramsKeeper.Subspace(bridgemoduletypes.ModuleName)
paramsKeeper.Subspace(gashubtypes.ModuleName)
paramsKeeper.Subspace(spmoduletypes.ModuleName)
paramsKeeper.Subspace(paymentmoduletypes.ModuleName)
paramsKeeper.Subspace(storagemoduletypes.ModuleName)
// this line is used by starport scaffolding # stargate/app/paramSubspace

return paramsKeeper
Expand Down
4 changes: 3 additions & 1 deletion app/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package app

import serverconfig "github.com/cosmos/cosmos-sdk/server/config"
import (
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
)

type AppConfig struct {
serverconfig.Config
Expand Down
27 changes: 27 additions & 0 deletions deployment/localup/create_sp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"messages":[
{
"@type":"/bnbchain.greenfield.sp.MsgCreateStorageProvider",
"description":{
"moniker": "sp0",
"identity":"",
"website":"",
"security_contact":"",
"details":""
},
"sp_address":"0x78FeF615b06251ecfA9Ba01B7DB2BFA892722dDC",
"funding_address":"0x1d05CCD43A6c27fBCdfE6Ac727B0e9B889AAbC3B",
"seal_address": "0x2163A7A41a71ea4A831E4F5Af7f90dd32E440592",
"approval_address": "0x78FeF615b06251ecfA9Ba01B7DB2BFA892722dDC",
"endpoint": "sp0.greenfield.io",
"deposit":{
"denom":"bnb",
"amount":"10000"
},
"creator":"0x7b5Fe22B5446f7C62Ea27B8BD71CeF94e03f3dF2"
}
],
"metadata": "4pIMOgIGx1vZGU=",
"deposit": "1bnb"
}

26 changes: 0 additions & 26 deletions deployment/localup/create_sp.json

This file was deleted.

4 changes: 3 additions & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package docs

import "embed"
import (
"embed"
)

//go:embed static
var Docs embed.FS
10 changes: 10 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

go install github.com/AanZee/goimportssort

for entry in `find . -name "*.go"`; do
if grep -q "DO NOT EDIT" "$entry"; then
continue
fi
goimportssort -w -local github.com/bnb-chain/ $entry
done
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require (
sigs.k8s.io/yaml v1.3.0
)

require golang.org/x/text v0.5.0 // indirect
require golang.org/x/text v0.6.0 // indirect

require (
github.com/cosmos/gogoproto v1.4.3
Expand Down Expand Up @@ -211,12 +211,12 @@ require (
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/mod v0.6.0 // indirect
golang.org/x/net v0.3.0 // indirect
golang.org/x/mod v0.7.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/term v0.3.0 // indirect
golang.org/x/tools v0.2.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.4.0 // indirect
golang.org/x/tools v0.5.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand All @@ -228,7 +228,7 @@ require (

replace (
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
github.com/cosmos/cosmos-sdk => github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230203064030-594124083cf3
github.com/cosmos/cosmos-sdk => github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230209090945-5a119caf6b3e
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
github.com/tendermint/tendermint => github.com/bnb-chain/gnfd-tendermint v0.0.1
)
28 changes: 14 additions & 14 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdn
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c=
github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230203064030-594124083cf3 h1:vepZdEQE0KfLdCX/MkIr3ZN7AaAoO9X/Un3oC6TuQyE=
github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230203064030-594124083cf3/go.mod h1:NlIOmju3uhTOJ2YAzLPidpmh7sAgJ+J9dkUlSysHmjw=
github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230209090945-5a119caf6b3e h1:w2B9A4FlZ24MEtPIcWA6T4tKvCMBSiaYPIT0dkk6wh0=
github.com/bnb-chain/gnfd-cosmos-sdk v0.0.2-0.20230209090945-5a119caf6b3e/go.mod h1:NlIOmju3uhTOJ2YAzLPidpmh7sAgJ+J9dkUlSysHmjw=
github.com/bnb-chain/gnfd-tendermint v0.0.1 h1:KWFuxWv8m6t1vUi3ADyVcEG0qVnEzQt1tjA6dk/b7+Q=
github.com/bnb-chain/gnfd-tendermint v0.0.1/go.mod h1:/v9z9F6cq0+f7EGG92lYSLBcPYQDILoK91X8YM28hWo=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
Expand Down Expand Up @@ -2017,8 +2017,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
golang.org/x/mod v0.7.0 h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA=
golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand Down Expand Up @@ -2094,8 +2094,8 @@ golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.3.0 h1:VWL6FNY2bEEmsGVKabSlHu5Irp34xmMRoqb/9lF9lxk=
golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw=
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/oauth2 v0.0.0-20170912212905-13449ad91cb2/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
Expand Down Expand Up @@ -2256,14 +2256,14 @@ golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.3.0 h1:qoo4akIqOcDME5bhc/NgxUdovd6BSS2uMsVjB56q1xI=
golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA=
golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -2274,8 +2274,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20170424234030-8be79e1e0910/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down Expand Up @@ -2358,8 +2358,8 @@ golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
golang.org/x/tools v0.2.0 h1:G6AHpWxTMGY1KyEYoAQ5WTtIekUUvDNjan3ugu60JvE=
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.5.0 h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
Loading

0 comments on commit 7783af4

Please sign in to comment.