Skip to content

Commit

Permalink
[BCI-3438] Add stub method for chainwriter on relayer (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcorin authored Jun 28, 2024
1 parent b1184b3 commit 73a2c3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/solana/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ func (r *Relayer) NewConfigProvider(args relaytypes.RelayArgs) (relaytypes.Confi
return configWatcher, err
}

func (r *Relayer) NewChainWriter(_ []byte) (relaytypes.ChainWriter, error) {
return nil, errors.New("chain writer is not supported for solana")
}

func (r *Relayer) NewContractReader(_ []byte) (relaytypes.ContractReader, error) {
return nil, errors.New("contract reader is not supported for solana")
}
Expand Down

0 comments on commit 73a2c3b

Please sign in to comment.