-
Notifications
You must be signed in to change notification settings - Fork 715
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
Mainnet update MAIN.2.5 #4713
Draft
Leo-Besancon
wants to merge
67
commits into
main
Choose a base branch
from
mainnet_2_3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Mainnet update MAIN.2.5 #4713
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Leo-Besancon
force-pushed
the
mainnet_2_3
branch
from
June 18, 2024 12:10
6c3858c
to
93b2b3b
Compare
…xecution (#4710) * Requery bytecode * cargo fmt
* 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
force-pushed
the
mainnet_2_3
branch
from
July 17, 2024 09:40
a44a2da
to
aa7efcf
Compare
* Asc message execution - requery message bytecode after each message execution (#4710) * Requery bytecode * cargo fmt * fix call stack inconsistency (#4709) * Improve async message checks (#4706) * Improve async message checks * Change checks for async messages * Add unit tests * Fix ledger change to take into account cancelled message balance change (#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 async msg same slot (#4718) * fix open rpc spec (#4716) * Add eliminated_new_messages in eliminated_msg --------- Co-authored-by: Modship <[email protected]> * Consistent expiry period for async message and block operations * Update message validity for expiration * Minor comment fix --------- Co-authored-by: Leo-Besancon <[email protected]> Co-authored-by: Modship <[email protected]>
* fix fees * Update test_rewards execution test * Update test with updated reward formula * Update ci.yml * revert test change * Rm dbg and create const value * fmt --------- Co-authored-by: Leo-Besancon <[email protected]>
* Fix amount_remaining_to_slash_2 calculation * Rename slashed_coins and calculation to improve readability * Fix total_slashed_coins to return value
* Fix bad LedgerChanges::Delete handling * Avoid too much code duplication * Update ledger_db.rs * Fix check
* Use CondomLimits struct * Apply limits to wasm modules * Add max_runtime_module_exports * update runtime and serde_yaml * Fix outdated UT --------- Co-authored-by: Leo-Besancon <[email protected]> Co-authored-by: Jean-François <[email protected]> Signed-off-by: Jean-François <[email protected]>
* Update rust version to 1.81 * Cargo clippy & fmt pass * Cargo clippy & fmt pass 2 * Cargo clippy & fmt pass 3 * Remove commented code
* Update actions/checkout to v4 * Use dtolnay rust action instead of deprecated action-rs * Use dtolnay rust action (2) * Use dtolnay rust action (3) * Update JamesIves action for ci doc
* Add typos config file * Fix typo errors * Add typos to github CI * Cargo fmt pass * More typo fixes
* Fix SlotIndexPosition from Future to Past in case slots_since returns an error * Update ci.yml
…nciations (#4735) * Improve handling of HistorySearchResult * Fix CI
* Update ASC trigger comment * Add comment for ledger entry deletions * fmt
…4744) * Fix join error message (was inconsistent with: VM controller thread) * Cargo fmt pass
* Delete bootstrap_whitelist.json * Add bootstrap_whitelist file for tests * Use TempFile instead of hardcoded whitelist test file
* Update inaccurate error message * Cargo fmt
Signed-off-by: Jean-François <[email protected]>
* Fix execution_trace_nested TU * Update comment
* Fix async message updates and add unit test * Cargo fmt pass * Cargo clippy fixes * Cargo fmt pass
--------- Co-authored-by: AurelienFT <[email protected]> Co-authored-by: Damir Vodenicarevic <[email protected]>
* Allow transfers to SC * Add unit test for 4 scenarios
* Add massa event cache crate * Add event cache controller into massa execution * Cargo fmt * Add event cache config in masa-node * Minor fixes * Cargo clippy fixes * Cargo clippy fixes * Add limits & security checks * Add controller + manager * Cargo fmt pass * Fix check/clippy with --all-targets * Better event cache clear at startup && better filtering * Rename to config to max_call_stack_length * Improve event cache filtering * Avoid lock contention in controller::get_filtered_sc_output_events * Improve comment * Add query limit * Add tick delay in event cache writer thread * Use per address / operation id / is_error counters * Cargo fmt * typos fixes * Cargo clippy fixes for tests * Cargo fmt * Add mock expectations + impl * Cargo clippy for TU fixes * Use MAX_EVENT_PER_OPERATION constant * Unit test the filter optimisations * Add more doc * Cargo clippy fixes * Use ..Default::default in TU * Cargo clippy fix * Use scope * Use scope 2 * Remove tick_delay + directly mem::take struct * Add tu for counter removal * Add KeyKind in KeyBuilder * Wait for condvar in wait_loop_event * Removed unused lib * Condvar wait fix * Truncate event message in case of error
* fetch_message now returns NoInfo if message_id cannot be found * Add not for returning HistorySearchResult::Present
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Will be unblocked once every breaking change has been: