Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

type verification of the interface for the smart contract #42

Open
adridadou opened this issue Nov 13, 2016 · 0 comments
Open

type verification of the interface for the smart contract #42

adridadou opened this issue Nov 13, 2016 · 0 comments
Milestone

Comments

@adridadou
Copy link
Owner

Right now the checks done are:

  • does the function name on the smart contract and the interface match
  • does the number of parameters in both functions match

The missing checks are:

  • matching return type between the smart contract and the interface
  • matching parameter types between the smart contract and the interface

The tricky part here is to check that exists a conversion path between both that makes it compatible or not.

@adridadou adridadou added this to the 1.0.beta1 milestone Jan 6, 2017
@adridadou adridadou modified the milestones: 0.16, 1.0.beta1 Jan 27, 2017
@adridadou adridadou modified the milestones: 1.0.beta1, 0.16 Feb 6, 2017
@adridadou adridadou modified the milestones: 0.17, 1.0.beta1 Feb 22, 2017
UrsZeidler added a commit to UrsZeidler/eth-contract-api that referenced this issue Mar 23, 2017
UrsZeidler added a commit to UrsZeidler/eth-contract-api that referenced this issue Mar 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant