Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sui/fees.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@
"method": "/sui.rpc.v2.NameService/ReverseLookupName",
"calBase": 100000000,
"ruCost": 50
},
{
"method": "/graphql",
"calBase": 200000,
"ruCost": 5
}
],
"nodeTypeRate": {
Expand Down
11 changes: 11 additions & 0 deletions sui/graphql-openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
openapi: 3.1.0
info:
title: GraphQL
description: ''
version: 1.0.0
paths:
/:
post:
summary: GraphQL Query
get:
summary: GraphQL Query
8 changes: 8 additions & 0 deletions sui/limiter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
methods:
- name: "default"
maxBatchSize: 1000 # batch Size 由于特殊性,并不支持到具体方法,所以请配置到默认方法
- name: "/graphql"
maxBatchSize: 5
limits:
- level: "L1"
maxBatchSize: 5