Skip to content

Conversation

@Le-Caignec
Copy link
Contributor

No description provided.

@Le-Caignec Le-Caignec self-assigned this Jul 29, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the codebase by completely removing ERC1538 proxy contract references and updating configurations to use Core contracts directly. This appears to be a migration from an ERC1538 proxy pattern to a direct Core contract approach.

  • Removes all ERC1538-related code including event handlers, schema definitions, and data sources
  • Updates network configurations to remove ERC1538 addresses and update Core/registry addresses for arbitrum-sepolia
  • Removes dependency on @iexec/solidity package which was used for ERC1538 interfaces

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/e2e/integration.test.ts Updates proxy address reference from ERC1538 to Core contract
subgraph.yaml Removes ERC1538 data source configuration completely
src/ERC1538/ERC1538.ts Deletes entire ERC1538 event handler implementation
schema.graphql Removes all ERC1538-related GraphQL schema definitions
package.json Removes @iexec/solidity dependency
networks.json Removes ERC1538 configurations and updates arbitrum-sepolia addresses
README.md Updates documentation to remove ERC1538 configuration example

"Core": {
"address": "0x14B465079537655E1662F012e99EBa3863c8B9E0",
"startBlock": 145249746
"address": "0xB2157BF2fAb286b2A4170E3491Ac39770111Da3E",
Copy link

Copilot AI Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Core contract address for arbitrum-sepolia has changed from the same address used for ERC1538 (0x14B465079537655E1662F012e99EBa3863c8B9E0) to a new address (0xB2157BF2fAb286b2A4170E3491Ac39770111Da3E). This significant change should be documented or verified to ensure it's intentional and correct.

Copilot uses AI. Check for mistakes.
"address": "0x14B465079537655E1662F012e99EBa3863c8B9E0",
"startBlock": 145249746
"address": "0xB2157BF2fAb286b2A4170E3491Ac39770111Da3E",
"startBlock": 178282956
Copy link

Copilot AI Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The startBlock for arbitrum-sepolia Core contract has changed significantly from 145249746 to 178282956. This large block number jump suggests a major deployment change that should be verified for correctness and documented.

Copilot uses AI. Check for mistakes.
"address": "0x14B465079537655E1662F012e99EBa3863c8B9E0",
"startBlock": 145249746
},
"Core": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: rename it to Diamond in the future.

@Le-Caignec Le-Caignec merged commit 5bf8680 into main Jul 30, 2025
5 checks passed
@Le-Caignec Le-Caignec deleted the feature/remove-1538-support branch July 30, 2025 08:54
This was referenced Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants