-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from burnt-labs/fix/abstraxion-config
Refactor Abstraxion to fetch config
- Loading branch information
Showing
6 changed files
with
84 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@burnt-labs/abstraxion": minor | ||
"@burnt-labs/constants": minor | ||
--- | ||
|
||
Refactor Abstraxion to fetch config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Interface for rpc status response | ||
export interface RpcStatusResponse { | ||
jsonrpc: string; | ||
id: number; | ||
result: RpcStatusResult; | ||
} | ||
|
||
export interface RpcStatusResult { | ||
node_info: RpcStatusResultNodeInfo; | ||
sync_info: RpcStatusResultSyncInfo; | ||
} | ||
|
||
export interface RpcStatusResultNodeInfo { | ||
protocol_version: any; | ||
id: string; | ||
network: string; | ||
version: string; | ||
channels: string; | ||
moniker: string; | ||
other: any; | ||
} | ||
|
||
export interface RpcStatusResultSyncInfo { | ||
latest_block_hash: string; | ||
latest_app_hash: string; | ||
latest_block_height: string; | ||
latest_block_time: string; | ||
earliest_block_hash: string; | ||
earliest_app_hash: string; | ||
earliest_block_height: string; | ||
earliest_block_time: string; | ||
catching_up: boolean; | ||
} |