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

fix(protocol): remove receive function from Bridge #17330

Merged
merged 1 commit into from
May 25, 2024

Conversation

adaki2004
Copy link
Contributor

OZ's finding: basically people could lock funds by sending ether to this contract. But because we need to seed the liquidity when genesis, we need this functionality first, so:

  1. Seed liquidity
  2. Merge this and upgrade so noone else can lock funds.
kép

Copy link

fix(protocol): remove receive function (!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided)

Generated at commit: 3f1ca0f360f7d0c32fb2ceb2e926feeceee05657

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
42
54
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik changed the title fix(protocol): remove receive function (!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided) fix(protocol): remove receive function from Bridge(!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided) May 25, 2024
@adaki2004 adaki2004 changed the title fix(protocol): remove receive function from Bridge(!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided) fix(protocol): remove receive function from Bridge (!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided) May 25, 2024
@adaki2004 adaki2004 marked this pull request as draft May 25, 2024 08:35
@dantaik dantaik changed the title fix(protocol): remove receive function from Bridge (!IMPORTANT! Only merge and then upgrade when genesis eth seed liquidity is provided) fix(protocol): remove receive function from Bridge May 25, 2024
@dantaik dantaik marked this pull request as ready for review May 25, 2024 09:40
@dantaik dantaik enabled auto-merge May 25, 2024 09:40
@dantaik dantaik added this pull request to the merge queue May 25, 2024
Merged via the queue into main with commit 4ef2847 May 25, 2024
7 checks passed
@dantaik dantaik deleted the L18_remove_receive_functionality branch May 25, 2024 09:42
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.

4 participants