Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Change ckb decimal to 18 #314

Merged
merged 5 commits into from
May 6, 2022

Conversation

@Flouse Flouse requested review from keroro520, zeroqn and RetricSu May 6, 2022 06:25
value => u256, sudt_transfer.amount => u256, sudt_transfer.fee.amount => u128
@Flouse Flouse merged commit 2b1dc8e into compatibility-breaking-changes May 6, 2022
@Flouse Flouse deleted the change-ckb-decimal-to-18 branch May 6, 2022 10:08
@@ -30,6 +30,10 @@ jobs:
- run: yarn run build
- run: yarn workspace @godwoken-web3/api-server run test tests/db/helpers.test.ts
- run: yarn workspace @godwoken-web3/api-server run test tests/utils/erc20.test.ts
- run: yarn workspace @godwoken-web3/api-server run test tests/base/types/uint32.test.ts
Copy link
Contributor

@RetricSu RetricSu May 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- run: yarn workspace @godwoken-web3/api-server run test tests/base/types/uint32.test.ts
- run: yarn workspace @godwoken-web3/api-server run test tests/base/types

the four tests can be simplified to one line

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants