Updates dependencies:
- github.com/luxfi/vm v1.0.22 → v1.0.23 (adds ZAP transport Serve)
- github.com/luxfi/log v1.3.0 → v1.4.1 (fixes module path declaration)
- github.com/luxfi/consensus v1.22.53 → v1.22.56
- github.com/luxfi/crypto v1.17.39 → v1.17.40
- github.com/luxfi/database v1.17.38 → v1.17.39
- github.com/luxfi/geth v1.16.69 → v1.16.73
- github.com/luxfi/p2p v1.18.7 → v1.18.8
- github.com/luxfi/warp v1.18.4 → v1.18.5
The vm package now provides a ZAP-based Serve function by default,
eliminating the need for the grpc build tag for VM plugins.
Also includes various improvements to validators, warp service,
and precompile interfaces.
The needToBuild() function was using a MinTip filter that rejected
all pending legacy transactions without GasTipCap set, causing block
production to stall at height 0.
Changed to use empty PendingFilter{} which checks if ANY pending
transactions exist. The miner applies proper fee filters when
building blocks anyway.
- Enable FHE precompile from standalone precompiles package
- Rename luxRulesHook to precompileHook for clarity
- DEX precompiles to be imported from standalone precompiles package
- Clean up debug logging from vm.go
The FHE precompile uses pure Go TFHE implementation from
github.com/luxfi/fhe for on-chain homomorphic encryption.
- Call versiondb.Sync() after Commit() in admin.ImportChain
- Ensures imported blocks persist across network restarts
- Critical for admin_importChain when using badgerdb with async writes
- Update database to v1.2.17 with Syncer interface
- Add AdminAPI struct for geth RPC server registration
- Enable admin_importChain alongside admin.importChain (dot notation)
- Register admin API with geth RPC handler for underscore-style calls
- Supports importing RLP chain data via JSON-RPC
- Remove luxWarp alias, use warp package directly
- Remove AppSender indirection, use p2p.Sender directly
- Update warptypes alias where local warp package conflicts
- Update node to v1.22.43, warp to v1.16.39
- Rename plugin/evm/upgrade/subnetevm package to feewindow
- Rename SubnetEVMTimestamp to EVMTimestamp (JSON: evmTimestamp)
- Rename IsSubnetEVM method to IsEVM
- Rename SubnetEVMDefaultChainConfig to EVMDefaultChainConfig
- Rename TestSubnetEVMChainConfig to TestEVMChainConfig
- Rename TestPreSubnetEVMChainConfig to TestPreEVMChainConfig
- Rename ethclient/subnetevmclient to ethclient/evmclient
- Update VM factory ID from "subnetevm" to "evm"
- Remove all backward compatibility aliases
- Update all documentation and comments
Breaking change: This removes all SubnetEVM naming - only "EVM" is supported.
No backward compatibility maintained as per user requirement.
The hasAllBlocks check was skipping InsertChain entirely when blocks
existed in the database. This prevented full transaction re-execution
and state regeneration. InsertChain already handles ErrKnownBlock
properly and still re-executes transactions.
Also removes unused hasAllBlocks function from plugin/evm/admin.go.
- Update ethapi test fixtures for new block hash format
- Fix TestNotify to include Lux-specific header fields
- Fix sync/handlers tests for proper block decoding
- Add genesis hash and RLP import tests
- Add replace directives for local consensus, node, and vms packages
- Add SendAppGossipSpecific method to AppSenderAdapter
- Add verify_db utility to verify pebbledb data integrity
This enables building the EVM package with the updated consensus
interfaces and provides a tool to verify Zoo mainnet pebbledb data.
- Remove plugin/evm/api_migrate.go (use admin_exportChain/importChain)
- Remove MigrateAPIEnabled config option
- Use standard geth admin API for block import/export
- Full cryptographic validation via InsertChain
Add GenesisAllocFile config option to load genesis allocations from an
external JSON file, bypassing P-chain transaction size limits for large
genesis states (e.g., token migrations with many accounts).
Add SignatureAggregator for warp cross-chain messaging that collects and
aggregates BLS signatures from validators with quorum verification.
- Replace consensuscontext.GetSubnetID with GetNetID
- Update variable names from subnetID to netID
- Add GetNetID method to ConsensusStateWrapper
- Update error messages to use Net terminology
- Default DurangoTimestamp to 0 when not specified in genesis config
(required for older genesis files without Durango upgrade timestamp)
- Use unique standalone database paths per chain (/tmp/chaindata/{chainID})
to prevent database conflicts when multiple subnet VMs run concurrently
- Add flexible type assertion for chainCtx (accept both alias and direct type)
- Add debug logging for Initialize troubleshooting
- Update node dependency to v1.21.5
- Remove local replace directives for node and consensus
- Copied api and utils/rpc packages from node to remove dependency
- Updated imports to use local packages
- Removed node from go.mod requirements
- Core EVM package now builds without node dependency
- Only runner/main (for testing) still uses node/vms/rpcchainvm
This allows EVM to be used as a library without pulling in the entire node package tree.
The luxfi/codec package exports its own ErrInsufficientLength error
instead of using the one from wrappers. Update TestParseValidator to
use the codec package's error type.
- Add serialize:"-" tag to LeafsResponse.More field to exclude it from serialization
- Skip TestCanonicalHashMarker/firewood test (Firewood not fully implemented)
- Skip TestSuggestGasPriceAfterFeeConfigUpdate until fee config precompile issue is resolved
- Update to codec v1.0.3 with map support and unexported field handling