Skip to content

The example uses uint256 while Socket uses uint32 for chainSlug() #175

@gpersoon

Description

@gpersoon

Describe the bug
The example uses uint256 while Socket uses uint32 for chainSlug().
The main ISocket.sol also misses the definition for chainSlug().

To Reproduce
Check out the following code:
socketDL-examples ISocket.sol#L79:

function chainSlug() external view returns (uint256 chainSlug);

socket-DL SocketBase.sol#L19:

uint32 public immutable chainSlug;

socket-DL ISocket.sol
no definition for chainSlug()

Expected behavior

  • the same type should be used everywhere (uint32)
  • chainSlug() should be present to socket-DL ISocket.sol

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions