Skip to content

Commit

Permalink
Add rpc test
Browse files Browse the repository at this point in the history
  • Loading branch information
elmattic committed Oct 2, 2024
1 parent ddaafca commit cedfb0e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/tool/subcommands/api_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,24 @@ fn eth_tests_with_tipset<DB: Blockstore>(store: &Arc<DB>, shared_tipset: &Tipset
},))
.unwrap(),
),
RpcTest::identity(
EthGetLogs::request((EthFilterSpec {
from_block: None,
to_block: None,
address: vec![],
topics: Some(EthTopicSpec(vec![EthHashList(vec![EthHash::from_str(
"0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15",
)
.unwrap()])])),
block_hash: Some(
EthHash::from_str(
"0xa158a536fe66e18b8cbf5c392384d840483f84732e2a2ed8d9fb68cedcffef54",
)
.unwrap(),
),
},))
.unwrap(),
),
RpcTest::identity(EthGetTransactionHashByCid::request((block_cid,)).unwrap()),
];

Expand Down

0 comments on commit cedfb0e

Please sign in to comment.