Some questions about AggregationISM
#3528
letonchanh
started this conversation in
General
Replies: 1 comment
-
Q1. Your understanding is correct– the Q2.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am looking at the implementation of
AggregationISM
and I would like to clarify some assumptions that I may or may not understand correctly:Q1. The function
modulesAndThreshold
returns an array_isms
of ISM addresses and a_threshold
, is it always_isms.length >= _threshold
and only<= _threshold
ISMs have metadata?Q2. I think the current implementation of
verify
inAbstractAggregationIsm
athyperlane-monorepo/solidity/contracts/isms/aggregation/AbstractAggregationIsm.sol
Line 46 in 2093fe4
_isms.length <= _threshold
or only<= _threshold
ISMs have metadata.In the case of
_isms.length > _threshold
and there are more than_threshold
ISMs having metadata, there are two possible problems:verify
reverts when an ISM fails to verify the message, although enough ISMs can successfully verify the message to reach the threshold._threshold
.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions