Commit 7f1f0f8
fix(server): bump blue-js-sdk to 2.7.2 — fixes MsgShareSubscription wire-type bug
The pinned blue-js-sdk@2.0.3 encoded MsgShareSubscriptionRequest's
field 4 (bytes, cosmossdk.io/math.Int) as varint, which the chain
rejected:
Mismatched "*v3.MsgShareSubscriptionRequest":
{TagNum: 4, GotWireType: "varint" != WantWireType: "bytes"}
Confirmed by encoding a probe message with each version against the
generated registry:
2.0.3: field 4 (varint): 1000000000
2.7.2: field 4 (bytes, 10 bytes): "1000000000"
Bump the dep, regenerate the lock. Also revert the no-op String()
wrap I added in the previous commit — the encoder now stringifies
internally, so the wrap was redundant and the accompanying comment
was misleading. The remaining manual workaround (snake_case +
camelCase keys side by side) is unrelated to this bug and stays.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8861584 commit 7f1f0f8
3 files changed
Lines changed: 66 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments