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

[cp #12133] ObjectCodeDeployment API cleanup update #12141

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

igor-aptos
Copy link
Contributor

@igor-aptos igor-aptos commented Feb 21, 2024

cherry pick #12133

Description

Test Plan

Copy link

trunk-io bot commented Feb 21, 2024

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0d29ccd) 70.2% compared to head (f256631) 70.1%.
Report is 19 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main   #12141       +/-   ##
===========================================
- Coverage    70.2%    70.1%     -0.2%     
===========================================
  Files        2230      846     -1384     
  Lines      419643   188322   -231321     
===========================================
- Hits       294788   132063   -162725     
+ Misses     124855    56259    -68596     

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

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

✅ Forge suite compat success on aptos-node-v1.9.5 ==> f256631d58bfba785c61d52a62800859f5c12014

Compatibility test results for aptos-node-v1.9.5 ==> f256631d58bfba785c61d52a62800859f5c12014 (PR)
1. Check liveness of validators at old version: aptos-node-v1.9.5
compatibility::simple-validator-upgrade::liveness-check : committed: 6471 txn/s, latency: 4927 ms, (p50: 4800 ms, p90: 8300 ms, p99: 9900 ms), latency samples: 239440
2. Upgrading first Validator to new version: f256631d58bfba785c61d52a62800859f5c12014
compatibility::simple-validator-upgrade::single-validator-upgrade : committed: 594 txn/s, submitted: 647 txn/s, expired: 53 txn/s, latency: 35351 ms, (p50: 38500 ms, p90: 58100 ms, p99: 60300 ms), latency samples: 51702
3. Upgrading rest of first batch to new version: f256631d58bfba785c61d52a62800859f5c12014
compatibility::simple-validator-upgrade::half-validator-upgrade : committed: 374 txn/s, submitted: 660 txn/s, expired: 285 txn/s, latency: 25634 ms, (p50: 25300 ms, p90: 51600 ms, p99: 57000 ms), latency samples: 27327
4. upgrading second batch to new version: f256631d58bfba785c61d52a62800859f5c12014
compatibility::simple-validator-upgrade::rest-validator-upgrade : committed: 2228 txn/s, latency: 12771 ms, (p50: 13600 ms, p90: 18800 ms, p99: 19600 ms), latency samples: 109220
5. check swarm health
Compatibility test for aptos-node-v1.9.5 ==> f256631d58bfba785c61d52a62800859f5c12014 passed
Test Ok

Copy link
Contributor

✅ Forge suite realistic_env_max_load success on f256631d58bfba785c61d52a62800859f5c12014

two traffics test: inner traffic : committed: 7880 txn/s, latency: 4859 ms, (p50: 4500 ms, p90: 5900 ms, p99: 13000 ms), latency samples: 3404420
two traffics test : committed: 100 txn/s, latency: 2376 ms, (p50: 2100 ms, p90: 2400 ms, p99: 10400 ms), latency samples: 1840
Latency breakdown for phase 0: ["QsBatchToPos: max: 0.281, avg: 0.216", "QsPosToProposal: max: 0.153, avg: 0.135", "ConsensusProposalToOrdered: max: 0.553, avg: 0.513", "ConsensusOrderedToCommit: max: 0.461, avg: 0.439", "ConsensusProposalToCommit: max: 0.983, avg: 0.952"]
Max round gap was 2 [limit 4] at version 1509726. Max no progress secs was 9.40882 [limit 15] at version 1509726.
Test Ok

