rpc: fix balance overflow (#219)

Closes #218
This commit is contained in:
yihuang
2021-07-02 05:29:47 -04:00
committed by GitHub
parent f7d975ada2
commit 6e983a9da1
8 changed files with 408 additions and 187 deletions
+2 -2
View File
@@ -390,7 +390,7 @@ QueryAccountResponse is the response type for the Query/Account RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `balance` | [int64](#int64) | | balance is the balance of the EVM denomination. |
| `balance` | [string](#string) | | balance is the balance of the EVM denomination. |
| `code_hash` | [string](#string) | | code hash is the hex-formatted code bytes from the EOA. |
| `nonce` | [uint64](#uint64) | | nonce is the account's sequence number. |
@@ -422,7 +422,7 @@ QueryBalanceResponse is the response type for the Query/Balance RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `balance` | [int64](#int64) | | balance is the balance of the EVM denomination. |
| `balance` | [string](#string) | | balance is the balance of the EVM denomination. |