Skip to content

Commit 05594c5

Browse files
committed
Revert "feat: add LoadContract gRPC endpoint"
This reverts commit 6202d4b.
1 parent 71260d3 commit 05594c5

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

protos/eigenlayer/sidecar/v1/sidecar/rpc.proto

-7
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,4 @@ service Rpc {
2626
get: "/rpc/v1/about"
2727
};
2828
}
29-
30-
rpc LoadContract(LoadContractRequest) returns (LoadContractResponse) {
31-
option (google.api.http) = {
32-
post: "/rpc/v1/load-contract"
33-
body: "*"
34-
};
35-
}
3629
}

protos/eigenlayer/sidecar/v1/sidecar/sidecar.proto

-26
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,3 @@ message AboutResponse {
3333
string chain = 3;
3434
}
3535

36-
message LoadContractRequest {
37-
string address = 1;
38-
// ABI of the contract in JSON format
39-
string abi = 2;
40-
// Bytecode hash of the contract (optional, will be fetched if not provided)
41-
string bytecode_hash = 3;
42-
// Block number for proxy association (required if associate_to_proxy is set)
43-
uint64 block_number = 4;
44-
// Address of the proxy contract to associate with (optional)
45-
string associate_to_proxy = 5;
46-
// Whether to load from a batch file (mutually exclusive with other fields)
47-
bool batch = 6;
48-
// Path to the batch file (required if batch is true)
49-
string from_file = 7;
50-
}
51-
52-
message LoadContractResponse {
53-
// Address of the loaded contract
54-
string address = 1;
55-
// Whether the operation was successful
56-
bool success = 2;
57-
// Error message if the operation failed
58-
string error = 3;
59-
// Number of contracts loaded if batch mode was used
60-
uint32 contracts_loaded = 4;
61-
}

0 commit comments

Comments
 (0)