Skip to content

Commit

Permalink
ci: fix lsp1 interfaceid tester with lsp8 delagators
Browse files Browse the repository at this point in the history
  • Loading branch information
skimaharvey committed Dec 12, 2024
1 parent cd8887b commit 1239883
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions packages/lsp-smart-contracts/contracts/Mocks/LSP1TypeIDsTester.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ import {
_TYPEID_LSP8_TOKENSRECIPIENT,
_TYPEID_LSP8_TOKENOPERATOR
} from "@lukso/lsp8-contracts/contracts/LSP8Constants.sol";
import {
_TYPEID_LSP8_VOTESDELEGATOR,
_TYPEID_LSP8_VOTESDELEGATEE
} from "@lukso/lsp8-contracts/contracts/extensions/LSP8VotesConstants.sol";
import {
_TYPEID_LSP9_VALUE_RECEIVED,
_TYPEID_LSP9_OwnershipTransferStarted,
Expand Down Expand Up @@ -80,6 +84,12 @@ contract LSP1TypeIDsTester {
_typeIds[
"LSP8Tokens_OperatorNotification"
] = _TYPEID_LSP8_TOKENOPERATOR;
_typeIds[
"LSP8Tokens_VotesDelegatorNotification"
] = _TYPEID_LSP8_VOTESDELEGATOR;
_typeIds[
"LSP8Tokens_VotesDelegateeNotification"
] = _TYPEID_LSP8_VOTESDELEGATEE;
// ------------------

// ------ LSP9 ------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.4;

// keccak256('LSP8Tokens_VotesDelegatorNotification')
bytes32 constant _TYPEID_LSP8_VOTESDELEGATOR = 0x54a91786b7c126f5ca201cf70323711e2b609e1259aab5cea150cfde4b9a748c;
bytes32 constant _TYPEID_LSP8_VOTESDELEGATOR = 0x2f6d3f668c2e57dbae4c255f2d9e0b69d47a8848d69a2251cce137529e34743e;

// keccak256('LSP8Tokens_VotesDelegateeNotification')
bytes32 constant _TYPEID_LSP8_VOTESDELEGATEE = 0x4aab908d8f4bc502ab79ddf13d56eb08e6ef25ebab36358bc42e5527adb08b8b;
bytes32 constant _TYPEID_LSP8_VOTESDELEGATEE = 0x19419598f788eae88574bbb83ec563ad0cb43cd7ddbbc88857b2efa2d8faa8eb;

0 comments on commit 1239883

Please sign in to comment.