Skip to content

Commit

Permalink
backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchhill committed Nov 5, 2024
1 parent d479019 commit 32d6982
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shutter/low-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,13 @@ def extract_message_parts(message: bytes) -> tuple[bytes, uint64, Address, uint6
return version, chain_id, registry_address, index, count, nonce, is_registration
```

#### Backwards Compatibility

V0 registrations are also supported, they have the following differences from V1:
- `VALIDATOR_REGISTRY_MESSAGE_VERSION = b"\x00"`
- Only supports registration of a single validator key, does not use aggregate signatures.
- `count` bytes are ignored.

### Key Broadcast Contract

The Key Broadcast Contract is deployed at address `KEY_BROADCAST_CONTRACT_ADDRESS`. It implements the following interface:
Expand Down

0 comments on commit 32d6982

Please sign in to comment.