Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Compilation to wasm will be done by your toolchain of choice, the bios
Browse files Browse the repository at this point in the history
will not convert from `.wast` to `.wasm`.

JS and C/C++ use the toolchains in their language because they exist,
in Go we have wagon and plans to implement this here:
go-interpreter/wagon#34

The hash we check, in any case, would be the hash of the `.wasm`, and that
is what is checked on the blockchain when you `get code`.. it's the
end reference for the code.
  • Loading branch information
abourget committed Mar 17, 2018
1 parent e40a12a commit 3e815b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ eos-bios --launch-data ./launch.yaml \
--keybase-key ./file.key \
--bp-api-address http://1.2.3.4:8888 \
--bp-p2p-address 1.2.3.4:9876 \
--eosio-system-code ./eosio-system.wast \
--eosio-system-code ./eosio-system.wasm \
--eosio-system-abi ./eosio-system.abi \
--opening-balances-snapshot ./snapshot.csv
```
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var producerAPIAddress = flag.String("bp-api-address", "", "Target API endpoint for the locally booting node, a clean-slate node. It can be routable only from the local machine.")
var producerP2PAddress = flag.String("bp-p2p-address", "", "Endpoint which will be published at the end of the process. Needs to be externally routable.")
var eosioMyAccount = flag.String("eosio-my-account", "", "Endpoint which will be published at the end of the process. Needs to be externally routable.")
var eosioSystemCodePath = flag.String("eosio-system-code", "./eosio-system.wast", "Path to a compiled eosio.system contract .wast file")
var eosioSystemCodePath = flag.String("eosio-system-code", "./eosio-system.wasm", "Path to a compiled eosio.system contract .wasm file")
var eosioSystemABIPath = flag.String("eosio-system-abi", "./eosio-system.abi", "Path to an eosio.system .abi file")
var openingBalancesSnapshotPath = flag.String("opening-balances-snapshot", "./snapshot.csv", "Path to a fresh snapshot of the ERC-20 Crowdsale token")
var keybaseKeyPath = flag.String("keybase-key", "", "Path to a PGP key, or keybase thing.. TBD")
Expand Down

0 comments on commit 3e815b7

Please sign in to comment.