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

bridge-proxy: refund refactor #256

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

CostinCarabas
Copy link
Contributor

No description provided.

@CostinCarabas CostinCarabas changed the title bridge-proxy: sc,test fixes bridge-proxy: refund refactor Nov 25, 2024
Copy link
Contributor

@iulianpascalau iulianpascalau left a comment

Choose a reason for hiding this comment

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

ok, from my side I agree with the solution, this will have to wait a bit to make the proper changes so e2e tests will work

}
self.cleanup_transaction(tx_id);
}

#[endpoint(refundTransaction)]
Copy link
Contributor

Choose a reason for hiding this comment

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

ok, anyone can call this, ok for me 👍

@@ -7,6 +7,10 @@ pub trait ConfigModule {
#[storage_mapper("pendingTransactions")]
fn pending_transactions(&self) -> MapMapper<usize, EthTransaction<Self::Api>>;

#[view(refundTransactions)]
Copy link
Contributor

Choose a reason for hiding this comment

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

ok, this view can be used to "select" only the transaction you want to refund in case we do not put a "general" sc calls executors for refunds

@CostinCarabas CostinCarabas merged commit 87441db into v3.5-audit-fixes Dec 2, 2024
@CostinCarabas CostinCarabas deleted the bridge-proxy-refund-refactor branch December 2, 2024 13:11
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