Skip to content

Commit

Permalink
Fix RPC URLs not being populated on attestor (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyodar authored Apr 29, 2024
1 parent 67110e6 commit fdb90bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions operator/attestor/attestor.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func NewAttestor(config *optypes.NodeConfig, blsKeypair *bls.KeyPair, operatorId

attestor := Attestor{
signedRootC: make(chan messages.SignedStateRootUpdateMessage),
rollupIdsToUrls: make(map[uint32]string),
clients: make(map[uint32]eth.Client),
rpcCallsCollectors: make(map[uint32]*rpccalls.Collector),
logger: logger,
Expand All @@ -96,6 +97,8 @@ func NewAttestor(config *optypes.NodeConfig, blsKeypair *bls.KeyPair, operatorId
return nil, err
}

attestor.rollupIdsToUrls[rollupId] = url

attestor.clients[rollupId] = client
attestor.rpcCallsCollectors[rollupId] = rpcCallsCollector
}
Expand Down

0 comments on commit fdb90bd

Please sign in to comment.