Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Oct 10, 2024
1 parent a4ff94c commit 6b4544b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 291 deletions.
281 changes: 0 additions & 281 deletions packages/eth-rpc-adapter/src/__tests__/endpoint-tests/endpoint.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ describe('eth_getLogs', () => {
await (await token0.transfer(wallet3.address, 3000)).wait();

allLogs = (await eth_getLogs([ALL_BLOCK_RANGE_FILTER])).data.result;
console.log(allLogs);
expect(allLogs.length).to.equal(3);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ describe('get tx and receipt', () => {
const tx = (await eth_getTransactionByHash([txHash])).data.result;
const receipt = (await eth_getTransactionReceipt([txHash])).data.result;

console.log(tx);
console.log(receipt);

expect(tx).to.contain({
hash: txHash,
blockNumber: tokenDeployedBlock,
Expand All @@ -56,9 +53,6 @@ describe('get tx and receipt', () => {
let tx = (await eth_getTransactionByHash([pendingTx.hash])).data.result;
let receipt = (await eth_getTransactionReceipt([pendingTx.hash])).data.result;

console.log(tx);
console.log(receipt);

expect(tx).to.contain({
hash: pendingTx.hash,
blockNumber: null, // pending tx
Expand All @@ -77,9 +71,6 @@ describe('get tx and receipt', () => {
tx = (await eth_getTransactionByHash([pendingTx.hash])).data.result;
receipt = (await eth_getTransactionReceipt([pendingTx.hash])).data.result;

console.log(tx);
console.log(receipt);

const blockNumber = (await eth_blockNumber()).data.result;
expect(tx).to.contain({
hash: pendingTx.hash,
Expand Down

0 comments on commit 6b4544b

Please sign in to comment.