Explicit delay for per-hash single queries (#2548)

* Explicit delay for per-hash single queries

* Expand delay

* Update packages/rpc-core/src/index.ts
This commit is contained in:
Jaco Greeff
2020-08-31 15:20:06 +02:00
committed by GitHub
parent 797ee9c24a
commit 533f9ce249
5 changed files with 12 additions and 3 deletions
@@ -16,6 +16,7 @@ export default {
{
name: 'hash',
type: 'BlockHash',
isCached: true,
isOptional: true
}
],
@@ -257,6 +257,7 @@ export default {
{
name: 'at',
type: 'BlockHash',
isCached: true,
isOptional: true
}
],
@@ -269,6 +270,7 @@ export default {
{
name: 'at',
type: 'BlockHash',
isCached: true,
isOptional: true
}
],
+1
View File
@@ -13,6 +13,7 @@ export type DefinitionTypeStruct = Record<string, DefinitionTypeType> | { _alias
export type DefinitionType = string | DefinitionTypeEnum | DefinitionTypeSet | DefinitionTypeStruct;
export interface DefinitionRpcParam {
isCached?: boolean;
isHistoric?: boolean;
isOptional?: boolean;
name: string;