This commit is contained in:
Yong Kang
2025-10-08 03:26:19 +00:00
parent 4bd72df801
commit c163bd7811

View File

@@ -2280,7 +2280,7 @@ mod tests {
// Invalid/Non-existent argument should return `None`
{
call_method!($arg_count, provider, $method, |_,_,_,_| ($invalid_args, None), tx_num, tx_hash, &in_memory_blocks[0], &receipts);
call_method!($arg_count, provider, $method, |_,_,_,_| ($invalid_args, None), tx_num, tx_hash, &in_memory_blocks[0], &receipts);
}
// Check that the item is only in memory and not in database
@@ -2291,7 +2291,7 @@ mod tests {
call_method!($arg_count, provider, $method, |_,_,_,_| (args.clone(), expected_item), tx_num, tx_hash, last_mem_block, &receipts);
// Ensure the item is not in storage
call_method!($arg_count, provider.database, $method, |_,_,_,_| (args, None), tx_num, tx_hash, last_mem_block, &receipts);
call_method!($arg_count, provider.database, $method, |_,_,_,_| (args, None), tx_num, tx_hash, last_mem_block, &receipts);
}
)*
}};