Skip to content
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
4 changes: 2 additions & 2 deletions cmd/beacon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"syscall"

"github.com/pilot-protocol/beacon"
"github.com/TeoSlayer/pilotprotocol/pkg/config"
"github.com/TeoSlayer/pilotprotocol/pkg/logging"
"github.com/pilot-protocol/common/config"
"github.com/pilot-protocol/common/logging"
)

func main() {
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ module github.com/pilot-protocol/beacon
go 1.25.10

require (
github.com/TeoSlayer/pilotprotocol v0.0.0
github.com/coder/websocket v1.8.14
github.com/pilot-protocol/common v0.1.0
github.com/pilot-protocol/common v0.2.0
golang.org/x/net v0.55.0
)

require golang.org/x/sys v0.45.0 // indirect

replace github.com/TeoSlayer/pilotprotocol => ../web4

replace github.com/pilot-protocol/common => ../common
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/coder/websocket v1.8.14 h1:9L0p0iKiNOibykf283eHkKUHHrpG7f65OE3BhhO7v9g=
github.com/coder/websocket v1.8.14/go.mod h1:NX3SzP+inril6yawo5CQXx8+fk145lPDC6pumgx0mVg=
github.com/pilot-protocol/common v0.1.0 h1:m8mZZATgeBiFoqhWXPnskw2u0lNkWxHp0IagZK35V1g=
github.com/pilot-protocol/common v0.1.0/go.mod h1:4YZWHK5nhM+4RLmYTspLxxAFbyBII7yzQDAHq3Ul2ck=
golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"golang.org/x/net/ipv4"

bwss "github.com/pilot-protocol/beacon/wss"
"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// beaconNode tracks a node's observed endpoint and when it was last seen.
Expand Down
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// helper: send a discover message to register a node with a beacon
Expand Down
2 changes: 1 addition & 1 deletion zz_compat_wss_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/coder/websocket"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
"github.com/pilot-protocol/common/crypto"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_fuzz_beacon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
"github.com/pilot-protocol/beacon"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_fuzz_handle_packet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
"github.com/pilot-protocol/beacon"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_server_branches_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// TestClose_DoneChannelIdempotent pins the `select` fallthrough
Expand Down
Loading