Skip to content

Commit

Permalink
fix rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
fyInALT committed Apr 2, 2024
1 parent 25c5411 commit d8f6d4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: "3"

networks:
mach-avs-network:
name: mach-avs-network
name: mach-avs-network-devnet
driver: bridge

services:
Expand Down
2 changes: 1 addition & 1 deletion operator/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (c *AggregatorRpcClient) InitOperatorToAggregator() error {
c.logger.Info("Create task header to aggregator", "req", fmt.Sprintf("%#v", req))

for i := 0; i < 5; i++ {
err := c.rpcClient.Call("Aggregator.CreateTask", req, &reply)
err := c.rpcClient.Call("Aggregator.InitOperator", req, &reply)
if err != nil {
c.logger.Info("Received error from aggregator", "err", err)
if strings.Contains(err.Error(), "already finished") {
Expand Down
8 changes: 7 additions & 1 deletion ops/configs/operator-docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ enable_node_api: true
avs_registry_coordinator_address: 0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9
operator_state_retriever_address: 0x0E801D84Fa97b50751Dbf25036d067dCf18858bF

operator_server_ip_port_addr: 0.0.0.0:8091
operator_server_ip_port_addr: 0.0.0.0:8091

# the layer1 chain id the avs contracts in
layer1_chain_id: 31337

# the layer2 chain id
layer2_chain_id: 20240219

0 comments on commit d8f6d4c

Please sign in to comment.