Skip to content

Use context appropriately #16

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

Merged
merged 2 commits into from
Mar 21, 2025

Conversation

abicky
Copy link
Contributor

@abicky abicky commented Mar 14, 2025

This is the subsequent PR of #15 and replaces context.TODO() with an appropriate context.

abicky added 2 commits March 14, 2025 19:09
Signed-off-by: Takeshi Arabiki <[email protected]>
Signed-off-by: Takeshi Arabiki <[email protected]>
@abicky abicky requested review from dai1975 and siburu March 17, 2025 02:06
@abicky abicky self-assigned this Mar 17, 2025
if err != nil {
return nil, nil, err
}
extra, err := parseExtraData(header.Extra)
if err != nil {
return nil, nil, err
}
proof, err := pr.chain.Client().GetProof(pr.chain.Config().IBCAddress(), nil, big.NewInt(int64(header.Number.Int64())))
proof, err := pr.chain.Client().GetProof(ctx, pr.chain.Config().IBCAddress(), nil, big.NewInt(int64(header.Number.Int64())))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The signature has changed in the PR datachainlab/ethereum-ibc-relay-chain#64 (comment).

Copy link

@siburu siburu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abicky LGTM, thank you!

@abicky abicky merged commit c4471fd into datachainlab:main Mar 21, 2025
2 checks passed
@abicky abicky deleted the use-context-appropriately branch March 21, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants