Params
This document describes and advises configuration of the Peggy module’s parameters. The default parameters can be found in the genesis.go of the peggy module.peggy_id
A random 32 byte value to prevent signature reuse, for example if the
Injective Chain validators decided to use the same Ethereum keys for another chain
also running Peggy we would not want it to be possible to play a deposit
from chain A back on chain B’s Peggy. This value IS USED ON ETHEREUM so
it must be set in your genesis.json before launch and not changed after
deploying Peggy. Changing this value after deploying Peggy will result
in the bridge being non-functional. To recover just set it back to the original
value the contract was deployed with.
contract_source_hash
The code hash of a known good version of the Peggy contract
solidity code. This can be used to verify the correct version
of the contract has been deployed. This is a reference value for
governance action only it is never read by any Peggy code
bridge_ethereum_address
is address of the bridge contract on the Ethereum side, this is a
reference value for governance only and is not actually used by any
Peggy module code.
The Ethereum bridge relayer use this value to interact with Peggy contract for querying events and submitting valset/batches to Peggy contract.
bridge_chain_id
The bridge chain ID is the unique identifier of the Ethereum chain. This is a reference value only and is not actually used by any Peggy code
These reference values may be used by future Peggy client implementations to allow for consistency checks.
Signing windows
signed_valsets_windowsigned_batches_windowsigned_claims_window
target_batch_timeout
This is the ‘target’ value for when batches time out, this is a target because
Ethereum is a probabilistic chain and you can’t say for sure what the block
frequency is ahead of time.
Ethereum timing
average_block_timeaverage_ethereum_block_time
Slash fractions
slash_fraction_valsetslash_fraction_batchslash_fraction_claimslash_fraction_conflicting_claim
