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

Add initial code for recursion limit #4729

Merged
merged 24 commits into from
Oct 16, 2024
Merged

Conversation

Leo-Besancon
Copy link
Contributor

  • document all added functions
  • try in sandbox /simulation/labnet
    • if part of node-launch, checked using the resync_check flag
  • unit tests on the added/changed features
    • make tests compile
    • make tests pass
  • add logs allowing easy debugging in case the changes caused problems
  • if the API has changed, update the API specification

Leo-Besancon and others added 10 commits July 2, 2024 17:29
* Improve async message checks

* Change checks for async messages

* Add unit tests
…ge (#4715)

* Take again the speculative changes after async message cancellation

* use .apply() to merge the two LedgerChanges

* Fix: we cannot combine two ledger changes with apply

* avoid cloning the changes

* Remove comment
* fix open rpc spec (#4716)

* Add eliminated_new_messages in eliminated_msg

---------

Co-authored-by: Modship <[email protected]>
@Leo-Besancon Leo-Besancon marked this pull request as ready for review July 16, 2024 10:08
@Leo-Besancon Leo-Besancon requested a review from sydhds July 16, 2024 10:18
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (mainnet_2_3@880eec7). Learn more about missing BASE report.

Files Patch % Lines
massa-node/src/main.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             mainnet_2_3    #4729   +/-   ##
==============================================
  Coverage               ?   71.78%           
==============================================
  Files                  ?      291           
  Lines                  ?    51642           
  Branches               ?        0           
==============================================
  Hits                   ?    37069           
  Misses                 ?    14573           
  Partials               ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
massa-execution-exports/src/settings.rs Outdated Show resolved Hide resolved
@Leo-Besancon Leo-Besancon requested a review from damip July 17, 2024 09:23
@Leo-Besancon
Copy link
Contributor Author

Oops @damip , seems like the rebase did not work. Here is the compare link: e25f021...2cc4a17

Copy link
Contributor

@sydhds sydhds left a comment

Choose a reason for hiding this comment

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

All good but can we find a place where we explain why we need this to be implemented?

massa-execution-exports/src/test_exports/config.rs Outdated Show resolved Hide resolved
massa-execution-exports/src/settings.rs Outdated Show resolved Hide resolved
massa-execution-worker/src/tests/scenarios_mandatories.rs Outdated Show resolved Hide resolved
massa-execution-worker/src/tests/scenarios_mandatories.rs Outdated Show resolved Hide resolved
massa-execution-worker/src/tests/scenarios_mandatories.rs Outdated Show resolved Hide resolved
massa-execution-worker/src/tests/scenarios_mandatories.rs Outdated Show resolved Hide resolved
@Leo-Besancon Leo-Besancon merged commit 3833083 into mainnet_2_3 Oct 16, 2024
@Leo-Besancon Leo-Besancon deleted the add_recursion_counter branch October 16, 2024 09:19
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.

3 participants