-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into esm
# Conflicts: # packages/hd/package.json # packages/helpers/src/address-to-script.ts # packages/light-client/src/rpc.ts # pnpm-lock.yaml
- Loading branch information
Showing
108 changed files
with
5,860 additions
and
2,927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ckb-lumos/rpc": minor | ||
--- | ||
|
||
make `fetch` customizable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ckb-lumos/rpc": minor | ||
--- | ||
|
||
`unknown` and `rejected` are available in the `TransactionWithStatus` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ckb-lumos/rpc": minor | ||
--- | ||
|
||
Supporting CKB2023, please check out [nervosnetwork/ckb#3980](https://github.com/nervosnetwork/ckb/pull/3980) and [nervosnetwork/ckb#3963](https://github.com/nervosnetwork/ckb/pull/3963) for more details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ckb-lumos/rpc": minor | ||
--- | ||
|
||
Supporting different return values when passing in different verbosity on `getBlock`, `getBlockByNumber`, `getHeader` and `getHeaderByNumber` with typescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Canary-CKB2023 | ||
on: | ||
push: | ||
branches: | ||
- ckb2023 | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
canary: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
uses: ./.github/actions/install-deps | ||
|
||
- name: Setup .npmrc file | ||
uses: actions/setup-node@v3 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Canary release | ||
run: | | ||
npx changeset pre exit || true | ||
npx changeset version --snapshot ckb2023-$(git log -1 --pretty=format:%h) | ||
pnpm -r publish --no-git-checks --tag ckb2023 | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Generate commit comment | ||
id: commit-comment | ||
run: | | ||
result="$(node scripts/canary-commit-comment.cjs)" | ||
delimiter="$(openssl rand -hex 8)" | ||
echo "result<<$delimiter" >> $GITHUB_OUTPUT | ||
echo "$result" >> $GITHUB_OUTPUT | ||
echo "$delimiter" >> $GITHUB_OUTPUT | ||
- name: Create commit comment | ||
uses: peter-evans/commit-comment@v2 | ||
with: | ||
body: ${{ steps.commit-comment.outputs.result }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @ckb-lumos/base | ||
|
||
## 0.21.0-next.3 | ||
|
||
## 0.21.0-next.2 | ||
|
||
## 0.21.0-next.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@ckb-lumos/base", | ||
"version": "0.21.0-next.2", | ||
"version": "0.21.0-next.3", | ||
"description": "Base data structures and utilities used in lumos", | ||
"author": "Xuejie Xiao <[email protected]>", | ||
"homepage": "https://github.com/ckb-js/lumos#readme", | ||
|
@@ -66,9 +66,9 @@ | |
] | ||
}, | ||
"dependencies": { | ||
"@ckb-lumos/bi": "0.21.0-next.2", | ||
"@ckb-lumos/codec": "0.21.0-next.2", | ||
"@ckb-lumos/toolkit": "0.21.0-next.2", | ||
"@ckb-lumos/bi": "0.21.0-next.3", | ||
"@ckb-lumos/codec": "0.21.0-next.3", | ||
"@ckb-lumos/toolkit": "0.21.0-next.3", | ||
"@types/blake2b": "^2.1.0", | ||
"blake2b": "^2.1.3", | ||
"js-xxhash": "^1.0.4" | ||
|
Oops, something went wrong.