-
Notifications
You must be signed in to change notification settings - Fork 148
Conversation
@shargon as you designed the thing I'd like to get your input and also to discuss some improvements
|
We can remove all BOM headers
Agree
We can accept both, but test should be use the same, in the case of integer, i prefer without quotes
I need to do more unit test, so i will add some examples :) |
I understand we can accept both. I just think that it makes more sense to have a fixed return type. For example Don't worry, I can update the tests according to the spec once we've agreed on the final format. |
No worries. Can we at least agree on the member names to be |
…efix for certain members
Can we move the JSON files to a git module so that every repo can import it? |
This is amazing @ixje @shargon! |
|
A generic place for test-vectors sounds good. Perhaps have a |
In general I believe we should a dedicated repository for all the neo tests following the example of ethreum: |
Yes, we can do it. But if take the json from these repo, note that we will need to do two PR for update the VM, one in this repo, and other here. |
Let's do it later. Now we need to focus on NEO 3.0. |
@shargon I saw you added The current format looks as follows:
Do you have any other members besides
That would be cleaner to implement but also cleaner to describe in the specification |
Last week I added support for running the JSON test vectors in
neo-python
. This was a very useful exercise in uncovering deviating behaviour or state and I think other language implementations could follow. The process of implementing a parser wasn't really smooth because there was no specification describing which members were optional, required and where applicable the possible values they could hold. This PR is a draft of such a specification that I'd like to start a discussion for.