Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Sep 26, 2024
1 parent eec3fe7 commit 206f681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tool/subcommands/api_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ fn eth_tests_with_tipset<DB: Blockstore>(store: &Arc<DB>, shared_tipset: &Tipset
.unwrap(),
),
RpcTest::identity(EthGetTransactionHashByCid::request((block_cid,)).unwrap()),
RpcTest::identity(EthSendRawTransaction::request((EthBytes(vec![0x07]),)).unwrap()),
RpcTest::identity(EthSendRawTransaction::request((EthBytes(vec![0xf86c808504e3b2920082524c94c390cc49a32736a58733cf46be42f734dd4f53cb880de0b6b3a76400000125a05ab2f48bdc6752191440ce62088b9e42f20215ee4305403579aa2e1eba615ce8a03b172e53874422756d48b449438407e5478c985680d4aaa39d762fe0d1a11683]),)).unwrap()),
];

for block in shared_tipset.block_headers() {
Expand Down Expand Up @@ -1552,6 +1552,7 @@ fn eth_state_tests_with_tipset<DB: Blockstore>(
let (bls_messages, secp_messages) = crate::chain::store::block_messages(store, block)?;
for smsg in sample_signed_messages(bls_messages.iter(), secp_messages.iter()) {
let tx = new_eth_tx_from_signed_message(&smsg, &state, eth_chain_id)?;

tests.push(RpcTest::identity(
EthGetMessageCidByTransactionHash::request((tx.hash.clone(),))?,
));
Expand Down

0 comments on commit 206f681

Please sign in to comment.