chore: repair rosetta and bns integration tests, only working with microblocks disabled

This commit is contained in:
Matthew Little
2021-05-20 21:38:39 +02:00
parent 5bdf6a9d07
commit 029570b486
12 changed files with 74 additions and 62 deletions

View File

@@ -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",

View File

@@ -3,7 +3,6 @@
"type": "object",
"title": "RosettaBlockIdentifierHeight",
"description": "This is also known as the block height.",
"additionalProperties": false,
"properties": {
"index": {
"type": "integer",

View File

@@ -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
View File

@@ -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.