infra/proxyd/integration_tests/testdata/consensus_responses.yml

235 lines
4.1 KiB
YAML
Raw Normal View History

- method: eth_chainId
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": "hello",
}
2023-04-25 20:26:55 +03:00
- method: net_peerCount
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": "0x10"
}
- method: eth_syncing
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": false
}
2023-04-18 21:57:55 +03:00
- method: eth_getBlockByNumber
block: latest
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x101",
"number": "0x101"
2023-04-18 21:57:55 +03:00
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0x101
2023-04-18 21:57:55 +03:00
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x101",
"number": "0x101"
2023-04-18 21:57:55 +03:00
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0x102
2023-04-18 21:57:55 +03:00
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x102",
"number": "0x102"
2023-04-18 21:57:55 +03:00
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0x103
2023-04-18 21:57:55 +03:00
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x103",
"number": "0x103"
2023-04-18 21:57:55 +03:00
}
}
- method: eth_getBlockByNumber
block: 0x10a
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"hash": "hash_0x10a",
"number": "0x10a"
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0x132
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"hash": "hash_0x132",
"number": "0x132"
}
}
- method: eth_getBlockByNumber
block: 0x133
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x133",
"number": "0x133"
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0x134
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0x134",
"number": "0x134"
}
}
- method: eth_getBlockByNumber
block: 0x200
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"hash": "hash_0x200",
"number": "0x200"
}
}
2023-05-27 01:54:04 +03:00
- method: eth_getBlockByNumber
block: 0x91
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"hash": "hash_0x91",
"number": "0x91"
}
}
- method: eth_getBlockByNumber
block: safe
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0xe1",
"number": "0xe1"
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0xe1
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0xe1",
"number": "0xe1"
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: finalized
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0xc1",
"number": "0xc1"
}
}
- method: eth_getBlockByNumber
2023-05-27 00:22:50 +03:00
block: 0xc1
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
2023-05-27 00:22:50 +03:00
"hash": "hash_0xc1",
"number": "0xc1"
}
}
2023-05-27 01:54:04 +03:00
- method: eth_getBlockByNumber
block: 0xd1
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"hash": "hash_0xd1",
"number": "0xd1"
}
}
- method: debug_getRawReceipts
2023-10-19 22:32:39 +03:00
block: 0x55
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"_": "debug_getRawReceipts"
}
}
- method: debug_getRawReceipts
block: 0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"_": "debug_getRawReceipts"
}
}
- method: debug_getRawReceipts
block: 0x101
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"_": "debug_getRawReceipts"
}
}
- method: eth_getTransactionReceipt
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"_": "eth_getTransactionReceipt"
}
}
- method: alchemy_getTransactionReceipts
response: >
{
"jsonrpc": "2.0",
"id": 67,
"result": {
"_": "alchemy_getTransactionReceipts"
}
}