-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into server-api
- Loading branch information
Showing
32 changed files
with
565 additions
and
423 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
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,21 @@ | ||
# fluffy | ||
# Copyright (c) 2021-2024 Status Research & Development GmbH | ||
# Licensed and distributed under either of | ||
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). | ||
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). | ||
# at your option. This file may not be copied, modified, or distributed except according to those terms. | ||
|
||
{.push raises: [].} | ||
|
||
import stint, json_rpc/[client, jsonmarshal], web3/conversions, web3/eth_api_types | ||
|
||
export eth_api_types | ||
|
||
createRpcSigsFromNim(RpcClient): | ||
proc debug_getBalanceByStateRoot(data: Address, stateRoot: Hash256): UInt256 | ||
proc debug_getTransactionCountByStateRoot(data: Address, stateRoot: Hash256): Quantity | ||
proc debug_getStorageAtByStateRoot( | ||
data: Address, slot: UInt256, stateRoot: Hash256 | ||
): FixedBytes[32] | ||
|
||
proc debug_getCodeByStateRoot(data: Address, stateRoot: Hash256): seq[byte] |
Oops, something went wrong.