Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
makes significant changes to naming conventions. (#53)
Browse files Browse the repository at this point in the history
* makes significant changes to naming conventions.

* Adds new structure for packages.

* Fix merge conflict issue in readme.

* Updated preconfimration struct field names.

* Removed unused HexEncode.

* Updates preconf to flat structure.

* resolve issues from conflict.

---------

Co-authored-by: Kartik Chopra <[email protected]>
  • Loading branch information
ckartik and ckartik authored Oct 13, 2023
1 parent bcddf8e commit 81e70ee
Show file tree
Hide file tree
Showing 15 changed files with 316 additions and 292 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ OPTIONS:
}
}
```

## Sending bids as a Searcher
To send bids, you can use an gRPC api that is availible to searcher nodes.
Upon running this service, searcher nodes will have access to the following:
Expand Down Expand Up @@ -101,6 +100,7 @@ By default, the docker setup exposes port `13524`, which is the standard port on

## Commitments from Builders
To recieve commitments from builders, the builder-mev-node needs to have a running service that connects to the RPC endpoints and connects to the following functions:

```protobuf
// ReceiveBids is called by the builder to receive bids from the mev-commit node.
// The mev-commit node will stream bids to the builder.
Expand All @@ -111,6 +111,7 @@ To recieve commitments from builders, the builder-mev-node needs to have a runni
```


## Building Docker Image

To simplify the deployment process, you may utilize Docker to create an isolated environment to run mev-commit.
Expand All @@ -131,4 +132,4 @@ To simplify the deployment process, you may utilize Docker to create an isolated

```
docker-compose down
```
```
4 changes: 2 additions & 2 deletions examples/builderemulator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func main() {
}
logger.Info("received new bid", "bid", bid)
err := builderClient.SendBidResponse(context.Background(), &builderapiv1.BidResponse{
BidHash: bid.BidHash,
Status: builderapiv1.BidResponse_STATUS_ACCEPTED,
BidDigest: bid.BidDigest,
Status: builderapiv1.BidResponse_STATUS_ACCEPTED,
})
if err != nil {
logger.Error("failed to send bid response", "error", err)
Expand Down
99 changes: 50 additions & 49 deletions gen/go/rpc/builderapi/v1/builderapi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 81e70ee

Please sign in to comment.