-
Notifications
You must be signed in to change notification settings - Fork 715
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
Add constructors to the SDK #2477
Conversation
} | ||
|
||
func (t ThrottlerHandler) CrossChainAppRequest(ctx context.Context, chainID ids.ID, deadline time.Time, requestBytes []byte) ([]byte, error) { | ||
return t.handler.CrossChainAppRequest(ctx, chainID, deadline, requestBytes) |
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.
I guess we don't want to handle this case?
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.
Yeah... this is the same behavior as before but my thought was that it didn't make sense to throttle messages from ourselves. I think we should probably still throttle anyways, but probably in a future PR. Currently nothing is using this.
654fab9
to
c8171f3
Compare
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
c8171f3
to
2524339
Compare
Why this should be merged
Gets rid of issues with nil pointers
How this works
Adds constructor functions
How this was tested
CI