chore(ci): improve pipelines security (#1188)

This commit is contained in:
Alain Nicolas
2025-06-20 14:44:52 +02:00
committed by GitHub
parent d102593c0a
commit d9d1474782
36 changed files with 186 additions and 78 deletions

View File

@@ -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,
};

View File

@@ -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