We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ab12e commit aeb52eaCopy full SHA for aeb52ea
crates/cast/src/cmd/call.rs
@@ -30,6 +30,7 @@ use foundry_evm::{
30
opts::EvmOpts,
31
traces::{InternalTraceMode, TraceMode},
32
};
33
+use itertools::Either;
34
use regex::Regex;
35
use revm::context::TransactionType;
36
use std::{str::FromStr, sync::LazyLock};
@@ -311,6 +312,12 @@ impl CallArgs {
311
312
}
313
314
315
+ if let Some(auth) = tx.inner.authorization_list {
316
+ env_tx.authorization_list = auth.into_iter().map(Either::Left).collect();
317
+
318
+ env_tx.tx_type = TransactionType::Eip7702 as u8;
319
+ }
320
321
let trace = match tx_kind {
322
TxKind::Create => {
323
let deploy_result = executor.deploy(from, input, value, None);
0 commit comments