Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expiration Rules: validation failure #2

Open
obatll opened this issue Dec 9, 2015 · 2 comments
Open

Expiration Rules: validation failure #2

obatll opened this issue Dec 9, 2015 · 2 comments

Comments

@obatll
Copy link

obatll commented Dec 9, 2015

Hello,

I have been trying to include an expiration rule when issuing new colored coins but I am getting this error:

Status: 400
Body: {"message":"validation failure - Unknown param type int32","code":400}

I am attaching the code regarding the expiration rule I am using:
rules: {
version:1,
expiration: {validUntil:387999, locked:false}
}

Please anyone could give me a hand on this issue

@rottev
Copy link
Contributor

rottev commented Dec 9, 2015

Hi,
The error your getting is due to a faulty swagger json definition file for the rules section. Although we will fix this error its important to understand that currently the rules section are defined only in the protocol level but aren't actually enforced through the services themselves.

@mirkobonasorte
Copy link

Is it expected to have an implementation of the rules section in the short term?

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

No branches or pull requests

3 participants