mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
chore(ci): improve pipelines security (#1188)
This commit is contained in:
@@ -148,7 +148,7 @@ export default class EthTransfer extends Command {
|
||||
type: 2,
|
||||
chainId,
|
||||
maxFeePerGas: fees.maxFeePerGas,
|
||||
maxPriorityFeePerGas: fees.maxPriorityFeePerGas,
|
||||
maxPriorityFeePerGas: fees.maxPriorityFeePerGas ?? null,
|
||||
nonce: nonce,
|
||||
};
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ export default class Synctx extends Command {
|
||||
const toAddress = tx.to ? await ethers.resolveAddress(tx.to) : undefined;
|
||||
|
||||
const transaction: ethers.TransactionLike<string> = {
|
||||
to: toAddress,
|
||||
to: toAddress ?? null,
|
||||
nonce: Number(tx.nonce),
|
||||
gasLimit: BigInt(tx.gas),
|
||||
...(Number(tx.type) === 2
|
||||
|
||||
Reference in New Issue
Block a user