Tags: sarvex/sui
Tags
indexer: read events from txn effects (MystenLabs#7609) as the title says, this PR changes the underlying data source of event indexing from SQLite to txn effects, notable changes include: - instead fetching X number of events, now indexer fetches X txns and commit all events related to the txns to DB - as a result - the next cursor needs to be txn digest instead of Event ID - on private testnet, the first batch of txns has `26539 events` which is more than what Postgres can take in one DB write, so we have to split the commit into batches Tested both locally and on private testnet to make sure that events can be committed correctly, error logs are empty. Need to test on private testnet to see the throughput changes.
Re-enable sui benchmark in ci workflows (MystenLabs#7654) Test passes: https://github.com/MystenLabs/sui/actions/runs/4000578027/jobs/6865877074
[narwhal] convert the propose_header from joinhandle to JoinSet (Myst… …enLabs#7630)
Enable explorer link on custom RPC (MystenLabs#7617)
Add a pseudorandom generator for move tests (MystenLabs#7554) Closing MystenLabs#7544 Co-authored-by: Sam Blackshear <sam.blackshear@gmail.com>
Add stress tool cpu usage to output (MystenLabs#7443) ``` arunkoshy@MystenLoshysMBP sui-benchmark % cargo run --package sui-benchmark --bin stress -- --log-path /tmp/stress.log --num-client-threads 10 --num-server-threads 24 --num-transfer-accounts 2 bench --target-qps 100 --num-workers 10 --shared-counter 100 --run-duration 30s --stress-stat-collection true Benchmark Report: +-------------+-----+--------+---------------+---------------+---------------+ | duration(s) | tps | error% | latency (min) | latency (p50) | latency (p99) | +============================================================================+ | 30 | 98 | 0 | 91 | 456 | 778 | +-------------+-----+--------+---------------+---------------+---------------+ Stress Performance Report: +-----------+-----+-----+ | metric | p50 | p99 | +=======================+ | cpu usage | 39 | 64 | +-----------+-----+-----+ arunkoshy@MystenLoshysMBP sui-benchmark % cargo run --package sui-benchmark --bin stress -- --log-path /tmp/stress.log --num-client-threads 10 --num-server-threads 12 --num-transfer-accounts 2 bench --target-qps 200 --num-workers 10 --shared-counter 200 --run-duration 30s --stress-stat-collection true Benchmark Report: +-------------+-----+--------+---------------+---------------+---------------+ | duration(s) | tps | error% | latency (min) | latency (p50) | latency (p99) | +============================================================================+ | 30 | 196 | 0 | 196 | 519 | 870 | +-------------+-----+--------+---------------+---------------+---------------+ Stress Performance Report: +-----------+-----+-----+ | metric | p50 | p99 | +=======================+ | cpu usage | 77 | 97 | +-----------+-----+-----+ ```
Bump serde_with_macros from 2.1.0 to 2.2.0 (MystenLabs#7576) Bumps [serde_with_macros](https://github.com/jonasbb/serde_with) from 2.1.0 to 2.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with_macros's releases</a>.</em></p> <blockquote> <h2>serde_with v2.2.0</h2> <h3>Added</h3> <ul> <li> <p>Add new <code>Map</code> and <code>Seq</code> types for converting between maps and tuple lists. (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/527">#527</a>)</p> <p>The behavior is not new, but already present using <code>BTreeMap</code>/<code>HashMap</code> or <code>Vec</code>. However, the new types <code>Map</code> and <code>Seq</code> are also available on <code>no_std</code>, even without the <code>alloc</code> feature.</p> </li> </ul> <h3>Changed</h3> <ul> <li>Pin the <code>serde_with_macros</code> dependency to the same version as the main crate. This simplifies publishing and ensures that always a compatible version is picked.</li> </ul> <h3>Fixed</h3> <ul> <li><code>serde_with::apply</code> had an issue matching types when invisible token groups where in use (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/538">#538</a>) The token groups can stem from macro_rules expansion, but should be treated mostly transparent. The old code required a group to match a group, while now groups are silently removed when checking for type patterns.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jonasbb/serde_with/commit/24ee794dd11c45eae9663f80f8311ccc23f14764"><code>24ee794</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/540">#540</a></li> <li><a href="https://github.com/jonasbb/serde_with/commit/357deadd73d577817ef15cdf03508fc46536b5f9"><code>357dead</code></a> Prepare new release v2.2.0</li> <li><a href="https://github.com/jonasbb/serde_with/commit/26cb8877735d6909d6c8c3813ae2957c16fca407"><code>26cb887</code></a> Fix type pattern matching in apply macro</li> <li><a href="https://github.com/jonasbb/serde_with/commit/b8719f519d4d798949be3fd5f04c562acb9f484d"><code>b8719f5</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/539">#539</a></li> <li><a href="https://github.com/jonasbb/serde_with/commit/c079ada5b816bb05661596139c39556fa0988899"><code>c079ada</code></a> Use synchronized version numbers for serde_with and serde_with_macros</li> <li><a href="https://github.com/jonasbb/serde_with/commit/d76f283e78710181517aea9c6bfddb6b821a9384"><code>d76f283</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/536">#536</a></li> <li><a href="https://github.com/jonasbb/serde_with/commit/bb695a41c750745aaa076d709fe3c76bb49eb005"><code>bb695a4</code></a> Remove extra blank line...</li> <li><a href="https://github.com/jonasbb/serde_with/commit/c3a319e662b6221e584cf51de7d6b48ce47516f7"><code>c3a319e</code></a> Fix ci...</li> <li><a href="https://github.com/jonasbb/serde_with/commit/e3856e29a3f51122d06d9c8167df9938c855577d"><code>e3856e2</code></a> Mention "Bytes" on README.md and lib.rs</li> <li><a href="https://github.com/jonasbb/serde_with/commit/d06b0211597642ca4f7ab17f5ea6b9ae9b07e3ba"><code>d06b021</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/532">#532</a></li> <li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v2.1.0...v2.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with_macros&package-manager=cargo&previous-version=2.1.0&new-version=2.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) Dependabot will merge this PR once CI passes on it, as requested by @mystenadmin. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
update to averageAPY add make validator name clickable (MystenLabs#7467) Make the validator name clickable and round the average APY. Maybe we have to update `InternalLink` component to include text and an option to disable mono?
PreviousNext