FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
dYdX

Proposals

Discussions

Members

Information

Create Proposal

dYdX

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
closedEnded 3 years ago · Snapshot (Offchain)

V3 StarkEx Contract Data Availability Bug

By 0x5A15...D5794D

A bug has been identified in the current version of the dYdX StarkEx Cairo code, which is only triggered for the specific case of a Trade resulting in the collateral balance (i.e. value) equaling exactly zero (after all fees are paid) and for an account that still has positions open. In this case, instead of sending the correct funding timestamp for the position, a zero value is sent on-chain, thus, the timestamp won’t be converted into the actual funding indices which constitute the state. This may result in the inability to retrieve funds once the exchange is frozen (doomsday scenario) and both dYdX and StarkWare are unable to provide assistance to users (become malicious or maliciously hacked). Starkware has prepared a fix to the relevant Cairo code to prevent this, and confirmed that other operational change from Starkware or dYdX Trading is minimal around the issue; the on-chain data does not have to change except in this rare-case scenario.

Continue Reading
Connect Wallet to Add Note
0
Votes 886
VoterCast PowerVote & Rationale
Wintermute Governance
5.023M

Yes, fix the bug

0x19ab...EFC203
2.644M

Yes, fix the bug

FranklinDAO (Prev. Penn Blockchain)
2.504M

Yes, fix the bug

0xccC4...4ab81D
2.501M

Yes, fix the bug

404 DAO
2.5M

Yes, fix the bug

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Fri March 31 2023, 03:26 pmVoting Period Starts
  • Tue April 04 2023, 03:26 pmEnd Voting Period
Current Results

1-Yes, fix the bug

20.927M

2-No, leave it as it is

62.677

0%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us