use memo in create_memo_tx helper
This commit is contained in:
parent
5b6e853629
commit
a13e630e56
|
@ -387,6 +387,7 @@ dependencies = [
|
||||||
"solana-sdk 1.15.0",
|
"solana-sdk 1.15.0",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tracing-subscriber",
|
"tracing-subscriber",
|
||||||
|
"uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -5232,6 +5233,15 @@ version = "0.7.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "uuid"
|
||||||
|
version = "1.3.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79"
|
||||||
|
dependencies = [
|
||||||
|
"getrandom 0.2.8",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "valuable"
|
name = "valuable"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
|
@ -15,3 +15,5 @@ clap = { version = "4.1.6", features = ["derive"] }
|
||||||
tokio = { version = "1.25.0", features = ["full", "fs"]}
|
tokio = { version = "1.25.0", features = ["full", "fs"]}
|
||||||
tracing-subscriber = "0.3.16"
|
tracing-subscriber = "0.3.16"
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
|
uuid = { version = "1.3.0", features = ["v4"] }
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ impl BenchHelper {
|
||||||
) -> Vec<Transaction> {
|
) -> Vec<Transaction> {
|
||||||
(0..num_of_txs)
|
(0..num_of_txs)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|_| Self::create_memo_tx(b"hello", funded_payer, blockhash))
|
.map(|_| Self::create_memo_tx( uuid::Uuid::new_v4().as_bytes(), funded_payer, blockhash))
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue