Skip to content

Commit 47ca7c7

Browse files
u64 gas price
1 parent 85feead commit 47ca7c7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crescendo/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub struct TxGenWorkerConfig {
5353
pub mnemonic: String,
5454
pub num_accounts: u32,
5555

56-
pub gas_price: u128,
56+
pub gas_price: u64,
5757
pub gas_limit: u64,
5858

5959
pub token_contract_address: String,

crescendo/src/workers/tx_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn tx_gen_worker(_worker_id: u32) {
6969
TxLegacy {
7070
chain_id: Some(config.chain_id),
7171
nonce,
72-
gas_price: config.gas_price,
72+
gas_price: config.gas_price as u128,
7373
gas_limit: config.gas_limit,
7474
to: TxKind::Call(config.token_contract_address.parse::<Address>().unwrap()),
7575
value: U256::ZERO,

0 commit comments

Comments
 (0)