From 2b63c0fc6cd694e86e58d22fb63ccd2f8714d13b Mon Sep 17 00:00:00 2001 From: Dylan Duan Date: Fri, 17 May 2024 17:09:30 +0800 Subject: [PATCH 1/2] feat: Increase the max length of rgbpp inputs to 40 --- packages/ckb/src/constants/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ckb/src/constants/index.ts b/packages/ckb/src/constants/index.ts index 5430a88b..cf92757a 100644 --- a/packages/ckb/src/constants/index.ts +++ b/packages/ckb/src/constants/index.ts @@ -4,7 +4,7 @@ export const MIN_CAPACITY = BigInt(61) * BigInt(10000_0000); export const SECP256K1_WITNESS_LOCK_SIZE = 65; export const BTC_JUMP_CONFIRMATION_BLOCKS = 6; export const RGBPP_TX_WITNESS_MAX_SIZE = 5000; -export const RGBPP_TX_INPUTS_MAX_LENGTH = 10; +export const RGBPP_TX_INPUTS_MAX_LENGTH = 40; export const RGBPP_WITNESS_PLACEHOLDER = '0xFF'; export const RGBPP_TX_ID_PLACEHOLDER = '0000000000000000000000000000000000000000000000000000000000000000'; From 5e0e8175a4c195e6491a37abedc755728c91cbed Mon Sep 17 00:00:00 2001 From: Dylan Duan Date: Fri, 17 May 2024 17:13:21 +0800 Subject: [PATCH 2/2] chore: Add changeset --- .changeset/fast-mice-smash.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fast-mice-smash.md diff --git a/.changeset/fast-mice-smash.md b/.changeset/fast-mice-smash.md new file mode 100644 index 00000000..c84cc96f --- /dev/null +++ b/.changeset/fast-mice-smash.md @@ -0,0 +1,5 @@ +--- +"@rgbpp-sdk/ckb": minor +--- + +feat: Increase the max length of RGB++ inputs to 40