diff --git a/.circleci/config.yml b/.circleci/config.yml index 77eb67d93a..0d78e9ca49 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ workflows: - lint filters: branches: - only: master + only: main - lint - test: requires: diff --git a/.mergify.yml b/.mergify.yml index 137dad9bf1..d6206bf03a 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,10 +1,10 @@ # See https://doc.mergify.io/configuration.html pull_request_rules: - - name: automerge to master with label automerge + - name: automerge to main with label automerge conditions: - "#approved-reviews-by>=1" - - base=master + - base=main - label=automerge - label!=WIP # We need to list them all individually. Here is why: https://doc.mergify.io/conditions.html#validating-all-status-check diff --git a/packages/cli/README.md b/packages/cli/README.md index 85fbe69c58..2671c73463 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -274,5 +274,5 @@ helpers to upload code and use non-trivial contracts with proper types. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/cli/package.json b/packages/cli/package.json index 9b0a71e8b9..0d7866f4fa 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -9,7 +9,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/cli" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/cli" }, "publishConfig": { "access": "public" diff --git a/packages/cosmwasm-launchpad/README.md b/packages/cosmwasm-launchpad/README.md index f95d7aadaa..ca6f0084ec 100644 --- a/packages/cosmwasm-launchpad/README.md +++ b/packages/cosmwasm-launchpad/README.md @@ -26,5 +26,5 @@ echo "{\"// source\": \"$HACKATOM_URL\", \"data\": \"$(curl -sS --location $HAC ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/cosmwasm-launchpad/package.json b/packages/cosmwasm-launchpad/package.json index 2541006ed4..05968051dc 100644 --- a/packages/cosmwasm-launchpad/package.json +++ b/packages/cosmwasm-launchpad/package.json @@ -18,7 +18,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/cosmwasm-launchpad" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-launchpad" }, "publishConfig": { "access": "public" diff --git a/packages/cosmwasm-stargate/README.md b/packages/cosmwasm-stargate/README.md index 338be3061e..21faa89cd6 100644 --- a/packages/cosmwasm-stargate/README.md +++ b/packages/cosmwasm-stargate/README.md @@ -23,5 +23,5 @@ echo "{\"// source\": \"$HACKATOM_URL\", \"data\": \"$(curl -sS --location $HAC ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/cosmwasm-stargate/package.json b/packages/cosmwasm-stargate/package.json index 61149c1e20..73fb435fd0 100644 --- a/packages/cosmwasm-stargate/package.json +++ b/packages/cosmwasm-stargate/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/cosmwasm-stargate" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-stargate" }, "publishConfig": { "access": "public" diff --git a/packages/cosmwasm/package.json b/packages/cosmwasm/package.json index c7245133ec..ec5166967b 100644 --- a/packages/cosmwasm/package.json +++ b/packages/cosmwasm/package.json @@ -18,7 +18,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/cosmwasm" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm" }, "publishConfig": { "access": "public" diff --git a/packages/crypto/README.md b/packages/crypto/README.md index db43bc783a..d8820186ce 100644 --- a/packages/crypto/README.md +++ b/packages/crypto/README.md @@ -11,5 +11,5 @@ imported outside of CosmJS based applications. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 298b3dfb07..bae238056a 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -18,7 +18,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/crypto" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/crypto" }, "publishConfig": { "access": "public" diff --git a/packages/encoding/README.md b/packages/encoding/README.md index ee1c2f0542..bf119b3962 100644 --- a/packages/encoding/README.md +++ b/packages/encoding/README.md @@ -19,5 +19,5 @@ on invalid input. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/encoding/package.json b/packages/encoding/package.json index 7e299a3bbe..7eac6e2ba8 100644 --- a/packages/encoding/package.json +++ b/packages/encoding/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/encoding" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/encoding" }, "publishConfig": { "access": "public" diff --git a/packages/faucet-client/README.md b/packages/faucet-client/README.md index 95bc69eb62..a408ecdd96 100644 --- a/packages/faucet-client/README.md +++ b/packages/faucet-client/README.md @@ -34,5 +34,5 @@ yarn test ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/faucet-client/package.json b/packages/faucet-client/package.json index 161ac9677d..1d10aa8fef 100644 --- a/packages/faucet-client/package.json +++ b/packages/faucet-client/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/faucet-client" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet-client" }, "publishConfig": { "access": "public" diff --git a/packages/faucet/README.md b/packages/faucet/README.md index 935022abd5..a58ef6adab 100644 --- a/packages/faucet/README.md +++ b/packages/faucet/README.md @@ -139,5 +139,5 @@ curl http://localhost:8000/status ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 083bb64de8..0e88a57bb0 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -19,7 +19,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/faucet" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet" }, "publishConfig": { "access": "public" diff --git a/packages/faucet/src/api/webserver.ts b/packages/faucet/src/api/webserver.ts index a9f5994ca8..4a000531f9 100644 --- a/packages/faucet/src/api/webserver.ts +++ b/packages/faucet/src/api/webserver.ts @@ -30,7 +30,7 @@ export class Webserver { "\n" + "Check the full status via the /status endpoint.\n" + "You can get tokens from here by POSTing to /credit.\n" + - "See https://github.com/cosmos/cosmjs/tree/master/packages/faucet for all further information.\n"; + "See https://github.com/cosmos/cosmjs/tree/main/packages/faucet for all further information.\n"; break; case "/status": { const [holder, ...distributors] = await faucet.loadAccounts(); diff --git a/packages/json-rpc/README.md b/packages/json-rpc/README.md index 1a185f3c1d..fd684f83e5 100644 --- a/packages/json-rpc/README.md +++ b/packages/json-rpc/README.md @@ -8,5 +8,5 @@ This package provides a light framework for implementing a ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/json-rpc/package.json b/packages/json-rpc/package.json index d877e64092..771c1073f0 100644 --- a/packages/json-rpc/package.json +++ b/packages/json-rpc/package.json @@ -19,7 +19,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/json-rpc" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/json-rpc" }, "publishConfig": { "access": "public" diff --git a/packages/launchpad-ledger/README.md b/packages/launchpad-ledger/README.md index 76f85cc924..b48a126bf1 100644 --- a/packages/launchpad-ledger/README.md +++ b/packages/launchpad-ledger/README.md @@ -49,12 +49,12 @@ Then follow the instructions on that page. The tests in this package require a Ledger device [initialized with the mnemonic](https://support.ledger.com/hc/en-us/articles/360005434914) from -[scripts/launchpad/README.md#preset-accounts](https://github.com/cosmos/cosmjs/blob/master/scripts/launchpad/README.md#preset-accounts) +[scripts/launchpad/README.md#preset-accounts](https://github.com/cosmos/cosmjs/blob/main/scripts/launchpad/README.md#preset-accounts) (see "Ledger: accounts for Ledger based demos and tests") with an installed "Cosmos (ATOM)" app. The device must be connected via USB, unlocked and the Cosmos app must be opened. The tests require the user to manually approve transactions. Start a local Launchpad blockchain as described in -[scripts/launchpad/README.md](https://github.com/cosmos/cosmjs/blob/master/scripts/launchpad/README.md) +[scripts/launchpad/README.md](https://github.com/cosmos/cosmjs/blob/main/scripts/launchpad/README.md) and execute: ```sh @@ -66,5 +66,5 @@ yarn test ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/launchpad-ledger/package.json b/packages/launchpad-ledger/package.json index 74e9aea488..6b956153dd 100644 --- a/packages/launchpad-ledger/package.json +++ b/packages/launchpad-ledger/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/launchpad-ledger" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/launchpad-ledger" }, "publishConfig": { "access": "public" diff --git a/packages/launchpad/README.md b/packages/launchpad/README.md index 2757a03f66..f1ebf82528 100644 --- a/packages/launchpad/README.md +++ b/packages/launchpad/README.md @@ -519,5 +519,5 @@ const restored = await Secp256k1HdWallet.deserializeWithEncryptionKey( ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/launchpad/package.json b/packages/launchpad/package.json index 9219f4dd64..0cb519c1a6 100644 --- a/packages/launchpad/package.json +++ b/packages/launchpad/package.json @@ -18,7 +18,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/launchpad" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/launchpad" }, "publishConfig": { "access": "public" diff --git a/packages/math/README.md b/packages/math/README.md index 58fd62160e..97776b73c3 100644 --- a/packages/math/README.md +++ b/packages/math/README.md @@ -5,5 +5,5 @@ ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/math/package.json b/packages/math/package.json index f2339e8401..82983673d5 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/math" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/math" }, "publishConfig": { "access": "public" diff --git a/packages/proto-signing/README.md b/packages/proto-signing/README.md index 44e352d539..4c6e09c055 100644 --- a/packages/proto-signing/README.md +++ b/packages/proto-signing/README.md @@ -10,5 +10,5 @@ and ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/proto-signing/package.json b/packages/proto-signing/package.json index a62f183839..a32ee47d7c 100644 --- a/packages/proto-signing/package.json +++ b/packages/proto-signing/package.json @@ -18,7 +18,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/proto-signing" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/proto-signing" }, "publishConfig": { "access": "public" diff --git a/packages/socket/README.md b/packages/socket/README.md index 8dea211d87..3fbb18d5d0 100644 --- a/packages/socket/README.md +++ b/packages/socket/README.md @@ -8,5 +8,5 @@ WebSockets. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/socket/package.json b/packages/socket/package.json index f1fc1183e7..20b47b909d 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -19,7 +19,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/socket" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/socket" }, "publishConfig": { "access": "public" diff --git a/packages/stargate/README.md b/packages/stargate/README.md index 6e07f51e50..d951c2da35 100644 --- a/packages/stargate/README.md +++ b/packages/stargate/README.md @@ -16,5 +16,5 @@ A client library for the Cosmos SDK 0.40. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/stargate/package.json b/packages/stargate/package.json index d5a79eeed7..2d72c1f90b 100644 --- a/packages/stargate/package.json +++ b/packages/stargate/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/stargate" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/stargate" }, "publishConfig": { "access": "public" diff --git a/packages/stream/README.md b/packages/stream/README.md index c750f45c71..f424530fdf 100644 --- a/packages/stream/README.md +++ b/packages/stream/README.md @@ -8,5 +8,5 @@ processing. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/stream/package.json b/packages/stream/package.json index 33501b24d9..5f98e4143a 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -19,7 +19,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/stream" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/stream" }, "publishConfig": { "access": "public" diff --git a/packages/tendermint-rpc/README.md b/packages/tendermint-rpc/README.md index c4dc87e519..94a5f06a81 100644 --- a/packages/tendermint-rpc/README.md +++ b/packages/tendermint-rpc/README.md @@ -11,5 +11,5 @@ Also handles converting numbers to and from strings. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/tendermint-rpc/package.json b/packages/tendermint-rpc/package.json index e8a2bb6563..b6a63c4ac6 100644 --- a/packages/tendermint-rpc/package.json +++ b/packages/tendermint-rpc/package.json @@ -19,7 +19,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/tendermint-rpc" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/tendermint-rpc" }, "publishConfig": { "access": "public" diff --git a/packages/utils/README.md b/packages/utils/README.md index 9679b6e412..984aca5da8 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -8,5 +8,5 @@ testing but stuff like `sleep` can also be useful at runtime. ## License This package is part of the cosmjs repository, licensed under the Apache License -2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/master/NOTICE) and -[LICENSE](https://github.com/cosmos/cosmjs/blob/master/LICENSE)). +2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and +[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)). diff --git a/packages/utils/package.json b/packages/utils/package.json index 91d30c353a..46757c454b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/cosmos/cosmjs/tree/master/packages/utils" + "url": "https://github.com/cosmos/cosmjs/tree/main/packages/utils" }, "publishConfig": { "access": "public"