|
|
@ -15,10 +15,8 @@ const OUTBOX_DOMAIN_HASH = ethers.utils.keccak256( |
|
|
|
); |
|
|
|
); |
|
|
|
const QUORUM_THRESHOLD = 1; |
|
|
|
const QUORUM_THRESHOLD = 1; |
|
|
|
|
|
|
|
|
|
|
|
// const VALIDATOR = '0xdeadbeef00000000000000000000000000000000';
|
|
|
|
// Signs a checkpoint with the provided validators and returns
|
|
|
|
|
|
|
|
// the signatures sorted by validator addresses in ascending order
|
|
|
|
// Signs a checkpoint with the provided validators,
|
|
|
|
|
|
|
|
// sorts
|
|
|
|
|
|
|
|
async function getCheckpointSignatures( |
|
|
|
async function getCheckpointSignatures( |
|
|
|
root: types.HexString, |
|
|
|
root: types.HexString, |
|
|
|
index: number, |
|
|
|
index: number, |
|
|
|