Missing Service Error
Error:Service not found: ProviderService
Cause: A required layer wasn’t provided.
Fix: Compose and provide all required layers:
Wrong Layer Order
Symptom: Type errors or runtime failures when composing layers. Cause: Layers that depend on other layers must be provided in correct order. Fix: Compose layers properly with dependencies:Forgot to Yield
Error: Program doesn’t execute as expected. Cause: Missingyield* on Effect operations.
Mixed Async Styles
Error:yield* cannot be used with Promise
Cause: Using await inside Effect.gen.
ParseError on Valid Input
Cause: Input format doesn’t match schema expectations.Address.Hexexpects0x+ 40 hex charsHash.Hexexpects0x+ 64 hex charsUint.Uint256Hexexpects0x+ hex (any length up to 64)
Checksummed Address Requires KeccakService
Error:Service not found: KeccakService when encoding Address.Checksummed.
Cause: EIP-55 checksumming requires Keccak256 hashing.
RPC Timeout
Error:TransportError: Request timed out
Fix: Increase timeout or add retry:
Rate Limited
Error:TransportError: 429 Too Many Requests
Fix: Use rate limiter or reduce concurrency:
HD Wallet Not Working
Error:FFI not available or similar.
Cause: HD Wallet requires native FFI, not available in WASM.
Fix: Run in Node.js/Bun with FFI support, not browser or WASM environment.
Transaction Underpriced
Error:SignerError: transaction underpriced
Fix: Increase gas price or use EIP-1559 with higher priority fee:
Nonce Too Low
Error:SignerError: nonce too low
Cause: Transaction with this nonce already confirmed, or pending transaction uses same nonce.
Fix: Let the signer auto-fetch nonce (default), or manage manually:
Contract Reverted
Error:ContractCallError: execution reverted
Fix: Check revert reason and contract state:
Type Mismatch: String vs AddressType
Error:Type 'string' is not assignable to type 'AddressType'
Cause: voltaire-effect uses branded Uint8Array, not strings.
Debug Effect Execution
Add logging to trace execution:Inspect Full Error
See Also
- Debugging Guide — Full debugging techniques
- Error Handling — Typed error patterns
- Testing — Mock services for tests
- Effect Debugging — Official Effect debugging

