You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.journalLastChildIncludes('Debug the transaction to get more information.')
161
+
.click('*[data-id="deployAndRunClearInstances"]')
161
162
},
162
163
163
164
'Should Compile and Deploy a contract which define a custom error, the error should be logged in the terminal , using London VM Fork': function(browser: NightwatchBrowser){
164
165
browser
165
166
.click('*[data-id="settingsVMLondonMode"]')// switch to London fork
166
167
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')// this account will be used for this test suite
.journalLastChildIncludes('Debug the transaction to get more information.')
181
+
},
182
+
183
+
'Should Compile and Deploy a contract which define a custom error in a library, the error should be logged in the terminal': function(browser: NightwatchBrowser){
if(userdoc&&(userdocasany).notice)customError+=' : '+(userdocasany).notice// we append the user doc if any
128
+
}catch(e){
129
+
console.error(e.message)
130
+
}
131
+
}
132
+
letinputIndex=0
133
+
for(constinputoffunctionDesc.inputs){
134
+
constinputKey=input.name||inputIndex
135
+
constv=decodedCustomErrorInputs[inputKey]
133
136
134
-
decodedCustomErrorInputsClean[inputKey]={
135
-
value: v.toString ? v.toString() : v
136
-
}
137
-
if(devdoc&&(devdocasany).params){
138
-
decodedCustomErrorInputsClean[input.name].documentation=(devdocasany).params[inputKey]// we add the developer documentation for this input parameter if any
137
+
decodedCustomErrorInputsClean[inputKey]={
138
+
value: v.toString ? v.toString() : v
139
+
}
140
+
if(devdoc&&(devdocasany).params){
141
+
decodedCustomErrorInputsClean[input.name].documentation=(devdocasany).params[inputKey]// we add the developer documentation for this input parameter if any
0 commit comments