Commit Graph

248 Commits

Author SHA1 Message Date
Simon Warta
d2bf447575
Merge pull request #348 from CosmWasm/simapp-config
Improve simapp configuration process
2020-08-06 10:23:17 +02:00
Will Clark
bdf0015072
Merge pull request #345 from CosmWasm/simapp-start
Start simapp's in-process API
2020-08-06 10:21:15 +02:00
Simon Warta
7ec4939194 Apply custom settings to app.toml 2020-08-06 09:41:24 +02:00
Simon Warta
be1dc1ed8d Apply custom settings to config.toml 2020-08-06 09:40:22 +02:00
Simon Warta
1c465b367b Sort simapp genesis 2020-08-06 09:22:48 +02:00
Simon Warta
158755f6c2 Upgrade simd to nightly-2020-08-06 2020-08-06 08:46:19 +02:00
Simon Warta
03a614ca04 Start simapp's in-process API 2020-08-05 22:35:33 +02:00
willclarktech
178214330c
scripts: Update simapp template 2020-08-05 12:39:51 +02:00
willclarktech
df27143bc3
scripts: Update simapp setup.sh 2020-08-05 12:19:37 +02:00
Simon Warta
e312c00062
Break && lists into separate commands
Because of https://unix.stackexchange.com/a/490177
2020-08-05 12:19:37 +02:00
willclarktech
45e830a6ac
scripts: Update simapp to nightly-2020-08-05 2020-08-05 12:19:36 +02:00
willclarktech
43b1830f09
scripts: Remove staking from wasmd 2020-08-04 17:26:45 +02:00
willclarktech
cf6dc3ec45
scripts: Remove .gitignore from wasmd 2020-08-04 17:25:11 +02:00
Simon Warta
c3f6a38e8c
Merge pull request #323 from CosmWasm/simapp-update
Update simapp to nightly-2020-07-29
2020-08-04 10:55:40 +02:00
Simon Warta
5dcaf706dd Rename postTx -> broadcastTx in launchpad/cosmwasm etc 2020-08-03 17:23:05 +02:00
Simon Warta
5474d0cf3a Update wasmd to v0.10.0 2020-08-02 21:27:09 +02:00
Simon Warta
dcb10352aa Add log entry when generating validator 2020-08-02 21:12:50 +02:00
Simon Warta
b47168dd2d Remove container name debugging 2020-08-02 20:56:53 +02:00
Simon Warta
03db5b5f01 Fix wasmd temp file pattern 2020-08-02 20:54:34 +02:00
Simon Warta
fcb213c39f Make simd ports more explicit 2020-08-02 20:52:51 +02:00
Simon Warta
29644a219e Rename REST_ -> LCD_API_ 2020-08-02 20:52:30 +02:00
Simon Warta
4ece47e0e0 Mount /root to simapp_data on chain start 2020-08-02 20:44:06 +02:00
Simon Warta
aa31b6c870 Switch to interchainio/simapp 2020-08-02 20:16:23 +02:00
Simon Warta
4b812c3123 Use dedicated moniker; regenerate; check-in priv_validator_state.json 2020-08-02 20:16:23 +02:00
Simon Warta
785ab9fc46 Update simapp to nightly-2020-07-29 2020-08-02 20:16:23 +02:00
Simon Warta
7863afdd31 Recreate wasmd genesis and update tests 2020-07-30 10:12:33 +02:00
Simon Warta
3c19ac47d2 Sort genesis file 2020-07-30 09:56:23 +02:00
Simon Warta
dfdf89cc3a Update wasmd to v0.10.0-beta2 2020-07-30 09:35:36 +02:00
Simon Warta
c575f930a8 Rename @cosmjs/sdk38 to @cosmjs/launchpad 2020-07-28 14:54:38 +02:00
Simon Warta
8410f41a40 Fix pubkey test 2020-07-28 14:54:38 +02:00
Simon Warta
70e9c1532a Update to wasmd v0.10.0-beta1 2020-07-28 14:54:37 +02:00
Simon Warta
b7d9b59fd1 Update codebase to launchpad backend 2020-07-28 14:54:36 +02:00
Simon Warta
5b9e22960f Remove --cors from wasmcli rest-server 2020-07-28 13:32:48 +02:00
Simon Warta
3a2315ab73 Update wasmd chain and scripts to v0.10.0-alpha 2020-07-28 13:32:48 +02:00
Alex Peters
622cf4ce21 Apply wasmd updates 2020-07-28 13:32:48 +02:00
willclarktech
e18a95e803
scripts: Fix env variable in wasmd/cli.sh 2020-07-23 13:53:27 +02:00
willclarktech
8f9884ecae
scripts: Update wasmd to v0.9.1 2020-07-23 13:46:36 +02:00
willclarktech
9500a2ac1b
sdk38: Update documentation for getNonce renaming 2020-07-22 13:30:40 +02:00
willclarktech
6d387412af
eslint: Update file-based rule overrides 2020-07-15 13:29:21 +02:00
willclarktech
21f083336e
sdk38: Rename Secp256k1OfflineWallet -> Secp256k1Wallet 2020-07-14 14:35:12 +02:00
willclarktech
d8241e4f7d
scripts: Update wasmd deploy scripts for sdk38 OfflineSigner 2020-07-14 14:35:11 +02:00
Simon Warta
6b8196071a Fix docs copy command 2020-07-08 07:59:22 +02:00
willclarktech
79f033d103
scripts: Add .gitkeep to .simapp data dir 2020-07-02 14:09:09 +02:00
willclarktech
beae8f3394
scripts: Make simapp config faster 2020-07-02 14:09:09 +02:00
willclarktech
d3a0d2b73d
scripts: Add simapp stop script 2020-07-02 14:09:08 +02:00
willclarktech
60cdda61d1
scripts: Add generated simapp template 2020-07-02 14:09:08 +02:00
willclarktech
dbd7e992e9
scripts: Add basic simapp README 2020-07-02 14:09:08 +02:00
willclarktech
7a70763795
scripts: Add simapp scripts 2020-07-02 14:09:08 +02:00
willclarktech
24a460c3de
scripts: Add simapp env 2020-07-02 14:06:07 +02:00
willclarktech
f5904091b1
scripts: Add simapp .gitignore 2020-07-02 14:06:04 +02:00
Simon Warta
fce0309ff2 Don't open Wasmd Tendermint/p2p ports 2020-07-02 13:54:48 +02:00
Simon Warta
a8265f4bad Extract REST_PORT_GUEST/REST_PORT_HOST 2020-07-02 13:44:57 +02:00
Simon Warta
14a9c10812 Create copy_docs.sh 2020-07-02 10:38:26 +02:00
Simon Warta
fdc291c136 Fix stray comma in instance label [ci skip] 2020-07-01 15:44:21 +02:00
Simon Warta
c95f42225e Connect admin field in the CosmWasmClient API 2020-06-30 15:11:04 +02:00
Simon Warta
6e90375989 Import *.wasm files 2020-06-28 20:19:30 +02:00
Simon Warta
77980b60f4
Upgrade CosmWasm to 0.9 (#245)
* Upgrade chain to v0.9.0-alpha4

* Update expected build_tags

* Update wasmd init contracts

* Update hackatom test contract

* Update CosmWasm message descriptions

* Make some test code more compact

* Pull out InstantiateOptions

* Add admin field to ContractInfo

* Allow instantiating with admin

* Remove some noise

* Add SigningCosmWasmClient.updateAdmin

* Create return type ChangeAdminResult

* Add SigningCosmWasmClient.clearAdmin

* Add SigningCosmWasmClient.migrate

* Move message type testers close to type

* Export MsgUpdateAdmin/isMsgUpdateAdmin

* Fix typo in privillage

* Update some test code

* Test hackatom result data

* Add compatibility table

* Update wasmd to v0.9.0-beta

* Upgrade test contracts
2020-06-28 08:28:43 +02:00
Will Clark
200a0f7fe6
Fork @iov/socket (#250)
* socket: Fork @iov/socket

* socket: Remove nonces

* socket: Update package.json

* socket: Update README

* socket: Remove tslint

* socket: Fix lint warnings

* scripts: Fork socketserver from IOV Core

* root: Update NOTICE for socket

* tendermint-rpc: Replace @iov/socket dependency with @cosmjs/socket

* root: Update CI config for tendermint/socket

* scripts: Add wait to tendermint start script

* socket: Add coverage
2020-06-25 16:01:41 +02:00
willclarktech
66e38860f7
tendermint-rpc: Add v0.33 support (part 2) 2020-06-24 12:53:29 +02:00
willclarktech
c458803091
root: Update Tendermint scripts for v0.33 2020-06-24 12:10:54 +02:00
willclarktech
8204aa9f8c
root: Copy tendermint scripts from @iov-one 2020-06-24 12:10:52 +02:00
Simon Warta
e157c35104 Avoid shell globbing in jq query 2020-06-22 10:35:17 +02:00
Simon Warta
16df23f79b Rename packages @cosmwasm/* to @cosmjs/* 2020-06-04 19:53:58 +02:00
Simon Warta
217d8998a5 Use alice account for cosmwasm testing 2020-06-03 14:04:24 +02:00
Simon Warta
0dbed5ac29 Add test accounts Alice/Bob 2020-06-03 14:04:24 +02:00
Simon Warta
cd632a290e Adapt deployment scrips 2020-06-02 14:57:52 +02:00
Simon Warta
64b3fa6094 Check contract's checksums in init.sh 2020-05-26 14:00:03 +02:00
Ethan Frey
f178fdf3f1 Update contracts to versions from crates.io 2020-05-25 20:40:00 +02:00
Simon Warta
1f09b1df7c Update wasmd-demo to 0.8.0 2020-05-25 13:44:27 +02:00
Ethan Frey
3b52fd15f3 Bump up to wasmd v0.8.0-rc1 and fix validator address 2020-05-25 09:37:10 +02:00
Simon Warta
833c0f64fa Add staking contract to deployment 2020-05-25 09:37:10 +02:00
Simon Warta
7218afde51 Update testing contracts 2020-05-20 16:32:38 +02:00
Simon Warta
5d52c137f2 Use wasmd v0.8.0-alpha 2020-05-20 16:32:38 +02:00
Simon Warta
9cf893504c Adapt BCP tests 2020-05-08 22:11:07 +02:00
Simon Warta
e64becb7cf Add more test addresses 2020-05-08 22:11:07 +02:00
Simon Warta
a7df537e2d Document more example addresses 2020-05-08 22:11:07 +02:00
Simon Warta
113799c886 Format .js files with prettier 2 2020-05-07 12:26:36 +02:00
Simon Warta
c6d0a3aff4 Set wasmd-demo to v0.7.1 2020-03-12 19:01:11 +01:00
Simon Warta
c0a8f8a3ab Upgrade ERC20 contract to 0.3.0 2020-03-06 22:16:06 +01:00
Simon Warta
8a608a1204 Upgrade wasmd to v0.7.0 2020-03-06 22:15:35 +01:00
Simon Warta
8845ee08f5 Update wasmd to v0.7.0-rc3 and adapt code 2020-03-02 17:42:47 +01:00
Simon Warta
01758aadb2 Standardize ExecuteResult, InstantiateResult, UploadResult 2020-03-02 13:36:42 +01:00
Simon Warta
ea19f9b5e1 Set code meta to ERC20 contract 2020-03-02 12:30:52 +01:00
Ethan Frey
653bccf1c7 Updates for wasmd v0.7.0-rc2 2020-02-29 20:59:57 +01:00
Simon Warta
2520e47662 Update nameservice and set verification information 2020-02-28 15:45:55 +01:00
Simon Warta
a8e3e87f69 Allow setting source and builder in .upload() 2020-02-28 15:24:54 +01:00
Ethan Frey
b9fecebd80 Minor debugging, fix wasmd version to 0.7.0-rc1 2020-02-27 21:13:14 +01:00
Ethan Frey
a22d0c1947 Proper label for the init.sh contracts 2020-02-27 17:45:13 +01:00
Ethan Frey
36d557a4ef Update docker image and test contracts 2020-02-27 17:31:42 +01:00
Simon Warta
cceb5f5322 Increase timeout for downloading wasmd 2020-02-27 15:19:32 +01:00
Simon Warta
75f2936170 Run deploy_nameservice.js as part of init.sh 2020-02-27 15:15:52 +01:00
Simon Warta
bf58ca25ff Polish deploy_nameservice.js 2020-02-27 15:14:53 +01:00
Ethan Frey
0db26c6928 Add deploy nameservice script 2020-02-21 17:32:42 +01:00
Ethan Frey
e69332241a Add nameservice contract 2020-02-21 17:27:41 +01:00
Simon Warta
5504288de4 Auto-compress contracts in upload 2020-02-19 12:52:12 +01:00
Simon Warta
c9cb865ba8 Add missing --cors argument
Missing part of https://github.com/confio/cosmwasm-js/pull/106
2020-02-18 23:15:29 +01:00
Ethan Frey
018f047973 Use wasmd v0.6.1 with rest server fixes 2020-02-18 22:51:06 +01:00
Simon Warta
7b480bbc5d Give guest account some HASH and JADE 2020-02-18 17:55:52 +01:00
Simon Warta
cd40206651 Use new token names HASH/ISA/JADE
those don't conflict with other BCP demo tokens
2020-02-18 17:55:46 +01:00
Simon Warta
1af9d5da91 Add Guest account for manual testing 2020-02-18 17:40:04 +01:00
Simon Warta
a22a201fe7 Adapt scripts, config, docs to new folder name ./scripts/wasmd/ 2020-02-17 15:31:07 +01:00
Simon Warta
28f5cb643f Rename folder cosm -> wasmd 2020-02-17 15:28:23 +01:00
Simon Warta
0489a98256 Adapt deploy_erc20.js 2020-02-17 13:55:51 +01:00
Simon Warta
18740bc8b8 Let Pen.sign return full StdSignature 2020-02-11 19:34:46 +01:00
Simon Warta
225cde4113 Use CosmWasmClient to deploy contracts 2020-02-11 14:31:00 +01:00
Simon Warta
ae586cc012 Let makeSignBytes take account number and sequence as two args 2020-02-11 14:31:00 +01:00
Ethan Frey
8e0042ed75 Fix bcp, update to proper docker image 2020-02-11 10:32:55 +01:00
Simon Warta
c0dbdd0a14 Ensure getAccount does not list zero balances of ERC20s 2020-02-10 18:09:48 +01:00
Simon Warta
fe5acb9056 Extract init.sh 2020-02-10 14:25:33 +01:00
Simon Warta
572fe7148a Debug start of blockchain in CI 2020-02-10 13:33:38 +01:00
Simon Warta
df32bf6d95 Add read support for ERC20 tokens 2020-02-10 13:08:33 +01:00
Simon Warta
c59787d6da Instantiate ASH and BASH token contract 2020-02-10 13:08:32 +01:00
Ethan Frey
8be57612c4 Use new v0.0.4 docker image 2020-02-10 12:57:44 +01:00
Ethan Frey
f1e1c76baa Update rest server, pass tests 2020-02-10 12:01:21 +01:00
Simon Warta
94a198bd93 Regenerate template 2020-02-09 12:20:56 +01:00
Simon Warta
21936da826 Add unused account 2020-02-09 11:38:56 +01:00
Simon Warta
051e87dda6 Only sudo chown if necessary 2020-02-09 11:35:31 +01:00
Simon Warta
c67ba2c139 Use docker image from env in generate_template.sh 2020-02-09 11:35:13 +01:00
Simon Warta
007b2304ac Fix memo 2020-02-07 17:33:54 +01:00
Simon Warta
a0a4fbc555 Remove hardcoded source/builder values 2020-02-07 17:32:43 +01:00
Simon Warta
7ffd9b578a Upload ERC20 in CI 2020-02-07 16:48:46 +01:00
Simon Warta
e7c121cefd Add contract deployment script 2020-02-07 16:43:54 +01:00
Simon Warta
a1322fe9d5 Add nonces 2020-02-06 08:59:22 +01:00
Ethan Frey
3e48ee1213 Pin to docker image v0.0.2 2020-02-05 18:02:41 +01:00
Ethan Frey
50ea6bb54c Reduce block time from 5s to 1s 2020-02-05 14:54:24 +01:00
Simon Warta
dbd02830fa Try some sleep 2020-02-04 23:33:23 +01:00
Simon Warta
fa1a9671db Improve chain start speed
On a dev machine, this reduces a chain restart (./scripts/cosm/stop.sh
&& ./scripts/cosm/start.sh) from 18.5 seconds to 2.7 seconds.
2020-02-04 22:04:21 +01:00
Ethan Frey
555534ba1b Add script to run local binaries, help debug 2020-02-04 14:29:38 +01:00
Simon Warta
4449f4f0c9 Fix link to docker repo 2020-02-03 15:32:31 +01:00
Simon Warta
9756f0361b Debug rest server start 2020-02-03 15:32:31 +01:00
Ethan Frey
94a49ed899 Enable test in ci, move pull into start.sh 2020-02-03 09:11:13 +01:00
Ethan Frey
d292ff91d3 Rebuild template with ucosm and ustake 2020-01-30 21:59:32 +01:00
Ethan Frey
81e5cf5af5 Regenerate template for CI with latest master 2020-01-30 19:35:27 +01:00
Ethan Frey
d0de8d5b2b Fix up spellcheck errors 2020-01-30 19:28:23 +01:00
Ethan Frey
e94f32c765 Put configuration in one file, use auto-built wasm-demo:latest tag 2020-01-30 19:19:54 +01:00
Simon Warta
c666f30fd2 Remove obsolete faucet scripts 2020-01-30 07:36:44 +01:00
Ethan Frey
3bc3e687d9 cli.sh works directory independent 2020-01-23 12:36:33 +01:00
Simon Warta
45c5e29c24 Adapt cli.sh to wasmd 2020-01-23 11:56:29 +01:00
Simon Warta
62a2093f5f Apply changes to generate_template.sh 2020-01-23 11:56:29 +01:00
Simon Warta
d08fa865c3 Allow starting from different directory 2020-01-23 11:56:29 +01:00
Simon Warta
ccf9081398 Use explicit REPOSITORY variable 2020-01-23 11:56:29 +01:00
Simon Warta
2a5dffc1f5 Use 2 space indent 2020-01-23 11:56:29 +01:00
Simon Warta
ff56eef454 Check that container is running before starting rest server 2020-01-23 11:56:29 +01:00
Ethan Frey
c12ebe39df Updated docker image to match what is pushed to dockerhub 2020-01-22 16:09:14 +01:00
Ethan Frey
1ca8435df0 Add template for initialize node (block 0) 2020-01-22 15:46:28 +01:00
Ethan Frey
813d3a351e Fix start and stop scripts 2020-01-22 15:46:04 +01:00
Ethan Frey
86383602a7 Update cosm scripts for wasmd 2020-01-22 15:37:53 +01:00
Ethan Frey
4d061b4c37 Add some sample scripts to run gaiad for tests 2020-01-22 09:58:33 +01:00