mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 05:45:37 +08:00
chore: repair rosetta and bns integration tests, only working with microblocks disabled
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
"type": "object",
|
||||
"title": "RosettaBlockIdentifierHash",
|
||||
"description": "This is also known as the block hash.",
|
||||
"additionalProperties": false,
|
||||
"required": ["hash"],
|
||||
"properties": {
|
||||
"hash": {
|
||||
"type": "string",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"type": "object",
|
||||
"title": "RosettaBlockIdentifierHeight",
|
||||
"description": "This is also known as the block height.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"index": {
|
||||
"type": "integer",
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"title": "RosettaError",
|
||||
"description": "Instead of utilizing HTTP status codes to describe node errors (which often do not have a good analog), rich errors are returned using this object. Both the code and message fields can be individually used to correctly identify an error. Implementations MUST use unique values for both fields.",
|
||||
"required": ["code", "message", "retriable"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer",
|
||||
|
||||
7
docs/generated.d.ts
vendored
7
docs/generated.d.ts
vendored
@@ -1692,7 +1692,8 @@ export interface RosettaBlockIdentifierHash {
|
||||
/**
|
||||
* This is also known as the block hash.
|
||||
*/
|
||||
hash: string;
|
||||
hash?: string;
|
||||
[k: string]: unknown | undefined;
|
||||
}
|
||||
/**
|
||||
* This is also known as the block height.
|
||||
@@ -1702,6 +1703,7 @@ export interface RosettaBlockIdentifierHeight {
|
||||
* This is also known as the block height.
|
||||
*/
|
||||
index?: number;
|
||||
[k: string]: unknown | undefined;
|
||||
}
|
||||
/**
|
||||
* An AccountBalanceResponse is returned on the /account/balance endpoint. If an account has a balance for each AccountIdentifier describing it (ex: an ERC-20 token balance on a few smart contracts), an account balance request must be made with each AccountIdentifier.
|
||||
@@ -1733,6 +1735,7 @@ export interface RosettaBlockIdentifierHash1 {
|
||||
* This is also known as the block hash.
|
||||
*/
|
||||
hash: string;
|
||||
[k: string]: unknown | undefined;
|
||||
}
|
||||
/**
|
||||
* This is also known as the block height.
|
||||
@@ -1742,6 +1745,7 @@ export interface RosettaBlockIdentifierHeight1 {
|
||||
* This is also known as the block height.
|
||||
*/
|
||||
index: number;
|
||||
[k: string]: unknown | undefined;
|
||||
}
|
||||
/**
|
||||
* Amount is some Value of a Currency. It is considered invalid to specify a Value without a Currency.
|
||||
@@ -2794,6 +2798,7 @@ export interface RosettaError {
|
||||
error?: string;
|
||||
[k: string]: unknown | undefined;
|
||||
};
|
||||
[k: string]: unknown | undefined;
|
||||
}
|
||||
/**
|
||||
* The operation_identifier uniquely identifies an operation within a transaction.
|
||||
|
||||
Reference in New Issue
Block a user