diff --git a/.gitmodules b/.gitmodules index 6a8a3adf6..7cbd900b1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = https://github.com/openzeppelin/openzeppelin-contracts [submodule "external/geth"] path = external/geth - url = git@github.com:primevprotocol/mev-commit-geth.git + url = git@github.com:primev/mev-commit-geth.git [submodule "contracts/lib/openzeppelin-contracts-upgradeable"] path = contracts/lib/openzeppelin-contracts-upgradeable url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable diff --git a/p2p/LICENSE b/LICENSE similarity index 100% rename from p2p/LICENSE rename to LICENSE diff --git a/README.md b/README.md index fbb2031cd..f86874885 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The mev-commit repository is a mono-repository that also use submodules for exte To clone the repository and its submodules, run the following command: ```shell -git clone --recurse-submodules +git clone --recurse-submodules ``` If you have already cloned the repository and need to update the submodules, run the following command: diff --git a/bridge/hyperlane/README.md b/bridge/hyperlane/README.md index 54053de88..dd360349b 100644 --- a/bridge/hyperlane/README.md +++ b/bridge/hyperlane/README.md @@ -44,9 +44,9 @@ Note support for keystore and hardware wallets will be added later. ## Versions -Agents are built from https://github.com/primevprotocol/hyperlane-monorepo, using the rust/build.sh script from that repo. Docker images for the agents are optimized for amd64 architecture, and may need to be compiled on a powerful machine. +Agents are built from https://github.com/primev/hyperlane-monorepo, using the rust/build.sh script from that repo. Docker images for the agents are optimized for amd64 architecture, and may need to be compiled on a powerful machine. -Hyperlane contracts and CLI are built from custom fork of their monorepo https://github.com/primevprotocol/hyperlane-monorepo. +Hyperlane contracts and CLI are built from custom fork of their monorepo https://github.com/primev/hyperlane-monorepo. ## Contract deployer @@ -61,7 +61,7 @@ To properly set a new hyperlane deployer: * replace `CONTRACT_DEPLOYER_PRIVATE_KEY` in `.env` * allocate funds to `Address` in the allocs field of `genesis.json` -Note the deployer of [primev contracts](https://github.com/primevprotocol/contracts) can be a separate account. +Note the deployer of [primev contracts](https://github.com/primev/contracts) can be a separate account. ## Validator Accounts (same keys as POA signers) diff --git a/bridge/hyperlane/frontend/Dockerfile b/bridge/hyperlane/frontend/Dockerfile index 80c79946b..722557e6b 100644 --- a/bridge/hyperlane/frontend/Dockerfile +++ b/bridge/hyperlane/frontend/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest RUN apk add --no-cache git yarn jq -RUN git clone https://github.com/primevprotocol/hyperlane-ui.git +RUN git clone https://github.com/primev/hyperlane-ui.git WORKDIR /hyperlane-ui RUN git checkout ff1586ed9cad6eeddba2cebc5f9b7828c74f25d1 diff --git a/bridge/hyperlane/hyperlane-deployer/Dockerfile b/bridge/hyperlane/hyperlane-deployer/Dockerfile index 8e8e2ac17..a9c039c0a 100644 --- a/bridge/hyperlane/hyperlane-deployer/Dockerfile +++ b/bridge/hyperlane/hyperlane-deployer/Dockerfile @@ -4,10 +4,10 @@ RUN apk update && apk add --no-cache git yarn expect WORKDIR / -RUN git clone https://github.com/primevprotocol/hyperlane-monorepo.git +RUN git clone https://github.com/primev/hyperlane-monorepo.git WORKDIR /hyperlane-monorepo # Hyperlane 3.5 release w/ merged primev changes -# https://github.com/primevprotocol/hyperlane-monorepo/commit/1c8cdc9e57389024274242d28e032a2de535c2c7 +# https://github.com/primev/hyperlane-monorepo/commit/1c8cdc9e57389024274242d28e032a2de535c2c7 RUN git checkout 1c8cdc9e57389024274242d28e032a2de535c2c7 RUN yarn install diff --git a/bridge/standard/bridge-v1/README.md b/bridge/standard/bridge-v1/README.md index bb47b6571..ec587aca7 100644 --- a/bridge/standard/bridge-v1/README.md +++ b/bridge/standard/bridge-v1/README.md @@ -108,7 +108,7 @@ One possible implementation is the full data from each `TransferInitiated` event ### Multiple Relayers -V2 improvements will include decentralization of the relayer role. A simple scheme could adapt [contracts](https://github.com/primevprotocol/contracts/tree/main/contracts/standard-bridge) to require `n` out of `m` relayers each with separate EOAs, to listen for `TransferInitiated` events and/or associated metadata. Then submit `FinalizeTransfer` txes on the destination chain. +V2 improvements will include decentralization of the relayer role. A simple scheme could adapt [contracts](https://github.com/primev/mev-commit/contracts/tree/main/contracts/standard-bridge) to require `n` out of `m` relayers each with separate EOAs, to listen for `TransferInitiated` events and/or associated metadata. Then submit `FinalizeTransfer` txes on the destination chain. ### Side Chain State Commitments diff --git a/bridge/standard/bridge-v1/cmd/relayer/main.go b/bridge/standard/bridge-v1/cmd/relayer/main.go index 3f8f36180..4b48d54b8 100644 --- a/bridge/standard/bridge-v1/cmd/relayer/main.go +++ b/bridge/standard/bridge-v1/cmd/relayer/main.go @@ -12,8 +12,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/relayer" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/util" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/relayer" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/util" "github.com/urfave/cli/v2" "github.com/urfave/cli/v2/altsrc" ) diff --git a/bridge/standard/bridge-v1/cmd/user_cli/main.go b/bridge/standard/bridge-v1/cmd/user_cli/main.go index 627ab8b79..962882af7 100644 --- a/bridge/standard/bridge-v1/cmd/user_cli/main.go +++ b/bridge/standard/bridge-v1/cmd/user_cli/main.go @@ -14,9 +14,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/transfer" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/util" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/transfer" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/util" "github.com/urfave/cli/v2" ) diff --git a/bridge/standard/bridge-v1/emulator/README.md b/bridge/standard/bridge-v1/emulator/README.md index 1b5bdc2ba..b8cfb820b 100644 --- a/bridge/standard/bridge-v1/emulator/README.md +++ b/bridge/standard/bridge-v1/emulator/README.md @@ -4,7 +4,7 @@ This directory contains an emulator program for stress testing the standard brid ## Accounts -Since a [local l1 network](https://github.com/primevprotocol/mev-commit-geth/blob/552a9cf940652156441b2608907839e635208af9/geth-poa/docker-compose.yml#L168) is used for testing. Five accounts will be allocated L1 balances on genesis. This can be confirmed with the local l1's [genesis.json](https://github.com/primevprotocol/mev-commit-geth/blob/de3ff446517b87f3ac0ad322af3a2edc382bf13a/geth-poa/local-l1/genesis.json). +Since a [local l1 network](https://github.com/primev/mev-commit-geth/blob/552a9cf940652156441b2608907839e635208af9/geth-poa/docker-compose.yml#L168) is used for testing. Five accounts will be allocated L1 balances on genesis. This can be confirmed with the local l1's [genesis.json](https://github.com/primev/mev-commit-geth/blob/de3ff446517b87f3ac0ad322af3a2edc382bf13a/geth-poa/local-l1/genesis.json). To best simulate new users of the mev-commit chain, these emulator accounts will have no corresponding genesis allocation on the mev-commit chain. The emulators will continuously bridge a random value in [0.01, 10] ETH from L1 -> mev-commit chain, then bridge that random value (minus 0.009 ETH for fees) back to L1. diff --git a/bridge/standard/bridge-v1/emulator/main.go b/bridge/standard/bridge-v1/emulator/main.go index cd4509a30..34af8a1b9 100644 --- a/bridge/standard/bridge-v1/emulator/main.go +++ b/bridge/standard/bridge-v1/emulator/main.go @@ -15,9 +15,9 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/params" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/transfer" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/util" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/transfer" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/util" ) const ( diff --git a/bridge/standard/bridge-v1/go.mod b/bridge/standard/bridge-v1/go.mod index c66cc2f63..3f290ab3d 100644 --- a/bridge/standard/bridge-v1/go.mod +++ b/bridge/standard/bridge-v1/go.mod @@ -1,11 +1,11 @@ -module github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1 +module github.com/primev/mev-commit/bridge/standard/bridge-v1 go 1.22 require ( github.com/DataDog/datadog-api-client-go v1.16.0 github.com/ethereum/go-ethereum v1.13.14 - github.com/primevprotocol/mev-commit/contracts-abi v0.0.1 + github.com/primev/mev-commit/contracts-abi v0.0.1 github.com/urfave/cli/v2 v2.27.1 golang.org/x/crypto v0.21.0 ) @@ -61,4 +61,4 @@ require ( rsc.io/tmplfunc v0.0.3 // indirect ) -replace github.com/primevprotocol/mev-commit/contracts-abi => ../../../contracts-abi +replace github.com/primev/mev-commit/contracts-abi => ../../../contracts-abi diff --git a/bridge/standard/bridge-v1/pkg/relayer/listener.go b/bridge/standard/bridge-v1/pkg/relayer/listener.go index ffb429b62..d6268d119 100644 --- a/bridge/standard/bridge-v1/pkg/relayer/listener.go +++ b/bridge/standard/bridge-v1/pkg/relayer/listener.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/ethclient" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" ) type Listener struct { diff --git a/bridge/standard/bridge-v1/pkg/relayer/relayer.go b/bridge/standard/bridge-v1/pkg/relayer/relayer.go index ff4f95be4..0d61c1acd 100644 --- a/bridge/standard/bridge-v1/pkg/relayer/relayer.go +++ b/bridge/standard/bridge-v1/pkg/relayer/relayer.go @@ -12,9 +12,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" - l1g "github.com/primevprotocol/mev-commit/contracts-abi/clients/L1Gateway" - sg "github.com/primevprotocol/mev-commit/contracts-abi/clients/SettlementGateway" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" + l1g "github.com/primev/mev-commit/contracts-abi/clients/L1Gateway" + sg "github.com/primev/mev-commit/contracts-abi/clients/SettlementGateway" "golang.org/x/crypto/sha3" ) diff --git a/bridge/standard/bridge-v1/pkg/relayer/transactor.go b/bridge/standard/bridge-v1/pkg/relayer/transactor.go index bd40733e7..962c2c7b9 100644 --- a/bridge/standard/bridge-v1/pkg/relayer/transactor.go +++ b/bridge/standard/bridge-v1/pkg/relayer/transactor.go @@ -11,7 +11,7 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethclient" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" ) type Transactor struct { diff --git a/bridge/standard/bridge-v1/pkg/shared/l1filterer.go b/bridge/standard/bridge-v1/pkg/shared/l1filterer.go index 0b76e25e0..b5739bf3e 100644 --- a/bridge/standard/bridge-v1/pkg/shared/l1filterer.go +++ b/bridge/standard/bridge-v1/pkg/shared/l1filterer.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" - l1g "github.com/primevprotocol/mev-commit/contracts-abi/clients/L1Gateway" + l1g "github.com/primev/mev-commit/contracts-abi/clients/L1Gateway" ) type L1Filterer struct { diff --git a/bridge/standard/bridge-v1/pkg/shared/settlementfilterer.go b/bridge/standard/bridge-v1/pkg/shared/settlementfilterer.go index b6fbdcc28..6f63cdcac 100644 --- a/bridge/standard/bridge-v1/pkg/shared/settlementfilterer.go +++ b/bridge/standard/bridge-v1/pkg/shared/settlementfilterer.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" - sg "github.com/primevprotocol/mev-commit/contracts-abi/clients/SettlementGateway" + sg "github.com/primev/mev-commit/contracts-abi/clients/SettlementGateway" ) type SettlementFilterer struct { diff --git a/bridge/standard/bridge-v1/pkg/transfer/transfer.go b/bridge/standard/bridge-v1/pkg/transfer/transfer.go index 1a285941b..1eccc3ae0 100644 --- a/bridge/standard/bridge-v1/pkg/transfer/transfer.go +++ b/bridge/standard/bridge-v1/pkg/transfer/transfer.go @@ -14,9 +14,9 @@ import ( gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - "github.com/primevprotocol/mev-commit/bridge/standard/bridge-v1/pkg/shared" - l1g "github.com/primevprotocol/mev-commit/contracts-abi/clients/L1Gateway" - sg "github.com/primevprotocol/mev-commit/contracts-abi/clients/SettlementGateway" + "github.com/primev/mev-commit/bridge/standard/bridge-v1/pkg/shared" + l1g "github.com/primev/mev-commit/contracts-abi/clients/L1Gateway" + sg "github.com/primev/mev-commit/contracts-abi/clients/SettlementGateway" "golang.org/x/crypto/sha3" ) diff --git a/contracts-abi/go.mod b/contracts-abi/go.mod index cbbdf1022..70b29668c 100644 --- a/contracts-abi/go.mod +++ b/contracts-abi/go.mod @@ -1,4 +1,4 @@ -module github.com/primevprotocol/mev-commit/contracts-abi +module github.com/primev/mev-commit/contracts-abi go 1.22 diff --git a/contracts/README.md b/contracts/README.md index 25c7aaf6e..5e920d2f7 100644 --- a/contracts/README.md +++ b/contracts/README.md @@ -180,7 +180,7 @@ This means the solidity version used for contract compilation affects the addres It's recommended to use `0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266` as the deployer account so that contract addresses will match external facing documentation. In production this address will have proper key management, for now here's the private key: `ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`. -The CREATE2 proxy needs to be deployed prior to these contracts. See [this repo](https://github.com/primevprotocol/deterministic-deployment-proxy), or this [make command](https://github.com/primevprotocol/go-ethereum/blob/d29cfe94205e852cc57a8184585ccc895d32a517/geth-poa/Makefile#L48) to deploy. Anvil automatically deploys this proxy to the expected address. +The CREATE2 proxy needs to be deployed prior to these contracts. See [this repo](https://github.com/primev/deterministic-deployment-proxy), or this [make command](https://github.com/primev/mev-commit-geth/blob/d29cfe94205e852cc57a8184585ccc895d32a517/geth-poa/Makefile#L48) to deploy. Anvil automatically deploys this proxy to the expected address. Using the above private key and compiling with solidity 0.8.23, expected contract addresses are: diff --git a/contracts/scripts/DeployScripts.s.sol b/contracts/scripts/DeployScripts.s.sol index 49b77174e..f0b364d02 100644 --- a/contracts/scripts/DeployScripts.s.sol +++ b/contracts/scripts/DeployScripts.s.sol @@ -21,7 +21,7 @@ contract Create2Deployer { function _checkCreate2Deployed() internal view { require( isContractDeployed(_CREATE2_PROXY), - "Create2 proxy needs to be deployed. See https://github.com/primevprotocol/deterministic-deployment-proxy" + "Create2 proxy needs to be deployed. See https://github.com/primev/deterministic-deployment-proxy" ); } @@ -59,7 +59,7 @@ contract DeployScript is Script, Create2Deployer { uint64 commitmentDispatchWindow = 2000; uint256 blocksPerWindow = 10; - // Forge deploy with salt uses create2 proxy from https://github.com/primevprotocol/deterministic-deployment-proxy + // Forge deploy with salt uses create2 proxy from https://github.com/primev/deterministic-deployment-proxy bytes32 salt = 0x8989000000000000000000000000000000000000000000000000000000000000; BlockTracker blockTracker = new BlockTracker{salt: salt}(msg.sender); @@ -157,7 +157,7 @@ contract DeployWhitelist is Script, Create2Deployer { "Address to whitelist not provided" ); - // Forge deploy with salt uses create2 proxy from https://github.com/primevprotocol/deterministic-deployment-proxy + // Forge deploy with salt uses create2 proxy from https://github.com/primev/deterministic-deployment-proxy bytes32 salt = 0x8989000000000000000000000000000000000000000000000000000000000000; Whitelist whitelist = new Whitelist{salt: salt}(msg.sender); diff --git a/contracts/scripts/DeployStandardBridge.s.sol b/contracts/scripts/DeployStandardBridge.s.sol index 9966e5b0a..301949dce 100644 --- a/contracts/scripts/DeployStandardBridge.s.sol +++ b/contracts/scripts/DeployStandardBridge.s.sol @@ -15,7 +15,7 @@ contract DeploySettlementGateway is Script, Create2Deployer { _checkCreate2Deployed(); _checkDeployer(); - // Forge deploy with salt uses create2 proxy from https://github.com/primevprotocol/deterministic-deployment-proxy + // Forge deploy with salt uses create2 proxy from https://github.com/primev/deterministic-deployment-proxy bytes32 salt = 0x8989000000000000000000000000000000000000000000000000000000000000; address expectedWhitelistAddr = 0x57508f0B0f3426758F1f3D63ad4935a7c9383620; @@ -65,7 +65,7 @@ contract DeployL1Gateway is Script, Create2Deployer { _checkCreate2Deployed(); _checkDeployer(); - // Forge deploy with salt uses create2 proxy from https://github.com/primevprotocol/deterministic-deployment-proxy + // Forge deploy with salt uses create2 proxy from https://github.com/primev/deterministic-deployment-proxy bytes32 salt = 0x8989000000000000000000000000000000000000000000000000000000000000; address relayerAddr = vm.envAddress("RELAYER_ADDR"); diff --git a/external/geth b/external/geth index 7829203d8..7971224f0 160000 --- a/external/geth +++ b/external/geth @@ -1 +1 @@ -Subproject commit 7829203d82afefc8d62692bd8725f42c8b839026 +Subproject commit 7971224f0160d9afcad878c2983d839e75ca062f diff --git a/infrastructure/nomad/deploy.yml b/infrastructure/nomad/deploy.yml index 1bfd57fed..3809e0a5d 100644 --- a/infrastructure/nomad/deploy.yml +++ b/infrastructure/nomad/deploy.yml @@ -134,7 +134,7 @@ - name: Upload | Filter artifacts ansible.builtin.find: paths: "/tmp/dist" - patterns: "*{{ version }}*Linux_x86_64.tar.gz,*{{ version }}*.txt" + patterns: "*{{ version }}*_Linux_x86_64.tar.gz,contracts_{{ version }}.tar.gz,*{{ version }}_checksums.txt" recurse: yes register: artefacts delegate_to: localhost diff --git a/oracle/.goreleaser.yml b/oracle/.goreleaser.yml index c408cc5ab..9a8fc7a30 100644 --- a/oracle/.goreleaser.yml +++ b/oracle/.goreleaser.yml @@ -52,8 +52,8 @@ checksum: # TODO(mrekucci): Re-enable when the repo is finalized. #dockers: # - image_templates: -# - ghcr.io/primevprotocol/mev-commit-oracle:v{{ .Major }}.{{ .Minor }} -# - ghcr.io/primevprotocol/mev-commit-oracle:latest +# - ghcr.io/primev/mev-commit-oracle:v{{ .Major }}.{{ .Minor }} +# - ghcr.io/primev/mev-commit-oracle:latest # dockerfile: Dockerfile.goreleaser # use: buildx # goarch: amd64 diff --git a/oracle/Dockerfile.goreleaser b/oracle/Dockerfile.goreleaser index 16730288c..801734b51 100644 --- a/oracle/Dockerfile.goreleaser +++ b/oracle/Dockerfile.goreleaser @@ -4,6 +4,6 @@ COPY mev-commit-oracle /usr/local/bin/mev-commit-oracle EXPOSE 8080 -LABEL org.opencontainers.image.source https://github.com/primevprotocol/mev-commit-oracle +LABEL org.opencontainers.image.source https://github.com/primev/mev-commit/tree/main/oracle ENTRYPOINT ["mev-commit-oracle", "start"] diff --git a/oracle/cmd/main.go b/oracle/cmd/main.go index 1c39546d8..b858af4f8 100644 --- a/oracle/cmd/main.go +++ b/oracle/cmd/main.go @@ -11,9 +11,9 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - contracts "github.com/primevprotocol/mev-commit/contracts-abi/config" - "github.com/primevprotocol/mev-commit/oracle/pkg/keysigner" - "github.com/primevprotocol/mev-commit/oracle/pkg/node" + contracts "github.com/primev/mev-commit/contracts-abi/config" + "github.com/primev/mev-commit/oracle/pkg/keysigner" + "github.com/primev/mev-commit/oracle/pkg/node" "github.com/urfave/cli/v2" "github.com/urfave/cli/v2/altsrc" ) diff --git a/oracle/go.mod b/oracle/go.mod index ae7a2953c..1b01fe3b7 100644 --- a/oracle/go.mod +++ b/oracle/go.mod @@ -1,4 +1,4 @@ -module github.com/primevprotocol/mev-commit/oracle +module github.com/primev/mev-commit/oracle go 1.22 @@ -7,8 +7,8 @@ require ( github.com/google/go-cmp v0.6.0 github.com/hashicorp/golang-lru/v2 v2.0.7 github.com/lib/pq v1.10.9 - github.com/primevprotocol/mev-commit/contracts-abi v0.0.1 - github.com/primevprotocol/mev-commit/x v0.0.1 + github.com/primev/mev-commit/contracts-abi v0.0.1 + github.com/primev/mev-commit/x v0.0.1 github.com/prometheus/client_golang v1.14.0 github.com/testcontainers/testcontainers-go v0.27.0 github.com/urfave/cli/v2 v2.27.1 @@ -98,6 +98,6 @@ require ( ) replace ( - github.com/primevprotocol/mev-commit/contracts-abi => ../contracts-abi - github.com/primevprotocol/mev-commit/x => ../x + github.com/primev/mev-commit/contracts-abi => ../contracts-abi + github.com/primev/mev-commit/x => ../x ) diff --git a/oracle/pkg/apiserver/apiserver.go b/oracle/pkg/apiserver/apiserver.go index 33098dae5..fd5554b29 100644 --- a/oracle/pkg/apiserver/apiserver.go +++ b/oracle/pkg/apiserver/apiserver.go @@ -12,8 +12,8 @@ import ( "time" lru "github.com/hashicorp/golang-lru/v2" - "github.com/primevprotocol/mev-commit/oracle/pkg/updater" - "github.com/primevprotocol/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/oracle/pkg/updater" + "github.com/primev/mev-commit/x/contracts/events" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/collectors" "github.com/prometheus/client_golang/prometheus/promhttp" diff --git a/oracle/pkg/apiserver/dashboard.go b/oracle/pkg/apiserver/dashboard.go index 35953fe16..d5e75415f 100644 --- a/oracle/pkg/apiserver/dashboard.go +++ b/oracle/pkg/apiserver/dashboard.go @@ -7,12 +7,12 @@ import ( "net/http" "strconv" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - oracle "github.com/primevprotocol/mev-commit/contracts-abi/clients/Oracle" - preconfcommitmentstore "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - providerregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/ProviderRegistry" - "github.com/primevprotocol/mev-commit/x/contracts/events" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + oracle "github.com/primev/mev-commit/contracts-abi/clients/Oracle" + preconfcommitmentstore "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + providerregistry "github.com/primev/mev-commit/contracts-abi/clients/ProviderRegistry" + "github.com/primev/mev-commit/x/contracts/events" ) type BlockStats struct { diff --git a/oracle/pkg/l1Listener/l1Listener.go b/oracle/pkg/l1Listener/l1Listener.go index 950c19df4..dea5fb790 100644 --- a/oracle/pkg/l1Listener/l1Listener.go +++ b/oracle/pkg/l1Listener/l1Listener.go @@ -9,8 +9,8 @@ import ( "time" "github.com/ethereum/go-ethereum/core/types" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - "github.com/primevprotocol/mev-commit/x/contracts/events" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + "github.com/primev/mev-commit/x/contracts/events" "github.com/prometheus/client_golang/prometheus" "golang.org/x/sync/errgroup" ) diff --git a/oracle/pkg/l1Listener/l1Listener_test.go b/oracle/pkg/l1Listener/l1Listener_test.go index 4734d552a..808de38a0 100644 --- a/oracle/pkg/l1Listener/l1Listener_test.go +++ b/oracle/pkg/l1Listener/l1Listener_test.go @@ -18,10 +18,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - "github.com/primevprotocol/mev-commit/oracle/pkg/l1Listener" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/util" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + "github.com/primev/mev-commit/oracle/pkg/l1Listener" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/util" ) func TestL1Listener(t *testing.T) { diff --git a/oracle/pkg/node/node.go b/oracle/pkg/node/node.go index cc2915c8e..cab83b6e1 100644 --- a/oracle/pkg/node/node.go +++ b/oracle/pkg/node/node.go @@ -16,20 +16,20 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethclient" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - rollupclient "github.com/primevprotocol/mev-commit/contracts-abi/clients/Oracle" - preconf "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - providerregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/ProviderRegistry" - "github.com/primevprotocol/mev-commit/oracle/pkg/apiserver" - "github.com/primevprotocol/mev-commit/oracle/pkg/keysigner" - "github.com/primevprotocol/mev-commit/oracle/pkg/l1Listener" - "github.com/primevprotocol/mev-commit/oracle/pkg/store" - "github.com/primevprotocol/mev-commit/oracle/pkg/updater" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/contracts/events/publisher" - "github.com/primevprotocol/mev-commit/x/contracts/transactor" - "github.com/primevprotocol/mev-commit/x/contracts/txmonitor" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + rollupclient "github.com/primev/mev-commit/contracts-abi/clients/Oracle" + preconf "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + providerregistry "github.com/primev/mev-commit/contracts-abi/clients/ProviderRegistry" + "github.com/primev/mev-commit/oracle/pkg/apiserver" + "github.com/primev/mev-commit/oracle/pkg/keysigner" + "github.com/primev/mev-commit/oracle/pkg/l1Listener" + "github.com/primev/mev-commit/oracle/pkg/store" + "github.com/primev/mev-commit/oracle/pkg/updater" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/contracts/events/publisher" + "github.com/primev/mev-commit/x/contracts/transactor" + "github.com/primev/mev-commit/x/contracts/txmonitor" ) type Options struct { diff --git a/oracle/pkg/store/store.go b/oracle/pkg/store/store.go index cf989b064..d79e992c4 100644 --- a/oracle/pkg/store/store.go +++ b/oracle/pkg/store/store.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/common" _ "github.com/lib/pq" - "github.com/primevprotocol/mev-commit/oracle/pkg/updater" + "github.com/primev/mev-commit/oracle/pkg/updater" ) var settlementType = ` diff --git a/oracle/pkg/store/store_test.go b/oracle/pkg/store/store_test.go index d3d3ae932..274bc7a7b 100644 --- a/oracle/pkg/store/store_test.go +++ b/oracle/pkg/store/store_test.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/google/go-cmp/cmp" - "github.com/primevprotocol/mev-commit/oracle/pkg/store" - "github.com/primevprotocol/mev-commit/oracle/pkg/updater" + "github.com/primev/mev-commit/oracle/pkg/store" + "github.com/primev/mev-commit/oracle/pkg/updater" "github.com/testcontainers/testcontainers-go" "github.com/testcontainers/testcontainers-go/wait" ) diff --git a/oracle/pkg/updater/updater.go b/oracle/pkg/updater/updater.go index 44215b312..9229e2b3b 100644 --- a/oracle/pkg/updater/updater.go +++ b/oracle/pkg/updater/updater.go @@ -15,9 +15,9 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/log" lru "github.com/hashicorp/golang-lru/v2" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - preconf "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - "github.com/primevprotocol/mev-commit/x/contracts/events" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + preconf "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + "github.com/primev/mev-commit/x/contracts/events" "github.com/prometheus/client_golang/prometheus" "golang.org/x/sync/errgroup" ) diff --git a/oracle/pkg/updater/updater_test.go b/oracle/pkg/updater/updater_test.go index e71b74a4e..ec77305e0 100644 --- a/oracle/pkg/updater/updater_test.go +++ b/oracle/pkg/updater/updater_test.go @@ -18,11 +18,11 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - preconf "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - "github.com/primevprotocol/mev-commit/oracle/pkg/updater" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/util" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + preconf "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + "github.com/primev/mev-commit/oracle/pkg/updater" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/util" "golang.org/x/crypto/sha3" ) diff --git a/p2p/.goreleaser.yml b/p2p/.goreleaser.yml index 80bc5deaf..10b61c96e 100644 --- a/p2p/.goreleaser.yml +++ b/p2p/.goreleaser.yml @@ -25,8 +25,8 @@ builds: - -trimpath ldflags: - -s -w - - -X github.com/primevprotocol/mev-commit/p2p.version={{.Version}} - - -X github.com/primevprotocol/mev-commit/p2p.revision={{ .ShortCommit }} + - -X github.com/primev/mev-commit/p2p.version={{.Version}} + - -X github.com/primev/mev-commit/p2p.revision={{ .ShortCommit }} archives: - format: tar.gz @@ -62,8 +62,8 @@ checksum: # TODO(mrekucci): Re-enable when the repo is finalized. #dockers: # - image_templates: -# - ghcr.io/primevprotocol/mev-commit:v{{ .Major }}.{{ .Minor }} -# - ghcr.io/primevprotocol/mev-commit:latest +# - ghcr.io/primev/mev-commit:v{{ .Major }}.{{ .Minor }} +# - ghcr.io/primev/mev-commit:latest # dockerfile: Dockerfile.goreleaser # use: buildx # goarch: amd64 @@ -75,8 +75,8 @@ checksum: # - "--label=org.opencontainers.image.version={{.Version}}" # - "--platform=linux/amd64" # - image_templates: -# - ghcr.io/primevprotocol/mev-commit:v{{ .Major }}.{{ .Minor }} -# - ghcr.io/primevprotocol/mev-commit:latest +# - ghcr.io/primev/mev-commit:v{{ .Major }}.{{ .Minor }} +# - ghcr.io/primev/mev-commit:latest # dockerfile: Dockerfile.goreleaser # use: buildx # goarch: arm64 diff --git a/p2p/Dockerfile.goreleaser b/p2p/Dockerfile.goreleaser index 37b9b5261..ce4a6f533 100644 --- a/p2p/Dockerfile.goreleaser +++ b/p2p/Dockerfile.goreleaser @@ -4,6 +4,6 @@ COPY mev-commit /usr/local/bin/mev-commit EXPOSE 13522 13523 13524 -LABEL org.opencontainers.image.source https://github.com/primevprotocol/mev-commit +LABEL org.opencontainers.image.source https://github.com/primev/mev-commit/tree/main/p2p ENTRYPOINT ["mev-commit"] diff --git a/p2p/Makefile b/p2p/Makefile index 51636d1b7..52383fe1b 100644 --- a/p2p/Makefile +++ b/p2p/Makefile @@ -1,5 +1,5 @@ LDFLAGS ?= -s -w \ --X github.com/primevprotocol/mev-commit/p2p.version=$(shell git describe --tags || git rev-parse --short HEAD) +-X github.com/primev/mev-commit/p2p.version=$(shell git describe --tags || git rev-parse --short HEAD) .PHONY: build build: export CGO_ENABLED=0 diff --git a/p2p/README.md b/p2p/README.md index 825682130..07eaacb6a 100644 --- a/p2p/README.md +++ b/p2p/README.md @@ -2,11 +2,11 @@ mev-commit is P2P software that creates a network of execution providers and bidders. Bidders can broadcast bids to providers and receive commitments from them. A high throughput POA EVM chain settles the bids at the end of a block slot. # mev-commit software components - - [mev-commit client](https://github.com/primevprotocol/mev-commit) - - [mev-commit-geth](https://github.com/primevprotocol/mev-commit-geth) - - [contracts](https://github.com/primevprotocol/contracts) - - [mev-commit-oracle](https://github.com/primevprotocol/mev-commit-oracle) - - [mev-commit-bridge](https://github.com/primevprotocol/mev-commit-geth/tree/master/geth-poa) + - [mev-commit client](https://github.com/primev/mev-commit/tree/main/p2p) + - [mev-commit-geth](https://github.com/primev/mev-commit/tree/main/external/geth) + - [contracts](https://github.com/primev/mev-commit/tree/main/contracts) + - [mev-commit-oracle](https://github.com/primev/mev-commit/tree/main/oracle) + - [mev-commit-bridge](https://github.com/primev/mev-commit/tree/main/external/geth/tree/master/geth-poa) - curl # mev-commit execution requirements @@ -27,12 +27,12 @@ The command: ### Bidder Node ```bash -curl -o launchmevcommit https://raw.githubusercontent.com/primevprotocol/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --node-type bidder +curl -o launchmevcommit https://raw.githubusercontent.com/primev/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --node-type bidder ``` ### Provider Node ```bash -curl -o launchmevcommit https://raw.githubusercontent.com/primevprotocol/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --node-type provider +curl -o launchmevcommit https://raw.githubusercontent.com/primev/scripts/main/launchmevcommit && chmod +x launchmevcommit && ./launchmevcommit --node-type provider ``` ## Quick Build (For docker please skip this instruction) @@ -58,7 +58,7 @@ OPTIONS: --help, -h show help ``` -- Once the key is available, create a yaml config file. Example config files are available in the [config](https://github.com/primevprotocol/mev-commit/tree/main/config) folder. The important options are defined below: +- Once the key is available, create a yaml config file. Example config files are available in the [config](https://github.com/primev/mev-commit/tree/main/p2p/config) folder. The important options are defined below: ```yaml # Path to private key file. priv_key_file: ~/.mev-commit/keys/nodekey diff --git a/p2p/cmd/main.go b/p2p/cmd/main.go index 817c8b228..5f2f733b5 100644 --- a/p2p/cmd/main.go +++ b/p2p/cmd/main.go @@ -8,11 +8,11 @@ import ( "strings" "time" - contracts "github.com/primevprotocol/mev-commit/contracts-abi/config" - mevcommit "github.com/primevprotocol/mev-commit/p2p" - ks "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner" - "github.com/primevprotocol/mev-commit/p2p/pkg/node" - "github.com/primevprotocol/mev-commit/x/util" + contracts "github.com/primev/mev-commit/contracts-abi/config" + mevcommit "github.com/primev/mev-commit/p2p" + ks "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner" + "github.com/primev/mev-commit/p2p/pkg/node" + "github.com/primev/mev-commit/x/util" "github.com/urfave/cli/v2" "github.com/urfave/cli/v2/altsrc" ) diff --git a/p2p/examples/biddercli/main.go b/p2p/examples/biddercli/main.go index ef2cc5f18..5c9ce507c 100644 --- a/p2p/examples/biddercli/main.go +++ b/p2p/examples/biddercli/main.go @@ -10,7 +10,7 @@ import ( "strconv" "time" - pb "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" + pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" "github.com/urfave/cli/v2" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/p2p/examples/provideremulator/client/client.go b/p2p/examples/provideremulator/client/client.go index ea2cd52cd..eae74d65e 100644 --- a/p2p/examples/provideremulator/client/client.go +++ b/p2p/examples/provideremulator/client/client.go @@ -12,7 +12,7 @@ import ( "fmt" "log/slog" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" "google.golang.org/grpc" ) diff --git a/p2p/examples/provideremulator/main.go b/p2p/examples/provideremulator/main.go index 2e259e659..329279481 100644 --- a/p2p/examples/provideremulator/main.go +++ b/p2p/examples/provideremulator/main.go @@ -7,8 +7,8 @@ import ( "log/slog" "os" - "github.com/primevprotocol/mev-commit/p2p/examples/provideremulator/client" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/p2p/examples/provideremulator/client" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" ) var ( diff --git a/p2p/gen/go/bidderapi/v1/bidderapi.pb.go b/p2p/gen/go/bidderapi/v1/bidderapi.pb.go index 9305e967f..4547f23de 100644 --- a/p2p/gen/go/bidderapi/v1/bidderapi.pb.go +++ b/p2p/gen/go/bidderapi/v1/bidderapi.pb.go @@ -888,27 +888,26 @@ var file_bidderapi_v1_bidderapi_proto_rawDesc = []byte{ 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x2f, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0xb6, 0x02, 0x92, 0x41, 0x7a, 0x12, 0x78, - 0x0a, 0x0a, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x20, 0x41, 0x50, 0x49, 0x2a, 0x5d, 0x0a, 0x1b, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0xaa, 0x02, 0x92, 0x41, 0x72, 0x12, 0x70, + 0x0a, 0x0a, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x20, 0x41, 0x50, 0x49, 0x2a, 0x55, 0x0a, 0x1b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x20, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, - 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x31, 0x2e, 0x31, 0x12, 0x3e, 0x68, 0x74, 0x74, + 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x31, 0x2e, 0x31, 0x12, 0x36, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, - 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, - 0x61, 0x69, 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x0b, 0x31, 0x2e, 0x30, - 0x2e, 0x30, 0x2d, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x69, - 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x42, 0x69, 0x64, 0x64, - 0x65, 0x72, 0x61, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x42, 0x69, 0x64, 0x64, 0x65, - 0x72, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, - 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, - 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0d, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x3a, 0x3a, 0x56, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, + 0x4e, 0x53, 0x45, 0x32, 0x0b, 0x31, 0x2e, 0x30, 0x2e, 0x30, 0x2d, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x42, 0x0e, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, + 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x69, 0x64, 0x64, 0x65, + 0x72, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x42, + 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x42, 0x69, + 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x42, 0x69, 0x64, + 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x61, 0x70, + 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/discovery/v1/discovery.pb.go b/p2p/gen/go/discovery/v1/discovery.pb.go index c28534637..4c97bd2b9 100644 --- a/p2p/gen/go/discovery/v1/discovery.pb.go +++ b/p2p/gen/go/discovery/v1/discovery.pb.go @@ -136,19 +136,18 @@ var file_discovery_v1_discovery_proto_rawDesc = []byte{ 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x65, 0x74, 0x68, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x6c, 0x61, 0x79, 0x42, - 0xb9, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, + 0xb5, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x3b, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, - 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x56, - 0x31, 0xca, 0x02, 0x0c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, + 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02, + 0x0c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/handshake/v1/handshake.pb.go b/p2p/gen/go/handshake/v1/handshake.pb.go index b70bb9b00..41328e6db 100644 --- a/p2p/gen/go/handshake/v1/handshake.pb.go +++ b/p2p/gen/go/handshake/v1/handshake.pb.go @@ -226,19 +226,19 @@ var file_handshake_v1_handshake_proto_rawDesc = []byte{ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x70, 0x65, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0xb9, 0x01, 0x0a, 0x10, 0x63, 0x6f, + 0x08, 0x70, 0x65, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0xb5, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, - 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x68, 0x61, - 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x68, 0x61, 0x6e, 0x64, 0x73, - 0x68, 0x61, 0x6b, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x48, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x48, - 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x48, 0x61, - 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x48, 0x61, 0x6e, - 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, - 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, + 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, + 0x32, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, + 0x61, 0x6b, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x48, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x73, + 0x68, 0x61, 0x6b, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, + 0x61, 0x6b, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, + 0x6b, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0d, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/keyexchange/v1/keyexchange.pb.go b/p2p/gen/go/keyexchange/v1/keyexchange.pb.go index 69945c008..de22537c9 100644 --- a/p2p/gen/go/keyexchange/v1/keyexchange.pb.go +++ b/p2p/gen/go/keyexchange/v1/keyexchange.pb.go @@ -147,18 +147,18 @@ var file_keyexchange_v1_keyexchange_proto_rawDesc = []byte{ 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0xab, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0xa7, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x10, 0x4b, 0x65, 0x79, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x6b, 0x65, 0x79, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4b, 0x58, 0x58, 0xaa, - 0x02, 0x0b, 0x4b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0xca, 0x02, 0x0b, - 0x4b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0xe2, 0x02, 0x17, 0x4b, 0x65, - 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x6b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4b, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x4b, 0x65, + 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0xca, 0x02, 0x0b, 0x4b, 0x65, 0x79, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0xe2, 0x02, 0x17, 0x4b, 0x65, 0x79, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0b, 0x4b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/preconfirmation/v1/preconfirmation.pb.go b/p2p/gen/go/preconfirmation/v1/preconfirmation.pb.go index 464c14181..5f51372f4 100644 --- a/p2p/gen/go/preconfirmation/v1/preconfirmation.pb.go +++ b/p2p/gen/go/preconfirmation/v1/preconfirmation.pb.go @@ -360,23 +360,22 @@ var file_preconfirmation_v1_preconfirmation_proto_rawDesc = []byte{ 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0xe9, 0x01, + 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0xe5, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, - 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, - 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, - 0x3b, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x72, 0x65, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, - 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, + 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, + 0x32, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x72, 0x65, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, + 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x50, 0x72, 0x65, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x1e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x13, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/providerapi/v1/providerapi.pb.go b/p2p/gen/go/providerapi/v1/providerapi.pb.go index a3c2a0ac6..55ce9df38 100644 --- a/p2p/gen/go/providerapi/v1/providerapi.pb.go +++ b/p2p/gen/go/providerapi/v1/providerapi.pb.go @@ -891,28 +891,28 @@ var file_providerapi_v1_providerapi_proto_rawDesc = []byte{ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x7b, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x7d, 0x42, 0xc8, 0x02, 0x92, 0x41, - 0x7c, 0x12, 0x7a, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x41, 0x50, - 0x49, 0x2a, 0x5d, 0x0a, 0x1b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x20, 0x53, 0x6f, + 0x6e, 0x2f, 0x7b, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x7d, 0x42, 0xbc, 0x02, 0x92, 0x41, + 0x74, 0x12, 0x72, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x41, 0x50, + 0x49, 0x2a, 0x55, 0x0a, 0x1b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x20, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x20, 0x31, 0x2e, 0x31, - 0x12, 0x3e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x62, - 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, - 0x32, 0x0b, 0x31, 0x2e, 0x30, 0x2e, 0x30, 0x2d, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x0a, 0x12, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x42, 0x10, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x61, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, - 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x12, 0x36, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, 0x2d, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, + 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x0b, 0x31, 0x2e, 0x30, 0x2e, 0x30, 0x2d, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, + 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, + 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x61, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/p2p/gen/go/streammsg/v1/streammsg.pb.go b/p2p/gen/go/streammsg/v1/streammsg.pb.go index ebbbad312..1fa112215 100644 --- a/p2p/gen/go/streammsg/v1/streammsg.pb.go +++ b/p2p/gen/go/streammsg/v1/streammsg.pb.go @@ -174,19 +174,19 @@ var file_streammsg_v1_streammsg_proto_rawDesc = []byte{ 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, - 0x64, 0x79, 0x42, 0xb9, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x64, 0x79, 0x42, 0xb5, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, - 0x73, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x76, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, - 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, - 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x76, 0x2f, 0x6d, 0x65, 0x76, + 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x3b, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, + 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x18, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/p2p/gen/openapi/bidderapi/v1/bidderapi.swagger.yaml b/p2p/gen/openapi/bidderapi/v1/bidderapi.swagger.yaml index f6300c487..0fbdabdbd 100644 --- a/p2p/gen/openapi/bidderapi/v1/bidderapi.swagger.yaml +++ b/p2p/gen/openapi/bidderapi/v1/bidderapi.swagger.yaml @@ -4,7 +4,7 @@ info: version: 1.0.0-alpha license: name: Business Source License 1.1 - url: https://github.com/primevprotocol/mev-commit/blob/main/LICENSE + url: https://github.com/primev/mev-commit/blob/main/LICENSE consumes: - application/json produces: diff --git a/p2p/gen/openapi/providerapi/v1/providerapi.swagger.yaml b/p2p/gen/openapi/providerapi/v1/providerapi.swagger.yaml index f673b7fd5..df86240dd 100644 --- a/p2p/gen/openapi/providerapi/v1/providerapi.swagger.yaml +++ b/p2p/gen/openapi/providerapi/v1/providerapi.swagger.yaml @@ -4,7 +4,7 @@ info: version: 1.0.0-alpha license: name: Business Source License 1.1 - url: https://github.com/primevprotocol/mev-commit/blob/main/LICENSE + url: https://github.com/primev/mev-commit/blob/main/LICENSE consumes: - application/json produces: diff --git a/p2p/go.mod b/p2p/go.mod index 3ec6731fa..ebd4ef4bb 100644 --- a/p2p/go.mod +++ b/p2p/go.mod @@ -1,4 +1,4 @@ -module github.com/primevprotocol/mev-commit/p2p +module github.com/primev/mev-commit/p2p go 1.22 @@ -14,8 +14,8 @@ require ( github.com/libp2p/go-msgio v0.3.0 github.com/multiformats/go-multiaddr v0.12.2 github.com/multiformats/go-multiaddr-dns v0.3.1 - github.com/primevprotocol/mev-commit/contracts-abi v0.0.1 - github.com/primevprotocol/mev-commit/x v0.0.1 + github.com/primev/mev-commit/contracts-abi v0.0.1 + github.com/primev/mev-commit/x v0.0.1 github.com/prometheus/client_golang v1.18.0 github.com/stretchr/testify v1.8.4 github.com/urfave/cli/v2 v2.27.1 @@ -138,6 +138,6 @@ require ( ) replace ( - github.com/primevprotocol/mev-commit/contracts-abi => ../contracts-abi - github.com/primevprotocol/mev-commit/x => ../x + github.com/primev/mev-commit/contracts-abi => ../contracts-abi + github.com/primev/mev-commit/x => ../x ) diff --git a/p2p/integrationtest/bidder/main.go b/p2p/integrationtest/bidder/main.go index d908fadf1..c71f8d205 100644 --- a/p2p/integrationtest/bidder/main.go +++ b/p2p/integrationtest/bidder/main.go @@ -20,8 +20,8 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - pb "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" - "github.com/primevprotocol/mev-commit/x/util" + pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" + "github.com/primev/mev-commit/x/util" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" "google.golang.org/grpc" diff --git a/p2p/integrationtest/provider/client.go b/p2p/integrationtest/provider/client.go index 63bf81270..365e47eb2 100644 --- a/p2p/integrationtest/provider/client.go +++ b/p2p/integrationtest/provider/client.go @@ -8,7 +8,7 @@ import ( "math/big" "time" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/p2p/integrationtest/provider/main.go b/p2p/integrationtest/provider/main.go index 06e70b7ed..2e55ca74c 100644 --- a/p2p/integrationtest/provider/main.go +++ b/p2p/integrationtest/provider/main.go @@ -11,8 +11,8 @@ import ( "os" "time" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - "github.com/primevprotocol/mev-commit/x/util" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/x/util" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/p2p/integrationtest/real-bidder/.goreleaser.yml b/p2p/integrationtest/real-bidder/.goreleaser.yml index 306ab58ca..c6938afac 100644 --- a/p2p/integrationtest/real-bidder/.goreleaser.yml +++ b/p2p/integrationtest/real-bidder/.goreleaser.yml @@ -23,10 +23,13 @@ builds: archives: - format: tar.gz name_template: >- - {{ .ProjectName }}_ - {{- if .IsSnapshot }}{{ .ShortCommit }}_ - {{- else }}{{ .Version }}_ + {{ .Binary }}_ + {{- if .IsSnapshot }}{{ .ShortCommit }} + {{- else }}{{ .Version }} {{ end }} + {{- with index .Env "DIRTY_SUFFIX" -}} + {{ . }} + {{- end -}}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 @@ -42,5 +45,8 @@ checksum: {{ .ProjectName }}_ {{- if .IsSnapshot }}{{ .ShortCommit }} {{- else }}{{ .Version }} + {{- end }} + {{- with index .Env "DIRTY_SUFFIX" -}} + {{ . }} {{- end -}} _checksums.txt diff --git a/p2p/integrationtest/real-bidder/main.go b/p2p/integrationtest/real-bidder/main.go index f426fd3c1..c85317d4d 100644 --- a/p2p/integrationtest/real-bidder/main.go +++ b/p2p/integrationtest/real-bidder/main.go @@ -17,7 +17,7 @@ import ( "time" "github.com/ethereum/go-ethereum/ethclient" - pb "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" + pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" "google.golang.org/grpc" diff --git a/p2p/messages/buf.gen.yaml b/p2p/messages/buf.gen.yaml index 6cd6599d0..c5cfce8db 100644 --- a/p2p/messages/buf.gen.yaml +++ b/p2p/messages/buf.gen.yaml @@ -2,7 +2,7 @@ version: v1 managed: enabled: true go_package_prefix: - default: github.com/primevprotocol/mev-commit/gen/go + default: github.com/primev/mev-commit/p2p/gen/go except: - buf.build/bufbuild/protovalidate - buf.build/googleapis/googleapis diff --git a/p2p/pkg/apiserver/api_test.go b/p2p/pkg/apiserver/api_test.go index 81e3f5ac3..33fb522a7 100644 --- a/p2p/pkg/apiserver/api_test.go +++ b/p2p/pkg/apiserver/api_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/primevprotocol/mev-commit/p2p/pkg/apiserver" + "github.com/primev/mev-commit/p2p/pkg/apiserver" ) func newTestLogger(w io.Writer) *slog.Logger { diff --git a/p2p/pkg/apiserver/helpers_test.go b/p2p/pkg/apiserver/helpers_test.go index 205ed0c28..6fc094250 100644 --- a/p2p/pkg/apiserver/helpers_test.go +++ b/p2p/pkg/apiserver/helpers_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/primevprotocol/mev-commit/p2p/pkg/apiserver" + "github.com/primev/mev-commit/p2p/pkg/apiserver" ) type testHandler struct { diff --git a/p2p/pkg/contracts/bidder_registry/bidder_registry.go b/p2p/pkg/contracts/bidder_registry/bidder_registry.go index 0e8198f03..23d908b6c 100644 --- a/p2p/pkg/contracts/bidder_registry/bidder_registry.go +++ b/p2p/pkg/contracts/bidder_registry/bidder_registry.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + "github.com/primev/mev-commit/p2p/pkg/evmclient" ) var bidderRegistryABI = func() abi.ABI { diff --git a/p2p/pkg/contracts/bidder_registry/bidder_registry_test.go b/p2p/pkg/contracts/bidder_registry/bidder_registry_test.go index 1b16930c4..2d736c0d4 100644 --- a/p2p/pkg/contracts/bidder_registry/bidder_registry_test.go +++ b/p2p/pkg/contracts/bidder_registry/bidder_registry_test.go @@ -9,10 +9,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - bidder_registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/bidder_registry" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - mockevmclient "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient/mock" - "github.com/primevprotocol/mev-commit/x/util" + bidder_registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/bidder_registry" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + mockevmclient "github.com/primev/mev-commit/p2p/pkg/evmclient/mock" + "github.com/primev/mev-commit/x/util" ) func TestBidderRegistryContract(t *testing.T) { diff --git a/p2p/pkg/contracts/preconf/preconf.go b/p2p/pkg/contracts/preconf/preconf.go index 1b2374db4..2fa043648 100644 --- a/p2p/pkg/contracts/preconf/preconf.go +++ b/p2p/pkg/contracts/preconf/preconf.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" - preconfcommitmentstore "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + preconfcommitmentstore "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + "github.com/primev/mev-commit/p2p/pkg/evmclient" ) var preconfABI = func() abi.ABI { diff --git a/p2p/pkg/contracts/preconf/preconf_test.go b/p2p/pkg/contracts/preconf/preconf_test.go index 09b8ffa4f..eb8129cf2 100644 --- a/p2p/pkg/contracts/preconf/preconf_test.go +++ b/p2p/pkg/contracts/preconf/preconf_test.go @@ -8,10 +8,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - preconfcontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/preconf" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - mockevmclient "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient/mock" - "github.com/primevprotocol/mev-commit/x/util" + preconfcontract "github.com/primev/mev-commit/p2p/pkg/contracts/preconf" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + mockevmclient "github.com/primev/mev-commit/p2p/pkg/evmclient/mock" + "github.com/primev/mev-commit/x/util" ) func TestPreconfContract(t *testing.T) { diff --git a/p2p/pkg/contracts/provider_registry/registry.go b/p2p/pkg/contracts/provider_registry/registry.go index a24d57b92..edbfcd185 100644 --- a/p2p/pkg/contracts/provider_registry/registry.go +++ b/p2p/pkg/contracts/provider_registry/registry.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/primevprotocol/mev-commit/contracts-abi/clients/ProviderRegistry" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + "github.com/primev/mev-commit/contracts-abi/clients/ProviderRegistry" + "github.com/primev/mev-commit/p2p/pkg/evmclient" ) var registryABI = func() abi.ABI { diff --git a/p2p/pkg/contracts/provider_registry/registry_test.go b/p2p/pkg/contracts/provider_registry/registry_test.go index dfefc25d8..3770e0acb 100644 --- a/p2p/pkg/contracts/provider_registry/registry_test.go +++ b/p2p/pkg/contracts/provider_registry/registry_test.go @@ -9,10 +9,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/provider_registry" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - mockevmclient "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient/mock" - "github.com/primevprotocol/mev-commit/x/util" + registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/provider_registry" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + mockevmclient "github.com/primev/mev-commit/p2p/pkg/evmclient/mock" + "github.com/primev/mev-commit/x/util" ) func TestRegistryContract(t *testing.T) { diff --git a/p2p/pkg/debugapi/debugapi.go b/p2p/pkg/debugapi/debugapi.go index 32d09166f..057f9e590 100644 --- a/p2p/pkg/debugapi/debugapi.go +++ b/p2p/pkg/debugapi/debugapi.go @@ -5,10 +5,10 @@ import ( "net/http" "github.com/ethereum/go-ethereum/common" - "github.com/primevprotocol/mev-commit/p2p/pkg/apiserver" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + "github.com/primev/mev-commit/p2p/pkg/apiserver" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p" + "github.com/primev/mev-commit/p2p/pkg/topology" ) type APIServer interface { diff --git a/p2p/pkg/depositmanager/deposit.go b/p2p/pkg/depositmanager/deposit.go index fe4397f45..24d1ca0c9 100644 --- a/p2p/pkg/depositmanager/deposit.go +++ b/p2p/pkg/depositmanager/deposit.go @@ -8,9 +8,9 @@ import ( "sync/atomic" "github.com/ethereum/go-ethereum/common" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - "github.com/primevprotocol/mev-commit/x/contracts/events" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + "github.com/primev/mev-commit/x/contracts/events" "golang.org/x/sync/errgroup" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/p2p/pkg/depositmanager/deposit_test.go b/p2p/pkg/depositmanager/deposit_test.go index 5462a45c9..f63d1b8ca 100644 --- a/p2p/pkg/depositmanager/deposit_test.go +++ b/p2p/pkg/depositmanager/deposit_test.go @@ -11,12 +11,12 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - "github.com/primevprotocol/mev-commit/p2p/pkg/depositmanager" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/util" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + "github.com/primev/mev-commit/p2p/pkg/depositmanager" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/util" ) func TestDepositManager(t *testing.T) { diff --git a/p2p/pkg/discovery/discovery.go b/p2p/pkg/discovery/discovery.go index 9c83de1f1..cddb94314 100644 --- a/p2p/pkg/discovery/discovery.go +++ b/p2p/pkg/discovery/discovery.go @@ -5,8 +5,8 @@ import ( "log/slog" "github.com/ethereum/go-ethereum/common" - discoverypb "github.com/primevprotocol/mev-commit/p2p/gen/go/discovery/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + discoverypb "github.com/primev/mev-commit/p2p/gen/go/discovery/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p" "golang.org/x/sync/semaphore" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/p2p/pkg/discovery/discovery_test.go b/p2p/pkg/discovery/discovery_test.go index e9653ffac..1a6fcb297 100644 --- a/p2p/pkg/discovery/discovery_test.go +++ b/p2p/pkg/discovery/discovery_test.go @@ -11,9 +11,9 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - "github.com/primevprotocol/mev-commit/p2p/pkg/discovery" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - p2ptest "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/testing" + "github.com/primev/mev-commit/p2p/pkg/discovery" + "github.com/primev/mev-commit/p2p/pkg/p2p" + p2ptest "github.com/primev/mev-commit/p2p/pkg/p2p/testing" ) type testTopo struct { diff --git a/p2p/pkg/evmclient/evmclient.go b/p2p/pkg/evmclient/evmclient.go index 18d0823d5..be7445fab 100644 --- a/p2p/pkg/evmclient/evmclient.go +++ b/p2p/pkg/evmclient/evmclient.go @@ -13,7 +13,7 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner" + "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner" "github.com/prometheus/client_golang/prometheus" ) @@ -388,7 +388,7 @@ func (c *EvmClient) CancelTx(ctx context.Context, txnHash common.Hash) (common.H } func (c *EvmClient) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, logsCh chan<- types.Log) (ethereum.Subscription, error) { - return c.ethClient.SubscribeFilterLogs(ctx, query, logsCh) + return c.ethClient.SubscribeFilterLogs(ctx, query, logsCh) } func (c *EvmClient) BlockByNumber(ctx context.Context, blockNumber *big.Int) (*types.Block, error) { diff --git a/p2p/pkg/evmclient/evmclient_test.go b/p2p/pkg/evmclient/evmclient_test.go index 0021b70d3..d6209f98b 100644 --- a/p2p/pkg/evmclient/evmclient_test.go +++ b/p2p/pkg/evmclient/evmclient_test.go @@ -15,10 +15,10 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/rpc" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient/mockevm" - "github.com/primevprotocol/mev-commit/x/util" - mockkeysigner "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + "github.com/primev/mev-commit/p2p/pkg/evmclient/mockevm" + mockkeysigner "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/x/util" ) func TestSendCall(t *testing.T) { diff --git a/p2p/pkg/evmclient/mock/mock.go b/p2p/pkg/evmclient/mock/mock.go index 64ae9c7b2..1bdc9649b 100644 --- a/p2p/pkg/evmclient/mock/mock.go +++ b/p2p/pkg/evmclient/mock/mock.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + "github.com/primev/mev-commit/p2p/pkg/evmclient" ) type Option func(*mockEvmClient) diff --git a/p2p/pkg/evmclient/mockevm/mockevm.go b/p2p/pkg/evmclient/mockevm/mockevm.go index d56b52502..20a298720 100644 --- a/p2p/pkg/evmclient/mockevm/mockevm.go +++ b/p2p/pkg/evmclient/mockevm/mockevm.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rpc" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + "github.com/primev/mev-commit/p2p/pkg/evmclient" ) type mockEvm struct { @@ -252,4 +252,4 @@ func (m *mockEvm) FilterLogs( return m.filterLogsFunc(ctx, query) } return nil, ErrNotImplemented -} \ No newline at end of file +} diff --git a/p2p/pkg/keyexchange/keyexchange.go b/p2p/pkg/keyexchange/keyexchange.go index 1acf5feb2..cdca25c47 100644 --- a/p2p/pkg/keyexchange/keyexchange.go +++ b/p2p/pkg/keyexchange/keyexchange.go @@ -11,11 +11,11 @@ import ( "time" "github.com/ethereum/go-ethereum/crypto/ecies" - keyexchangepb "github.com/primevprotocol/mev-commit/p2p/gen/go/keyexchange/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + keyexchangepb "github.com/primev/mev-commit/p2p/gen/go/keyexchange/v1" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/signer" + "github.com/primev/mev-commit/p2p/pkg/topology" "google.golang.org/protobuf/proto" ) @@ -27,11 +27,11 @@ func New( signer signer.Signer, ) *KeyExchange { return &KeyExchange{ - topo: topo, - streamer: streamer, - keyKeeper: keyKeeper, - logger: logger, - signer: signer, + topo: topo, + streamer: streamer, + keyKeeper: keyKeeper, + logger: logger, + signer: signer, } } diff --git a/p2p/pkg/keyexchange/keyexchange_test.go b/p2p/pkg/keyexchange/keyexchange_test.go index 4f5a5b58d..dfea855bc 100644 --- a/p2p/pkg/keyexchange/keyexchange_test.go +++ b/p2p/pkg/keyexchange/keyexchange_test.go @@ -10,13 +10,13 @@ import ( "log/slog" "github.com/ethereum/go-ethereum/crypto" - "github.com/primevprotocol/mev-commit/p2p/pkg/keyexchange" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - mockkeysigner "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner/mock" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - p2ptest "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/testing" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + "github.com/primev/mev-commit/p2p/pkg/keyexchange" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + mockkeysigner "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/p2p/pkg/p2p" + p2ptest "github.com/primev/mev-commit/p2p/pkg/p2p/testing" + "github.com/primev/mev-commit/p2p/pkg/signer" + "github.com/primev/mev-commit/p2p/pkg/topology" ) type testTopology struct { diff --git a/p2p/pkg/keyexchange/models.go b/p2p/pkg/keyexchange/models.go index 2aca2cf7c..4d6dd7274 100644 --- a/p2p/pkg/keyexchange/models.go +++ b/p2p/pkg/keyexchange/models.go @@ -4,10 +4,10 @@ import ( "errors" "log/slog" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/signer" + "github.com/primev/mev-commit/p2p/pkg/topology" ) // Protocol constants. @@ -27,11 +27,11 @@ var ( // KeyExchange manages the key exchange process. type KeyExchange struct { - keyKeeper keykeeper.KeyKeeper - topo Topology - streamer p2p.Streamer - signer signer.Signer - logger *slog.Logger + keyKeeper keykeeper.KeyKeeper + topo Topology + streamer p2p.Streamer + signer signer.Signer + logger *slog.Logger } // Topology interface to get peers. diff --git a/p2p/pkg/keykeeper/keykeeper.go b/p2p/pkg/keykeeper/keykeeper.go index 814e48c36..63eec39eb 100644 --- a/p2p/pkg/keykeeper/keykeeper.go +++ b/p2p/pkg/keykeeper/keykeeper.go @@ -10,7 +10,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner" + "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner" ) // NewBaseKeyKeeper creates a new BaseKeyKeeper. diff --git a/p2p/pkg/keykeeper/models.go b/p2p/pkg/keykeeper/models.go index 03518e6da..52a2a5234 100644 --- a/p2p/pkg/keykeeper/models.go +++ b/p2p/pkg/keykeeper/models.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner" + "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner" ) type KeyKeeper interface { diff --git a/p2p/pkg/node/node.go b/p2p/pkg/node/node.go index 4080d982c..070ea103b 100644 --- a/p2p/pkg/node/node.go +++ b/p2p/pkg/node/node.go @@ -18,36 +18,36 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - preconf "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - bidderapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/apiserver" - bidder_registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/bidder_registry" - preconfcontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/preconf" - provider_registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/provider_registry" - "github.com/primevprotocol/mev-commit/p2p/pkg/debugapi" - "github.com/primevprotocol/mev-commit/p2p/pkg/depositmanager" - "github.com/primevprotocol/mev-commit/p2p/pkg/discovery" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - "github.com/primevprotocol/mev-commit/p2p/pkg/keyexchange" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/preconfirmation" - preconftracker "github.com/primevprotocol/mev-commit/p2p/pkg/preconfirmation/tracker" - bidderapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/bidder" - providerapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/provider" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer/preconfencryptor" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/contracts/events/publisher" - "github.com/primevprotocol/mev-commit/x/contracts/txmonitor" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + preconf "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + bidderapiv1 "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/p2p/pkg/apiserver" + bidder_registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/bidder_registry" + preconfcontract "github.com/primev/mev-commit/p2p/pkg/contracts/preconf" + provider_registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/provider_registry" + "github.com/primev/mev-commit/p2p/pkg/debugapi" + "github.com/primev/mev-commit/p2p/pkg/depositmanager" + "github.com/primev/mev-commit/p2p/pkg/discovery" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + "github.com/primev/mev-commit/p2p/pkg/keyexchange" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p" + "github.com/primev/mev-commit/p2p/pkg/preconfirmation" + preconftracker "github.com/primev/mev-commit/p2p/pkg/preconfirmation/tracker" + bidderapi "github.com/primev/mev-commit/p2p/pkg/rpc/bidder" + providerapi "github.com/primev/mev-commit/p2p/pkg/rpc/provider" + "github.com/primev/mev-commit/p2p/pkg/signer" + "github.com/primev/mev-commit/p2p/pkg/signer/preconfencryptor" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/p2p/pkg/topology" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/contracts/events/publisher" + "github.com/primev/mev-commit/x/contracts/txmonitor" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials" diff --git a/p2p/pkg/p2p/libp2p/blocklister.go b/p2p/pkg/p2p/libp2p/blocklister.go index b553c2dc0..88c45d2ed 100644 --- a/p2p/pkg/p2p/libp2p/blocklister.go +++ b/p2p/pkg/p2p/libp2p/blocklister.go @@ -4,7 +4,7 @@ import ( "time" core "github.com/libp2p/go-libp2p/core" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p" ) type blockInfo struct { diff --git a/p2p/pkg/p2p/libp2p/export_test.go b/p2p/pkg/p2p/libp2p/export_test.go index 927f32f4b..47c55144a 100644 --- a/p2p/pkg/p2p/libp2p/export_test.go +++ b/p2p/pkg/p2p/libp2p/export_test.go @@ -2,7 +2,7 @@ package libp2p import ( "github.com/libp2p/go-libp2p/core/peer" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p" ) var ( diff --git a/p2p/pkg/p2p/libp2p/internal/handshake/handshake.go b/p2p/pkg/p2p/libp2p/internal/handshake/handshake.go index ad4c91ec8..ee62bd2a4 100644 --- a/p2p/pkg/p2p/libp2p/internal/handshake/handshake.go +++ b/p2p/pkg/p2p/libp2p/internal/handshake/handshake.go @@ -11,10 +11,10 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/libp2p/go-libp2p/core" "github.com/libp2p/go-libp2p/core/protocol" - handshakepb "github.com/primevprotocol/mev-commit/p2p/gen/go/handshake/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" + handshakepb "github.com/primev/mev-commit/p2p/gen/go/handshake/v1" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/signer" ) const ( diff --git a/p2p/pkg/p2p/libp2p/internal/handshake/handshake_test.go b/p2p/pkg/p2p/libp2p/internal/handshake/handshake_test.go index e4fa1eb21..366e5e3ee 100644 --- a/p2p/pkg/p2p/libp2p/internal/handshake/handshake_test.go +++ b/p2p/pkg/p2p/libp2p/internal/handshake/handshake_test.go @@ -9,11 +9,11 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/libp2p/go-libp2p/core" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - mockkeysigner "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner/mock" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p/internal/handshake" - p2ptest "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/testing" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + mockkeysigner "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p/internal/handshake" + p2ptest "github.com/primev/mev-commit/p2p/pkg/p2p/testing" ) type testRegister struct{} diff --git a/p2p/pkg/p2p/libp2p/libp2p.go b/p2p/pkg/p2p/libp2p/libp2p.go index edeb5e714..52b522065 100644 --- a/p2p/pkg/p2p/libp2p/libp2p.go +++ b/p2p/pkg/p2p/libp2p/libp2p.go @@ -13,8 +13,8 @@ import ( "github.com/Masterminds/semver/v3" ma "github.com/multiformats/go-multiaddr" madns "github.com/multiformats/go-multiaddr-dns" - "github.com/primevprotocol/mev-commit/x/util" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/x/util" "google.golang.org/grpc/status" "github.com/ethereum/go-ethereum/common" @@ -28,9 +28,9 @@ import ( "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem" rcmgr "github.com/libp2p/go-libp2p/p2p/host/resource-manager" connmgr "github.com/libp2p/go-libp2p/p2p/net/connmgr" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p/internal/handshake" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p/internal/handshake" + "github.com/primev/mev-commit/p2p/pkg/signer" "github.com/prometheus/client_golang/prometheus" ) diff --git a/p2p/pkg/p2p/libp2p/libp2p_test.go b/p2p/pkg/p2p/libp2p/libp2p_test.go index 9d7c14f8c..0f6929120 100644 --- a/p2p/pkg/p2p/libp2p/libp2p_test.go +++ b/p2p/pkg/p2p/libp2p/libp2p_test.go @@ -13,10 +13,10 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/libp2p/go-libp2p/core/peer" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - mockkeysigner "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner/mock" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + mockkeysigner "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/p2p/pkg/p2p/libp2p/peers.go b/p2p/pkg/p2p/libp2p/peers.go index b1edad20a..dd379dbca 100644 --- a/p2p/pkg/p2p/libp2p/peers.go +++ b/p2p/pkg/p2p/libp2p/peers.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" core "github.com/libp2p/go-libp2p/core" "github.com/libp2p/go-libp2p/core/network" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p" ) type peerRegistry struct { diff --git a/p2p/pkg/p2p/libp2p/stream.go b/p2p/pkg/p2p/libp2p/stream.go index a3c39b992..cdfc5465e 100644 --- a/p2p/pkg/p2p/libp2p/stream.go +++ b/p2p/pkg/p2p/libp2p/stream.go @@ -6,8 +6,8 @@ import ( "io" "github.com/libp2p/go-msgio" - streammsgv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/streammsg/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + streammsgv1 "github.com/primev/mev-commit/p2p/gen/go/streammsg/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" ) diff --git a/p2p/pkg/p2p/libp2p/stream_test.go b/p2p/pkg/p2p/libp2p/stream_test.go index 7934d5583..fcf1e8d3c 100644 --- a/p2p/pkg/p2p/libp2p/stream_test.go +++ b/p2p/pkg/p2p/libp2p/stream_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - streammsgv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/streammsg/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/libp2p" + streammsgv1 "github.com/primev/mev-commit/p2p/gen/go/streammsg/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p/libp2p" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/p2p/pkg/p2p/p2p.go b/p2p/pkg/p2p/p2p.go index bfa05c8eb..b8db2b547 100644 --- a/p2p/pkg/p2p/p2p.go +++ b/p2p/pkg/p2p/p2p.go @@ -10,7 +10,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/structpb" diff --git a/p2p/pkg/p2p/testing/p2p.go b/p2p/pkg/p2p/testing/p2p.go index 54686f2dc..a558819e8 100644 --- a/p2p/pkg/p2p/testing/p2p.go +++ b/p2p/pkg/p2p/testing/p2p.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p" "google.golang.org/protobuf/proto" ) diff --git a/p2p/pkg/preconfirmation/preconfirmation.go b/p2p/pkg/preconfirmation/preconfirmation.go index 7b711eb52..fd1ef9d91 100644 --- a/p2p/pkg/preconfirmation/preconfirmation.go +++ b/p2p/pkg/preconfirmation/preconfirmation.go @@ -8,13 +8,13 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - providerapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/provider" - encryptor "github.com/primevprotocol/mev-commit/p2p/pkg/signer/preconfencryptor" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p" + providerapi "github.com/primev/mev-commit/p2p/pkg/rpc/provider" + encryptor "github.com/primev/mev-commit/p2p/pkg/signer/preconfencryptor" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/p2p/pkg/topology" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/p2p/pkg/preconfirmation/preconfirmation_test.go b/p2p/pkg/preconfirmation/preconfirmation_test.go index ca4d49e65..9599d870f 100644 --- a/p2p/pkg/preconfirmation/preconfirmation_test.go +++ b/p2p/pkg/preconfirmation/preconfirmation_test.go @@ -13,14 +13,14 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto/ecies" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - p2ptest "github.com/primevprotocol/mev-commit/p2p/pkg/p2p/testing" - "github.com/primevprotocol/mev-commit/p2p/pkg/preconfirmation" - providerapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/provider" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p" + p2ptest "github.com/primev/mev-commit/p2p/pkg/p2p/testing" + "github.com/primev/mev-commit/p2p/pkg/preconfirmation" + providerapi "github.com/primev/mev-commit/p2p/pkg/rpc/provider" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/p2p/pkg/topology" ) type testTopo struct { diff --git a/p2p/pkg/preconfirmation/tracker/tracker.go b/p2p/pkg/preconfirmation/tracker/tracker.go index c39c90b46..7f822f61c 100644 --- a/p2p/pkg/preconfirmation/tracker/tracker.go +++ b/p2p/pkg/preconfirmation/tracker/tracker.go @@ -7,12 +7,12 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - preconfcommstore "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/contracts/txmonitor" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + preconfcommstore "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/contracts/txmonitor" "golang.org/x/sync/errgroup" ) diff --git a/p2p/pkg/preconfirmation/tracker/tracker_test.go b/p2p/pkg/preconfirmation/tracker/tracker_test.go index 324711955..9bcaaf4c0 100644 --- a/p2p/pkg/preconfirmation/tracker/tracker_test.go +++ b/p2p/pkg/preconfirmation/tracker/tracker_test.go @@ -15,15 +15,15 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - blocktracker "github.com/primevprotocol/mev-commit/contracts-abi/clients/BlockTracker" - preconf "github.com/primevprotocol/mev-commit/contracts-abi/clients/PreConfCommitmentStore" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - preconftracker "github.com/primevprotocol/mev-commit/p2p/pkg/preconfirmation/tracker" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" - "github.com/primevprotocol/mev-commit/x/contracts/events" - "github.com/primevprotocol/mev-commit/x/contracts/txmonitor" - "github.com/primevprotocol/mev-commit/x/util" + blocktracker "github.com/primev/mev-commit/contracts-abi/clients/BlockTracker" + preconf "github.com/primev/mev-commit/contracts-abi/clients/PreConfCommitmentStore" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + "github.com/primev/mev-commit/p2p/pkg/p2p" + preconftracker "github.com/primev/mev-commit/p2p/pkg/preconfirmation/tracker" + "github.com/primev/mev-commit/p2p/pkg/store" + "github.com/primev/mev-commit/x/contracts/events" + "github.com/primev/mev-commit/x/contracts/txmonitor" + "github.com/primev/mev-commit/x/util" ) func TestTracker(t *testing.T) { diff --git a/p2p/pkg/rpc/bidder/service.go b/p2p/pkg/rpc/bidder/service.go index 17ee077ed..c47f696a3 100644 --- a/p2p/pkg/rpc/bidder/service.go +++ b/p2p/pkg/rpc/bidder/service.go @@ -11,9 +11,9 @@ import ( "github.com/bufbuild/protovalidate-go" "github.com/ethereum/go-ethereum/common" - bidderapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" - preconfirmationv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/bidder_registry" + bidderapiv1 "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" + preconfirmationv1 "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/bidder_registry" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/wrapperspb" diff --git a/p2p/pkg/rpc/bidder/service_test.go b/p2p/pkg/rpc/bidder/service_test.go index d8dcc793f..5ecd644ec 100644 --- a/p2p/pkg/rpc/bidder/service_test.go +++ b/p2p/pkg/rpc/bidder/service_test.go @@ -13,10 +13,10 @@ import ( "github.com/bufbuild/protovalidate-go" "github.com/ethereum/go-ethereum/common" - bidderapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/bidderapi/v1" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - bidderapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/bidder" - "github.com/primevprotocol/mev-commit/x/util" + bidderapiv1 "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + bidderapi "github.com/primev/mev-commit/p2p/pkg/rpc/bidder" + "github.com/primev/mev-commit/x/util" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/test/bufconn" diff --git a/p2p/pkg/rpc/provider/service.go b/p2p/pkg/rpc/provider/service.go index 29c8666d7..f9899d46d 100644 --- a/p2p/pkg/rpc/provider/service.go +++ b/p2p/pkg/rpc/provider/service.go @@ -12,10 +12,10 @@ import ( "github.com/bufbuild/protovalidate-go" "github.com/ethereum/go-ethereum/common" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - registrycontract "github.com/primevprotocol/mev-commit/p2p/pkg/contracts/provider_registry" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + registrycontract "github.com/primev/mev-commit/p2p/pkg/contracts/provider_registry" + "github.com/primev/mev-commit/p2p/pkg/evmclient" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/p2p/pkg/rpc/provider/service_test.go b/p2p/pkg/rpc/provider/service_test.go index 2e61ca996..780a877cd 100644 --- a/p2p/pkg/rpc/provider/service_test.go +++ b/p2p/pkg/rpc/provider/service_test.go @@ -11,11 +11,11 @@ import ( "github.com/bufbuild/protovalidate-go" "github.com/ethereum/go-ethereum/common" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - providerapiv1 "github.com/primevprotocol/mev-commit/p2p/gen/go/providerapi/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/evmclient" - providerapi "github.com/primevprotocol/mev-commit/p2p/pkg/rpc/provider" - "github.com/primevprotocol/mev-commit/x/util" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + providerapiv1 "github.com/primev/mev-commit/p2p/gen/go/providerapi/v1" + "github.com/primev/mev-commit/p2p/pkg/evmclient" + providerapi "github.com/primev/mev-commit/p2p/pkg/rpc/provider" + "github.com/primev/mev-commit/x/util" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/test/bufconn" diff --git a/p2p/pkg/signer/preconfencryptor/encryptor.go b/p2p/pkg/signer/preconfencryptor/encryptor.go index 6b530f305..81504044a 100644 --- a/p2p/pkg/signer/preconfencryptor/encryptor.go +++ b/p2p/pkg/signer/preconfencryptor/encryptor.go @@ -12,8 +12,8 @@ import ( "github.com/ethereum/go-ethereum/common/math" "github.com/ethereum/go-ethereum/crypto" lru "github.com/hashicorp/golang-lru/v2" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" ) var ( diff --git a/p2p/pkg/signer/preconfencryptor/encryptor_test.go b/p2p/pkg/signer/preconfencryptor/encryptor_test.go index 32cb6b235..44d43de67 100644 --- a/p2p/pkg/signer/preconfencryptor/encryptor_test.go +++ b/p2p/pkg/signer/preconfencryptor/encryptor_test.go @@ -6,10 +6,10 @@ import ( "time" "github.com/ethereum/go-ethereum/crypto" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper" - mockkeysigner "github.com/primevprotocol/mev-commit/p2p/pkg/keykeeper/keysigner/mock" - "github.com/primevprotocol/mev-commit/p2p/pkg/signer/preconfencryptor" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + "github.com/primev/mev-commit/p2p/pkg/keykeeper" + mockkeysigner "github.com/primev/mev-commit/p2p/pkg/keykeeper/keysigner/mock" + "github.com/primev/mev-commit/p2p/pkg/signer/preconfencryptor" "github.com/stretchr/testify/assert" ) diff --git a/p2p/pkg/signer/preconfencryptor/export_test.go b/p2p/pkg/signer/preconfencryptor/export_test.go index ee6631133..e08290534 100644 --- a/p2p/pkg/signer/preconfencryptor/export_test.go +++ b/p2p/pkg/signer/preconfencryptor/export_test.go @@ -5,7 +5,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" ) var EIPVerify = eipVerify diff --git a/p2p/pkg/store/store.go b/p2p/pkg/store/store.go index d6db21054..fbb4799de 100644 --- a/p2p/pkg/store/store.go +++ b/p2p/pkg/store/store.go @@ -9,7 +9,7 @@ import ( "github.com/armon/go-radix" "github.com/ethereum/go-ethereum/common" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" ) var ( diff --git a/p2p/pkg/store/store_test.go b/p2p/pkg/store/store_test.go index 58e64fd9a..ae25270c6 100644 --- a/p2p/pkg/store/store_test.go +++ b/p2p/pkg/store/store_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" - preconfpb "github.com/primevprotocol/mev-commit/p2p/gen/go/preconfirmation/v1" - "github.com/primevprotocol/mev-commit/p2p/pkg/store" + preconfpb "github.com/primev/mev-commit/p2p/gen/go/preconfirmation/v1" + "github.com/primev/mev-commit/p2p/pkg/store" ) func TestStore(t *testing.T) { diff --git a/p2p/pkg/topology/topology.go b/p2p/pkg/topology/topology.go index 3dd54beae..093126c95 100644 --- a/p2p/pkg/topology/topology.go +++ b/p2p/pkg/topology/topology.go @@ -6,7 +6,7 @@ import ( "sync" "github.com/ethereum/go-ethereum/common" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/p2p" ) type Query struct { diff --git a/p2p/pkg/topology/topology_test.go b/p2p/pkg/topology/topology_test.go index 2143ce5ae..75dede7fe 100644 --- a/p2p/pkg/topology/topology_test.go +++ b/p2p/pkg/topology/topology_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" - "github.com/primevprotocol/mev-commit/p2p/pkg/p2p" - "github.com/primevprotocol/mev-commit/p2p/pkg/topology" + "github.com/primev/mev-commit/p2p/pkg/p2p" + "github.com/primev/mev-commit/p2p/pkg/topology" ) type testAddressbook struct{} diff --git a/p2p/rpc/bidderapi/v1/bidderapi.proto b/p2p/rpc/bidderapi/v1/bidderapi.proto index 659298b71..5d835c5ac 100644 --- a/p2p/rpc/bidderapi/v1/bidderapi.proto +++ b/p2p/rpc/bidderapi/v1/bidderapi.proto @@ -13,7 +13,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { version: "1.0.0-alpha"; license: { name: "Business Source License 1.1"; - url: "https://github.com/primevprotocol/mev-commit/blob/main/LICENSE"; + url: "https://github.com/primev/mev-commit/blob/main/LICENSE"; }; }; }; diff --git a/p2p/rpc/buf.gen.yaml b/p2p/rpc/buf.gen.yaml index 55fae8dcf..7af573a75 100644 --- a/p2p/rpc/buf.gen.yaml +++ b/p2p/rpc/buf.gen.yaml @@ -2,7 +2,7 @@ version: v1 managed: enabled: true go_package_prefix: - default: github.com/primevprotocol/mev-commit/gen/go + default: github.com/primev/mev-commit/p2p/gen/go except: - buf.build/bufbuild/protovalidate - buf.build/googleapis/googleapis diff --git a/p2p/rpc/providerapi/v1/providerapi.proto b/p2p/rpc/providerapi/v1/providerapi.proto index dfd2c5704..c0afae50d 100644 --- a/p2p/rpc/providerapi/v1/providerapi.proto +++ b/p2p/rpc/providerapi/v1/providerapi.proto @@ -12,7 +12,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { version: "1.0.0-alpha"; license: { name: "Business Source License 1.1"; - url: "https://github.com/primevprotocol/mev-commit/blob/main/LICENSE"; + url: "https://github.com/primev/mev-commit/blob/main/LICENSE"; }; }; }; diff --git a/x/contracts/events/events_test.go b/x/contracts/events/events_test.go index 2a18acef3..234b9702f 100644 --- a/x/contracts/events/events_test.go +++ b/x/contracts/events/events_test.go @@ -12,8 +12,8 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - bidderregistry "github.com/primevprotocol/mev-commit/contracts-abi/clients/BidderRegistry" - "github.com/primevprotocol/mev-commit/x/util" + bidderregistry "github.com/primev/mev-commit/contracts-abi/clients/BidderRegistry" + "github.com/primev/mev-commit/x/util" ) func TestEventHandler(t *testing.T) { diff --git a/x/contracts/events/publisher/http_test.go b/x/contracts/events/publisher/http_test.go index a29efe92d..cf615e492 100644 --- a/x/contracts/events/publisher/http_test.go +++ b/x/contracts/events/publisher/http_test.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/google/go-cmp/cmp" - "github.com/primevprotocol/mev-commit/x/contracts/events/publisher" - "github.com/primevprotocol/mev-commit/x/util" + "github.com/primev/mev-commit/x/contracts/events/publisher" + "github.com/primev/mev-commit/x/util" ) func TestHTTPPublisher(t *testing.T) { diff --git a/x/contracts/events/publisher/ws_test.go b/x/contracts/events/publisher/ws_test.go index 3bbc02269..b4dd29946 100644 --- a/x/contracts/events/publisher/ws_test.go +++ b/x/contracts/events/publisher/ws_test.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/google/go-cmp/cmp" - "github.com/primevprotocol/mev-commit/x/contracts/events/publisher" - "github.com/primevprotocol/mev-commit/x/util" + "github.com/primev/mev-commit/x/contracts/events/publisher" + "github.com/primev/mev-commit/x/util" ) func TestWSPublisher(t *testing.T) { diff --git a/x/contracts/transactor/transactor_test.go b/x/contracts/transactor/transactor_test.go index d4b150f86..257a1de5d 100644 --- a/x/contracts/transactor/transactor_test.go +++ b/x/contracts/transactor/transactor_test.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/primevprotocol/mev-commit/x/contracts/transactor" + "github.com/primev/mev-commit/x/contracts/transactor" ) func TestTrasactor(t *testing.T) { diff --git a/x/contracts/txmonitor/txmonitor_test.go b/x/contracts/txmonitor/txmonitor_test.go index d33defcdd..b08494345 100644 --- a/x/contracts/txmonitor/txmonitor_test.go +++ b/x/contracts/txmonitor/txmonitor_test.go @@ -12,8 +12,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/primevprotocol/mev-commit/x/contracts/txmonitor" - "github.com/primevprotocol/mev-commit/x/util" + "github.com/primev/mev-commit/x/contracts/txmonitor" + "github.com/primev/mev-commit/x/util" ) func TestTxMonitor(t *testing.T) { diff --git a/x/go.mod b/x/go.mod index 214410de6..fba43ce9f 100644 --- a/x/go.mod +++ b/x/go.mod @@ -1,11 +1,11 @@ -module github.com/primevprotocol/mev-commit/x +module github.com/primev/mev-commit/x go 1.22 require ( github.com/ethereum/go-ethereum v1.13.14 github.com/google/go-cmp v0.5.9 - github.com/primevprotocol/mev-commit/contracts-abi v0.0.1 + github.com/primev/mev-commit/contracts-abi v0.0.1 ) require ( @@ -38,4 +38,4 @@ require ( rsc.io/tmplfunc v0.0.3 // indirect ) -replace github.com/primevprotocol/mev-commit/contracts-abi => ../contracts-abi +replace github.com/primev/mev-commit/contracts-abi => ../contracts-abi