File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,13 @@ abstract contract DifferentialBase is Test {
7373 harness.candidateDiscoveryTarget = targets.discovery;
7474
7575 harness.referenceAdapter = IDifferentialAdapter (
76- address (new ReferenceAdapter (harness.referenceTarget))
76+ address (
77+ new ReferenceAdapter (
78+ harness.referenceTarget,
79+ flyoverCfg.minimumPegIn,
80+ flyoverCfg.dustThreshold
81+ )
82+ )
7783 );
7884 harness.candidateAdapter = IDifferentialAdapter (
7985 address (
@@ -129,6 +135,14 @@ abstract contract DifferentialBase is Test {
129135 abi.encodeWithSignature ("version() " )
130136 );
131137 require (ok && data.length > 0 , "Reference must expose version() " );
138+
139+ (bool okBridge , bytes memory bridgeData ) = referenceTarget.staticcall (
140+ abi.encodeWithSignature ("bridge() " )
141+ );
142+ require (
143+ okBridge && bridgeData.length > 0 ,
144+ "Reference must expose bridge() "
145+ );
132146 }
133147
134148 function _deploySplitCandidateFromReference (
You can’t perform that action at this time.
0 commit comments