Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Aug 8, 2023
1 parent 6642a8d commit 311e671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mev-build-rs/src/mempool_builder/builder/payload_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ pub fn build_payload_with_transaction_count<
let nonce = signer_account.info.nonce;

let fee_recipient = ethers_H160::from_slice(context.proposer_fee_recipient.as_ref());
dbg!(base_fee);
let tx = Eip1559TransactionRequest::new()
.from(sender)
.to(fee_recipient)
Expand All @@ -164,6 +165,7 @@ pub fn build_payload_with_transaction_count<
.access_list(ethers::types::transaction::eip2930::AccessList::default())
.nonce(nonce)
.chain_id(context.cfg_env.chain_id.to::<u64>());
dbg!(&tx);
let tx = TypedTransaction::Eip1559(tx);
let wallet = &context.builder_wallet;
let signature = wallet.sign_transaction_sync(&tx).expect("can make transaction");
Expand Down

0 comments on commit 311e671

Please sign in to comment.