Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 1.9 KB

File metadata and controls

76 lines (56 loc) · 1.9 KB

polycli ulxly empty-proof

Auto-generated documentation.

Table of Contents

Description

Create an empty proof.

polycli ulxly empty-proof [flags]

Usage

This command prints a proof response where all siblings are set to the zero value (0x0000000000000000000000000000000000000000000000000000000000000000).

This is useful when you need to submit a dummy proof, for example in testing scenarios or when a proof placeholder is required but the actual proof data is not needed.

Note: This is different from zero-proof, which generates the actual zero hashes of a Merkle tree (intermediate hashes computed from empty subtrees). Empty proof simply fills all siblings with the zero value.

Example usage:

polycli ulxly empty-proof

Example output:

{
  "siblings": [
    "0x0000000000000000000000000000000000000000000000000000000000000000",
    "0x0000000000000000000000000000000000000000000000000000000000000000",
    "0x0000000000000000000000000000000000000000000000000000000000000000",
    ...
  ]
}

Flags

  -h, --help   help for empty-proof

The command also inherits flags from parent commands.

      --config string      config file (default is $HOME/.polygon-cli.yaml)
      --pretty-logs        output logs in pretty format instead of JSON (default true)
  -v, --verbosity string   log level (string or int):
                             0   - silent
                             100 - panic
                             200 - fatal
                             300 - error
                             400 - warn
                             500 - info (default)
                             600 - debug
                             700 - trace (default "info")

See also

  • polycli ulxly - Utilities for interacting with the uLxLy bridge.