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

perry try fix release yaml #8715

Closed
wants to merge 16 commits into from
Closed

Conversation

perryjrandall
Copy link
Contributor

perryjrandall and others added 15 commits May 25, 2023 12:53
Test Plan: testing with ci by adding label run-e2e-tests
Fat lto takes forever to compile, thin LTO acheives most of the benefit
with little additional compile time

Test Plan: perf build scheduled on PR via the build perf images label took 22 mins instead of 42 mins!
…sh, signature) (#8367) (#8458)

Cherry-pick #8367. Expected to be a noop until onchain config is changed.

### Description

Adding TransactionDeduper trait and an implementation. The dedup is done within a block, just before transaction shuffle. It's guarded by an onchain config.

The purpose is to not send duplicate transactions to execution. While execution correctness is not affected by duplicates (and other work removed false error logs that fired due to them), it's possible that duplicate transactions could hurt throughput of parallel execution. By deduping ahead of time, we don't have to worry about that.

The implementation finds duplicates by matching (raw txn bcs hash, signature). Because calculating hash can be relatively expensive, it is only done when a shallow match is found of (account, seq_no), and it's done in parallel.

Overhead (as seen on forge):
* When there are no duplicates, the dedup is negligible -- it takes ~2ms per second.
* When there are ~100 duplicates per block, the dedup takes ~10ms per second.

### Test Plan

Added unit tests.
This only turns on for genesis (for devnet only), without a corresponding governance proposal for now.
* Add accurate resource group gas metering

* Add accurate resource group gas metering

* fix

* add test

* Correct feature version

* change trait signature

* Clear any resource cache after proloque

* bump gas feature

* add comment

* fix trigger condition for build jobs

* test loadtest

* add improvement

* Fix respawn session whatever that maybe

---------

Co-authored-by: Kevin <[email protected]>
Co-authored-by: gerben <[email protected]>
Co-authored-by: geekflyer <[email protected]>
* [release] Fix framework release description to v1.5.0

Test plan: is valid yaml :P

* update with steps and right metadata

---------

Co-authored-by: Frances Liu <[email protected]>
Silly, add source code url TBD, i suspect this not being set is failing release job

Test Plan: yq is valid yaml
@perryjrandall perryjrandall force-pushed the perry-try-fix-release-yaml branch from 19293a7 to d013f7c Compare June 16, 2023 19:53
@davidiw davidiw deleted the perry-try-fix-release-yaml branch July 2, 2023 04: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.

9 participants