Skip to content

Commit

Permalink
Reapply keystore (#4999)
Browse files Browse the repository at this point in the history
* [2/n] crypto: simplify keystore (#4909)

* do not panic on none address
  • Loading branch information
joyqvq authored Oct 5, 2022
1 parent 8eb9d03 commit 79b27eb
Show file tree
Hide file tree
Showing 28 changed files with 283 additions and 238 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 7 additions & 18 deletions crates/sui-benchmark/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// SPDX-License-Identifier: Apache-2.0

use anyhow::Result;
use sui_sdk::crypto::FileBasedKeystore;
use sui_sdk::crypto::{AccountKeystore, FileBasedKeystore};
use sui_types::{
base_types::SuiAddress,
crypto::{AccountKeyPair, EncodeDecodeBase64, SuiKeyPair},
crypto::{AccountKeyPair, KeypairTraits, SuiKeyPair},
};

use std::path::PathBuf;
Expand All @@ -14,20 +14,9 @@ pub fn get_ed25519_keypair_from_keystore(
keystore_path: PathBuf,
requested_address: &SuiAddress,
) -> Result<AccountKeyPair> {
let keystore = FileBasedKeystore::load_or_create(&keystore_path)?;
let keypair = keystore
.key_pairs()
.iter()
.find(|x| {
let address: SuiAddress = Into::<SuiAddress>::into(&x.public());
address == *requested_address
})
.map(|x| x.encode_base64())
.unwrap();
// TODO(joyqvq): This is a hack to decode base64 keypair with added flag, ok for now since it is for benchmark use.
// Rework to get the typed keypair directly from above.
Ok(match SuiKeyPair::decode_base64(&keypair).unwrap() {
SuiKeyPair::Ed25519SuiKeyPair(x) => x,
_ => panic!("Unexpected keypair type"),
})
let keystore = FileBasedKeystore::new(&keystore_path)?;
match keystore.get_key(requested_address) {
Ok(SuiKeyPair::Ed25519SuiKeyPair(kp)) => Ok(kp.copy()),
_ => Err(anyhow::anyhow!("Unsupported key type")),
}
}
8 changes: 4 additions & 4 deletions crates/sui-cluster-test/src/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ use sui::config::SuiClientConfig;
use sui_config::genesis_config::GenesisConfig;
use sui_config::Config;
use sui_config::SUI_KEYSTORE_FILENAME;
use sui_sdk::crypto::KeystoreType;
use sui_sdk::crypto::AccountKeystore;
use sui_sdk::crypto::FileBasedKeystore;
use sui_sdk::crypto::Keystore;
use sui_sdk::ClientType;
use sui_swarm::memory::Node;
use sui_swarm::memory::Swarm;
Expand Down Expand Up @@ -285,11 +287,9 @@ pub async fn new_wallet_context_from_cluster(
let rpc_url = cluster.rpc_url();
info!("Use gateway: {}", &rpc_url);
let keystore_path = temp_dir.path().join(SUI_KEYSTORE_FILENAME);
let keystore = KeystoreType::File(keystore_path);
let mut keystore = Keystore::from(FileBasedKeystore::new(&keystore_path).unwrap());
let address: SuiAddress = key_pair.public().into();
keystore
.init()
.unwrap()
.add_key(SuiKeyPair::Ed25519SuiKeyPair(key_pair))
.unwrap();
SuiClientConfig {
Expand Down
2 changes: 2 additions & 0 deletions crates/sui-cluster-test/src/wallet_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::cluster::new_wallet_context_from_cluster;

use super::Cluster;
use sui::client_commands::WalletContext;
use sui_sdk::crypto::AccountKeystore;
use sui_sdk::SuiClient;
use sui_types::base_types::SuiAddress;
use sui_types::crypto::{KeypairTraits, Signature};
Expand Down Expand Up @@ -68,6 +69,7 @@ impl WalletClient {

pub fn sign(&self, txn_data: &TransactionData, desc: &str) -> Signature {
self.get_wallet()
.config
.keystore
.sign(&self.address, &txn_data.to_bytes())
.unwrap_or_else(|e| panic!("Failed to sign transaction for {}. {}", desc, e))
Expand Down
1 change: 1 addition & 0 deletions crates/sui-faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ sui-node = { path = "../sui-node" }
sui-json-rpc-types= { path = "../sui-json-rpc-types" }
sui-types = { path = "../sui-types" }
sui-config = { path = "../sui-config" }
sui-sdk = { path = "../sui-sdk" }
telemetry-subscribers.workspace = true
workspace-hack.workspace = true

Expand Down
6 changes: 3 additions & 3 deletions crates/sui-faucet/src/faucet/simple_faucet.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) 2022, Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

use crate::metrics::FaucetMetrics;
use anyhow::anyhow;
use async_trait::async_trait;

use crate::metrics::FaucetMetrics;
use prometheus::Registry;
use sui_sdk::crypto::AccountKeystore;

// HashSet is in fact used but linter does not think so
#[allow(unused_imports)]
Expand Down Expand Up @@ -259,7 +259,7 @@ impl SimpleFaucet {
.construct_transfer_sui_txn_with_retry(coin_id, signer, recipient, budget, amount, uuid)
.await?;

let signature = context.keystore.sign(&signer, &data.to_bytes())?;
let signature = context.config.keystore.sign(&signer, &data.to_bytes())?;

let tx = Transaction::new(data, signature);
info!(tx_digest = ?tx.digest(), ?recipient, ?coin_id, ?uuid, "Broadcasting transfer obj txn");
Expand Down
12 changes: 7 additions & 5 deletions crates/sui-gateway/src/unit_tests/rpc_server_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ use sui_json_rpc::api::{
RpcGatewayApiClient, RpcReadApiClient, RpcTransactionBuilderClient, WalletSyncApiClient,
};
use sui_json_rpc_types::{GetObjectDataResponse, SuiTransactionResponse, TransactionBytes};
use sui_sdk::crypto::KeystoreType;
use sui_sdk::crypto::AccountKeystore;
use sui_sdk::crypto::FileBasedKeystore;
use sui_sdk::crypto::Keystore;
use sui_types::base_types::ObjectID;
use sui_types::base_types::TransactionDigest;
use sui_types::gas_coin::GAS;
Expand Down Expand Up @@ -52,7 +54,7 @@ async fn test_public_transfer_object() -> Result<(), anyhow::Error> {
.await?;

let keystore_path = test_network.network.dir().join(SUI_KEYSTORE_FILENAME);
let keystore = KeystoreType::File(keystore_path).init()?;
let keystore = Keystore::from(FileBasedKeystore::new(&keystore_path)?);

let signature = keystore.sign(address, &transaction_bytes.tx_bytes.to_vec()?)?;
let tx = Transaction::new(transaction_bytes.to_data().unwrap(), signature);
Expand Down Expand Up @@ -91,7 +93,7 @@ async fn test_publish() -> Result<(), anyhow::Error> {
.await?;

let keystore_path = test_network.network.dir().join(SUI_KEYSTORE_FILENAME);
let keystore = KeystoreType::File(keystore_path).init()?;
let keystore = Keystore::from(FileBasedKeystore::new(&keystore_path)?);
let signature = keystore.sign(address, &transaction_bytes.tx_bytes.to_vec()?)?;

let tx = Transaction::new(transaction_bytes.to_data().unwrap(), signature);
Expand Down Expand Up @@ -139,7 +141,7 @@ async fn test_move_call() -> Result<(), anyhow::Error> {
.await?;

let keystore_path = test_network.network.dir().join(SUI_KEYSTORE_FILENAME);
let keystore = KeystoreType::File(keystore_path).init()?;
let keystore = Keystore::from(FileBasedKeystore::new(&keystore_path)?);

let signature = keystore.sign(address, &transaction_bytes.tx_bytes.to_vec()?)?;

Expand Down Expand Up @@ -192,7 +194,7 @@ async fn test_get_transaction() -> Result<(), anyhow::Error> {
.await?;

let keystore_path = test_network.network.dir().join(SUI_KEYSTORE_FILENAME);
let keystore = KeystoreType::File(keystore_path).init()?;
let keystore = Keystore::from(FileBasedKeystore::new(&keystore_path)?);

let signature = keystore.sign(address, &transaction_bytes.tx_bytes.to_vec()?)?;

Expand Down
1 change: 1 addition & 0 deletions crates/sui-open-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ sui-json-rpc = { path = "../sui-json-rpc" }
sui-json-rpc-types = { path = "../sui-json-rpc-types" }
sui-json = { path = "../sui-json" }
sui-types = { path = "../sui-types" }
sui-sdk = { path = "../sui-sdk" }
sui-config = { path = "../sui-config" }
test-utils = { path = "../test-utils" }
rand = "0.8.5"
Expand Down
17 changes: 12 additions & 5 deletions crates/sui-open-rpc/src/generate_json_rpc_spec.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// Copyright (c) 2022, Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

use std::collections::BTreeMap;
use std::fs::File;
use std::io::Write;

use clap::ArgEnum;
use clap::Parser;
use hyper::body::Buf;
Expand All @@ -13,7 +9,11 @@ use move_package::BuildConfig;
use pretty_assertions::assert_str_eq;
use serde::Serialize;
use serde_json::{json, Map, Value};
use std::collections::BTreeMap;
use std::fs::File;
use std::io::Write;
use sui_json_rpc::api::EventReadApiOpenRpc;
use sui_sdk::crypto::AccountKeystore;
use sui_types::messages::Transaction;

use crate::examples::RpcExampleProvider;
Expand Down Expand Up @@ -136,7 +136,13 @@ async fn create_response_sample() -> Result<
let config = working_dir.join(SUI_CLIENT_CONFIG);

let mut context = WalletContext::new(&config).await?;
let address = context.keystore.addresses().first().cloned().unwrap();
let address = context
.config
.keystore
.addresses()
.first()
.cloned()
.unwrap();

context
.client
Expand Down Expand Up @@ -403,6 +409,7 @@ async fn create_error_response(
.await?;

let signature = context
.config
.keystore
.sign(&address, &response.tx_bytes.to_vec()?)?;

Expand Down
1 change: 1 addition & 0 deletions crates/sui-rosetta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sui-types = { path = "../sui-types" }
sui-core = { path = "../sui-core" }
sui-node = { path = "../sui-node" }
sui-config = { path = "../sui-config" }
sui-sdk = { path = "../sui-sdk" }

move-core-types.workspace = true

Expand Down
4 changes: 2 additions & 2 deletions crates/sui-rosetta/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ fn read_prefunded_account(path: &Path) -> Result<Vec<PrefundedAccount>, anyhow::

#[test]
fn test_read_keystore() {
use sui_sdk::crypto::KeystoreType;
use sui_sdk::crypto::{AccountKeystore, FileBasedKeystore, Keystore};
use sui_types::crypto::SignatureScheme;

let temp_dir = tempfile::tempdir().unwrap();
let path = temp_dir.path().join("sui.keystore");
let mut ks = KeystoreType::File(path.clone()).init().unwrap();
let mut ks = Keystore::from(FileBasedKeystore::new(&path).unwrap());
let key1 = ks.generate_new_key(SignatureScheme::ED25519, None).unwrap();
let key2 = ks
.generate_new_key(SignatureScheme::Secp256k1, None)
Expand Down
7 changes: 4 additions & 3 deletions crates/sui-sdk/examples/tic_tac_toe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ use clap::Parser;
use clap::Subcommand;
use serde::Deserialize;

use sui_sdk::crypto::{AccountKeystore, FileBasedKeystore};
use sui_sdk::{
crypto::{KeystoreType, SuiKeystore},
crypto::Keystore,
json::SuiJsonValue,
rpc_types::SuiData,
types::{
Expand All @@ -29,7 +30,7 @@ use sui_sdk::{
async fn main() -> Result<(), anyhow::Error> {
let opts: TicTacToeOpts = TicTacToeOpts::parse();
let keystore_path = opts.keystore_path.unwrap_or_else(default_keystore_path);
let keystore = KeystoreType::File(keystore_path).init()?;
let keystore = Keystore::File(FileBasedKeystore::new(&keystore_path)?);

let game = TicTacToe {
game_package_id: opts.game_package_id,
Expand All @@ -55,7 +56,7 @@ async fn main() -> Result<(), anyhow::Error> {
struct TicTacToe {
game_package_id: ObjectID,
client: SuiClient,
keystore: SuiKeystore,
keystore: Keystore,
}

impl TicTacToe {
Expand Down
6 changes: 3 additions & 3 deletions crates/sui-sdk/examples/transfer_coins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use std::str::FromStr;
use sui_sdk::{
crypto::KeystoreType,
crypto::{AccountKeystore, FileBasedKeystore, Keystore},
types::{
base_types::{ObjectID, SuiAddress},
messages::Transaction,
Expand All @@ -30,8 +30,8 @@ async fn main() -> Result<(), anyhow::Error> {
.transfer_sui(my_address, gas_object_id, 1000, recipient, Some(1000))
.await?;

// Get signer from keystore
let keystore = KeystoreType::File(keystore_path).init()?;
// Sign transaction
let keystore = Keystore::from(FileBasedKeystore::new(&keystore_path)?);
let signature = keystore.sign(&my_address, &transfer_tx.to_bytes())?;

// Execute the transaction
Expand Down
Loading

1 comment on commit 79b27eb

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Benchmark Reports:

  • Owned # Bench results �[0m�[0m�[1m�[32m Compiling�[0m proc-macro2 v1.0.43 �[0m�[0m�[1m�[32m Compiling�[0m unicode-ident v1.0.3 �[0m�[0m�[1m�[32m Compiling�[0m cfg-if v1.0.0 �[0m�[0m�[1m�[32m Compiling�[0m ppv-lite86 v0.2.16 �[0m�[0m�[1m�[32m Compiling�[0m regex-syntax v0.6.26 �[0m�[0m�[1m�[32m Compiling�[0m pin-project-lite v0.2.9 �[0m�[0m�[1m�[32m Compiling�[0m rustc-demangle v0.1.21 �[0m�[0m�[1m�[32m Compiling�[0m futures-core v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m crossbeam-utils v0.8.8 �[0m�[0m�[1m�[32m Compiling�[0m futures-sink v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m futures-channel v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m futures-task v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m futures-io v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m futures-util v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m pin-utils v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m opaque-debug v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m unicode-xid v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m block-padding v0.2.1 �[0m�[0m�[1m�[32m Compiling�[0m unicode-segmentation v1.9.0 �[0m�[0m�[1m�[32m Compiling�[0m unicode-width v0.1.9 �[0m�[0m�[1m�[32m Compiling�[0m ref-cast v1.0.8 �[0m�[0m�[1m�[32m Compiling�[0m async-trait v0.1.57 �[0m�[0m�[1m�[32m Compiling�[0m percent-encoding v2.2.0 �[0m�[0m�[1m�[32m Compiling�[0m same-file v1.0.6 �[0m�[0m�[1m�[32m Compiling�[0m minimal-lexical v0.2.1 �[0m�[0m�[1m�[32m Compiling�[0m pkg-config v0.3.25 �[0m�[0m�[1m�[32m Compiling�[0m ucd-trie v0.1.4 �[0m�[0m�[1m�[32m Compiling�[0m tower-service v0.3.1 �[0m�[0m�[1m�[32m Compiling�[0m rayon-core v1.9.3 �[0m�[0m�[1m�[32m Compiling�[0m try-lock v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen-shared v0.2.81 �[0m�[0m�[1m�[32m Compiling�[0m move-borrow-graph v0.0.1 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m time-macros v0.2.4 �[0m�[0m�[1m�[32m Compiling�[0m const-oid v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen v0.2.81 �[0m�[0m�[1m�[32m Compiling�[0m rustc-hash v1.1.0 �[0m�[0m�[1m�[32m Compiling�[0m openssl-probe v0.1.5 �[0m�[0m�[1m�[32m Compiling�[0m signal-hook v0.3.14 �[0m�[0m�[1m�[32m Compiling�[0m tower-layer v0.3.1 �[0m�[0m�[1m�[32m Compiling�[0m unicode-bidi v0.3.8 �[0m�[0m�[1m�[32m Compiling�[0m event-listener v2.5.3 �[0m�[0m�[1m�[32m Compiling�[0m iana-time-zone v0.1.45 �[0m�[0m�[1m�[32m Compiling�[0m lexical-core v0.7.6 �[0m�[0m�[1m�[32m Compiling�[0m semver-parser v0.7.0 �[0m�[0m�[1m�[32m Compiling�[0m unic-common v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m unic-char-range v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m http-range-header v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m guppy-workspace-hack v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m target-lexicon v0.12.4 �[0m�[0m�[1m�[32m Compiling�[0m crossbeam-queue v0.3.5 �[0m�[0m�[1m�[32m Compiling�[0m foreign-types-shared v0.1.1 �[0m�[0m�[1m�[32m Compiling�[0m native-tls v0.2.10 �[0m�[0m�[1m�[32m Compiling�[0m linked-hash-map v0.5.6 �[0m�[0m�[1m�[32m Compiling�[0m typed-arena v2.0.1 �[0m�[0m�[1m�[32m Compiling�[0m target-spec v1.0.2 �[0m�[0m�[1m�[32m Compiling�[0m fiat-crypto v0.1.13 �[0m�[0m�[1m�[32m Compiling�[0m integer-encoding v3.0.4 �[0m�[0m�[1m�[32m Compiling�[0m data-encoding v2.3.2 �[0m�[0m�[1m�[32m Compiling�[0m test-fuzz-internal v3.0.4 �[0m�[0m�[1m�[32m Compiling�[0m subtle-ng v2.5.0 �[0m�[0m�[1m�[32m Compiling�[0m debug-ignore v1.0.2 �[0m�[0m�[1m�[32m Compiling�[0m rust-ini v0.13.0 �[0m�[0m�[1m�[32m Compiling�[0m proc-macro2 v0.4.30 �[0m�[0m�[1m�[32m Compiling�[0m oid-registry v0.6.0 �[0m�[0m�[1m�[32m Compiling�[0m io-lifetimes v0.6.1 �[0m�[0m�[1m�[32m Compiling�[0m crc-catalog v2.1.0 �[0m�[0m�[1m�[32m Compiling�[0m unicode-xid v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m plotters-backend v0.3.4 �[0m�[0m�[1m�[32m Compiling�[0m cfg-if v0.1.10 �[0m�[0m�[1m�[32m Compiling�[0m predicates-core v1.0.3 �[0m�[0m�[1m�[32m Compiling�[0m linux-raw-sys v0.0.46 �[0m�[0m�[1m�[32m Compiling�[0m test-fuzz-runtime v3.0.4 �[0m�[0m�[1m�[32m Compiling�[0m symbolic-demangle v9.2.0 �[0m�[0m�[1m�[32m Compiling�[0m owo-colors v3.4.0 �[0m�[0m�[1m�[32m Compiling�[0m unsigned-varint v0.7.1 �[0m�[0m�[1m�[32m Compiling�[0m test-fuzz-macro v3.0.4 �[0m�[0m�[1m�[32m Compiling�[0m normalize-line-endings v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m bit-vec v0.6.3 �[0m�[0m�[1m�[32m Compiling�[0m endian-type v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m test-fuzz v3.0.4 �[0m�[0m�[1m�[32m Compiling�[0m quick-error v1.2.3 �[0m�[0m�[1m�[32m Compiling�[0m quick-error v2.0.1 �[0m�[0m�[1m�[32m Compiling�[0m dyn-clone v1.0.9 �[0m�[0m�[1m�[32m Compiling�[0m hmac-sha512 v0.1.9 �[0m�[0m�[1m�[32m Compiling�[0m hex-literal v0.3.4 �[0m�[0m�[1m�[32m Compiling�[0m shell-words v1.1.0 �[0m�[0m�[1m�[32m Compiling�[0m sharded-slab v0.1.4 �[0m�[0m�[1m�[32m Compiling�[0m tracing-core v0.1.29 �[0m�[0m�[1m�[32m Compiling�[0m rustls-pemfile v1.0.0 �[0m�[0m�[1m�[32m Compiling�[0m rustls-pemfile v0.2.1 �[0m�[0m�[1m�[32m Compiling�[0m twox-hash v1.6.3 �[0m�[0m�[1m�[32m Compiling�[0m generic-array v0.14.6 �[0m�[0m�[1m�[32m Compiling�[0m proc-macro-error-attr v1.0.4 �[0m�[0m�[1m�[32m Compiling�[0m proc-macro-error v1.0.4 �[0m�[0m�[1m�[32m Compiling�[0m unic-ucd-version v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m async-lock v2.5.0 �[0m�[0m�[1m�[32m Compiling�[0m unic-char-property v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m foreign-types v0.3.2 �[0m�[0m�[1m�[32m Compiling�[0m num-traits v0.2.15 �[0m�[0m�[1m�[32m Compiling�[0m num-integer v0.1.45 �[0m�[0m�[1m�[32m Compiling�[0m num-bigint v0.4.3 �[0m�[0m�[1m�[32m Compiling�[0m crossbeam-epoch v0.9.8 �[0m�[0m�[1m�[32m Compiling�[0m num-rational v0.4.1 �[0m�[0m�[1m�[32m Compiling�[0m num-iter v0.1.43 �[0m�[0m�[1m�[32m Compiling�[0m yaml-rust v0.4.5 �[0m�[0m�[1m�[32m Compiling�[0m plotters-svg v0.3.1 �[0m�[0m�[1m�[32m Compiling�[0m clang-sys v1.3.3 �[0m�[0m�[1m�[32m Compiling�[0m bit-set v0.5.3 �[0m�[0m�[1m�[32m Compiling�[0m predicates-tree v1.0.5 �[0m�[0m�[1m�[32m Compiling�[0m rustls-native-certs v0.6.2 �[0m�[0m�[1m�[32m Compiling�[0m unic-ucd-segment v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m tracing-subscriber v0.2.25 �[0m�[0m�[1m�[32m Compiling�[0m regex-automata v0.1.10 �[0m�[0m�[1m�[32m Compiling�[0m unicode-normalization v0.1.21 �[0m�[0m�[1m�[32m Compiling�[0m crossbeam-channel v0.5.5 �[0m�[0m�[1m�[32m Compiling�[0m aho-corasick v0.7.18 �[0m�[0m�[1m�[32m Compiling�[0m csv-core v0.1.10 �[0m�[0m�[1m�[32m Compiling�[0m quick-xml v0.23.1 �[0m�[0m�[1m�[32m Compiling�[0m unic-segment v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m num-format v0.4.0 �[0m�[0m�[1m�[32m Compiling�[0m cfg-expr v0.10.3 �[0m�[0m�[1m�[32m Compiling�[0m pre-proc-macro v0.2.1 �[0m�[0m�[1m�[32m Compiling�[0m criterion-plot v0.4.5 �[0m�[0m�[1m�[32m Compiling�[0m colored-diff v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m crossbeam-deque v0.8.1 �[0m�[0m�[1m�[32m Compiling�[0m block-buffer v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m block-buffer v0.10.2 �[0m�[0m�[1m�[32m Compiling�[0m crypto-common v0.1.6 �[0m�[0m�[1m�[32m Compiling�[0m crypto-mac v0.8.0 �[0m�[0m�[1m�[32m Compiling�[0m signal-hook-registry v1.4.0 �[0m�[0m�[1m�[32m Compiling�[0m dirs-sys-next v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m dirs-sys v0.3.7 �[0m�[0m�[1m�[32m Compiling�[0m wait-timeout v0.2.0 �[0m�[0m�[1m�[32m Compiling�[0m sized-chunks v0.6.5 �[0m�[0m�[1m�[32m Compiling�[0m sha-1 v0.9.8 �[0m�[0m�[1m�[32m Compiling�[0m num-complex v0.4.2 �[0m�[0m�[1m�[32m Compiling�[0m num-traits v0.1.43 �[0m�[0m�[1m�[32m Compiling�[0m ordered-float v1.1.1 �[0m�[0m�[1m�[32m Compiling�[0m ordered-float v2.10.0 �[0m�[0m�[1m�[32m Compiling�[0m float-cmp v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m dirs-next v2.0.0 �[0m�[0m�[1m�[32m Compiling�[0m rusty-fork v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m sha-1 v0.10.0 �[0m�[0m�[1m�[32m Compiling�[0m futures-intrusive v0.4.0 �[0m�[0m�[1m�[32m Compiling�[0m strip-ansi-escapes v0.1.1 �[0m�[0m�[1m�[32m Compiling�[0m fd-lock v3.0.5 �[0m�[0m�[1m�[32m Compiling�[0m parse-zoneinfo v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m serde-hjson v0.9.1 �[0m�[0m�[1m�[32m Compiling�[0m rusticata-macros v4.1.0 �[0m�[0m�[1m�[32m Compiling�[0m openssl-sys v0.9.74 �[0m�[0m�[1m�[32m Compiling�[0m bzip2-sys v0.1.11+1.0.8 �[0m�[0m�[1m�[32m Compiling�[0m libz-sys v1.1.8 �[0m�[0m�[1m�[32m Compiling�[0m zstd-sys v2.0.1+zstd.1.5.2 �[0m�[0m�[1m�[32m Compiling�[0m secp256k1-sys v0.6.0 �[0m�[0m�[1m�[32m Compiling�[0m libsqlite3-sys v0.24.2 �[0m�[0m�[1m�[32m Compiling�[0m jemalloc-sys v0.5.1+5.3.0-patched �[0m�[0m�[1m�[32m Compiling�[0m prost-build v0.10.4 �[0m�[0m�[1m�[32m Compiling�[0m chrono-tz-build v0.0.3 �[0m�[0m�[1m�[32m Compiling�[0m unicode-linebreak v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m symbolic-common v9.2.0 �[0m�[0m�[1m�[32m Compiling�[0m chrono-tz v0.6.3 �[0m�[0m�[1m�[32m Compiling�[0m ark-std v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m anemo-build v0.0.0 (https://github.com/mystenlabs/anemo.git?rev=302ff6f98fffa30a3a18e919766cd63f5b4c5aa8#302ff6f9) �[0m�[0m�[1m�[32m Compiling�[0m tonic-build v0.7.2 (https://github.com/hyperium/tonic.git?rev=de2e4ac077c076736dc451f3415ea7da1a61a560#de2e4ac0) �[0m�[0m�[1m�[32m Compiling�[0m proptest-derive v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m thiserror-impl v1.0.35 �[0m�[0m�[1m�[32m Compiling�[0m tracing-attributes v0.1.22 �[0m�[0m�[1m�[32m Compiling�[0m tokio-macros v1.8.0 �[0m�[0m�[1m�[32m Compiling�[0m futures-macro v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m ref-cast-impl v1.0.8 �[0m�[0m�[1m�[32m Compiling�[0m pin-project-internal v1.0.12 �[0m�[0m�[1m�[32m Compiling�[0m prost-derive v0.10.1 �[0m�[0m�[1m�[32m Compiling�[0m ark-serialize-derive v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m ark-ff-asm v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m ark-ff-macros v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m openssl-macros v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m async-stream-impl v0.3.3 �[0m�[0m�[1m�[32m Compiling�[0m asn1-rs-impl v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m prost-derive v0.11.0 �[0m�[0m�[1m�[32m Compiling�[0m asn1-rs-derive v0.4.0 �[0m�[0m�[1m�[32m Compiling�[0m unzip-n v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m structopt-derive v0.4.18 �[0m�[0m�[1m�[32m Compiling�[0m impl-trait-for-tuples v0.2.2 �[0m�[0m�[1m�[32m Compiling�[0m mysten-util-mem-derive v0.1.0 (https://github.com/MystenLabs/mysten-infra#56e4d7b8) �[0m�[0m�[1m�[32m Compiling�[0m tracing-test-macro v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m derive-syn-parse v0.1.5 �[0m�[0m�[1m�[32m Compiling�[0m name-variant v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m rustyline-derive v0.7.0 �[0m�[0m�[1m�[32m Compiling�[0m async-recursion v1.0.0 �[0m�[0m�[1m�[32m Compiling�[0m sui-network v0.0.0 (/home/runner/work/sui/sui/crates/sui-network) �[0m�[0m�[1m�[32m Compiling�[0m webpki-roots v0.22.4 �[0m�[0m�[1m�[32m Compiling�[0m ark-serialize v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m async-stream v0.3.3 �[0m�[0m�[1m�[32m Compiling�[0m curve25519-dalek-fiat v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m crypto-bigint v0.4.8 �[0m�[0m�[1m�[32m Compiling�[0m librocksdb-sys v0.8.0+7.4.4 �[0m�[0m�[1m�[32m Compiling�[0m pin-project v1.0.12 �[0m�[0m�[1m�[32m Compiling�[0m asn1-rs v0.5.1 �[0m�[0m�[1m�[32m Compiling�[0m named-lock v0.2.0 �[0m�[0m�[1m�[32m Compiling�[0m tiny-bip39 v1.0.0 �[0m�[0m�[1m�[32m Compiling�[0m elliptic-curve v0.12.3 �[0m�[0m�[1m�[32m Compiling�[0m semver-parser v0.10.2 �[0m�[0m�[1m�[32m Compiling�[0m der-parser v8.1.0 �[0m�[0m�[1m�[32m Compiling�[0m x509-parser v0.14.0 �[0m�[0m�[1m�[32m Compiling�[0m ark-ff v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m futures-executor v0.3.24 �[0m�[0m�[1m�[32m Compiling�[0m move-symbol-pool v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m codespan-reporting v0.11.1 �[0m�[0m�[1m�[32m Compiling�[0m cargo-platform v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m serde-reflection v0.3.6 �[0m�[0m�[1m�[32m Compiling�[0m curve25519-dalek-ng v4.1.1 �[0m�[0m�[1m�[32m Compiling�[0m serde-value v0.7.0 �[0m�[0m�[1m�[32m Compiling�[0m duration-str v0.4.0 �[0m�[0m�[1m�[32m Compiling�[0m curve25519-dalek v3.2.0 �[0m�[0m�[1m�[32m Compiling�[0m serde-name v0.2.1 �[0m�[0m�[1m�[32m Compiling�[0m arc-swap v1.5.1 �[0m�[0m�[1m�[32m Compiling�[0m ed25519-dalek-fiat v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen-backend v0.2.81 �[0m�[0m�[1m�[32m Compiling�[0m tracing-log v0.1.3 �[0m�[0m�[1m�[32m Compiling�[0m move-core-types v0.0.4 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m bytecode-interpreter-crypto v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m tracing-futures v0.2.5 �[0m�[0m�[1m�[32m Compiling�[0m tracing-subscriber v0.3.15 �[0m�[0m�[1m�[32m Compiling�[0m signal-hook-mio v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m ed25519-consensus v2.0.1 �[0m�[0m�[1m�[32m Compiling�[0m prost-types v0.10.1 �[0m�[0m�[1m�[32m Compiling�[0m prost-types v0.11.1 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen-macro-support v0.2.81 �[0m�[0m�[1m�[32m Compiling�[0m http-body v0.4.5 �[0m�[0m�[1m�[32m Compiling�[0m proc-macro-crate v1.1.3 �[0m�[0m�[1m�[32m Compiling�[0m guppy-summaries v0.7.0 �[0m�[0m�[1m�[32m Compiling�[0m proc-macro-crate v0.1.5 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-types v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m axum-core v0.2.8 �[0m�[0m�[1m�[32m Compiling�[0m move-binary-format v0.0.3 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-command-line-common v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m comfy-table v6.1.0 �[0m�[0m�[1m�[32m Compiling�[0m multihash-derive v0.8.0 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-proc-macros v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m move-ir-types v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m tracing-appender v0.2.2 �[0m�[0m�[1m�[32m Compiling�[0m tracing-bunyan-formatter v0.3.3 �[0m�[0m�[1m�[32m Compiling�[0m tracing-chrome v0.6.0 �[0m�[0m�[1m�[32m Compiling�[0m tracing-test v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen-macro v0.2.81 �[0m�[0m�[1m�[32m Compiling�[0m quinn-proto v0.8.4 �[0m�[0m�[1m�[32m Compiling�[0m move-ir-to-bytecode-syntax v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m libtest-mimic v0.4.1 �[0m�[0m�[1m�[32m Compiling�[0m move-bytecode-source-map v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-bytecode-verifier v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-read-write-set-types v0.0.3 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-bytecode-utils v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-vm-types v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m datatest-stable v0.1.2 �[0m�[0m�[1m�[32m Compiling�[0m move-resource-viewer v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m read-write-set-dynamic v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-ir-to-bytecode v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-coverage v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-vm-test-utils v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-vm-runtime v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m js-sys v0.3.58 �[0m�[0m�[1m�[32m Compiling�[0m move-compiler v0.0.1 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-ir-compiler v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m tokio-util v0.7.4 �[0m�[0m�[1m�[32m Compiling�[0m tokio-rustls v0.23.4 �[0m�[0m�[1m�[32m Compiling�[0m tokio-io-timeout v1.2.0 �[0m�[0m�[1m�[32m Compiling�[0m tokio-native-tls v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m tokio-retry v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m sqlx-rt v0.6.2 �[0m�[0m�[1m�[32m Compiling�[0m move-table-extension v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m ark-ec v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m ark-relations v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m tokio-stream v0.1.10 �[0m�[0m�[1m�[32m Compiling�[0m quinn-udp v0.1.3 �[0m�[0m�[1m�[32m Compiling�[0m ark-snark v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m sqlx-core v0.6.2 �[0m�[0m�[1m�[32m Compiling�[0m mysten-util-mem v0.11.0 (https://github.com/MystenLabs/mysten-infra#56e4d7b8) �[0m�[0m�[1m�[32m Compiling�[0m ark-bls12-377 v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m ark-crypto-primitives v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m wasm-bindgen-futures v0.4.31 �[0m�[0m�[1m�[32m Compiling�[0m gloo-timers v0.2.4 �[0m�[0m�[1m�[32m Compiling�[0m web-sys v0.3.58 �[0m�[0m�[1m�[32m Compiling�[0m ark-ed-on-cp6-782 v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m futures-timer v3.0.2 �[0m�[0m�[1m�[32m Compiling�[0m ark-ed-on-bw6-761 v0.3.0 �[0m�[0m�[1m�[32m Compiling�[0m bls-crypto v0.2.0 (https://github.com/huitseeker/celo-bls-snark-rs?branch=updates-2#9f5a0e6f) �[0m�[0m�[1m�[32m Compiling�[0m opentelemetry-semantic-conventions v0.9.0 �[0m�[0m�[1m�[32m Compiling�[0m tracing-opentelemetry v0.17.4 �[0m�[0m�[1m�[32m Compiling�[0m tower-http v0.3.4 �[0m�[0m�[1m�[32m Compiling�[0m opentelemetry-jaeger v0.16.0 �[0m�[0m�[1m�[32m Compiling�[0m opentelemetry-semantic-conventions v0.10.0 �[0m�[0m�[1m�[32m Compiling�[0m tracing-opentelemetry v0.18.0 �[0m�[0m�[1m�[32m Compiling�[0m opentelemetry-jaeger v0.17.0 �[0m�[0m�[1m�[32m Compiling�[0m tonic-build v0.7.2 �[0m�[0m�[1m�[32m Compiling�[0m telemetry-subscribers v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m anemo-tower v0.0.0 (https://github.com/mystenlabs/anemo.git?rev=302ff6f98fffa30a3a18e919766cd63f5b4c5aa8#302ff6f9) �[0m�[0m�[1m�[32m Compiling�[0m tonic-health v0.6.0 �[0m�[0m�[1m�[32m Compiling�[0m narwhal-types v0.1.0 (/home/runner/work/sui/sui/narwhal/types) �[0m�[0m�[1m�[32m Compiling�[0m gloo-utils v0.1.5 �[0m�[0m�[1m�[32m Compiling�[0m gloo-net v0.2.3 �[0m�[0m�[1m�[32m Compiling�[0m sqlx-macros v0.6.2 �[0m�[0m�[1m�[32m Compiling�[0m move-disassembler v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-model v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-bytecode-viewer v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m hyper-timeout v0.4.1 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-core v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m hyper-tls v0.5.0 �[0m�[0m�[1m�[32m Compiling�[0m hyper-rustls v0.23.0 �[0m�[0m�[1m�[32m Compiling�[0m move-stackless-bytecode v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-docgen v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-abigen v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-errmapgen v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-client-transport v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-http-server v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-ws-server v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-http-client v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m move-package v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-ws-client v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m jsonrpsee-wasm-client v0.15.1 �[0m�[0m�[1m�[32m Compiling�[0m nexlint v0.1.0 (https://github.com/nextest-rs/nexlint.git?rev=bff03c566c9e22b1f4e67f516d0fd592a5a88f20#bff03c56) �[0m�[0m�[1m�[32m Compiling�[0m console-api v0.4.0 �[0m�[0m�[1m�[32m Compiling�[0m nexlint-lints v0.1.0 (https://github.com/nextest-rs/nexlint.git?rev=bff03c566c9e22b1f4e67f516d0fd592a5a88f20#bff03c56) �[0m�[0m�[1m�[32m Compiling�[0m move-prover-boogie-backend v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-stackless-bytecode-interpreter v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m read-write-set v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m mysten-network v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m console-subscriber v0.1.8 �[0m�[0m�[1m�[32m Compiling�[0m move-prover v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m telemetry-subscribers v0.2.0 �[0m�[0m�[1m�[32m Compiling�[0m move-stdlib v0.1.1 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-unit-test v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-cli v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m move-transactional-test-runner v0.1.0 (https://github.com/move-language/move?rev=05678c0533b6ffd5fcd91a6109648b6b089f55f3#05678c05) �[0m�[0m�[1m�[32m Compiling�[0m jemalloc-ctl v0.5.0 �[0m�[0m�[1m�[32m Compiling�[0m typed-store v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m typed-store-derive v0.1.0 �[0m�[0m�[1m�[32m Compiling�[0m workspace-hack v0.1.0 (/home/runner/work/sui/sui/crates/workspace-hack) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-crypto v0.1.0 (/home/runner/work/sui/sui/narwhal/crypto) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-dag v0.1.0 (/home/runner/work/sui/sui/narwhal/dag) �[0m�[0m�[1m�[32m Compiling�[0m sui-cost-tables v0.1.0 (/home/runner/work/sui/sui/crates/sui-cost-tables) �[0m�[0m�[1m�[32m Compiling�[0m sui-open-rpc v0.6.1 (/home/runner/work/sui/sui/crates/sui-open-rpc) �[0m�[0m�[1m�[32m Compiling�[0m sui-telemetry v0.1.0 (/home/runner/work/sui/sui/crates/sui-telemetry) �[0m�[0m�[1m�[32m Compiling�[0m sui-macros v0.7.0 (/home/runner/work/sui/sui/crates/sui-macros) �[0m�[0m�[1m�[32m Compiling�[0m sui-open-rpc-macros v0.1.0 (/home/runner/work/sui/sui/crates/sui-open-rpc-macros) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-config v0.1.0 (/home/runner/work/sui/sui/narwhal/config) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-storage v0.1.0 (/home/runner/work/sui/sui/narwhal/storage) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-network v0.1.0 (/home/runner/work/sui/sui/narwhal/network) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-consensus v0.1.0 (/home/runner/work/sui/sui/narwhal/consensus) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-primary v0.1.0 (/home/runner/work/sui/sui/narwhal/primary) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-executor v0.1.0 (/home/runner/work/sui/sui/narwhal/executor) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-worker v0.1.0 (/home/runner/work/sui/sui/narwhal/worker) �[0m�[0m�[1m�[32m Compiling�[0m sui-types v0.1.0 (/home/runner/work/sui/sui/crates/sui-types) �[0m�[0m�[1m�[32m Compiling�[0m narwhal-node v0.1.0 (/home/runner/work/sui/sui/narwhal/node) �[0m�[0m�[1m�[32m Compiling�[0m sui-verifier v0.1.0 (/home/runner/work/sui/sui/crates/sui-verifier) �[0m�[0m�[1m�[32m Compiling�[0m sui-framework-build v0.0.0 (/home/runner/work/sui/sui/crates/sui-framework-build) �[0m�[0m�[1m�[32m Compiling�[0m sui-json v0.0.0 (/home/runner/work/sui/sui/crates/sui-json) �[0m�[0m�[1m�[32m Compiling�[0m sui-json-rpc-types v0.0.0 (/home/runner/work/sui/sui/crates/sui-json-rpc-types) �[0m�[0m�[1m�[32m Compiling�[0m sui-framework v0.1.0 (/home/runner/work/sui/sui/crates/sui-framework) �[0m�[0m�[1m�[32m Compiling�[0m sui-storage v0.1.0 (/home/runner/work/sui/sui/crates/sui-storage) �[0m�[0m�[1m�[32m Compiling�[0m sui-adapter v0.1.0 (/home/runner/work/sui/sui/crates/sui-adapter) �[0m�[0m�[1m�[32m Compiling�[0m sui-simulator v0.7.0 (/home/runner/work/sui/sui/crates/sui-simulator) �[0m�[0m�[1m�[32m Compiling�[0m sui-config v0.0.0 (/home/runner/work/sui/sui/crates/sui-config) �[0m�[0m�[1m�[32m Compiling�[0m sui-core v0.10.0 (/home/runner/work/sui/sui/crates/sui-core) �[0m�[0m�[1m�[32m Compiling�[0m sui-cost v0.1.0 (/home/runner/work/sui/sui/crates/sui-cost) �[0m�[0m�[1m�[32m Compiling�[0m sui-json-rpc v0.0.0 (/home/runner/work/sui/sui/crates/sui-json-rpc) �[0m�[0m�[1m�[32m Compiling�[0m sui-node v0.10.0 (/home/runner/work/sui/sui/crates/sui-node) �[0m�[0m�[1m�[32m Compiling�[0m sui-sdk v0.0.0 (/home/runner/work/sui/sui/crates/sui-sdk) �[0m�[0m�[1m�[32m Compiling�[0m sui-swarm v0.0.0 (/home/runner/work/sui/sui/crates/sui-swarm) �[0m�[0m�[1m�[32m Compiling�[0m test-utils v0.1.0 (/home/runner/work/sui/sui/crates/test-utils) �[0m�[0m�[1m�[32m Compiling�[0m sui-benchmark v0.0.0 (/home/runner/work/sui/sui/crates/sui-benchmark) �[0m�[0m�[1m�[32m Finished�[0m dev [unoptimized + debuginfo] target(s) in 3m 46s �[0m�[0m�[1m�[32m Running�[0m target/debug/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 --transfer-object 100 --run-duration 60s Benchmark Report: +-------------+-----+--------+-----+-----+-----+-----+-----+-----+-------+-----+ | duration(s) | tps | error% | min | p25 | p50 | p75 | p90 | p99 | p99.9 | max | +==============================================================================+ | 60 | 100 | 0 | 35 | 49 | 76 | 82 | 86 | 97 | 112 | 117 |
  • Shared # Bench results �[0m�[0m�[1m�[32m Finished�[0m dev [unoptimized + debuginfo] target(s) in 0.68s �[0m�[0m�[1m�[32m Running�[0m target/debug/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 60s Benchmark Report: +-------------+-----+--------+-----+-----+-----+-----+-----+-----+-------+------+ | duration(s) | tps | error% | min | p25 | p50 | p75 | p90 | p99 | p99.9 | max | +===============================================================================+ | 60 | 97 | 0 | 38 | 531 | 599 | 675 | 755 | 907 | 1079 | 1103 |

Please sign in to comment.