-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for EraVM Extensions #357
base: main
Are you sure you want to change the base?
feat: add support for EraVM Extensions #357
Conversation
API E2E Test Results207 tests 207 ✅ 19s ⏱️ Results for commit f7f4713. ♻️ This comment has been updated with latest results. |
Unit Test Results 4 files 264 suites 12m 57s ⏱️ Results for commit f7f4713. ♻️ 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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