dutterbutter/Anvil-ZKsync Action
GitHub Action that simplifies running `anvil-zksync` in your CI/CD workflows!
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| releaseTag | Release tag of anvil-zksync to use (default: latest) | no | latest |
| target | Target architecture (default: x86_64-unknown-linux-gnu) | no | x86_64-unknown-linux-gnu |
| mode | Mode to run the node (run or fork) | no | run |
| forkUrl | Network to fork from (e.g., http://XXX:YY, mainnet, sepolia-testnet) | no | — |
| forkBlockNumber | Fetch state from a specific block number over a remote endpoint | no | — |
| forkTransactionHash | Fetch state from a specific transaction hash over a remote endpoint | no | — |
| port | Port to listen on (default: 8011) | no | — |
| host | The host IP address to listen on (default: 127.0.0.1) | no | — |
| chainId | Specify chain ID (default: 260) | no | — |
| showStorageLogs | Show storage log information (none, read, write, paid, all) | no | — |
| showVmDetails | Show VM details information (none, all) | no | — |
| showGasDetails | Show gas details information (none, all) | no | — |
| log | Log level (trace, debug, info, warn, error) | no | — |
| logFilePath | Log file path (default: anvil_zksync.log) | no | — |
| offline | Run in offline mode (true, false) | no | — |
| healthCheckEndpoint | Enable health check endpoint (true, false) | no | — |
| configOut | Output config file path | no | — |
| l1GasPrice | Custom L1 gas price | no | — |
| l2GasPrice | Custom L2 gas price | no | — |
| l1PubdataPrice | Custom L1 pubdata price | no | — |
| priceScaleFactor | Gas price estimation scale factor | no | — |
| limitScaleFactor | Gas limit estimation scale factor | no | — |
| overrideBytecodesDir | Directory to override bytecodes | no | — |
| devSystemContracts | Option for system contracts (built-in, local, built-in-without-security) | no | — |
| evmInterpreter | Enable EVM interpretation (true, false) | no | — |
| cache | Cache type (none, memory, disk) | no | — |
| resetCache | Reset the local disk cache (true, false) | no | — |
| cacheDir | Cache directory location for disk cache (default: .cache) | no | — |
| accounts | Number of dev accounts to generate and configure (default: 10) | no | — |
| balance | The balance of every dev account in Ether (default: 10000) | no | — |
| mnemonic | BIP39 mnemonic phrase for generating accounts | no | — |
| mnemonicRandom | Automatically generate a BIP39 mnemonic phrase (number of words, default: 12) | no | — |
| mnemonicSeedUnsafe | Generate a BIP39 mnemonic from a given seed (unsafe for production) | no | — |
| derivationPath | Derivation path of the child key to be derived (default: m/44'/60'/0'/0/) | no | — |
| autoImpersonate | Enable automatic impersonation on startup (true, false) | no | — |
| blockTime | Block time in seconds for interval sealing | no | — |
| protocolVersion | Protocol to use (e.g. 27) | no | — |
| enforceBytecodeCompression | Enforce bytecode compression on system contracts | no | — |
| systemContractsPath | Override path to compiled system contracts | no | — |
| showNodeConfig | Print node config at startup | no | — |
| verbosity | Verbosity level (-v, -vv, …) | no | — |
| timestamp | Genesis block timestamp | no | — |
| init | Path to genesis.json | no | — |
| state | Path for combined load/dump state file | no | — |
| stateInterval | Interval (sec) to dump state | no | — |
| dumpState | Path to dump chain state on exit | no | — |
| preserveHistoricalStates | Keep historical snapshots when dumping state | no | — |
| loadState | Path to load saved state snapshot | no | — |
| noMining | Disable auto-mining (mine on demand) | no | — |
| allowOrigin | CORS allow-origin header | no | — |
| noCors | Disable CORS entirely | no | — |
| order | Transaction ordering (fifo, …) | no | — |
| spawnL1 | Port to spawn L1 anvil if enabling L1 | no | — |
| externalL1 | External L1 JSON-RPC endpoint | no | — |
| autoExecuteL1 | Auto execute L1 batches (requires L1 enabled) | no | — |
| baseTokenSymbol | Base token symbol (defaults to ETH) | no | — |
| baseTokenRatio | Base token conversion ratio | no | — |
| extra-args | Raw extra args for advanced use | no | — |
| token | PAT or GITHUB_TOKEN used for GitHub API & asset download | no | ${{ github.token }} |
Outputs
no outputs