We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85feead commit 47ca7c7Copy full SHA for 47ca7c7
2 files changed
crescendo/src/config.rs
@@ -53,7 +53,7 @@ pub struct TxGenWorkerConfig {
53
pub mnemonic: String,
54
pub num_accounts: u32,
55
56
- pub gas_price: u128,
+ pub gas_price: u64,
57
pub gas_limit: u64,
58
59
pub token_contract_address: String,
crescendo/src/workers/tx_gen.rs
@@ -69,7 +69,7 @@ pub fn tx_gen_worker(_worker_id: u32) {
69
TxLegacy {
70
chain_id: Some(config.chain_id),
71
nonce,
72
- gas_price: config.gas_price,
+ gas_price: config.gas_price as u128,
73
gas_limit: config.gas_limit,
74
to: TxKind::Call(config.token_contract_address.parse::<Address>().unwrap()),
75
value: U256::ZERO,
0 commit comments