Skip to content

Commit 80e82ad

Browse files
fix(solana): use smaller batch "append instruction" chunk size (#384)
1 parent 0b3000a commit 80e82ad

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/five-bobcats-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smartcontractkit/mcms": patch
3+
---
4+
5+
fix(solana): use smaller batch "append instruction" chunk size

sdk/solana/timelock_converter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
"github.com/smartcontractkit/mcms/types"
1919
)
2020

21-
// AppendIxDataChunkSize number is derived from chainlink-ccip
22-
// https://github.com/smartcontractkit/chainlink-ccip/blob/main/chains/solana/contracts/tests/config/timelock_config.go#L20
23-
const AppendIxDataChunkSize = 491
21+
// AppendIxDataChunkSize number is derived from chainlink-ccip; using 400 as
22+
// recommended by jonghyeon.park@smartcontract.com.
23+
const AppendIxDataChunkSize = 400
2424

2525
var _ sdk.TimelockConverter = (*TimelockConverter)(nil)
2626

0 commit comments

Comments
 (0)