-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add TONService to Relayer interface #1298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
if tonService, ok := r.(types.TONService); ok { | ||
tonpb.RegisterTONServer(s, newTONServer(tonService, p.BrokerExt)) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Retention time.Duration | ||
} | ||
|
||
type Log struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QQ: Would it be possible to import from logpoller pkg once it has solid types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! left a comments
if k.evmRelayerSetClient == nil { | ||
return nil, errors.New("evmRelayerSetClient can't be nil") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if k.evmRelayerSetClient == nil { | |
return nil, errors.New("evmRelayerSetClient can't be nil") | |
} | |
if k.tonRelayerSetClient == nil { | |
return nil, errors.New("tonRelayerSetClient can't be nil") | |
} |
NONEVM-2045
This PR introduces a
TONService
interface to encapsulate TON-specific functionality and updates theRelayer
interface to return aTONService
implementation.