mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore(op): Add OpChainSpec (#10516)
This commit is contained in:
@ -501,8 +501,11 @@ mod tests {
|
||||
let account = Account { balance: U256::MAX, ..Account::default() };
|
||||
db.insert_account(addr, account, None, HashMap::new());
|
||||
|
||||
let chain_spec =
|
||||
Arc::new(ChainSpecBuilder::from(&*BASE_MAINNET).regolith_activated().build());
|
||||
let chain_spec = Arc::new(
|
||||
ChainSpecBuilder::from(&Arc::new(BASE_MAINNET.inner.clone()))
|
||||
.regolith_activated()
|
||||
.build(),
|
||||
);
|
||||
|
||||
let tx = TransactionSigned::from_transaction_and_signature(
|
||||
Transaction::Eip1559(TxEip1559 {
|
||||
@ -582,8 +585,11 @@ mod tests {
|
||||
|
||||
db.insert_account(addr, account, None, HashMap::new());
|
||||
|
||||
let chain_spec =
|
||||
Arc::new(ChainSpecBuilder::from(&*BASE_MAINNET).canyon_activated().build());
|
||||
let chain_spec = Arc::new(
|
||||
ChainSpecBuilder::from(&Arc::new(BASE_MAINNET.inner.clone()))
|
||||
.canyon_activated()
|
||||
.build(),
|
||||
);
|
||||
|
||||
let tx = TransactionSigned::from_transaction_and_signature(
|
||||
Transaction::Eip1559(TxEip1559 {
|
||||
|
||||
Reference in New Issue
Block a user