Skip to content
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

feat: ETH broker level screening support #5663

Draft
wants to merge 17 commits into
base: release/1.7
Choose a base branch
from

Conversation

Janislav
Copy link
Contributor

Pull Request

Closes: PRO-xxx

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have written sufficient tests.
  • I have written and tested required migrations.
  • I have updated documentation where appropriate.

Summary

Please include a succinct description of the purpose and content of the PR. What problem does it solve, and how? Link issues, discussions, other PRs, and anything else that will help the reviewer.

@Janislav Janislav changed the base branch from main to release/1.7 February 22, 2025 10:32
Copy link

codecov bot commented Feb 22, 2025

@Janislav Janislav changed the title Feature/eth broker level screnning feat: ETH broker level screening support Feb 22, 2025
Copy link
Collaborator

@dandanlen dandanlen left a comment

Choose a reason for hiding this comment

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

Thanks for doing this.

@@ -747,6 +747,9 @@ pub mod pallet {
TransactionRejectionFailed {
tx_id: <T::TargetChain as Chain>::DepositDetails,
},
DebugEvent {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Reminder to remove this.

Comment on lines +1795 to +1797
let tx_id = tx_ids
.first()
.expect("there must be exactly one tx_id for a prewitnessed deposit.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should check all the ids: for tx_id in tx_ids...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But we only prewitness for BTC, and there is only one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we have more than one, then there is something fishy going on

@dandanlen dandanlen force-pushed the feature/eth-broker-level-screnning branch from 8693d72 to c1ab0ac Compare February 24, 2025 15:09
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.

3 participants