@igor-aptos igor-aptos merged commit ff49622 into main Feb 21, 2024
97 of 100 checks passed
@igor-aptos igor-aptos deleted the igor/cp_object_code_renames branch February 21, 2024 22:08
zjma added a commit that referenced this pull request Feb 22, 2024
* Fix `iss`-related bug in Groth16 path & refactor (#12017)

Co-authored-by: Oliver <heliuchuan@gmail.com>

* [aptosvm] Simplify VM flows (#11888)

* Duplicated logic for creating the gas meter for view functions has been removed.
* Duplicated logic for calculating gas used for view functions has been removed.
* There was unreachable code in failure transaction cleanup, where the discarded
status has been returned immediately, but then re-checked again. The first check
is shifted inside.
* No more default transaction metadata.
* Scripts are now validated consistently.
* Simplifies transaction execution function signature to avoid `Option<String>`.
* Removes duplicated features from `AptosVM` and keeps them in `MoveVMExt`.
* Fixes a bug when script hash was not computed for `RunOnAbort`.

Related tests are moved  to `move-e2e-tests`.

* [Compiler V2] Critical edge elimination (#11894)

Implement a pass to eliminate critical edges by splitting them with empty blocks

* [consensus configs] reduce sending block size from 2500 to 1900 (#12091)

### Description

The block output limit is no longer hit with p2p txns.

### Test Plan

Forge `realistic_env_max_load` TPS improves.

* [Indexer-grpc] Add profiling support. (#12034)

* Minor aggregator cleanup (#12013)

* Minor aggregator cleanup

* Addressing PR comments

* [move] rotate_authentication_key_call should not modify OriginatingAddress (#12108)

Co-authored-by: Alin Tomescu <tomescu.alin@gmail.com>

* [Data Streaming Service] Add dynamic prefetching support

* [Data Streaming Service] Add dynamic prefetching unit tests.

* [Data Streaming Service] Update existing integration tests.

* [State Sync] Add backpressure to fast sync receiver.

* Update perf baseline for gas charging coverage improvements (reducing throughput) (#12124)

* Reduce latency of cloning network sender using Arc pointers (#12103)

* Avoid cloning network sender using Arc pointers

* Removing a clone

* 100 node sweep test

* Removing a few clone operations

* reset forge test

* Removing some clones

* Removing clones

* adopt AIP-61 terminology for consistency (#12123)

adopt AIP-61 terminology for consistency

* [Consensus] Remove non-decoupled execution and refactor for cleaner interfaces (#12104)

* fix jwk key logging (#12090)

* remove spurious error lines (#12137)

* randomness #1: types update from randomnet (#12106)

* types update from randomnet

* update

* lint

* lint

* All validators broadcast commit vote messages (#12059)

* All validators broadcast commit messages

* Forge testing

* Increase timeout for forge

* test forge realistic_env_workload_sweep_test

* run realistic_env_workload_sweep_test

* run realistic_env_workload_sweep_test

* run sweep test

* increase forge runner duration

* forge testing

* Letting the proposer also broadcast commit decision for backward compatibility

* removing forge changes

* Added a TODO

* [vm] Resource access control: runtime engine (#10544)

* [vm] Resource access control: runtime engine

Implements the runtime engine for resource access control:

- a representation of access control specifiers in `loaded_data::runtime_access_specifiers`.
- a loader for access specifiers in `runtime::loader::access_specifier_loader`.
- a new stateful object representing the access control logic in `runtime::access_control`.
- finally the use of the `AccessControlState` in `runtime::interpreter`.

* Addressing reviewer comments.

* Addressing reviewer comments.

* typo: PTLA -> PTAL

* Rebasing: adjusting to upstream changes

* Rebasing

* ObjectCodeDeployment API cleanup update (#12133)

* ObjectCodeDeployment API cleanup update (#12141)

* [Compiler-v2] porting more V1 unit tests to V2 (#12085)

* update tests

* fix bug

* fix-12116

* fix missing space

* add expected got

* remove live-var tests

* fix had_erros

* fix

* Enable the max object nesting check (#12129)

* Resolved the warning for unused variable (#12157)

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Squashed commit of the following:

commit a50ffec
Author: Zhoujun Ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 21:10:12 2024 +0000

    lint

commit 388350f
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 13:04:28 2024 -0800

    update

commit 76f7eca
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:56:04 2024 -0800

    update

commit a663542
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:54:18 2024 -0800

    update

commit b439449
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:34:14 2024 -0800

    update

commit 3378ceb
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:17:06 2024 -0800

    update

commit 6cd6685
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:15:05 2024 -0800

    update

commit 6d89f37
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:13:51 2024 -0800

    update

commit 980f257
Author: zhoujun.ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 12:12:04 2024 -0800

    update

commit 16e9349
Author: Zhoujun Ma <zhoujun@aptoslabs.com>
Date:   Thu Feb 22 18:25:08 2024 +0000

    lint

---------

Co-authored-by: Alin Tomescu <tomescu.alin@gmail.com>
Co-authored-by: Oliver <heliuchuan@gmail.com>
Co-authored-by: George Mitenkov <georgemitenk0v@gmail.com>
Co-authored-by: Zekun Wang <41706692+fEst1ck@users.noreply.github.com>
Co-authored-by: Brian (Sunghoon) Cho <brian@aptoslabs.com>
Co-authored-by: Guoteng Rao <3603304+grao1991@users.noreply.github.com>
Co-authored-by: Satya Vusirikala <satyasatya123456@gmail.com>
Co-authored-by: David Wolinsky <isaac.wolinsky@gmail.com>
Co-authored-by: Josh Lind <josh.lind@hotmail.com>
Co-authored-by: igor-aptos <110557261+igor-aptos@users.noreply.github.com>
Co-authored-by: Sital Kedia <sitalkedia@users.noreply.github.com>
Co-authored-by: Wolfgang Grieskamp <wg@aptoslabs.com>
Co-authored-by: Teng Zhang <rahxephon89@163.com>
Co-authored-by: Junkil Park <jpark@aptoslabs.com>
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.

None yet

3 participants