Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Provider.ProtocolParameters: use bigint for every integer field

オープン 初心者向け
#557 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
api

調査の方向性

packages/evolution/src/sdk/provider/Provider.ts から始め、Provider.ProtocolParameters と provider のレスポンススキーマを確認します。記載されている整数フィールドを bigint に更新し、priceMem と priceStep は number のままにします。その後、影響を受ける consumer の型を確認し、次の breaking release に向けて変更が文書化されていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Provider.ProtocolParameters mixes bigint and number for integer fields. The deposits, coinsPerUtxoByte, maxTxExMem and maxTxExSteps are bigint, while minFeeA, minFeeB, maxTxSize, maxValSize, collateralPercentage, maxCollateralInputs, minFeeRefScriptCostPerByte and the cost model values are number (packages/evolution/src/sdk/provider/Provider.ts). The rest of the SDK models integers as bigint. The provider response schemas now decode every integer as bigint too, then convert these fields back to number at this one boundary.

Change these integer fields to bigint so the public type matches. priceMem and priceStep are decimals and stay number. The type change breaks consumers that read these fields, so it belongs in the next breaking release, together with #552 (cost model values).

主要言語
TypeScript
スター
22
フォーク
30
平均マージ
4日 13時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/evolution-sdk のほかの issue

IntersectMBO/evolution-sdk の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。