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

feat(ckb-indexer): migrate bigint to JSBI #212

Merged
merged 15 commits into from
Dec 24, 2021

Conversation

sighWang
Copy link
Contributor

@sighWang sighWang commented Dec 8, 2021

No description provided.

@homura
Copy link
Collaborator

homura commented Dec 17, 2021

maybe we should add some migration suggestion in the doc

@homura homura merged commit eb32ea7 into ckb-js:ckb2019-jsbi Dec 24, 2021
homura added a commit that referenced this pull request Jan 26, 2022
* chore: bump version

* feat!(base): migrate bigint to JSBI

* chore: rm unused files

* feat(helpers)!: migrate bigint to JSBI

* refactor: bigint to jsbi

* docs: migration from bigint to jsbi

* docs: jsbi migration guide

* docs: update migration docs

* feat: compatible upgrade

* refactor: rm unnecessary deps

* feat(ckb-indexer): migrate bigint to JSBI

* feat(common-scripts): migrate acp bigint to JSBI

* feat(common-scripts): migrate common.ts bigint to JSBI

* feat(common-scripts): migrate dao.ts bigint to JSBI

* feat(common-scripts): migrate helper.ts and from_info.ts bigint to JSBI

* migrate locktime.ts and sudt.ts bigint to JSBI

* feat(common-script):migrate secp256l1 bigint to JSBI

* feat(common-script): migrate helper.ts bigint to JSBI

* style:format code

* feat(hd-cache): migrate bigint to JSBI

* doc(JSBI): update progress

* doc: add transaction-manager

* doc: update JSBI migrate docs

* feat(helpers): remove BigUint64

* feat(ckb-indexer): migrate bigint to JSBI (#212)

* feat(ckb-indexer): migrate bigint to JSBI

* feat(common-scripts): migrate acp bigint to JSBI

* feat(common-scripts): migrate common.ts bigint to JSBI

* feat(common-scripts): migrate dao.ts bigint to JSBI

* feat(common-scripts): migrate helper.ts and from_info.ts bigint to JSBI

* migrate locktime.ts and sudt.ts bigint to JSBI

* feat(common-script):migrate secp256l1 bigint to JSBI

* feat(common-script): migrate helper.ts bigint to JSBI

* style:format code

* feat(hd-cache): migrate bigint to JSBI

* doc(JSBI): update progress

* doc: add transaction-manager

* doc: update JSBI migrate docs

* feat(helpers): remove BigUint64

Co-authored-by: wangximing <[email protected]>

* feat(common-scripts): migrate deploy.ts bigint to JSBI

* test: add test to detect bigint

* feat(config-manager): add test to detect bigint

* feat(ckb-indexer): add test to detect bigint

* feat(hd-cache): add test to detect bigint

* feat(helpers): add test to detect bigint

* feat(indexer): add test to detect bigint

* feat(rpc): migrate bigint to JSBI

* feat(sql-indexer): mirgate bigint to jsbi

* feat(common-script): detect bigint in common.ts and acp

* feat(common-script): detect bigint in dao.ts

* feat(common-script): detect bigint in deploy.ts

* feat(common-script): detect bigint in form_info.ts and locktime_poll.ts

* feat(common-script): detect bigint in sudt.ts, secp256k1_blank160 and secp256k1_blank160_multisig.ts

* feat: add utils test bigint patch and update docs

* style: format code

* test(base): fix test

* feat: change 0n to JSBI

* test: extract bigint test a isolated file

* test(common-script): fix wrong file name

* refactor: use BI

* refactor(base): use BI

* refactor(helpers): use BI

* refactor(common-scripts): fix build

* refactor(common-scripts): use BI

* refactor(ckb-indexer): use BI

* refactor: use BI instand of JSBI in all functions

* refactor: remove TODO

* refactor: revert useless code

* refactor: use node module instandof file path

* fix: transaction collector test

* refactor(base): remove JSBI import in base Except for primitive.js

* refactor(base): change jsbi to bi in test files

* refactor: remove babel-plugin-transform-bigint dependencies

* refactor(ckb-indexer): migrate JSBI implemention to BI

* feat(base): add BI dependencie to base

* refactor(hd-cache): migrate JSBI implemention to BI

* refactor(helpers): migrate JSBI implemention to BI

* refactor: refactor @ckb-lumos/bi to 0.17.0-rc7

* refactor(indexer): migrate JSBI implemention to BI

* refactor(rpc): migrate JSBI implemention to BI

* refactor(sql-indexer): migrate JSBI implemention to BI

* style: format code

* refactor(common-script): migrate from_info helper secp256k1_blake160_multisig JSBI to BI

* fix: add @ckb-lumos/bi dependencies in packages

* chore: update yarn lock

* fix(base): wrong @ckb-lumos/bi version

* fix: pageage build error cause no bi dependence

* docs: update bigint migration into bi docs

* feat(ckb-indexer): remove duplicate dependencies

* refactor(common-script): migrate JSBI to BI

* fix: sync develop and jsbi

* fix: cannot find module jsbi

* feat(base): remove primitive and JSBI cause BI can do everything

* refactor(base): remove magic variable name

Co-authored-by: homura <[email protected]>
Co-authored-by: wangximing <[email protected]>
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.

2 participants