feat: add support for EraVM Extensions#357
Conversation
API E2E Test Results207 tests 207 ✅ 19s ⏱️ Results for commit 510493c. ♻️ This comment has been updated with latest results. |
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 510493c. ♻️ This comment has been updated with latest results. |
|
Visit the preview URL for this PR: |
|
E2E tests have to be fixed |
There was a problem hiding this comment.
@kiriyaga-txfusion I believe the field should be passed to the contract verifier as enableEraVMExtensions, not as enableEraVMExtensionsUsed as it is right now.
Feel free to check the schema in the contract verifier’s incoming request type here.
Other than that, everything looks good.
I included it as enableEraVMExtensions in line |
{
"contractName": "Greeter.sol:Greeter",
"codeFormat": "solidity-standard-json-input",
"contractAddress": "...",
"optimizationUsed": true,
"enableEraVMExtensionsUsed": true,
"sourceCode": {
"language": "Solidity",
"sources": {
"Greeter.sol": {
"content": "..."
}
},
"settings": {
"optimizer": {
"enabled": true
},
"enableEraVMExtensions": true
}
},
"compilerZksolcVersion": "vm-1.5.0-a167aa3",
"compilerSolcVersion": "0.8.28"
}
{
"contractName": "contracts/Greeter.sol:Greeter",
"codeFormat": "solidity-single-file",
"contractAddress": "....",
"optimizationUsed": true,
"enableEraVMExtensionsUsed": false,
"sourceCode": "...",
"compilerZksolcVersion": "vm-1.5.0-a167aa3",
"compilerSolcVersion": "0.8.28"
}since the And in general I'd rename |
Ah yes, you're right! For single files, we need to send that parameter separately. Thanks a lot! I will fix it ASAP. |
What ❔
Add support for the enableEraVMExtension flag (formerly isSystem) in the verification process.
Why ❔
Ensuring it matches the settings used during compilation.
fixes #331
Checklist