Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[transaction-block-rename][3/n] Update RPC types and endpoints #9972

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

666lcz
Copy link
Contributor

@666lcz 666lcz commented Mar 28, 2023

Description

Describe the changes or additions included in this PR.

Test Plan

How did you test the new or updated feature?


If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

@vercel
Copy link

vercel bot commented Mar 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
explorer ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 28, 2023 at 1:34AM (UTC)
explorer-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 28, 2023 at 1:34AM (UTC)
wallet-adapter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 28, 2023 at 1:34AM (UTC)

@github-actions github-actions bot added the Type: Documentation Improvements or additions to documentation label Mar 28, 2023
@vercel vercel bot temporarily deployed to Preview – wallet-adapter March 28, 2023 01:19 Inactive
@vercel vercel bot temporarily deployed to Preview – explorer-storybook March 28, 2023 01:19 Inactive
@vercel vercel bot temporarily deployed to Preview – explorer-storybook March 28, 2023 01:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-adapter March 28, 2023 01:21 Inactive
Copy link
Contributor

@wlmyng wlmyng left a comment

Choose a reason for hiding this comment

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

🆗

@@ -2,4 +2,4 @@
"@mysten/sui.js": minor
---

Change functions in json-rpc-provider.ts of ts-sdk such that: `getTotalTransactionNumber`, `getReferenceGasPrice` return a `bigint`, `getLatestCheckpointSequenceNumber` returns a `string`, `gasPrice` of `devInspectTransaction` is defined as a `string`, checkpoint sequence number of `getCheckpoint` is defined as a `string`, `cursor` of `getCheckpoints` is defined as a `string`. Introduce `SuiCheckpointSequenceNumber` type in sui-json-rpc-types that is a `BigInt` to use instead of `CheckpointSequenceNumber` of sui-types.
Change functions in json-rpc-provider.ts of ts-sdk such that: `getTotalTransactionBlocks`, `getReferenceGasPrice` return a `bigint`, `getLatestCheckpointSequenceNumber` returns a `string`, `gasPrice` of `devInspectTransaction` is defined as a `string`, checkpoint sequence number of `getCheckpoint` is defined as a `string`, `cursor` of `getCheckpoints` is defined as a `string`. Introduce `SuiCheckpointSequenceNumber` type in sui-json-rpc-types that is a `BigInt` to use instead of `CheckpointSequenceNumber` of sui-types.
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe nit: devInspectTransactionBlock(s)?

@vercel vercel bot temporarily deployed to Preview – wallet-adapter March 28, 2023 01:34 Inactive
@vercel vercel bot temporarily deployed to Preview – explorer-storybook March 28, 2023 01:34 Inactive
@666lcz 666lcz merged commit 56f3eaa into main Mar 28, 2023
@666lcz 666lcz deleted the chris-rename3 branch March 28, 2023 02:02
666lcz added a commit that referenced this pull request Mar 28, 2023
## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants