Skip to content

Commit

Permalink
feat: add support for legacy bridge operator key (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
minh-bq authored Apr 3, 2023
1 parent 1b27906 commit 4bfcaa1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ type Listener interface {

IsUpTodate() bool

GetValidatorSign() utils.ISign
GetBridgeOperatorSign() utils.ISign
GetVoterSign() utils.ISign
GetRelayerSign() utils.ISign
GetLegacyBridgeOperatorSign() utils.ISign

AddListeners(map[string]Listener)

Expand Down Expand Up @@ -184,9 +185,10 @@ type LsConfig struct {
}

type Secret struct {
Validator *utils.SignMethodConfig `json:"validator"`
Voter *utils.SignMethodConfig `json:"voter"`
Relayer *utils.SignMethodConfig `json:"relayer"`
BridgeOperator *utils.SignMethodConfig `json:"bridgeOperator"`
Voter *utils.SignMethodConfig `json:"voter"`
Relayer *utils.SignMethodConfig `json:"relayer"`
LegacyBridgeOperator *utils.SignMethodConfig `json:"legacyBridgeOperator"`
}

type Subscribe struct {
Expand Down

0 comments on commit 4bfcaa1

Please sign in to comment.