Skip to content

Commit

Permalink
refactor: rename repository (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored May 16, 2024
1 parent cc9c314 commit cff5c34
Show file tree
Hide file tree
Showing 119 changed files with 440 additions and 437 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/openzeppelin/openzeppelin-contracts
[submodule "external/geth"]
path = external/geth
url = [email protected]:primevprotocol/mev-commit-geth.git
url = [email protected]: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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]:primevprotocol/mev-commit.git|https://github.com/primevprotocol/monorepo.git>
git clone --recurse-submodules <[email protected]:primev/mev-commit.git|https://github.com/primev/mev-commit.git>
```

If you have already cloned the repository and need to update the submodules, run the following command:
Expand Down
6 changes: 3 additions & 3 deletions bridge/hyperlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion bridge/hyperlane/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions bridge/hyperlane/hyperlane-deployer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bridge/standard/bridge-v1/cmd/relayer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 3 additions & 3 deletions bridge/standard/bridge-v1/cmd/user_cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/emulator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions bridge/standard/bridge-v1/emulator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions bridge/standard/bridge-v1/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/pkg/relayer/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions bridge/standard/bridge-v1/pkg/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/pkg/relayer/transactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/pkg/shared/l1filterer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion bridge/standard/bridge-v1/pkg/shared/settlementfilterer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions bridge/standard/bridge-v1/pkg/transfer/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion contracts-abi/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/primevprotocol/mev-commit/contracts-abi
module github.com/primev/mev-commit/contracts-abi

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions contracts/scripts/DeployScripts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}

Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions contracts/scripts/DeployStandardBridge.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion external/geth
2 changes: 1 addition & 1 deletion infrastructure/nomad/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions oracle/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion oracle/Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
6 changes: 3 additions & 3 deletions oracle/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
10 changes: 5 additions & 5 deletions oracle/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/primevprotocol/mev-commit/oracle
module github.com/primev/mev-commit/oracle

go 1.22

Expand All @@ -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
Expand Down Expand Up @@ -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
)
4 changes: 2 additions & 2 deletions oracle/pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions oracle/pkg/apiserver/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions oracle/pkg/l1Listener/l1Listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
8 changes: 4 additions & 4 deletions oracle/pkg/l1Listener/l1Listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading

0 comments on commit cff5c34

Please sign in to comment.