Skip to content

Commit 27ff92c

Browse files
committed
Move shutter to shutter-network, rename module
1 parent 46cf845 commit 27ff92c

65 files changed

Lines changed: 130 additions & 130 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
rev: "9283498f6ee8b0be960df5bf6bca058422eb971b"
3434
hooks:
3535
- id: gci
36-
args: ["-local", "github.com/brainbot-com/shutter"]
36+
args: ["-local", "github.com/shutter-network/shutter"]
3737
exclude: ^shuttermint/contract/binding\.go|shuttermint/shmsg/.*\.pb\.go|shuttermint/shcryptowasm/.*_wasm\.go$
3838

3939
- repo: https://github.com/schmir-at-bb/gofumpt

shuttermint/.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ linters-settings:
1717
lines: 100
1818
statements: 50
1919
gci:
20-
local-prefixes: github.com/brainbot-com/shutter/shuttermint
20+
local-prefixes: github.com/shutter-network/shutter/shuttermint
2121
goconst:
2222
min-len: 2
2323
min-occurrences: 2
@@ -40,7 +40,7 @@ linters-settings:
4040
gocyclo:
4141
min-complexity: 15
4242
goimports:
43-
local-prefixes: github.com/brainbot-com/shutter/shuttermint
43+
local-prefixes: github.com/shutter-network/shutter/shuttermint
4444
gomnd:
4545
settings:
4646
mnd:

shuttermint/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OPENZEPPELIN_CONTRACTS_DIR=../contracts/openzeppelin
1313
build:
1414
@VERSION=`git describe --tags --always --abbrev=4 --dirty`; \
1515
echo "Building shuttermint $${VERSION}"; \
16-
${GO} build ${GOFLAGS} -o ${BINDIR} -ldflags "-X github.com/brainbot-com/shutter/shuttermint/cmd/shversion.version=$${VERSION}" . ./sandbox/testclient
16+
${GO} build ${GOFLAGS} -o ${BINDIR} -ldflags "-X github.com/shutter-network/shutter/shuttermint/cmd/shversion.version=$${VERSION}" . ./sandbox/testclient
1717

1818
wasm:
1919
GOARCH=wasm GOOS=js ${GO} build ${GOFLAGS} -o ${BINDIR}/shcrypto.wasm ./shcryptowasm/main_wasm.go

shuttermint/app/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
"github.com/tendermint/go-amino"
1717
abcitypes "github.com/tendermint/tendermint/abci/types"
1818

19-
"github.com/brainbot-com/shutter/shuttermint/keyper/shutterevents"
20-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
19+
"github.com/shutter-network/shutter/shuttermint/keyper/shutterevents"
20+
"github.com/shutter-network/shutter/shuttermint/shmsg"
2121
)
2222

2323
var (

shuttermint/app/app_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"gotest.tools/v3/assert"
99
is "gotest.tools/v3/assert/cmp"
1010

11-
"github.com/brainbot-com/shutter/shuttermint/internal/shtest"
12-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
11+
"github.com/shutter-network/shutter/shuttermint/internal/shtest"
12+
"github.com/shutter-network/shutter/shuttermint/shmsg"
1313
)
1414

1515
func TestNewShutterApp(t *testing.T) {

shuttermint/app/checktx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package app
33
import (
44
"github.com/ethereum/go-ethereum/common"
55

6-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
6+
"github.com/shutter-network/shutter/shuttermint/shmsg"
77
)
88

99
// MaxTxsPerBlock is the maximum number of txs by a single sender per block.

shuttermint/app/checktx_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/ethereum/go-ethereum/common"
88
"gotest.tools/v3/assert"
99

10-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
10+
"github.com/shutter-network/shutter/shuttermint/shmsg"
1111
)
1212

1313
func TestCheckTxStateCouting(t *testing.T) {

shuttermint/app/messages.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
bn256 "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare"
88
"github.com/pkg/errors"
99

10-
"github.com/brainbot-com/shutter/shuttermint/medley"
11-
"github.com/brainbot-com/shutter/shuttermint/shcrypto"
12-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
10+
"github.com/shutter-network/shutter/shuttermint/medley"
11+
"github.com/shutter-network/shutter/shuttermint/shcrypto"
12+
"github.com/shutter-network/shutter/shuttermint/shmsg"
1313
)
1414

1515
func validateAddress(address []byte) (common.Address, error) {

shuttermint/app/messages_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
bn256 "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare"
99
"gotest.tools/v3/assert"
1010

11-
"github.com/brainbot-com/shutter/shuttermint/shcrypto"
12-
"github.com/brainbot-com/shutter/shuttermint/shmsg"
11+
"github.com/shutter-network/shutter/shuttermint/shcrypto"
12+
"github.com/shutter-network/shutter/shuttermint/shmsg"
1313
)
1414

1515
func TestMessageParsing(t *testing.T) {

shuttermint/app/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/ethereum/go-ethereum/common"
1010
"github.com/pkg/errors"
1111

12-
"github.com/brainbot-com/shutter/shuttermint/keyper/shutterevents"
12+
"github.com/shutter-network/shutter/shuttermint/keyper/shutterevents"
1313
)
1414

1515
// GenesisAppState is used to hold the initial list of keypers, who will bootstrap the system by

0 commit comments

Comments
 (0)