Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(0044): a stupid design mistake in light client protocol #397

Merged
merged 1 commit into from
Jan 22, 2023

Conversation

yangby-cryptape
Copy link
Contributor

Needless to explain too much; it's a mistake, obviously.

Docs and codes related to it are written in February; and every time when I updated the docs and codes, I didn't notice that mistake, until last night.

@yangby-cryptape yangby-cryptape requested a review from a team as a code owner December 8, 2022 03:24
yangby-cryptape added a commit to yangby-cryptape/ckb that referenced this pull request Dec 8, 2022
yangby-cryptape added a commit to yangby-cryptape/ckb that referenced this pull request Dec 8, 2022
yangby-cryptape added a commit to yangby-cryptape/ckb that referenced this pull request Dec 8, 2022
yangby-cryptape added a commit to yangby-cryptape/ckb that referenced this pull request Dec 8, 2022
bors bot added a commit to nervosnetwork/ckb that referenced this pull request Dec 9, 2022
3745: [backport] fix(light-client): according to the rfc change (nervosnetwork/rfcs#397) r=zhangsoledad a=yangby-cryptape

### What problem does this PR solve?

Backport #3744.

### Check List

Tests

- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code ci-runs-only: [ quick_checks,linters ]

### Release note

```release-note
Title Only: Include only the PR title in the release note.
```

3747: [backport] fix: get_fee_rate_statics compatibility  r=zhangsoledad a=zhangsoledad

<!--
Thank you for contributing to nervosnetwork/ckb!

If you haven't already, please read [CONTRIBUTING](https://github.com/nervosnetwork/ckb/blob/develop/CONTRIBUTING.md) document.

If you're unsure about anything, just ask; somebody should be along to answer within a day or two.

PR Title Format:
1. module [, module2, module3]: what's changed
2. *: what's changed
-->

### What problem does this PR solve?

backport #3746




### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

- Unit test
- Integration test


### Release note <!-- Choose from None, Title Only and Note. Bugfixes or new features need a release note. -->

```release-note
Title Only: Include only the PR title in the release note.
```



Co-authored-by: Boyu Yang <yangby@cryptape.com>
Co-authored-by: zhangsoledad <787953403@qq.com>
bors bot added a commit to nervosnetwork/ckb that referenced this pull request Dec 9, 2022
3744: fix(light-client): according to the rfc change (nervosnetwork/rfcs#397) r=zhangsoledad a=yangby-cryptape

### What problem does this PR solve?

Fix a stupid design mistake according to the rfc change (nervosnetwork/rfcs#397).

### Check List

Tests

- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code ci-runs-only: [ quick_checks,linters ]

### Release note

```release-note
None: Exclude this PR from the release note.
```

3746: fix: get_fee_rate_statics compatibility r=zhangsoledad a=zhangsoledad

<!--
Thank you for contributing to nervosnetwork/ckb!

If you haven't already, please read [CONTRIBUTING](https://github.com/nervosnetwork/ckb/blob/develop/CONTRIBUTING.md) document.

If you're unsure about anything, just ask; somebody should be along to answer within a day or two.

PR Title Format:
1. module [, module2, module3]: what's changed
2. *: what's changed
-->

### What problem does this PR solve?

Due to the inertia of the previous fee_rate usage, change the unit returned by get_fee_rate_statics to shannons per kilo-weight



### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

- Unit test
- Integration test


### Release note <!-- Choose from None, Title Only and Note. Bugfixes or new features need a release note. -->

```release-note
Title Only: Include only the PR title in the release note.
```



Co-authored-by: Boyu Yang <yangby@cryptape.com>
Co-authored-by: zhangsoledad <787953403@qq.com>
bors bot added a commit to nervosnetwork/ckb that referenced this pull request Dec 9, 2022
3745: [backport] fix(light-client): according to the rfc change (nervosnetwork/rfcs#397) r=zhangsoledad a=yangby-cryptape

### What problem does this PR solve?

Backport #3744.

### Check List

Tests

- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code ci-runs-only: [ quick_checks,linters ]

### Release note

```release-note
Title Only: Include only the PR title in the release note.
```

Co-authored-by: Boyu Yang <yangby@cryptape.com>
@zhangsoledad zhangsoledad merged commit 96a96fa into nervosnetwork:master Jan 22, 2023
@yangby-cryptape yangby-cryptape deleted the pr/fix-my-fault branch July 1, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants