mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add TransactionSigned::new fns (#12768)
This commit is contained in:
@ -377,7 +377,7 @@ mod tests {
|
||||
|
||||
let chain_spec = Arc::new(OpChainSpecBuilder::base_mainnet().regolith_activated().build());
|
||||
|
||||
let tx = TransactionSigned::from_transaction_and_signature(
|
||||
let tx = TransactionSigned::new_unhashed(
|
||||
Transaction::Eip1559(TxEip1559 {
|
||||
chain_id: chain_spec.chain.id(),
|
||||
nonce: 0,
|
||||
@ -388,7 +388,7 @@ mod tests {
|
||||
Signature::test_signature(),
|
||||
);
|
||||
|
||||
let tx_deposit = TransactionSigned::from_transaction_and_signature(
|
||||
let tx_deposit = TransactionSigned::new_unhashed(
|
||||
Transaction::Deposit(op_alloy_consensus::TxDeposit {
|
||||
from: addr,
|
||||
to: addr.into(),
|
||||
@ -461,7 +461,7 @@ mod tests {
|
||||
|
||||
let chain_spec = Arc::new(OpChainSpecBuilder::base_mainnet().canyon_activated().build());
|
||||
|
||||
let tx = TransactionSigned::from_transaction_and_signature(
|
||||
let tx = TransactionSigned::new_unhashed(
|
||||
Transaction::Eip1559(TxEip1559 {
|
||||
chain_id: chain_spec.chain.id(),
|
||||
nonce: 0,
|
||||
@ -472,7 +472,7 @@ mod tests {
|
||||
Signature::test_signature(),
|
||||
);
|
||||
|
||||
let tx_deposit = TransactionSigned::from_transaction_and_signature(
|
||||
let tx_deposit = TransactionSigned::new_unhashed(
|
||||
Transaction::Deposit(op_alloy_consensus::TxDeposit {
|
||||
from: addr,
|
||||
to: addr.into(),
|
||||
|
||||
Reference in New Issue
Block a user