-
Notifications
You must be signed in to change notification settings - Fork 17
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
Tickets + JS CLI #998
Open
aguillon
wants to merge
44
commits into
d4hines/typescript-cleanup
Choose a base branch
from
js-cli-improvements
base: d4hines/typescript-cleanup
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Tickets + JS CLI #998
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e1ed1f9
to
028ecfb
Compare
45f8e37
to
4806b69
Compare
Co-authored-by: EduardoRFS <[email protected]>
- It was failing whena node requested a block 0 Co-authored-by: EduardoRFS <[email protected]>
* replace yojson by data_encoding almost done compelte withdrawal_handle compiling, lets debug switch to object fix interop API + deposit are OK. Need to fix withdraw Prepare next dev version of toolkits feat: add contract address in vm receipts (#991) drop unused deku-p example move all examples to a single folder drop unused ocaml deku-cli move all examples to ./examples fix: rename deku-cli to @marigold-dev/deku-cli feat: on-chain counter example for deku-c drop support for deku-p cli Temporary solution until we add support for deku-p back to main. refactor: combine toolkits into a single package refactor: rename DekuToolkit to DekuPClient refactor: extend DekuPClient from DekuCClient fix: octez_client bash alias (#997) Co-authored-by: aguillon <[email protected]> fix: remove deku-toolkit from yarn.lock fix: request ghostnet permissions in example dapp remove useless files fix: add NIX_SSL_CERT_FILE to nix shell for ligo body encoding to object * bug: make it compile Maybe this commit (and the previous one) can cause desync of the API TODO: fixup this commit if it works * fix: blake2b encoding The commit on tezos is working * fix: retrieve level from the API in the tests * fix: wrong tag in encoding * fix: wrong tag in encoding * fix: encoding of operation body endpoint already exist conv is useless no need to return a tup1 * fix: Data_encoding can crash Data_encoding.Json.desctruct can raise an exception * fix: encoding already defined * fix: endpoint operations needs an obj * fix: proof_test * wip: change operation encoding from tup to obj It's temporary, I am planning to define an api_encoding for encodings that are only used by the API (I am not sure of the name) * fix: api error encoding * fix: wasm-vm api state encoding * fix: client get state * fix: client invokation * fix: genesis encoding * fix: get head block api * fix: get block by level or hash * fix: do not use Blake2b.encoding * refacto: get receipt * refacto: compile origination * fix: compile invocation * fix: fix response encoding from interop * refacto: remove yojson from functors * refacto: rename of_yojson to_yojson of the external vm * fix: remove useless comment with yojson code * refacto: remove useless exception * refacto: yojson is no more needed in the stdlib * refacto: rename function in e2e tests * refacto: renaming in test * refacto: remove yojson from nix and dune files * fix: wasm cram test * fix: uncomment protocol disabled test * refacto: remove yojson functors * refacto: remove useless yojson * refacto: remove yojson from dune/nix * fix: adapt deku_helper to data_encoding * settings: upgrade client version * settings: upgrade deku lib in examples and deku-cli Co-authored-by: Pierre-Louis <[email protected]>
Co-authored-by: InfiniteSwerve <[email protected]>
Also does a major refactor of the ligo rpc server to match how deku-api is implemented
Also bumps package versions.
28a5f32
to
4523fc7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This depends on #1002
Commits in this PR:
(Pair string bytes amount)
as tickets.invoke
command line, looking for the same pattern as before, which gives something likewhere the first expression is the smart contract's call (parsed by Tunac) and the last expression is the ticket is an authorization for those tickets to be consumed.
4. Just doc lol. I add a chapter to give a deeper example of the usage of tickets. Unfortunately it seems that I found new bugs in the VM, so the chapter is incomplete (and I'll open an issue shortly).
Overall, not a great PR, but a PR nonetheless.