Skip to content

Commit 6dd2e59

Browse files
authored
fix: organization name arkeonetwork (#43)
1 parent e872aef commit 6dd2e59

22 files changed

+51
-46
lines changed

api/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"fmt"
99
"net/http"
1010

11-
"github.com/ArkeoNetwork/common/logging"
12-
"github.com/ArkeoNetwork/directory/pkg/db"
11+
"github.com/arkeonetwork/common/logging"
12+
"github.com/arkeonetwork/directory/pkg/db"
1313
"github.com/gorilla/mux"
1414
)
1515

api/provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"net/http"
66

7-
"github.com/ArkeoNetwork/directory/pkg/db"
7+
"github.com/arkeonetwork/directory/pkg/db"
88
"github.com/gorilla/mux"
99
"github.com/pkg/errors"
1010
)

api/provider_search.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"net/http"
66
"strconv"
77

8-
"github.com/ArkeoNetwork/directory/pkg/types"
9-
"github.com/ArkeoNetwork/directory/pkg/utils"
8+
"github.com/arkeonetwork/directory/pkg/types"
9+
"github.com/arkeonetwork/directory/pkg/utils"
1010
)
1111

1212
// swagger:route Get /search searchProviders

api/stats.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package api
33
import (
44
"net/http"
55

6-
"github.com/ArkeoNetwork/directory/pkg/types"
6+
"github.com/arkeonetwork/directory/pkg/types"
77
"github.com/gorilla/mux"
88
)
99

cmd/api/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"math/rand"
77
"time"
88

9-
"github.com/ArkeoNetwork/common/logging"
10-
"github.com/ArkeoNetwork/directory/api"
11-
"github.com/ArkeoNetwork/directory/pkg/config"
12-
"github.com/ArkeoNetwork/directory/pkg/db"
9+
"github.com/arkeonetwork/common/logging"
10+
"github.com/arkeonetwork/directory/api"
11+
"github.com/arkeonetwork/directory/pkg/config"
12+
"github.com/arkeonetwork/directory/pkg/db"
1313
)
1414

1515
type Config struct {

cmd/indexer/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"math/rand"
77
"time"
88

9-
"github.com/ArkeoNetwork/common/logging"
10-
"github.com/ArkeoNetwork/directory/indexer"
11-
"github.com/ArkeoNetwork/directory/pkg/config"
12-
"github.com/ArkeoNetwork/directory/pkg/db"
9+
"github.com/arkeonetwork/common/logging"
10+
"github.com/arkeonetwork/directory/indexer"
11+
"github.com/arkeonetwork/directory/pkg/config"
12+
"github.com/arkeonetwork/directory/pkg/db"
1313
)
1414

