Skip to content

Commit

Permalink
fix: reference grpc bidder api directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-Kim2028 committed Jan 13, 2025
1 parent e6344e8 commit 83f0b9d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 3,085 deletions.
1,820 changes: 0 additions & 1,820 deletions internal/bidderpb/bidderapi.pb.go

This file was deleted.

790 changes: 0 additions & 790 deletions internal/bidderpb/bidderapi.pb.gw.go

This file was deleted.

469 changes: 0 additions & 469 deletions internal/bidderpb/bidderapi_grpc.pb.go

This file was deleted.

2 changes: 1 addition & 1 deletion internal/mevcommit/bidderapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"log/slog"

"github.com/ethereum/go-ethereum/core/types"
pb "github.com/primev/preconf_blob_bidder/internal/bidderpb"
pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1"
)

// Initialize the logger with JSON format.
Expand Down
2 changes: 1 addition & 1 deletion internal/mevcommit/bidderapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/ethereum/go-ethereum/core/types"
pb "github.com/primev/preconf_blob_bidder/internal/bidderpb"
pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"google.golang.org/grpc/metadata"
Expand Down
2 changes: 1 addition & 1 deletion internal/mevcommit/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"math"
"time"

pb "github.com/primev/preconf_blob_bidder/internal/bidderpb"
pb "github.com/primev/mev-commit/p2p/gen/go/bidderapi/v1"
"google.golang.org/grpc"

"github.com/ethereum/go-ethereum"
Expand Down
3 changes: 1 addition & 2 deletions internal/mevcommit/contracts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Package mevcommit provides functionality for interacting with the mev-commit protocol,
// including managing bids, deposits, withdrawals, and event listeners on the Ethereum blockchain.
// Currently this package is not being used for anything. Leaving in to save the code, but this code has no dependencies on the functionality of the rest of the code.
package mevcommit

import (
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func main() {
var blockNumber uint64
if numBlob == 0 {
// Perform ETH Transfer
amount := big.NewInt(1e15)
amount := big.NewInt(1e9)
signedTx, blockNumber, err = ee.SelfETHTransfer(wsClient, authAcct, amount, offset, big.NewInt(int64(priorityFee)))
} else {
// Execute Blob Transaction
Expand Down

0 comments on commit 83f0b9d

Please sign in to comment.