Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Prevent version 0 attack on argent accounts. #627

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

alonh5
Copy link
Collaborator

@alonh5 alonh5 commented Jun 18, 2023

This change is Reviewable

Copy link
Collaborator

@Yoni-Starkware Yoni-Starkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @giladchase and @noaov1)

@alonh5 alonh5 merged commit 3fd22ac into main-v0.12.0 Jun 18, 2023
@alonh5 alonh5 deleted the alonh/block_fraud_attempt branch June 18, 2023 11:25
dorimedini-starkware added a commit that referenced this pull request Jun 21, 2023
* Limit recursion depth for entrypoint calls (#612)

Currently too many recursions hit stack-overflow panic, we don't want
that.

Increasing the stack size to 72MB is required in order to have the same
recursion depth as in CPython, 3000.
This is X36 times the 2MB default, is there a better way?

* Prevent version 0 attack on argent accounts. (#627)

* Fix segment_arena resource counting. (#613)

* Add NonceManager (#628)

Signed-off-by: Dori Medini <dori@starkware.co>

* Transaction execution failures log-level warn->debug (#626)

* Fix recursion depth count. (#631)

* Update contract syntax. (#623)

* Implement create_test_state (#629)

Signed-off-by: Dori Medini <dori@starkware.co>

* Expose chain names to python (#633)

Signed-off-by: Dori Medini <dori@starkware.co>

* Add PRIVATE_SN_POTC_MOCK_GOERLI chain name. (#634)

* Don't close executor inside finalize (#630)

Move responsibility to caller.
Rationale: finalize isn't guaranteed to be run, which might leave
dangling read transactions.

* Add comment in `Cargo.toml`. (#624)

* Don't check chain ID validity (#637)

Signed-off-by: Dori Medini <dori@starkware.co>

* Dori/limit run with resources (#635)

* Limit run with RunResources

Signed-off-by: Dori Medini <dori@starkware.co>

* Add test

Signed-off-by: Dori Medini <dori@starkware.co>

* Convert hints to string using ` serde_json::to_string ` (as opposed to ` to_string() `). (#642)

* Insert send message to L1 command to both validate and execute. For PR #601 debug. (#606)

* Merge remote-tracking branch 'origin/main-v0.12.0' into 'origin/main'

* Resolve conflicts

Signed-off-by: Dori Medini <dori@starkware.co>

Co-Authored-By: giladchase <gilad@starkware.co>
Co-Authored-By: Alon Haramati <91828241+alonh5@users.noreply.github.com>
Co-Authored-By: Noa Oved <104720318+noaov1@users.noreply.github.com>
Co-Authored-By: Yoni <78365039+Yoni-Starkware@users.noreply.github.com>
Co-Authored-By: ilyalesokhin-starkware <ilya@starkware.co>
Co-Authored-By: amosStarkware <88497213+amosStarkware@users.noreply.github.com>
Co-Authored-By: Elin <elin@starkware.co>
Co-Authored-By: mohammad-starkware <130282237+MohammadNassar1@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants