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

indexer: forward suins requests #12268

Merged
merged 1 commit into from
May 31, 2023
Merged

Conversation

gegaowp
Copy link
Contributor

@gegaowp gegaowp commented May 31, 2023

Description

refer title

Test Plan

test locally with http://ewr-mnt-rpc-03.mainnet.sui.io:9000/ as underlying FN and make sure SuiNS endpoints work

curl --location --request POST http://127.0.0.1:3030 \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_resolveNameServiceAddress",
"params": ["seanmikha.sui"]
}'
{"jsonrpc":"2.0","result":"0xe0b97bff42fcef320b5f148db69033b9f689555348b2e90f1da72b0644fa37d0","id":1}%                                                 
curl --location --request POST http://127.0.0.1:3030 \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_resolveNameServiceNames",
"params": ["0xe0b97bff42fcef320b5f148db69033b9f689555348b2e90f1da72b0644fa37d0"]
}'
{"jsonrpc":"2.0","result":{"data":["seanmikha.sui"],"nextCursor":"0xce63acd667fb227282c32eeef8d63e543996df9617715649d2a68436a31161b0","hasNextPage":false},"id":1}%       

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)

  • protocol change
  • 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 May 31, 2023

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

Name Status Preview Comments Updated (UTC)
offline-signer-helper ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2023 3:51pm
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) May 31, 2023 3:51pm
explorer-storybook ⬜️ Ignored (Inspect) May 31, 2023 3:51pm
sui-wallet-kit ⬜️ Ignored (Inspect) May 31, 2023 3:51pm
wallet-adapter ⬜️ Ignored (Inspect) May 31, 2023 3:51pm

@gegaowp gegaowp merged commit 7907ff5 into MystenLabs:main May 31, 2023
@gegaowp gegaowp deleted the suins-indexer branch May 31, 2023 17:05
ebmifa pushed a commit that referenced this pull request May 31, 2023
## Description 

refer title

## Test Plan 

test locally with http://ewr-mnt-rpc-03.mainnet.sui.io:9000/ as
underlying FN and make sure SuiNS endpoints work

```
curl --location --request POST http://127.0.0.1:3030 \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_resolveNameServiceAddress",
"params": ["seanmikha.sui"]
}'
{"jsonrpc":"2.0","result":"0xe0b97bff42fcef320b5f148db69033b9f689555348b2e90f1da72b0644fa37d0","id":1}%                                                 
curl --location --request POST http://127.0.0.1:3030 \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_resolveNameServiceNames",
"params": ["0xe0b97bff42fcef320b5f148db69033b9f689555348b2e90f1da72b0644fa37d0"]
}'
{"jsonrpc":"2.0","result":{"data":["seanmikha.sui"],"nextCursor":"0xce63acd667fb227282c32eeef8d63e543996df9617715649d2a68436a31161b0","hasNextPage":false},"id":1}%       
```

---
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)

- [ ] protocol change
- [ ] 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants