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

Parser #1

Merged
merged 30 commits into from
Jun 29, 2020
Merged

Parser #1

merged 30 commits into from
Jun 29, 2020

Conversation

neithanmo
Copy link
Collaborator

This is still WIP parser for Blockstack transactions for ledger. It includes some test for spending conditions, post-conditions and token-transfer payloads. Other tests are going to be added soon as issues, along with other improvements and features according to the given requirements.

app/rust/src/parser/parser_common.rs Show resolved Hide resolved
app/rust/src/parser/post_condition.rs Outdated Show resolved Hide resolved
app/src/parser.c Outdated Show resolved Hide resolved
app/rust/Cargo.toml Outdated Show resolved Hide resolved
app/rust/src/lib.rs Outdated Show resolved Hide resolved
app/rust/src/parser/parser_common.rs Show resolved Hide resolved
app/rust/src/parser/value.rs Show resolved Hide resolved
app/src/parser.c Outdated Show resolved Hide resolved
app/src/parser.c Outdated Show resolved Hide resolved
@jleni
Copy link
Member

jleni commented Jun 18, 2020

Awesome work!!

@jleni
Copy link
Member

jleni commented Jun 18, 2020

I noticed it is not compiling because the zbuffer.* files are missing. I have already included in the dev branch. I will rebase this PR so they are included.

@jleni
Copy link
Member

jleni commented Jun 18, 2020

The issues for discussion/more info should be labeled with "ExternalDep" so we can flag the Blockstack team.

@jleni
Copy link
Member

jleni commented Jun 18, 2020

The project parser is now implemented in Rust, so the CMakefile based tests are probably not applicable in this case.
On the other hand, we don't seem to be running the Rust unit tests in CI. Can we replace CI configuration so they are run as part of the build job?

Removed the return value of zb_check_canary, and exported this function to the public ffi interface for Rust

A clippy configuration file for future settings
@jleni
Copy link
Member

jleni commented Jun 27, 2020

CI is now almost ready, the only issue is the zemu/sign test where we still have "1234"
Can you add a valid test vector there?

@jleni jleni changed the base branch from master to dev June 29, 2020 18:00
@jleni
Copy link
Member

jleni commented Jun 29, 2020

Merging and opening #5 to track pending fixes

@jleni jleni merged commit 84bf34c into dev Jun 29, 2020
@jleni jleni deleted the parser branch June 29, 2020 18:07
jleni pushed a commit that referenced this pull request Jan 14, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants