-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(cairo): fix comps comments #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @uriel-starkware)
a discussion (no related file):
Please update spec accordingly.
src/components/deposit/deposit.cairo
line 23 at r1 (raw file):
pub struct Storage { registered_deposits: Map<HashType, DepositStatus>, aggregate_quantized_pending_deposits: Map<felt252, u128>,
Can you please explain why it's okay to remove this map?
Code quote:
aggregate_quantized_pending_deposits: Map<felt252, u128>,
src/components/deposit/errors.cairo
line 10 at r1 (raw file):
pub const DEPOSIT_NOT_CANCELABLE: felt252 = 'DEPOSIT_NOT_CANCELABLE'; pub const DEPOSIT_NOT_REGISTERED: felt252 = 'DEPOSIT_NOT_REGISTERED'; pub const INVALID_cancel_delay: felt252 = 'INVALID_cancel_delay';
Please use capital letters.
Code quote:
pub const INVALID_cancel_delay: felt252 = 'INVALID_cancel_delay';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ishay-starkware and @uriel-starkware)
a discussion (no related file):
Previously, MohammadNassar1 (mohammad-starkware) wrote…
Please update spec accordingly.
Ooh, the specs are not in this repo, removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @MohammadNassar1 and @uriel-starkware)
src/components/deposit/deposit.cairo
line 23 at r1 (raw file):
Previously, MohammadNassar1 (mohammad-starkware) wrote…
Can you please explain why it's okay to remove this map?
we decided that it's not relevant. no need to keep track of the pending deposits.
src/components/deposit/errors.cairo
line 10 at r1 (raw file):
Previously, MohammadNassar1 (mohammad-starkware) wrote…
Please use capital letters.
Done.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #24 +/- ##
=======================================
Coverage ? 87.55%
=======================================
Files ? 38
Lines ? 1318
Branches ? 0
=======================================
Hits ? 1154
Misses ? 164
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ishay-starkware and @uriel-starkware)
src/components/deposit/errors.cairo
line 10 at r1 (raw file):
Previously, ishay-starkware wrote…
Done.
You didnt push.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 4 files reviewed, 1 unresolved discussion (waiting on @MohammadNassar1 and @uriel-starkware)
src/components/deposit/errors.cairo
line 10 at r1 (raw file):
Previously, MohammadNassar1 (mohammad-starkware) wrote…
You didnt push.
pused now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @uriel-starkware)
This change is