4
votes
How does the 003-node binary download/compile/merge proposal code?
The node self updates. The client/baker/endorser/accuser don't.
In order to participate to the chain after that the protocol changes (if it changes) to Athen, you'll have to download/compile/install ...
2
votes
Accepted
archetype: how to remove the bytes that are prepended by the pack() routine
the slice builtin returns an option as mentioned here.
Hence you need to extract the value from the option, with ?= assignment instruction for example:
var byt2 ?= slice(str3, 0, 6) : "...
2
votes
Windows Subsystem for Linux 2 - Ubuntu 20.04 LTS - Does it work with Tezos?
I was able to make it work, you need to disable bubblewrap which is used by opam but not supported in WSL. You can do so using the --disable-sandboxing flag.
See https://github.com/ocaml/opam-...
1
vote
Accepted
ocamlgraph.1.8.8: curl error code 403
I just successfully downloaded (and installed) ocamlgraph.1.8.8 with opam. I think it was simply that the website was temporarily in a bad mood...
1
vote
Tezos compiling storage using file
You can use the standard shell command substitution operators ` ` or $():
ligo compile storage src/counter.mligo "$(cat initStorage.mligo)" --entry-point main
1
vote
How to Integrating SmartPy compiler within the browser?
The very first step is to have these lines function properly.
code = adaptBlocks(code)
env = context.copy()
exec(code, env)
window.cleanAll() ## you can probably remove that
for ...
1
vote
How to Integrating SmartPy compiler within the browser?
Currently, SmartPy doesn't ship any standalone lib for this.
You will need libsodium, Brython, ...
We are migrating the frontend to React.js which is cleaner and easier to maintain, the new IDE is ...
1
vote
Accepted
Windows Subsystem for Linux 2 - Ubuntu 20.04 LTS - Does it work with Tezos?
This comment by user jdsika includes all the steps needed to run Tezos on WSL2.
https://tezos.stackexchange.com/a/2801/1785
Note that Windows 10 version 2004 is needed. https://docs.microsoft.com/en-...
Only top scored, non community-wiki answers of a minimum length are eligible