Skip to content

Commit

Permalink
Merge PR #125: Refactor nchainz to use config instead of metaprogramming
Browse files Browse the repository at this point in the history
* fix: remove agoric-solo; ag-nchainz is in agoric-sdk

More fixes for the general nchainz script and agoric.json.

* refactor: remove metaprogramming from nchainz; use a config file

* feat: factor nchainz run command into chains and clients
  • Loading branch information
michaelfig committed Apr 27, 2020
1 parent 401966c commit 81696a1
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 443 deletions.
4 changes: 3 additions & 1 deletion configs/agoric.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"url": "https://testnet.agoric.com",
"daemon": "ag-chain-cosmos",
"cli": "ag-cosmos-helper",
"daemon-start": "bootaddr=$($CLI --home \"$DATA/$ID/n0/$CLI\" keys show n0 --keyring-backend=test | jq -r .address)\necho bootaddr=$bootaddr, $chainid\nDEBUG=$CONFIG ROLE=two_chain BOOT_ADDRESS=$bootaddr $DAEMON --home \"$DAEMON_HOME\" start --pruning=nothing",
"daemon-testnet": "ag-nchainz testnet $chainid -o $chainid --v 1 --chain-id $chainid --node-dir-prefix n --keyring-backend test",
"daemon-start": "ag-nchainz start-daemon $chainid --home \"$DAEMON_HOME\" start --pruning=nothing",
"post-lite-client": "ag-nchainz start-solos $chainid",
"link": {
"account-prefix": "agoric",
"gas": 200000,
Expand Down
121 changes: 0 additions & 121 deletions scripts/agoric-solo

This file was deleted.

Loading

0 comments on commit 81696a1

Please sign in to comment.