-
Notifications
You must be signed in to change notification settings - Fork 396
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
Coral binary #223
Coral binary #223
Conversation
Codecov Report
@@ Coverage Diff @@
## master #223 +/- ##
==========================================
- Coverage 72.41% 72.26% -0.16%
==========================================
Files 27 27
Lines 2632 2632
==========================================
- Hits 1906 1902 -4
- Misses 614 617 +3
- Partials 112 113 +1
Continue to review full report at Codecov.
|
A suggestion: instead of merging to master, we can create a branch |
I would prefer to limit branches, as they are a headache to maintain. Which version of corald corresponds to which version of wasmd and how to tag? My attempt was to add multiple binaries without multiple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested some cli commands to work with keys and to instantiate a contract. All looked 👌 so far.
- Home directories ✅
- Key creation ✅
- In contract bech32 decoding ✅
- Cosmos addr in contract decoding
wasm contract failed: Error calling the VM: Calling external function through FFI: Unknown error during FFI call: Some(\"invalid Bech32 prefix; expected coral, got cosmos\")
✅ - Contract queries ✅
Cool, thank you fro the detailed testing. I did much of that, but did not |
A bit out of context, but what do you think of this error message @alpe @webmaster128
It contains the original error message and all context, but is maybe a bit too verbose. There is a bit of a stutter there. I guess this would be more ideal:
We can make a (not so high priority) issue on cosmwasm if you like that or have idea for a better one |
We can always aim for better UX but let's confirm first this is a real issue for users. It did not hurt :-) |
This error will change completely when passed back to the contract (CosmWasm/wasmvm#124) and propagates as a StdError instead of a VmError. |
Good point @webmaster128 Let's review these again when all last changes are made. |
@ethanfrey I am a bit confused. I have in linux corald in command line but not coral. And in your docs to setup enviornment here you have
and coral not found . Should I replace in that doc all coral to corald? |
Yeah, please add an issue to docs With the statgate upgrade, we merged them into one binary to track the sdk patterns. That should always be corald, wasmd, etc for both client and server now. |
Also config command no longer works in stargate (this is due to sdk changes) and those must be passed down as flags. The docs are correct up to v0.11. @orkunkl can you split those docs into 2 sections for launchpad and stargate? |
can you hint here how to use the testchain ? what will be equivalent of this code in docs?
|
@gelinger777 |
Configure
wasmd
/wasmcli
binaries for the coral testnet.We use the same code, just set a few flags in the Makefile to set a unique bech32 prefix, directory, and node names.
Try
make build-coral
and try it out - eg look at keys, see config is different than wasm, look at helpAnything else I need to customize?
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added relevant
godoc
comments.Added a relevant changelog entry to the
Unreleased
section inCHANGELOG.md
Re-reviewed
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)