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
AggregationISMand I would like to clarify some assumptions that I may or may not understand correctly:Q1. The function
modulesAndThresholdreturns an array_ismsof ISM addresses and a_threshold, is it always_isms.length >= _thresholdand only<= _thresholdISMs have metadata?Q2. I think the current implementation of
verifyinAbstractAggregationIsmathyperlane-monorepo/solidity/contracts/isms/aggregation/AbstractAggregationIsm.sol
Line 46 in 2093fe4
_isms.length <= _thresholdor only<= _thresholdISMs have metadata.In the case of
_isms.length > _thresholdand there are more than_thresholdISMs having metadata, there are two possible problems:verifyreverts 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