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 missing deposit notes #9

Merged

Conversation

sifnoc
Copy link
Collaborator

@sifnoc sifnoc commented Aug 15, 2022

The coordinator unproperly handled malicious deposit transaction.

the transactions are same input data from different accounts. that makes the coordinator rewrite deposit note 'queuedAt'

for example, the coordinator record a note with 'queuedAt: 100' for 'A' deposit transaction.
and the coordinator record again the note with 'queuedAt: 101' for the malicious deposit transaction 'B' has same input data of 'A'
then coordinator mark invalid the block which has 'A' deposit note due to cannot finding deposit note with 'queuedAt: 100'.

@sifnoc sifnoc merged commit d0b75dd into wanseob:refactor/hardhat Dec 5, 2022
@sifnoc sifnoc deleted the fix/overwritten-deposit-note branch December 5, 2022 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant