dutterbutter/Anvil-ZKsync Action

GitHub Action that simplifies running `anvil-zksync` in your CI/CD workflows!

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
releaseTagRelease tag of anvil-zksync to use (default: latest)nolatest
targetTarget architecture (default: x86_64-unknown-linux-gnu)nox86_64-unknown-linux-gnu
modeMode to run the node (run or fork)norun
forkUrlNetwork to fork from (e.g., http://XXX:YY, mainnet, sepolia-testnet)no
forkBlockNumberFetch state from a specific block number over a remote endpointno
forkTransactionHashFetch state from a specific transaction hash over a remote endpointno
portPort to listen on (default: 8011)no
hostThe host IP address to listen on (default: 127.0.0.1)no
chainIdSpecify chain ID (default: 260)no
showStorageLogsShow storage log information (none, read, write, paid, all)no
showVmDetailsShow VM details information (none, all)no
showGasDetailsShow gas details information (none, all)no
logLog level (trace, debug, info, warn, error)no
logFilePathLog file path (default: anvil_zksync.log)no
offlineRun in offline mode (true, false)no
healthCheckEndpointEnable health check endpoint (true, false)no
configOutOutput config file pathno
l1GasPriceCustom L1 gas priceno
l2GasPriceCustom L2 gas priceno
l1PubdataPriceCustom L1 pubdata priceno
priceScaleFactorGas price estimation scale factorno
limitScaleFactorGas limit estimation scale factorno
overrideBytecodesDirDirectory to override bytecodesno
devSystemContractsOption for system contracts (built-in, local, built-in-without-security)no
evmInterpreterEnable EVM interpretation (true, false)no
cacheCache type (none, memory, disk)no
resetCacheReset the local disk cache (true, false)no
cacheDirCache directory location for disk cache (default: .cache)no
accountsNumber of dev accounts to generate and configure (default: 10)no
balanceThe balance of every dev account in Ether (default: 10000)no
mnemonicBIP39 mnemonic phrase for generating accountsno
mnemonicRandomAutomatically generate a BIP39 mnemonic phrase (number of words, default: 12)no
mnemonicSeedUnsafeGenerate a BIP39 mnemonic from a given seed (unsafe for production)no
derivationPathDerivation path of the child key to be derived (default: m/44'/60'/0'/0/)no
autoImpersonateEnable automatic impersonation on startup (true, false)no
blockTimeBlock time in seconds for interval sealingno
protocolVersionProtocol to use (e.g. 27)no
enforceBytecodeCompressionEnforce bytecode compression on system contractsno
systemContractsPathOverride path to compiled system contractsno
showNodeConfigPrint node config at startupno
verbosityVerbosity level (-v, -vv, …)no
timestampGenesis block timestampno
initPath to genesis.jsonno
statePath for combined load/dump state fileno
stateIntervalInterval (sec) to dump stateno
dumpStatePath to dump chain state on exitno
preserveHistoricalStatesKeep historical snapshots when dumping stateno
loadStatePath to load saved state snapshotno
noMiningDisable auto-mining (mine on demand)no
allowOriginCORS allow-origin headerno
noCorsDisable CORS entirelyno
orderTransaction ordering (fifo, …)no
spawnL1Port to spawn L1 anvil if enabling L1no
externalL1External L1 JSON-RPC endpointno
autoExecuteL1Auto execute L1 batches (requires L1 enabled)no
baseTokenSymbolBase token symbol (defaults to ETH)no
baseTokenRatioBase token conversion rationo
extra-argsRaw extra args for advanced useno
tokenPAT or GITHUB_TOKEN used for GitHub API & asset downloadno${{ github.token }}

no outputs