Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(all): Fix links after renaming taikochain to taikoxyz #297

Merged
merged 1 commit into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- BADGES -->

[![Solidity](https://github.com/taikochain/taiko-mono/actions/workflows/solidity.yml/badge.svg)](https://github.com/taikochain/taiko-mono/actions/workflows/solidity.yml)
[![Protocol](https://codecov.io/gh/taikochain/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=protocol)](https://codecov.io/gh/taikochain/taiko-mono)
[![Solidity](https://github.com/taikoxyz/taiko-mono/actions/workflows/solidity.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/solidity.yml)
[![Protocol](https://codecov.io/gh/taikoxyz/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=protocol)](https://codecov.io/gh/taikoxyz/taiko-mono)

[![Golang](https://github.com/taikochain/taiko-mono/actions/workflows/golang.yml/badge.svg)](https://github.com/taikochain/taiko-mono/actions/workflows/golang.yml) [![Relayer](https://codecov.io/gh/taikochain/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=relayer)](https://codecov.io/gh/taikochain/taiko-mono)
[![Golang](https://github.com/taikoxyz/taiko-mono/actions/workflows/golang.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/golang.yml) [![Relayer](https://codecov.io/gh/taikoxyz/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=relayer)](https://codecov.io/gh/taikoxyz/taiko-mono)

<!-- PROJECT LOGO -->
<br />
Expand All @@ -26,7 +26,7 @@
- [protocol](./packages/protocol/): L1 and L2 smart contracts
- [relayer](./packages/relayer/): bridge relayer
- [website](./packages/website/): main documentation website
- [whitepaper](./packages/whitepaper): Latex source files for Taiko's whitepaper. A PDF will be published automatically to: https://taikochain.github.io/taiko-mono/taiko-whitepaper.pdf (linked from https://taiko.xyz).
- [whitepaper](./packages/whitepaper): Latex source files for Taiko's whitepaper. A PDF will be published automatically to: https://taikoxyz.github.io/taiko-mono/taiko-whitepaper.pdf (linked from https://taiko.xyz).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/taikochain/taiko-mono
module github.com/taikoxyz/taiko-mono

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

type Bridge interface {
Expand Down
10 changes: 5 additions & 5 deletions packages/relayer/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (
"github.com/joho/godotenv"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/db"
"github.com/taikochain/taiko-mono/packages/relayer/http"
"github.com/taikochain/taiko-mono/packages/relayer/indexer"
"github.com/taikochain/taiko-mono/packages/relayer/repo"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/db"
"github.com/taikoxyz/taiko-mono/packages/relayer/http"
"github.com/taikoxyz/taiko-mono/packages/relayer/indexer"
"github.com/taikoxyz/taiko-mono/packages/relayer/repo"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"gorm.io/gorm/logger"
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

var dummyEcdsaKey = "8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f"
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/cli/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/pressly/goose"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/db"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/db"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
"gorm.io/driver/mysql"
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"flag"
"log"

"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/cli"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/indexer/filter_then_subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"golang.org/x/sync/errgroup"
)

Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/indexer/filter_then_subscribe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
)

func Test_FilterThenSubscribe(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/indexer/handle_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

// handleEvent handles an individual MessageSent event
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/indexer/handle_event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/indexer/handle_no_events_in_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

// handleNoEventsInBatch is used when an entire batch call has no events in the entire response,
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/indexer/handle_no_events_remaining.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

// handleNoEventsRemaining is used when the batch had events, but is now finished, and we need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/ethereum/go-ethereum/core/types"
"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

func Test_handleNoEventsRemaining(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions packages/relayer/indexer/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikochain/taiko-mono/packages/relayer/message"
"github.com/taikochain/taiko-mono/packages/relayer/proof"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer/message"
"github.com/taikoxyz/taiko-mono/packages/relayer/proof"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions packages/relayer/indexer/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/message"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikochain/taiko-mono/packages/relayer/proof"
"github.com/taikochain/taiko-mono/packages/relayer/repo"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/message"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer/proof"
"github.com/taikoxyz/taiko-mono/packages/relayer/repo"
)

var dummyEcdsaKey = "8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math/big"

"github.com/pkg/errors"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

func (svc *Service) setInitialProcessingBlockByMode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
)

func Test_SetInitialProcessingBlockByMode(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/indexer/subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/indexer/subscribe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
)

func Test_subscribe(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/message/process_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

// Process prepares and calls `processMessage` on the bridge.
Expand Down
6 changes: 3 additions & 3 deletions packages/relayer/message/process_message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
)

func Test_getLatestNonce(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/message/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"

"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/proof"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/proof"
)

type ethClient interface {
Expand Down
10 changes: 5 additions & 5 deletions packages/relayer/message/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikochain/taiko-mono/packages/relayer/proof"
"github.com/taikochain/taiko-mono/packages/relayer/repo"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer/proof"
"github.com/taikoxyz/taiko-mono/packages/relayer/repo"
"gopkg.in/go-playground/assert.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/mock/block_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"math/big"

"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/mock/blocker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/mock/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/contracts"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/contracts"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/mock/event_repository.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mock

import (
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

type EventRepository struct {
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/proof/block_header.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/pkg/errors"
"github.com/taikochain/taiko-mono/packages/relayer/encoding"
"github.com/taikoxyz/taiko-mono/packages/relayer/encoding"
)

// blockHeader fetches block via rpc, then converts an ethereum block to the BlockHeader type that LibBridgeData
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/proof/block_header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/taikochain/taiko-mono/packages/relayer/encoding"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer/encoding"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
"gopkg.in/go-playground/assert.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/proof/encoded_signal_proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"math/big"

"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/encoding"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/encoding"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/proof/encoded_signal_proof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/stretchr/testify/assert"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/proof/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
)

type blocker interface {
Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/proof/prover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/ethereum/go-ethereum/ethclient"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/mock"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/mock"
"gopkg.in/go-playground/assert.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/repo/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package repo
import (
"math/big"

"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"gorm.io/gorm"
)

Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/repo/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/taikochain/taiko-mono/packages/relayer"
"github.com/taikochain/taiko-mono/packages/relayer/db"
"github.com/taikoxyz/taiko-mono/packages/relayer"
"github.com/taikoxyz/taiko-mono/packages/relayer/db"
"gopkg.in/go-playground/assert.v1"
)

Expand Down
Loading