Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
'tools/testing/ERC1271Mock.sol',
'tools/testing/TestClient.sol',
'tools/testing/TestReceiver.sol',
'modules/delegates/SignatureVerifier.sol',
'modules/facets/SignatureVerifier.sol',
],
istanbulFolder: BASE_FOLDER,
};
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## vNEXT

- Migrate proxy to Diamond pattern (ERC-2535):
- Rename ERC1538 architure to diamond Proxy architecture(#226, #229, #230)
- Remove ENS module (#225)
- Add Diamond contract unit tests (#224)
- Fix `fallback` and `receive` (#223)
Expand Down
8 changes: 4 additions & 4 deletions contracts/Store.v8.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ abstract contract Store {
/**
* @dev EIP-712 domain hash.
*/
// Modified in IexecMaintenanceDelegate.updateDomainSeparator
// Modified in IexecMaintenanceFacet.updateDomainSeparator
//slither-disable-next-line constable-states
bytes32 internal EIP712DOMAIN_SEPARATOR;

Expand Down Expand Up @@ -125,14 +125,14 @@ abstract contract Store {
/**
* @dev Address of a trusted TEE authority that manages enclave challenges.
*/
// Modified in IexecMaintenanceDelegate.setTeeBroker
// Modified in IexecMaintenanceFacet.setTeeBroker
//slither-disable-next-line constable-states
address internal m_teebroker;

/**
* @dev Max amount of gas to be used with callbacks.
*/
// Modified in IexecMaintenanceDelegate.setCallbackGas
// Modified in IexecMaintenanceFacet.setCallbackGas
//slither-disable-next-line constable-states
uint256 internal m_callbackgas;

Expand All @@ -142,7 +142,7 @@ abstract contract Store {
IexecLibCore_v5.Category[] internal m_categories;

// Backward compatibility
// Modified in IexecMaintenanceDelegate.configure
// Modified in IexecMaintenanceFacet.configure
//slither-disable-next-line constable-states
address internal m_v3_iexecHub; // IexecHubInterface
mapping(address => bool) internal m_v3_scoreImported;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import "./interfaces/IOwnable.sol";
// Functions that were declared in ERC1538Store are re-declared here.
// TODO clean this (use LibDiamond)
// - All calls to `owner()` should use `LibDiamond.contractOwner()`.
// TODO rename this contract to `FacetBase`.

abstract contract DelegateBase is Store {
abstract contract FacetBase is Store {
modifier onlyOwner() {
require(_msgSender() == owner(), "Ownable: caller is not the owner");
_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ import {Store} from "../Store.v8.sol";
// Functions that were declared in ERC1538Store are re-declared here.
// TODO clean this (use LibDiamond)
// - All calls to `owner()` should use `LibDiamond.contractOwner()`.
// TODO rename this contract to `FacetBase`.

/**
* @title Base contract of all Delegate contracts.
* @title Base contract of all Facet contracts.
* @dev Every module must inherit from this contract.
*/
abstract contract DelegateBase is Store {
abstract contract FacetBase is Store {
modifier onlyOwner() {
require(_msgSender() == owner(), "Ownable: caller is not the owner");
_;
Expand Down
159 changes: 0 additions & 159 deletions contracts/modules/delegates/IexecAccessorsABILegacyDelegate.sol

This file was deleted.

Loading