1515
type Config struct {

docker-compose.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ services:
8383
AS_GO_RATE_LIMIT: 10
8484
AS_GO_RATE_LIMIT_DURATION: "1m"
8585
CLAIM_STORE_LOCATION: "/root/.arkeo/claims"
86-
TMHOME: "/root/.arkeo"
8786
GAIA_RPC_ARCHIVE_HOST: "http://176.34.207.130:26657"
8887
entrypoint: "/scripts/sentinel.sh"
8988
command: sentinel

docker/dev/docker.env

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ INDEXER_ID=0
66
CHAIN_ID="arkeo"
77
BECH32_PREF_ACC_ADDR="tarkeo"
88
BECH32_PREF_ACC_PUB="tarkeopub"
9-
ARKEO_API="http://arkeod:1317"
10-
TENDERMINT_API="http://arkeod:26657"
11-
TENDERMINT_WS="tcp://arkeod:26657"
9+
# ARKEO_API="http://arkeod:1317"
10+
# TENDERMINT_API="http://arkeod:26657"
11+
# TENDERMINT_WS="tcp://arkeod:26657"
12+
ARKEO_API="http://testnet-seed.arkeo.shapeshift.com:1317"
13+
TENDERMINT_API="http://testnet-seed.arkeo.shapeshift.com:26657"
14+
TENDERMINT_WS="tcp://testnet-seed.arkeo.shapeshift.com:26657"
1215

1316
# db
1417
DB_HOST="arkeo-directory-pg"

docker/dev/local.env

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ INDEXER_ID="0"
77
CHAIN_ID="arkeo"
88
BECH32_PREF_ACC_ADDR="tarkeo"
99
BECH32_PREF_ACC_PUB="tarkeopub"
10-
ARKEO_API="http://localhost:1317"
11-
TENDERMINT_API="http://localhost:26657"
12-
TENDERMINT_WS="tcp://localhost:26657"
10+
# ARKEO_API="http://arkeod:1317"
11+
# TENDERMINT_API="http://arkeod:26657"
12+
# TENDERMINT_WS="tcp://arkeod:26657"
13+
ARKEO_API="http://testnet-seed.arkeo.shapeshift.com:1317"
14+
TENDERMINT_API="http://testnet-seed.arkeo.shapeshift.com:26657"
15+
TENDERMINT_WS="tcp://testnet-seed.arkeo.shapeshift.com:26657"
1316

1417
# db
1518
DB_HOST="localhost"

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module github.com/ArkeoNetwork/directory
1+
module github.com/arkeonetwork/directory
22

33
go 1.19
44

55
require (
6-
github.com/ArkeoNetwork/common v0.0.1
6+
github.com/arkeonetwork/common v0.1.1
77
github.com/cosmos/cosmos-sdk v0.46.4
88
github.com/georgysavva/scany v1.2.1
99
github.com/google/uuid v1.3.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMb
5050
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
5151
github.com/99designs/keyring v1.2.1 h1:tYLp1ULvO7i3fI5vE21ReQuj99QFSs7lGm0xWyJo87o=
5252
github.com/99designs/keyring v1.2.1/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA=
53-
github.com/ArkeoNetwork/common v0.0.1 h1:YPAP+vsJ0XhdRYGfkpSKqm9RLIvdVn7rf4gjmDI14cI=
54-
github.com/ArkeoNetwork/common v0.0.1/go.mod h1:kVPOOd8yGxWeGDxgCsWKY2xQyzViX9A5Vl9AnH8jXqM=
5553
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
5654
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
5755
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg=
@@ -69,6 +67,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
6967
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
7068
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
7169
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
70+
github.com/arkeonetwork/common v0.1.1 h1:hNxEvuJmtbVqZiLE4BzEyCCZ2Xd2ErtH/YKs3vq+//Q=
71+
github.com/arkeonetwork/common v0.1.1/go.mod h1:tWBoC7Pry+MyBheD0w9IS1pDpvFpuhvLbVe+14XcQFo=
7272
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
7373
github.com/armon/go-metrics v0.4.0 h1:yCQqn7dwca4ITXb+CbubHmedzaQYHhNhrEXLYUeEe8Q=
7474
github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=

indexer/consumer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"syscall"
1313
"time"
1414

15-
"github.com/ArkeoNetwork/directory/pkg/db"
16-
"github.com/ArkeoNetwork/directory/pkg/types"
15+
"github.com/arkeonetwork/directory/pkg/db"
16+
"github.com/arkeonetwork/directory/pkg/types"
1717
"github.com/mitchellh/mapstructure"
1818
"github.com/pkg/errors"
1919

indexer/contract.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package indexer
33
import (
44
"fmt"
55

6-
"github.com/ArkeoNetwork/directory/pkg/types"
6+
"github.com/arkeonetwork/directory/pkg/types"
77
"github.com/pkg/errors"
88
)
99

indexer/indexer.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"sync/atomic"
99
"time"
1010

11-
"github.com/ArkeoNetwork/common/logging"
12-
arkutils "github.com/ArkeoNetwork/common/utils"
13-
"github.com/ArkeoNetwork/directory/pkg/db"
11+
"github.com/arkeonetwork/common/logging"
12+
arkutils "github.com/arkeonetwork/common/utils"
13+
"github.com/arkeonetwork/directory/pkg/db"
1414
"github.com/pkg/errors"
1515
tmlog "github.com/tendermint/tendermint/libs/log"
1616
tmclient "github.com/tendermint/tendermint/rpc/client/http"

indexer/provider.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/url"
66
"strconv"
77

8-
"github.com/ArkeoNetwork/directory/pkg/db"
9-
"github.com/ArkeoNetwork/directory/pkg/types"
10-
"github.com/ArkeoNetwork/directory/pkg/utils"
8+
"github.com/arkeonetwork/directory/pkg/db"
9+
"github.com/arkeonetwork/directory/pkg/types"
10+
"github.com/arkeonetwork/directory/pkg/utils"
1111
"github.com/pkg/errors"
1212
)
1313

pkg/db/contract.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package db
33
import (
44
"context"
55

6-
"github.com/ArkeoNetwork/directory/pkg/types"
6+
"github.com/arkeonetwork/directory/pkg/types"
77
"github.com/georgysavva/scany/pgxscan"
88
"github.com/pkg/errors"
99
)

pkg/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"time"
77

8-
"github.com/ArkeoNetwork/common/logging"
8+
"github.com/arkeonetwork/common/logging"
99
"github.com/jackc/pgx/v4/pgxpool"
1010
"github.com/pkg/errors"
1111
)

pkg/db/provider.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"database/sql"
66
"fmt"
77

8-
"github.com/ArkeoNetwork/directory/pkg/sentinel"
9-
"github.com/ArkeoNetwork/directory/pkg/types"
10-
"github.com/ArkeoNetwork/directory/pkg/utils"
8+
"github.com/arkeonetwork/directory/pkg/sentinel"
9+
"github.com/arkeonetwork/directory/pkg/types"
10+
"github.com/arkeonetwork/directory/pkg/utils"
1111
"github.com/georgysavva/scany/pgxscan"
1212
"github.com/huandu/go-sqlbuilder"
1313
"github.com/pkg/errors"

pkg/db/provider_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/ArkeoNetwork/directory/pkg/sentinel"
8-
"github.com/ArkeoNetwork/directory/pkg/types"
7+
"github.com/arkeonetwork/directory/pkg/sentinel"
8+
"github.com/arkeonetwork/directory/pkg/types"
99
"github.com/google/uuid"
1010
)
1111

pkg/db/stats.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package db
22

33
import (
4-
"github.com/ArkeoNetwork/directory/pkg/types"
4+
"github.com/arkeonetwork/directory/pkg/types"
55
"github.com/pkg/errors"
66
)
77

pkg/utils/utils.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"net/http"
1515
"net/url"
1616

17-
"github.com/ArkeoNetwork/directory/pkg/sentinel"
18-
"github.com/ArkeoNetwork/directory/pkg/types"
17+
"github.com/arkeonetwork/directory/pkg/sentinel"
18+
"github.com/arkeonetwork/directory/pkg/types"
1919
resty "github.com/go-resty/resty/v2"
2020
)
2121

pkg/utils/utils_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package utils
33
import (
44
"testing"
55

6-
"github.com/ArkeoNetwork/directory/pkg/types"
6+
"github.com/arkeonetwork/directory/pkg/types"
77
)
88

99
func TestParseCoordinates(t *testing.T) {
@@ -70,7 +70,7 @@ func TestParseContractType(t *testing.T) {
7070
}
7171

7272
func TestDownloadProviderMetadata(t *testing.T) {
73-
uri := "https://raw.githubusercontent.com/ArkeoNetwork/directory/main/docs/sample-metadata.json"
73+
uri := "https://raw.githubusercontent.com/arkeonetwork/directory/main/docs/sample-metadata.json"
7474
metadata, err := DownloadProviderMetadata(uri, 5, 1e6)
7575
if metadata == nil {
7676
t.FailNow()

0 commit comments

Comments
 (0)