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

Reward on BH #1261

Closed
wants to merge 3 commits into from
Closed

Reward on BH #1261

wants to merge 3 commits into from

Conversation

yrong
Copy link
Contributor

@yrong yrong commented Jul 22, 2024

@yrong yrong closed this Jul 22, 2024
Comment on lines +217 to +221
if (success) {
Ticket memory ticket;
ticket.dest = BRIDGE_HUB_PARA_ID;
ticket.payload = SubstrateTypes.RewardRelay(message.id, msg.sender);
_submitOutboundWithoutFee(ticket);
Copy link
Contributor Author

@yrong yrong Jul 24, 2024

Choose a reason for hiding this comment

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

Is that an option to submit a RewardRelay message to OutboundQueue instantly in the submitV2 when success is true? So that we can reuse the current Ethereum proof.

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.

1 participant