Merge pull request #622 from cosmos/adapt-to-main-renaming

Adapt to master -> main renaming
This commit is contained in:
Simon Warta 2021-01-20 14:41:47 +01:00 committed by GitHub
commit e782a8d28c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
45 changed files with 68 additions and 68 deletions

View File

@ -13,7 +13,7 @@ workflows:
- lint
filters:
branches:
only: master
only: main
- lint
- test:
requires:
@ -578,7 +578,7 @@ jobs:
- run:
name: Deploy to GitHub pages
# Version pinned to 3.0.0 because of https://github.com/tschaub/gh-pages/issues/354
command: npx gh-pages@3.0.0 --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <ci@cosmwasm.com>" --repo "git@github.com:CosmWasm/cosmjs.git"
command: npx gh-pages@3.0.0 --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <ci@cosmwasm.com>" --repo "git@github.com:cosmos/cosmjs.git"
lint:
docker:
- image: circleci/node:10-buster

View File

@ -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

View File

@ -61,9 +61,9 @@ can work on a solution with swapable implementations.
## Roadmap
In addition to the
[development board](https://github.com/orgs/CosmWasm/projects/2) and our
[release milestones](https://github.com/CosmWasm/cosmjs/milestones), we maintain
a higher level roadmap
[development board](https://github.com/orgs/cosmos/projects/6) and our
[release milestones](https://github.com/cosmos/cosmjs/milestones), we maintain a
higher level roadmap
[in this Trello board](https://trello.com/b/vIW8awLl/cosmjs-roadmap).
## Development

View File

@ -15,7 +15,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs"
"url": "https://github.com/cosmos/cosmjs"
},
"publishConfig": {
"access": "public"

View File

@ -200,7 +200,7 @@ client.execute(mask, callOpaque2)
// Note: currently this returns an error about "Event type must be one of message, transfer, wasm; got delegate"
// That is on the client parsing the logs on success. Don't worry, it will be fixed soon.
// https://github.com/CosmWasm/cosmjs/issues/157
// https://github.com/cosmos/cosmjs/issues/157
```
Now validate this with the CLI tooling:

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -9,7 +9,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/cli"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cli"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/cosmwasm-launchpad"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-launchpad"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/cosmwasm-stargate"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm-stargate"
},
"publishConfig": {
"access": "public"

View File

@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/cosmwasm"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/crypto"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/crypto"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/encoding"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/encoding"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/faucet-client"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet-client"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/faucet"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/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();

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/json-rpc"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/json-rpc"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/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/CosmWasm/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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/launchpad-ledger"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/launchpad-ledger"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/launchpad"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/launchpad"
},
"publishConfig": {
"access": "public"

View File

@ -1,5 +1,5 @@
//
// Standard modules (see tracking issue https://github.com/CosmWasm/cosmjs/issues/276)
// Standard modules (see tracking issue https://github.com/cosmos/cosmjs/issues/276)
//
export { AuthExtension, AuthAccountsResponse, BaseAccount, setupAuthExtension } from "./auth";

View File

@ -14,7 +14,7 @@ export interface StdSignature {
export interface PubKey {
// type is one of the strings defined in pubkeyType
// I don't use a string literal union here as that makes trouble with json test data:
// https://github.com/CosmWasm/cosmjs/pull/44#pullrequestreview-353280504
// https://github.com/cosmos/cosmjs/pull/44#pullrequestreview-353280504
readonly type: string;
// Value field is base64-encoded in all cases
// Note: if type is Secp256k1, this must contain a COMPRESSED pubkey - to encode from bcp/keycontrol land, you must compress it first

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/math"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/math"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -18,7 +18,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/proto-signing"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/proto-signing"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/socket"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/socket"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -31,7 +31,7 @@ proper version.
## Prepare the Keys
You want to ensure you use the same keys as in the test vector,
[taken from here](https://github.com/CosmWasm/cosmjs/blob/db1f183/packages/proto-signing/src/signing.spec.ts#L19-L27).
[taken from here](https://github.com/cosmos/cosmjs/blob/db1f183/packages/proto-signing/src/signing.spec.ts#L19-L27).
This uses the testgen mnemonic:
`economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone`

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/stargate"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/stargate"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/stream"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/stream"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/tendermint-rpc"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/tendermint-rpc"
},
"publishConfig": {
"access": "public"

View File

@ -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/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/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)).

View File

@ -17,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/utils"
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/utils"
},
"publishConfig": {
"access": "public"

View File

@ -42,6 +42,6 @@ done
echo '</ul>'
echo '<hr>'
echo '<footer>'
echo ' <a href="https://github.com/CosmWasm/cosmjs">CosmJS on GitHub</a>'
echo ' <a href="https://github.com/cosmos/cosmjs">CosmJS on GitHub</a>'
echo '</footer>'
} >>"$index"