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

update tokenStorageProof contract bindings #103

Merged
merged 1 commit into from
Feb 22, 2021
Merged

Conversation

jordipainan
Copy link
Member

@jordipainan jordipainan commented Feb 22, 2021

Update to support changes from vocdoni/dvote-solidity@48e38a6

@jordipainan jordipainan requested a review from p4u February 22, 2021 16:29
@p4u p4u merged commit 11fe7e5 into master Feb 22, 2021
@p4u p4u deleted the feature/update_sm_bindings branch February 22, 2021 16:34
p4u pushed a commit that referenced this pull request May 7, 2021
Practically all the endpoints did all of these steps:

1) Set up a few basic response fields, like the ID and timestamp.

2) Sign the MetaResponse contents (JSON-encoded)

3) Encode the whole response in JSON

Do all of this as part of a Router.buildRequest method, so we can remove
over two hundred lines of copy-pasted code. This way we also ensure that
any endpoint returns the same kind of non-error responses.

While at it, simplify sendError a bit.

Fixes #103.
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